body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.contact-section {
  padding: 40px 80px;
  display: flex;
  justify-content: flex-start;
}

.contact-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  max-width: 1000px;
  width: 100%;
}

.contact-form {
  flex: 0.8;
}

.contact-form h2 {
  font-size: 28px;
  font-weight: bold;
}

.contact-form h2 span {
  color: #4a6fdc;
}

.contact-form p {
  color: #444;
  font-size: 14px;
  margin-bottom: 20px;
  width: -100px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: none;
  border-bottom: 1px solid #ccc;
  font-size: 14px;
  outline: none;
}

.row {
  display: flex;
  gap: 10px;
}

textarea {
  resize: none;
  height: 60px;
}

.file-upload {
  border: 1px dashed #999;
  padding: 10px;
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.file-upload span {
  font-size: 12px;
  display: block;
  color: #777;
}

.submit-btn {
  background-color: #4a6fdc;
  color: #fff;
  padding: 10px 20px;
  border: none;
  width: 100%;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
}

.contact-icons {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 15px;
}

.contact-icons a {
  color: #4a6fdc;
  text-decoration: none;
}

.contact-image {
  flex: 1.2;
  position: relative;
  max-width: 400px;
  right: -300px;
}

.contact-image .blue-bg {
  position: absolute;
  top: 1px;
  right: -70px;
  width: 100%;
  height: 120%;
  background-color: #4a6fdc;
  z-index: 0;
}

.contact-image img {
  position: relative;
  z-index: 1;
  top: 40px;
  width: 100%;
  display: block;
}

.blue-banner {
  background: #4a6fdc;
  padding: 15px;
  text-align: center;
  color: white;
  font-weight: bold;
  max-width: 900px;
  margin: 40px auto 40px 5px;
  right: 50px;
  align-items: flex-start;
}

.blue-banner p {
  color: white;
  font-weight: bold;
  font-size: 53px;
}

.footer {
  background-color: #4a6fdc;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
}

.footer-column h4 {
  margin-bottom: 10px;
}

.btn-outline {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  background: none;
  border: 1px solid white;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}

.social-icons span {
  margin-right: 10px;
  font-size: 18px;
}
/* ===== Floating Sidebar ===== */
.contact-sidebar {
  position: fixed;
  top: 50%;
  right: 20px; /* Position on right side */
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.sidebar-icon {
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.sidebar-icon img {
  width: 28px;
  height: 28px;
}

.sidebar-icon:hover {
  transform: scale(1.1);
}

/* WhatsApp - green */
.sidebar-icon.whatsapp {
  background-color: #25D366;
}

/* Phone - blue */
.sidebar-icon.phone {
  background-color: #4A63D3;
}

/* Email - orange */
.sidebar-icon.email {
  background-color: #FF9800;
}

/* Icons turn white on hover */
.sidebar-icon:hover img {
  filter: brightness(0) invert(1);
}

/* ===== MOBILE OPTIMIZATIONS ===== */

/* Tablet and below */
@media (max-width: 992px) {
  .contact-section {
    padding: 30px 20px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contact-form {
    flex: 1;
    width: 100%;
    max-width: 100%;
  }

  .contact-form h2 {
    font-size: 26px;
  }

  .contact-form p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .contact-image {
    right: auto;
    flex: 1;
    order: -1;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .contact-image .blue-bg {
    display: none;
  }

  .contact-image img {
    top: 0;
    width: 100%;
    max-width: 350px;
  }

  .blue-banner {
    margin: 30px auto;
    width: 90%;
    right: auto;
    padding: 20px 15px;
  }

  .blue-banner p {
    font-size: 28px;
  }

  .footer {
    padding: 30px 15px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }

  .footer-column {
    width: 100%;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .contact-section {
    padding: 20px 15px;
  }

  .contact-container {
    gap: 20px;
  }

  .contact-form h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .contact-form p {
    font-size: 12.5px;
    margin-bottom: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 9px 8px;
    margin-bottom: 10px;
    font-size: 13px;
  }

  .row {
    flex-direction: column;
    gap: 0;
  }

  textarea {
    height: 50px;
  }

  .file-upload {
    padding: 8px;
    font-size: 13px;
    margin-bottom: 12px;
  }

  .submit-btn {
    padding: 10px 16px;
    font-size: 13px;
    margin-top: 8px;
  }

  .contact-icons {
    flex-direction: row;
    justify-content: space-around;
    font-size: 11px;
    margin-top: 12px;
    gap: 10px;
  }

  .contact-icons div {
    text-align: center;
  }

  .contact-image img {
    max-width: 300px;
  }

  .blue-banner {
    margin: 20px auto;
    padding: 16px 12px;
  }

  .blue-banner p {
    font-size: 22px;
    line-height: 1.3;
  }

  .footer {
    padding: 24px 12px;
  }

  .footer-container {
    gap: 20px;
  }

  .footer-column h4 {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .footer-column p,
  .footer-column ul li {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .btn-outline {
    padding: 7px;
    font-size: 13px;
    margin-bottom: 8px;
  }

  .social-icons span {
    margin-right: 8px;
    font-size: 16px;
  }

  /* Floating sidebar adjustment */
  .contact-sidebar {
    flex-direction: row;
    bottom: 15px;
    right: 50%;
    transform: translateX(50%);
    top: auto;
    background: white;
    padding: 10px 14px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  }

  .sidebar-icon {
    width: 45px;
    height: 45px;
  }

  .sidebar-icon img {
    width: 24px;
    height: 24px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .contact-section {
    padding: 16px 12px;
  }

  .contact-container {
    gap: 16px;
  }

  .contact-form h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .contact-form p {
    font-size: 12px;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 8px 6px;
    margin-bottom: 8px;
    font-size: 12.5px;
  }

  textarea {
    height: 45px;
  }

  .file-upload {
    padding: 7px;
    font-size: 12px;
    margin-bottom: 10px;
  }

  .file-upload span {
    font-size: 11px;
  }

  .submit-btn {
    padding: 9px 14px;
    font-size: 12.5px;
    margin-top: 6px;
  }

  .contact-icons {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    font-size: 10.5px;
    margin-top: 10px;
  }

  .contact-icons div {
    width: 100%;
  }

  .contact-image img {
    max-width: 260px;
  }

  .blue-banner {
    margin: 16px auto;
    padding: 12px 10px;
    width: 94%;
  }

  .blue-banner p {
    font-size: 17px;
    line-height: 1.3;
  }

  .footer {
    padding: 20px 10px;
  }

  .footer-container {
    gap: 16px;
  }

  .footer-column h4 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .footer-column p,
  .footer-column ul li {
    font-size: 12px;
    margin-bottom: 3px;
  }

  .footer-column ul {
    padding: 0;
    list-style: none;
  }

  .btn-outline {
    padding: 6px;
    font-size: 12px;
    margin-bottom: 6px;
  }

  .social-icons {
    margin-top: 8px;
  }

  .social-icons span {
    margin-right: 6px;
    font-size: 15px;
  }

  /* Floating sidebar for small screens */
  .sidebar-icon {
    width: 40px;
    height: 40px;
  }

  .sidebar-icon img {
    width: 22px;
    height: 22px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .contact-section {
    padding: 12px 10px;
  }

  .contact-form h2 {
    font-size: 18px;
  }

  .contact-form p {
    font-size: 11.5px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 12px;
    padding: 7px 5px;
  }

  .submit-btn {
    font-size: 12px;
    padding: 8px 12px;
  }

  .blue-banner p {
    font-size: 15px;
  }

  .contact-image img {
    max-width: 220px;
  }
}

/* Home icon */
.home-icon {
  width: 22px;
  height: 22px;
  vertical-align: middle;
  transition: transform 0.3s ease;
}

/* Hover effect */
.home-icon:hover {
  transform: scale(1.2);
}

/* Optional: space adjustment so it matches text items */
.home-link {
  display: flex;
  align-items: center;
}
.phone-number {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}
/* 📱 Mobile Devices */
@media (max-width: 768px) {
  .phone-number {
    font-size: 13px;
  }
}