@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  --primary: #ff211a;
  --primary-light: #ff6b66;
  --primary-lighter: #ffe5e5;
  --gray-light: #718096;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.fcontainer {
  padding: 1.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Pre-Footer */
.pre-footer {
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    var(--primary-lighter) 100%
  );
  padding: 5rem 0;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.pre-footer-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.pre-footer h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pre-footer p {
  font-size: 1.125rem;
  color: var(--gray-light);
  margin-bottom: 2rem;
}

/* Main Footer */
.footer {
  background: var(--white);
  position: relative;
  padding: 5rem 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

.footer-heading {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
}

.footer-links a {
  color: var(--gray-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.footer-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.footer-links i {
  color: var(--primary);
  font-size: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item i {
  color: var(--primary);
  font-size: 1.25rem;
}

.contact-details span {
  display: block;
  color: var(--gray-light);
}

/* Newsletter */
.newsletter-form {
  position: relative;
  margin-bottom: 1rem;
}

.newsletter-input {
  width: 100%;
  padding: 1rem;
  padding-right: 3rem;
  border: 2px solid var(--primary-lighter);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary);
}

.newsletter-button {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.newsletter-button:hover {
  color: var(--primary-light);
  transform: translateY(-50%) scale(1.1);
}

/* Social Icons */
.social-grid {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--primary-lighter);
  padding: 2rem 0;
  margin-top: 3rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.copyright {
  color: var(--gray-light);
}

.payment-methods {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.payment-methods i {
  color: var(--gray-light);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.payment-methods i:hover {
  color: var(--primary);
}

.legal-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.legal-links a {
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: var(--primary);
}

/* CTA Buttons */
.cta-button {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.cta-button.primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: var(--white);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255, 33, 26, 0.3);
}

.cta-button.secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.cta-button.secondary:hover {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  color: var(--white);
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    justify-content: center;
    flex-direction: row !important;
  }

  .pre-footer h2 {
    font-size: 2rem;
  }
}

/* Success Message */
.success-message {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--white);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(255, 33, 26, 0.1);
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(100px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}


@media (max-width: 768px) {

  .legal-links{
    display: flex;
    flex-direction: column !important;
  }

} 
