body, html {
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Modern Hero Section */
.modern-hero {
  position: relative;
  height: 60vh;
  min-height: 350px;
  background: linear-gradient(120deg, #58dac0 0%, #6998e1 100%);
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 1;
}
.modern-hero-text {
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}
.modern-hero-text h1 {
  font-size: 2.8em;
  font-weight: 900;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.modern-hero-icon {
  font-size: 1.5em;
  margin-left: 10px;
  animation: bounce 2s infinite;
}
.modern-hero-text .subtitle {
  font-size: 1.3em;
  color: #FFD56B;
  margin-top: 10px;
  font-weight: 500;
}

/* Modern CTA Section */
.modern-cta {
  background: #fff;
  padding: 40px 0 20px 0;
}
.modern-cta-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}
.modern-cta-card {
  background: #f8f8f8;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(88,218,192,0.08);
  padding: 30px 24px;
  min-width: 220px;
  max-width: 320px;
  text-align: center;
  transition: transform 0.2s;
  border: 1px solid #e6e6e6;
}
.modern-cta-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px rgba(88,218,192,0.18);
}
.modern-cta-icon {
  font-size: 2.2em;
  margin-bottom: 10px;
  display: block;
}
.modern-cta-card h3 {
  color: #6998e1;
  font-size: 1.2em;
  margin-bottom: 8px;
}
.modern-cta-card p {
  color: #333;
  font-size: 1em;
}

/* Modern SEO Section */
.modern-seo {
  background: linear-gradient(90deg, #f8f8f8 60%, #e6f7f4 100%);
  border-radius: 12px;
  margin: 30px auto 0 auto;
  padding: 24px 0;
  box-shadow: 0 2px 12px rgba(88,218,192,0.07);
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}
.modern-seo .highlight {
  color: #58dac0;
  font-weight: bold;
}
.modern-seo-icon {
  font-size: 1.3em;
  margin: 0 8px;
}

/* Modern Form Section */
.modern-form-section {
  background: #fff;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modern-form-container {
  display: flex;
  gap: 48px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(88,218,192,0.10);
  padding: 32px 24px;
}
.modern-form-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 260px;
}
.modern-form-image {
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(88,218,192,0.10);
  margin-bottom: 18px;
  max-width: 220px;
}
.modern-contact-info {
  margin-top: 18px;
  font-size: 1.05em;
  font-weight: 500;
}
.icon-location {
  font-size: 1.2em;
  margin-right: 6px;
}
.modern-contact-icons img {
  width: 120px;
  margin: 18px 0 0 0;
  opacity: 0.95;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(88,218,192,0.10);
}

.modern-form-right {
  flex: 2;
  min-width: 320px;
}
.modern-estimate-form {
  background: #f8f8f8;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(88,218,192,0.07);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modern-input-group label {
  font-weight: 600;
  color: #6998e1;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1em;
}
.modern-input-group input,
.modern-input-group textarea,
.modern-input-group select {
  border-radius: 8px;
  border: 1.5px solid #e6e6e6;
  padding: 14px 12px;
  font-size: 1em;
  background: #fff;
  transition: border-color 0.2s;
  margin-bottom: 0;
}
.modern-input-group input:focus,
.modern-input-group textarea:focus,
.modern-input-group select:focus {
  border-color: #58dac0;
  outline: none;
  box-shadow: 0 0 6px rgba(88,218,192,0.13);
}
.modern-btn {
  background: linear-gradient(90deg, #58dac0 60%, #6998e1 100%);
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 16px 0;
  font-size: 1.1em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(88,218,192,0.10);
  transition: background 0.2s, transform 0.2s;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.modern-btn:hover {
  background: linear-gradient(90deg, #6998e1 60%, #58dac0 100%);
  transform: translateY(-2px) scale(1.03);
}
.icon-user, .icon-email, .icon-budget, .icon-service, .icon-project, .icon-send {
  font-size: 1.2em;
  margin-right: 4px;
}

/* Modern Clients Section */
.modern-clients-section {
  background: #f8f8f8;
  padding: 50px 0;
  text-align: center;
}
.modern-clients-logos {
  display: flex;
  gap: 10px; /* reduced gap */
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap; /* prevent wrapping on desktop */
  margin-top: 30px;
}
.client-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(88,218,192,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* distribute content vertically */
  transition: transform 0.2s, box-shadow 0.2s;
  min-width: 140px;
  max-width: 160px;
  padding: 16px 10px;
  height: 170px; /* fixed height for all cards */
  box-sizing: border-box;
}
.client-card img,
.client-card a img {
  object-fit: contain;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(88,218,192,0.07);
  transition: transform 0.2s;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.client-card a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.client-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 4px 18px rgba(88,218,192,0.13);
}
.client-card span {
  font-size: 1em;
  color: #6998e1;
  font-weight: 600;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px);}
  to { opacity: 1; transform: translateY(0);}
}
@keyframes bounce {
  0%, 100% { transform: translateY(0);}
  50% { transform: translateY(-8px);}
}

/* Responsive */
@media (max-width: 900px) {
  .modern-form-container {
    flex-direction: column;
    gap: 24px;
    padding: 24px 8px;
  }
  .modern-form-left, .modern-form-right {
    min-width: unset;
    width: 100%;
  }
  .modern-form-image {
    max-width: 160px;
  }
  .modern-clients-logos {
    gap: 12px;
    flex-wrap: wrap; /* allow wrapping on tablets/mobiles */
  }
}
@media (max-width: 600px) {
  .modern-hero-text h1 {
    font-size: 2em;
  }
  .modern-form-section {
    padding: 24px 0;
  }
  .modern-form-container {
    padding: 12px 0;
  }
  .modern-estimate-form {
    padding: 18px 8px;
  }
  .modern-cta-cards {
    flex-direction: column;
    gap: 18px;
  }
  .modern-clients-logos {
    flex-direction: column;
    gap: 12px;
    flex-wrap: wrap;
  }
  .modern-form-left, .modern-form-right {
    padding: 0;
  }
  .modern-form-image {
    max-width: 120px;
  }
  .modern-btn {
    font-size: 1em;
    padding: 12px 0;
  }
  .modern-input-group input,
  .modern-input-group textarea,
  .modern-input-group select {
    padding: 10px 8px;
    font-size: 0.95em;
  }
  .modern-cta-card {
    min-width: unset;
    max-width: 100%;
    padding: 18px 8px;
  }
}
@media (max-width: 400px) {
  .modern-hero-text h1 {
    font-size: 1.3em;
    gap: 4px;
  }
  .modern-form-image {
    max-width: 80px;
  }
  .modern-btn {
    font-size: 0.95em;
    padding: 10px 0;
  }
}

/* Ensure notification and spinner are visible and not cut off */
.notification {
  position: fixed;
  top: 10px;
  right: 10px;
  left: 10px;
  max-width: 95vw;
  z-index: 1000;
  font-size: 1em;
  padding: 10px 15px;
  box-sizing: border-box;
}
.spinner {
  font-size: 1em;
  padding: 8px 0;
}

/* ...existing code... */
.estimate-form input:focus,
.estimate-form textarea:focus,
.estimate-form select:focus {
  border-color: #58dac0;
  box-shadow: 0 0 5px rgba(88, 218, 192, 0.5);
}

.estimate-form button {
  width: 100%;
  padding: 15px;
  background-color: #58dac0;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  font-weight: bold;
}

.estimate-form button:hover {
  background-color: #4bb3a4;
  transform: translateY(-2px);
}

.clients-section {
  padding: 50px 20px;
  background-color: #f5f5f5;
  text-align: center;
}

.clients-section h2 {
  margin-bottom: 30px;
  font-weight: 600;
}

.clients-section h2 span.real {
  color: grey;
}

.clients-section h2 span.brands {
  color: #3D9BE9;
}

.clients-section h2 span.that {
  color: #05C8A1;
}

.clients-section h2 span.trust {
  color: #FFD56B;
}

.clients-section h2 span.us {
  color: black;
}

.clients-logos {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.clients-logos img {
  width: 150px;
  margin: 20px;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.clients-logos img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .form-container {
    flex-direction: column;
    gap: 20px;
  }

  .clients-logos {
    flex-direction: column;
  }

  .hero-section {
    height: 30vh;
  }

  .form-section {
    flex-direction: column;
    padding: 20px;
  }

  .form-left, .form-right {
    width: 100%;
  }

  .seo-section {
    max-width: 1200px;
    margin: 15px;
  }
}

input[type="text"], input[type="email"], input[type="password"], select, textarea {
  background-color: #fff; 
  color: #333; 
  border: 1px solid #ccc;
  padding: 10px;
  width: 100%;
  border-radius: 5px; 
  box-sizing: border-box;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #6998e1; 
  box-shadow: 0 0 5px rgba(108, 154, 225, 0.5);
}

select {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 10px;
  color: #333;
  border-radius: 5px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.seo-section {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 5px;
  color: white;
  z-index: 1000;
  animation: slideIn 0.5s ease-out;
  display: none;
}

.notification.success {
  background-color: #58dac0;
}

.notification.error {
  background-color: #ff6b6b;
}

@keyframes slideIn {
  from {
      transform: translateX(100%);
      opacity: 0;
  }
  to {
      transform: translateX(0);
      opacity: 1;
  }
}

.spinner {
  text-align: center;
  margin: 10px 0;
  color: #58dac0;
  font-weight: bold;
  display: none;
}

.btn:disabled {
  background-color: #cccccc;
  cursor: not-allowed;
  opacity: 0.7;
}
