/* Shared Footer Component Styles */
/* This CSS can be included inline or as a separate file */

/* Footer Section */
.section.footer {
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
  color: white;
  padding: 80px 0 40px;
  position: relative;
}

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

/* Footer Top Content Layout */
.footer-top-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* Left Section - Company Details */
.footer-details-content {
  max-width: 400px;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 24px;
}

.footer-logo-image {
  max-width: 150px;
  height: auto;
}

.footer-description-text {
  width: 100%;
  max-width: 318px;
  font-size: 16px;
  font-weight: 500;
  line-height: 26px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

/* Social Media Links */
.footer-social-media-wrapper {
  display: flex;
  gap: 16px;
  margin-bottom: 30px;
}

.footer-social-media-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-social-media-link:hover {
  background: rgba(102, 126, 234, 0.2);
  transform: translateY(-2px);
}

.footer-social-media-icon {
  width: 20px;
  height: 20px;
  background: white;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.footer-social-media-link:nth-child(1) .footer-social-media-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z'/%3E%3C/svg%3E");
}

.footer-social-media-link:nth-child(2) .footer-social-media-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z'/%3E%3C/svg%3E");
}

.footer-social-media-link:nth-child(3) .footer-social-media-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z'/%3E%3C/svg%3E");
}

.footer-social-media-link:nth-child(4) .footer-social-media-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E");
}

/* Contact Email */
.footer-details-gmail {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
}

.footer-details-gmail-text {
  color: #667eea;
  font-weight: 600;
}

/* Newsletter Form */
.footer-details-form-wrapper {
  width: 100%;
}

.footer-details-form-block {
  position: relative;
}

.footer-details-form-text {
  display: block;
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-details-form-single {
  display: flex;
  gap: 12px;
  align-items: stretch;
}

.footer-details-form-input-field {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-details-form-input-field:focus {
  outline: none;
  border-color: #667eea;
  background: rgba(255, 255, 255, 0.1);
}

.footer-details-form-input-field::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-details-form-submit-button {
  padding: 14px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-details-form-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Form States */
.w-form-done,
.w-form-fail {
  padding: 12px 18px;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 14px;
  display: none;
}

.w-form-done {
  background: rgba(67, 233, 123, 0.1);
  border: 1px solid rgba(67, 233, 123, 0.3);
  color: #43e97b;
}

.w-form-fail {
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.3);
  color: #ff6b6b;
}

/* Right Section - Menu Grid */
.footer-menu-wrapper {
  width: 100%;
}

.footer-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* Menu Column Styling */
.footer-menu-single {
  width: 100%;
}

.footer-menu-title-wrapper {
  margin-bottom: 24px;
  position: relative;
}

.footer-menu-title {
  color: white;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.footer-menu-title-line {
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

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

.footer-menu-list-item {
  margin-bottom: 12px;
}

.footer-menu-text-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-menu-text-link:hover {
  color: #667eea;
  transform: translateX(4px);
}

.footer-menu-text-link.w--current {
  color: #667eea;
  font-weight: 600;
}

/* Contact Details */
.mt40 {
  margin-top: 40px;
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.footer-contact-details-single {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact-details-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-contact-details-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
}

/* Bottom Section */
.footer-bottom-content {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-information-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}

.footer-information-text-link {
  color: #667eea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-information-text-link:hover {
  color: #764ba2;
}

/* Responsive Design */
@media screen and (max-width: 991px) {
  .footer-top-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .section.footer {
    padding: 60px 0 30px;
  }
}

@media screen and (max-width: 767px) {
  .footer-menu-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-details-form-single {
    flex-direction: column;
    gap: 12px;
  }

  .footer-details-form-submit-button {
    width: 100%;
  }

  .section.footer {
    padding: 40px 0 20px;
  }

  .footer-description-text {
    max-width: 100%;
  }
}

@media screen and (max-width: 479px) {
  .footer-social-media-wrapper {
    gap: 12px;
  }

  .footer-social-media-link {
    width: 40px;
    height: 40px;
  }

  .footer-menu-title {
    font-size: 18px;
  }

  .footer-information-text {
    font-size: 13px;
  }
}

/* RTL Support for Hebrew */
[dir="rtl"] .footer-top-content {
  text-align: right;
}

[dir="rtl"] .footer-details-form-single {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-contact-details-single {
  flex-direction: row-reverse;
}

[dir="rtl"] .footer-menu-text-link:hover {
  transform: translateX(-4px);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .footer-details-form-input-field {
    background: rgba(255, 255, 255, 0.08);
  }

  .footer-details-form-input-field:focus {
    background: rgba(255, 255, 255, 0.12);
  }
}