/* ========================================== */
/* FOOTER STYLES */
/* ========================================== */
:root {
  --primary-color: #dc143c;
  --primary-hover: #ff1f4b;
  --bg-dark: #1a1a1a;
  --bg-light: #2d2d2d;
  --text-white: #ffffff;
  --text-gray: #cccccc;
}

.footer {
  background-color: var(--bg-dark);
  background-image: radial-gradient(at top right, #333333 0%, transparent 40%);
  color: var(--text-white);
  padding: 80px 20px 30px;
  font-family: "Roboto", sans-serif;
  border-top: 4px solid var(--primary-color);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  margin-bottom: 80px;
}

.footer h2 {
  font-family: "Lato", sans-serif;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 20px 0;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.footer h3 {
  font-family: "Lato", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 25px 0;
  color: var(--primary-color);
}

.newsletter-sub {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 25px;
  font-weight: 300;
}

.footer .email-form {
  position: relative;
  margin-bottom: 15px;
  max-width: 400px;
}

.footer .email-input {
  width: 100%;
  padding: 16px 140px 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.footer .email-input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.2);
}

.footer .submit-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  bottom: 5px;
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 6px;
  font-family: "Lato", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.3s, transform 0.1s;
  margin: 0;
}

.footer .submit-btn:hover {
  background: var(--primary-hover);
}

.footer .submit-btn:active {
  transform: scale(0.98);
}

.footer .checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer .checkbox-container input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--text-gray);
  border-radius: 3px;
  margin-top: 3px;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.footer .checkbox-container input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.footer .checkbox-container input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.footer .checkbox-container label {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
  cursor: pointer;
}

.company-info,
.contact-info,
.enquiry-text {
  color: var(--text-gray);
  line-height: 1.8;
  font-size: 15px;
}

.company-info p,
.contact-info p {
  margin: 0 0 8px 0;
}

.company-info strong {
  color: var(--text-white);
  font-size: 17px;
  display: block;
  margin-bottom: 10px;
}

.contact-info {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info a,
.enquiry-text a {
  color: var(--text-white);
  text-decoration: none;
  border-bottom: 1px solid rgba(220, 20, 60, 0.5);
  transition: all 0.3s;
  padding-bottom: 1px;
}

.contact-info a:hover,
.enquiry-text a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.whatsapp-icon {
  width: 18px;
  height: 18px;
  fill: #25d366;
  display: inline-block;
  vertical-align: text-bottom;
  margin: 0 4px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.logo {
  display: flex;
  flex-direction: column;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.logo:hover {
  opacity: 1;
}

.logo-icon {
  display: flex;
  align-items: flex-end;
  margin-bottom: 8px;
}

.logo-a {
  width: 40px;
  height: 44px;
  background: white;
  position: relative;
  margin-right: 2px;
  overflow: hidden;
}

.logo-a::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 10px;
  height: 50px;
  background: var(--bg-dark);
  transform: translateX(-50%) rotate(20deg);
  transform-origin: top center;
}

.logo-a::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  width: 10px;
  height: 50px;
  background: var(--bg-dark);
  transform: translateX(-50%) rotate(-20deg);
  transform-origin: top center;
}

.logo-a-bar {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 24px;
  height: 7px;
  background: var(--bg-dark);
  transform: translateX(-50%);
  z-index: 2;
}

.logo-square {
  width: 16px;
  height: 16px;
  background: var(--primary-color);
  margin-bottom: 4px;
}

.logo-text {
  font-family: "Lato", sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--text-white);
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 13px;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-links span {
  color: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 20px;
  }

  .footer-content {
    gap: 50px;
  }

  .footer h2 {
    font-size: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .logo {
    align-items: center;
  }
}
