/* Contact Section Styles */
.contact {
  background-color: var(--white);
}

.contact-content {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info {
  text-align: center;
  width: 100%;
}

.contact-info p {
  font-family: var(--font-body);
  color: var(--dark-gray);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  border-radius: 10px;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
  width: 200px;
}

.contact-method.whatsapp {
  background-color: #25d366;
  color: white;
  text-decoration: none;
}

.contact-method.instagram {
  background: linear-gradient(
    239deg,
    #405de6,
    #5851db,
    #833ab4,
    #c13584,
    #e1306c,
    #fd1d1d
  );
}

.contact-method i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-method span {
  font-family: var(--font-subheading);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-method:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Footer Styles */
.footer {
  background: linear-gradient(
    to right,
    var(--secondary-color),
    var(--primary-color)
  );
  color: var(--white);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.1;
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  width: 100%;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column:first-child {
  flex: 0 1 50%;
  align-items: flex-start;
  text-align: left;
  padding-right: 2rem;
}

.footer-column:last-child {
  flex: 0 1 40%;
  align-items: anchor-center;

  text-align: right;
}

.footer-column:last-child .footer-links {
  justify-content: flex-end;
}

.footer-logo {
  max-width: 200px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footer-logo img {
  width: 320px;
  margin-left: 0px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-description {
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 450px;
  margin-top: 0.5rem;
}

.footer-column h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column:last-child h4 {
  text-align: right;
}

.footer-column h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 5px;
}

.footer-column:last-child h4::after {
  left: 27px;
  right: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.5rem;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  white-space: nowrap;
  padding: 0.2rem 0;
  position: relative;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateY(-3px);
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  margin-right: 0.8rem;
  font-size: 1rem;
  color: var(--accent-color);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-family: var(--font-body);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--white);
}

.newsletter-text {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
  line-height: 1.6;
}

.newsletter-form {
  display: flex;
  width: 100%;
}

.newsletter-form input {
  flex-grow: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 25px 0 0 25px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  background: var(--accent-color);
  border: none;
  border-radius: 0 25px 25px 0;
  padding: 0 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white);
}

.newsletter-form button:hover {
  background: var(--light-accent-color);
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-copyright {
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: rgba(255, 255, 255, 0.7);
}

.footer-social {
  display: flex;
  gap: 0.8rem;
}

.footer-social .social-icon {
  background-color: rgba(255, 255, 255, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.footer-social .social-icon:hover {
  background-color: var(--accent-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Media Queries */
@media (max-width: 992px) {
  .footer-logo img {
    width: 300px;
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .contact-methods {
    gap: 1.5rem;
  }

  .contact-method {
    width: 180px;
    padding: 1.5rem;
  }

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

  .footer-logo img {
    width: 250px;
    margin-left: auto;
    margin-right: auto;
  }

  .footer-top {
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-column:first-child,
  .footer-column:last-child {
    flex: 1;
    width: 100%;
    align-items: center;
    text-align: center;
    padding-right: 0;
  }

  .footer-description {
    text-align: center;
    margin: 0 auto;
  }

  .footer-column:last-child h4 {
    text-align: center;
  }

  .footer-column h4::after,
  .footer-column:last-child h4::after {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }

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

@media (max-width: 576px) {
  .footer {
    padding: 3rem 0 1rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .footer-column {
    align-items: center;
  }

  .footer-column h4 {
    font-size: 1.4rem;
    margin-bottom: 1.8rem;
  }

  .footer-column h4::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
  }

  .footer-logo {
    margin: 0 auto 1rem;
    justify-content: center;
  }

  .footer-logo img {
    width: 220px;
    margin: 0 auto;
  }

  .footer-description {
    max-width: 300px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .footer-links a {
    font-size: 1.1rem;
    padding: 0.4rem 0;
    min-width: 150px;
    text-align: center;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    transition: background-color 0.2s ease;
  }

  .footer-links a:active,
  .footer-links a:hover {
    transform: none;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .footer-contact li {
    justify-content: center;
    margin-bottom: 1.2rem;
    padding: 0.3rem 0;
  }

  .footer-contact a {
    font-size: 1.05rem;
    padding: 0.3rem 0;
    display: inline-block;
  }

  .footer-contact i {
    font-size: 1.2rem;
    margin-right: 1rem;
  }

  .newsletter-form {
    max-width: 280px;
    margin: 0 auto;
  }

  .footer-divider {
    margin: 1rem 0 1.5rem;
  }

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

  .footer-social {
    justify-content: center;
    gap: 1.2rem;
  }

  .footer-social .social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    margin: 0 0.4rem;
  }

  .social-icon:active {
    background-color: var(--accent-color);
    transform: scale(0.95);
  }
}

@media (max-width: 420px) {
  .footer {
    padding: 2.5rem 0 1rem;
  }

  .footer-logo img {
    width: 250px;
  }

  .footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .footer-column h4::after {
    width: 50px;
  }

  .footer-description {
    font-size: 0.9rem;
    max-width: 270px;
    line-height: 1.6;
  }

  .footer-links a,
  .footer-contact a {
    font-size: 0.95rem;
  }

  .footer-contact i {
    font-size: 1.1rem;
  }

  .footer-bottom {
    padding: 0 1rem;
  }

  .footer-copyright {
    font-size: 0.85rem;
  }

  .footer-social .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

@media (max-width: 375px) {
  .footer {
    padding: 2rem 0 0.8rem;
  }

  .footer-logo img {
    width: 160px;
  }

  .footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .footer-column h4::after {
    width: 50px;
  }

  .footer-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .footer-links a,
  .footer-contact a {
    font-size: 0.95rem;
  }

  .footer-social .social-icon {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* WhatsApp Button Styles */
#robbu-whatsapp-button {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1000;
  cursor: pointer;
}

#robbu-whatsapp-button img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25d366;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#robbu-whatsapp-button img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.rwb-tooltip {
  position: absolute;
  bottom: 100%;
  right: 0;
  transform: translateY(-10px);
  background-color: #333;
  color: white;
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 14px;
  font-family: var(--font-body);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

#robbu-whatsapp-button:hover .rwb-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-15px);
}

/* Footer copyright and credits styling */
.footer-copyright p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
  padding-bottom: 2px;
}

.footer-copyright a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.footer-copyright a:hover {
  color: #fff;
}
.footer-copyright a:hover:after {
  width: 100%;
}
