/* Base styles */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f5f5f7;
  color: #000;
}

.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 6rem 2rem;
}

.banner.large {
  background: url('../img/icons/website_construction.jpg') center center/cover no-repeat;
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center; /* Align text to the right */
  padding-right: 6vw;
  padding-left: 2vw;
}

.banner.large::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.7); /* White wash overlay */
  z-index: 1;
}

.banner.large .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color:#333;
}

.banner.large .banner-content h1,
.banner.large .banner-content p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.banner.medium {
  background: url('../img/backgrounds/seo3.jpg') center center/cover no-repeat;
  position: relative;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center; /* Align text to the right */
  padding-right: 6vw;
  padding-left: 2vw;
}

.banner.medium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.85); /* White wash overlay */
  z-index: 1;
}

.banner.medium .banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  color:#333;
}

.banner.medium .banner-content h1,
.banner.medium .banner-content p {
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.banner-content h1 {
  font-size: 3rem;
  font-weight: 550;
  color: #222;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.0.25); /* Subtle shadow for contrast */
}

.banner-content p {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 2rem;
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0,0,0,0.25); /* Subtle shadow for contrast */
}

/* Split section */
.split-section {
  display: flex;
  flex-wrap: wrap;
  background: #fff;
}

.split-box {
  flex: 1 1 50%;
  padding: 4rem 2rem;
  box-sizing: border-box;
}

.left {
  background: linear-gradient(135deg, #e3f0fa 0%, #cbe7f6 60%, #f8fbff 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 4rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.left h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.left p {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 2rem;
  font-weight: 400;
}

.seo-services-img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.right {
  background: linear-gradient(135deg, #e3f0fa 0%, #ffd971 60%, #f8fbff 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 4rem 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}

.right h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.right p {
  font-size: 1.5rem;
  color: #222;
  margin-bottom: 2rem;
  font-weight: 400;
}

.digital-marketing-services-img {
  max-width: 300px;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
}

.split-box h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.split-box p {
  font-size: 1.1rem;
  line-height: 1.5;
}

.hero {
  background: linear-gradient(to bottom right, #f0f0f0d8, #75b7dd);
  color: #fff;
  text-align: left;
  padding: 1.5rem 1rem;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  padding-left: 3rem;
}

.logo {
  max-width: 250px;
  height: auto;
  display: block;
  margin-bottom: 1rem;
  margin-left: -2rem;
}

/* Responsive adjustments */
@media (max-width: 800px) {
  .split-section {
    flex-direction: column;
  }
  .left, .right {
    min-width: 0;
    max-width: 100%;
    padding: 2rem 1rem;
  }
  .left h2 {
    font-size: 2.2rem;
  }
  .left p {
    font-size: 1.1rem;
  }
  .banner-content h1 {
    font-size: 2.2rem;
  }
  .banner-content p {
    font-size: 1.1rem;
  }
  .seo-services-img {
    max-width: 250px;
  }
  .digital-marketing-services-img {
    max-width: 250px;
  }
  .right h2 {
    font-size: 2.2rem;
  }
  .right p {
    font-size: 1.1rem;
  }
}

@media (max-width: 800px) {
  body,
  .container,
  .split-section,
  .split-box,
  .left,
  .right,
  .banner,
  .banner.large,
  .banner.medium,
  .banner-content {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding: 0.5rem 0.5rem !important; /* Use rem for safe mobile padding */
    box-sizing: border-box;
  }
}

/* Contact */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}

.contact-form button {
  align-self: flex-start;
}

.bg-dark {
  background: #333;
  color: #fff;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
}

.btn-primary {
  background-color: #fff;
  color: #3c8dbc;
  padding: 0.75rem 1.25rem;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #3c8dbc;
  color:#fff;
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem 1rem;
  background: #f4f4f4;
  color: #666;
}

.footer-logo {
  max-width: 120px;
  margin: 1rem auto;
  display: block;
}