/* Import Poppins Font */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

/* Reset and Base Styles */
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  font-family: "Albert Sans", sans-serif;
  color: black;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .logo {
  height: 50px;
  width: 100px;
}

.header .logo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #2196f3;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #2196f3;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.header .button {
  border: 2px solid #c5baff;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
  background-color: transparent;
}

.header .button:hover {
  background-color: #c5baff;
  color: white;
  transform: translateY(-2px);
}

.header .bars {
  display: none;
  font-size: 1.6rem;
}

/* Dropdown Styles */
.nav-menu .dropdown .link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown {
  position: relative;
  display: inline-block;
  padding: 10px 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 280px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  overflow: hidden;
  top: 100%;
  left: 0;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.dropdown-content a {
  color: #333;
  padding: 1rem 1.5rem;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-content a:hover {
  background-color: #f8f9fa;
  color: #2196f3;
  border-left: 3px solid #2196f3;
}

.dropdown i {
  font-size: 1.2rem;
  transition: all 0.3s ease;
  color: #333;
}

.dropdown:hover .dropdown-content {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.dropdown:hover i {
  transform: rotate(180deg);
  color: #2196f3;
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: white;
  padding: 2rem;
  transition: right 0.3s ease;
  z-index: 1001;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  font-family: "Albert Sans", sans-serif;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu .close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
  z-index: 1002;
  transition: color 0.3s ease;
}

.mobile-menu .close-btn:hover {
  color: #2196f3;
}

.mobile-menu nav {
  width: 100%;
}

.mobile-menu .nav-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 3rem;
  list-style: none;
  padding: 0;
  width: 100%;
  gap: 1.5rem;
}

.mobile-menu .nav-menu li {
  width: 100%;
}

.mobile-menu .nav-menu a {
  font-size: 1.2rem;
  color: #333;
  text-decoration: none;
  display: block;
  padding: 0.5rem 0;
  width: 100%;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-menu .nav-menu a:hover {
  color: #2196f3;
}

.mobile-menu .dropdown {
  padding: 0;
  width: 100%;
}

.mobile-menu .dropdown .link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  padding: 0rem 0;
}

.mobile-menu .dropdown .link span {
  font-weight: 500;
  color: #333;
  font-size: 1.2rem;
  font-family: "Albert Sans", sans-serif;
  margin-right: 0.5rem;
  padding: 0.5rem 0;
}

.mobile-menu .dropdown-content {
  position: static;
  box-shadow: none;
  display: none;
  width: 100%;
  padding-left: 1rem;
  margin-top: 0.5rem;
  background-color: transparent;
}

.mobile-menu .dropdown.active .dropdown-content {
  display: block;
}

.mobile-menu .dropdown-content a {
  padding: 0.8rem 0;
  font-size: 1.1rem;
  color: #555;
  display: block;
  border-left: 2px solid transparent;
  transition: all 0.3s ease;
}

.mobile-menu .dropdown-content a:hover {
  color: #2196f3;
  border-left: 2px solid #2196f3;
  padding-left: 0.5rem;
}

.mobile-menu .dropdown i {
  transition: transform 0.3s ease;
  color: #333;
}

.mobile-menu .dropdown.active i {
  transform: rotate(180deg);
  color: #2196f3;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  backdrop-filter: blur(3px);
}

.overlay.active {
  display: block;
}

/* Page 1 Section */
.page1 {
  font-family: "Albert Sans", sans-serif;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 82px;
}

.page1 .subpage1 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 50px;
}

.page1 .subpage1 .content {
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #c5baff;
  padding: 1rem;
  border-radius: 20px;
}

.page1 .subpage1 .content .left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5rem;
  padding: 0 4rem 0 0;
}

.page1 .subpage1 .content .left .button {
  background-color: #c4d9ff;
  width: fit-content;
  padding: 10px 35px;
  border-radius: 50px;
}

.page1 .subpage1 .content .left .button span {
  font-size: 2rem;
}

.page1 .subpage1 .content .left .head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.page1 .subpage1 .content .left .head h1 {
  font-size: 3rem;
}

.page1 .subpage1 .content .left .head p {
  font-size: 1.2rem;
}

.page1 .subpage1 .content .right {
  width: 750px;
  height: 450px;
  border-radius: 20px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url("./public/images/logo.webp");
  border: 5px solid #fbfbfb;
}

/* Banner Section */
main .banner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Albert Sans", sans-serif;
}

main .banner .ban {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

main .banner .ban .content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 15rem;
}

main .banner .ban .content .maincontent {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c4d9ff;
  padding: 3rem 0rem;
  border-radius: 20px;
  flex-direction: column;
  gap: 3rem;
  text-align: center;
}

main .banner .ban .content .maincontent .head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

main .banner .ban .content .maincontent .head h1 {
  font-size: 2rem;
  padding: 0 12rem;
}

main .banner .ban .content .maincontent .head p {
  font-size: 1.05rem;
  padding: 0 15rem;
}

main .banner .ban .content .maincontent .btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  max-width: 600px;
  background-color: #c4d9ff;
  padding: 5px;
  border-radius: 30px;
}

main .banner .ban .content .maincontent .btn input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

main .banner .ban .content .maincontent .btn input:focus {
  border-color: #2196f3;
}

main .banner .ban .content .maincontent .btn span {
  background-color: #c5baff;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

main .banner .ban .content .maincontent .btn span:hover {
  background-color: #1976d2;
}

/* Modern Footer Styles */
.modern-footer {
  background-color: #c5baff;
  color: #000;
  padding: 4rem 0 2rem;
  font-family: "Inter", sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Company Section */
.footer-company {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-company h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #000;
}

.footer-company p {
  color: #323232;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modern-footer .footer-container .footer-grid .footer-company .img {
  height: 50px;
  width: 90px;
  background-image: url("./public/images/logo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #000;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #3a3a3a;
  transform: translateY(-3px);
}

/* Footer Links */
.footer-links h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #2a2a2a;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright p {
  color: #000;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #1f1f1f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

/* Map Container */
.map-container {
  width: 100%;
  height: 300px;
  margin: 0;
  padding: 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Form Section Styles */
.form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
  font-family: "Albert Sans", sans-serif;
}

.form > .form {
  width: 90%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.form .head {
  text-align: center;
  margin-bottom: 2rem;
}

.form .head h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.form .head p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.cardsection {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.cardsection .content {
  display: flex;
  width: 100%;
}

.cardsection .left {
  background-color: #c5baff;
  color: #fff;
  padding: 3rem;
  border-radius: 15px 0 0 15px;
  flex: 1;
  min-width: 350px;
  position: relative;
  overflow: hidden;
}

.cardsection .left::before {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 250px;
  height: 250px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  border-radius: 50%;
  z-index: 0;
}

.cardsection .content .left .content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.cardsection .content .left .content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cardsection .content .left .content p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.content .button {
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid black;
  border-radius: 50px;
  padding: 4px 13px 4px 18px;
}

.content .button span {
  font-size: 1rem;
  font-family: "Albert Sans", sans-serif;
  color: black;
}

.content .button i {
  color: black;
  border-radius: 50%;
  font-size: 1.5rem;
  padding: 10px;
}

.cardsection .right {
  flex: 2;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cardsection .right .form-group {
  margin-bottom: 0.5rem;
}

.cardsection .right label {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.3rem;
  display: block;
}

.cardsection .right input[type="text"],
.cardsection .right input[type="email"],
.cardsection .right textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: none;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.cardsection .right input[type="text"]::placeholder,
.cardsection .right input[type="email"]::placeholder,
.cardsection .right textarea::placeholder {
  color: #333;
  font-weight: 500;
}

.cardsection .right input[type="text"]:focus,
.cardsection .right input[type="email"]:focus,
.cardsection .right textarea:focus {
  border-color: #20c997;
  box-shadow: none;
}

.cardsection .right textarea {
  resize: vertical;
  min-height: 120px;
}

.cardsection .right input[type="submit"] {
  background-color: #c5baff;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: fit-content;
  align-self: flex-start;
}

.cardsection .right input[type="submit"]:hover {
  background-color: #1a9e77;
}

/* Floating Action Buttons */
.floating-button {
  position: fixed;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  z-index: 1000;
}

.floating-button:hover {
  transform: scale(1.1);
}

.whatsapp-button {
  background-color: #25d366;
  bottom: 20px;
  color: white;
  right: 20px;
}

.call-button {
  bottom: 20px;
  left: 20px;
}

.ph {
  z-index: 2000;
  color: black;
}

.unread-message {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #ff4444;
  color: #fff;
  font-size: 0.75rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1280px) {
  .header {
    padding: 1rem 2rem;
  }

  .page1 .subpage1 .content {
    padding: 1.5rem;
  }

  .page1 .subpage1 .content .left .button span {
    font-size: 1.5rem;
  }

  .page1 .subpage1 .content .left .head h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .page1 .subpage1 .content .left .head p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .page1 .subpage1 .content .right {
    width: 700px;
    height: 350px;
    border: 5px solid #fbfbfb;
  }

  .form .head {
    padding: 1rem;
  }

  .form .head h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .form .head p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .cardsection {
    padding: 2rem;
  }

  .cardsection .content {
    gap: 2rem;
  }

  .cardsection .left {
    padding: 2rem;
  }

  .cardsection .right {
    padding: 2rem;
  }

  .cardsection .content .left .content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .cardsection .content .left .content p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .content .button {
    padding: 0.8rem 1.5rem;
  }

  .content .button span {
    font-size: 0.9rem;
  }

  main .page1 .subpage1 .content .right {
    width: 400px;
    height: 350px;
  }

  main .banner .ban .content {
    padding: 2rem 8rem;
  }

  main .banner .ban .content .maincontent .head h1 {
    font-size: 1.8rem;
    padding: 0 6rem;
  }

  main .banner .ban .content .maincontent .head p {
    font-size: 1rem;
    padding: 0 8rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 1.5rem;
  }

  .footer-company h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 1050px) {
  .header {
    padding: 1rem;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .header .button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .nav-menu .dropdown .link {
    font-size: 0.9rem;
  }

  .nav-menu .dropdown .link i {
    font-size: 0.95rem;
  }

  .page1 .subpage1 {
    padding: 10px 20px;
  }

  .page1 .subpage1 .content {
    padding: 1.2rem;
  }

  .page1 .subpage1 .content .left {
    gap: 2rem;
  }

  .page1 .subpage1 .content .left .button span {
    font-size: 1.1rem;
  }

  .page1 .subpage1 .content .left .head h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .page1 .subpage1 .content .left .head p {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .page1 .subpage1 .content .left {
    width: 100%;
  }

  .page1 .subpage1 .content .right {
    width: 100%;
    height: 300px;
  }

  .form > .form {
    width: 90%;
    gap: 1rem;
  }

  .form {
    padding: 0rem;
  }

  .form .head {
    padding: 1.5rem;
  }

  .form .head h1 {
    font-size: 2rem;
  }

  .form .head p {
    font-size: 0.9rem;
  }

  .cardsection {
    padding: 0rem;
  }

  .cardsection .left {
    padding: 2rem 1rem;
    min-width: 350px;
  }

  .cardsection .left,
  .cardsection .right {
    width: 100%;
  }

  .cardsection .content .left .content h1 {
    font-size: 1.7rem;
  }

  .cardsection .content .left .content p {
    font-size: 0.8rem;
  }

  .cardsection .right {
    padding: 2rem 0rem;
  }

  main .banner .ban .content {
    padding: 2rem 4rem;
  }

  main .banner .ban .content .maincontent .head h1 {
    font-size: 1.6rem;
    padding: 0 4rem;
  }

  main .banner .ban .content .maincontent .head p {
    font-size: 0.9rem;
    padding: 0 5rem;
  }

  main .banner .ban .content .maincontent .btn {
    max-width: 500px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }

  .footer-company {
    grid-column: 1 / -1;
  }

  .footer-links h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 860px) {
  .header .logo {
    height: 40px;
    width: 80px;
  }

  .header {
    padding: 1rem 0.9rem;
  }

  .nav-menu a {
    font-size: 0.89rem;
  }

  .header .button {
    font-size: 0.8rem;
  }

  .hero-section {
    margin: 8rem 3rem 1rem 3rem;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .nav-menu {
    gap: 1.5rem;
  }

  .nav-menu .dropdown .link {
    font-size: 0.9rem;
  }

  .nav-menu .dropdown .link i {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .header .logo {
    height: 50px;
    width: 100px;
  }

  .header {
    padding: 1rem;
  }

  .nav-menu {
    display: none;
  }

  .header .button {
    display: none;
  }

  .header .bars {
    display: block;
  }

  .page1 .subpage1 .content {
    padding: 1.5rem;
  }

  .page1 .subpage1 .content .left {
    width: 100%;
  }

  .page1 .subpage1 .content .left .head h1 {
    font-size: 1.7rem;
  }

  .page1 .subpage1 .content .left .head p {
    font-size: 0.9rem;
  }

  .page1 .subpage1 .content .right {
    display: none;
  }

  .form {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .form .head {
    padding: 1.2rem;
  }

  .form .head h1 {
    font-size: 1.8rem;
  }

  .form .head p {
    font-size: 0.85rem;
  }

  .cardsection {
    padding: 0.4rem;
  }

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

  .cardsection .left {
    min-width: unset;
    width: 100%;
    padding: 2rem 1rem;
  }

  .cardsection .content .left .content {
    z-index: 1;
  }

  .cardsection .right {
    flex: 0;
    height: fit-content;
    padding: 1rem 1rem;
  }

  .cardsection .content .right {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cardsection .right .name_email {
    flex-direction: column;
    gap: 1rem;
  }

  .cardsection .right .form-group {
    margin-bottom: 1rem;
  }

  .cardsection .right input[type="text"],
  .cardsection .right input[type="email"],
  .cardsection .right textarea {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  .cardsection .right input[type="submit"] {
    font-size: 0.9rem;
    padding: 0.8rem 1.5rem;
  }

  main .banner {
    margin-bottom: 10px;
  }

  main .banner .ban .content {
    padding: 1.5rem 2rem;
  }

  main .banner .ban .content .maincontent {
    padding: 2rem 1rem;
  }

  main .banner .ban .content .maincontent .head h1 {
    font-size: 1.4rem;
    padding: 0 2rem;
  }

  main .banner .ban .content .maincontent .head p {
    font-size: 0.9rem;
    padding: 0 2rem;
  }

  main .banner .ban .content .maincontent .btn {
    max-width: 400px;
    flex-direction: column;
    gap: 1rem;
  }

  main .banner .ban .content .maincontent .btn input {
    width: 100%;
  }

  main .banner .ban .content .maincontent .btn span {
    width: 100%;
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .header {
    padding: 0.8rem;
  }

  .page1 .subpage1 {
    min-height: 50vh;
  }

  .page1 .subpage1 .content {
    padding: 1rem;
  }

  .page1 .subpage1 .content .left .head h1 {
    font-size: 1.8rem;
  }

  .page1 .subpage1 .content .left .head p {
    font-size: 0.85rem;
  }

  .form .head {
    padding: 1rem;
  }

  .form .head h1 {
    font-size: 1.6rem;
  }

  .form .head p {
    font-size: 0.8rem;
  }

  .cardsection {
    padding: 1rem;
  }

  .cardsection .left,
  .cardsection .right {
    padding: 1.5rem;
  }

  .cardsection .content .left .content h1 {
    font-size: 1.4rem;
  }

  .cardsection .content .left .content p {
    font-size: 0.8rem;
  }

  .content .button {
    font-size: 0.8rem;
    padding: 0.7rem 1.2rem;
  }

  main .banner .ban .content {
    padding: 1rem;
  }

  main .banner .ban .content .maincontent {
    padding: 1.5rem 1rem;
  }

  main .banner .ban .content .maincontent .head h1 {
    font-size: 1.3rem;
    padding: 0 1rem;
  }

  main .banner .ban .content .maincontent .head p {
    font-size: 0.85rem;
    padding: 0 1rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-links {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-company {
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 460px) {
  .header {
    padding: 0.5rem;
  }

  .page1 .subpage1 {
    min-height: 40vh;
  }

  .page1 .subpage1 .content {
    padding: 1rem;
  }

  .page1 .subpage1 .content .left .head h1 {
    font-size: 1.5rem;
  }

  .page1 .subpage1 .content .left .head p {
    font-size: 0.8rem;
  }

  .form .head {
    padding: 0.8rem;
  }

  .form .head h1 {
    font-size: 1.4rem;
  }

  .form .head p {
    font-size: 0.75rem;
  }

  .cardsection {
    padding: 0.8rem;
  }

  .cardsection .left,
  .cardsection .right {
    padding: 1rem;
  }

  .cardsection .content .left .content h1 {
    font-size: 1.2rem;
  }

  .cardsection .content .left .content p {
    font-size: 0.75rem;
  }

  .content .button {
    font-size: 0.75rem;
    padding: 0.6rem 1rem;
  }

  .cardsection .right input[type="text"],
  .cardsection .right input[type="email"],
  .cardsection .right textarea {
    font-size: 0.8rem;
    padding: 0.6rem;
  }

  .cardsection .right input[type="submit"] {
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
  }

  main .banner .ban .content {
    padding: 0.8rem;
  }

  main .banner .ban .content .maincontent {
    padding: 1.2rem 0.8rem;
  }

  main .banner .ban .content .maincontent .head h1 {
    font-size: 1.2rem;
    padding: 0 0.5rem;
  }

  main .banner .ban .content .maincontent .head p {
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }

  .modern-footer {
    padding: 3rem 0 1.5rem;
  }

  .footer-company h2 {
    font-size: 1.4rem;
  }

  .footer-links h3 {
    font-size: 1.1rem;
  }

  .footer-links ul li a {
    font-size: 0.9rem;
  }

  .social-links a {
    width: 35px;
    height: 35px;
  }

  .copyright p {
    font-size: 0.9rem;
  }

  .footer-legal a {
    font-size: 0.9rem;
  }
}
