/* ==========================================================================
   Pooja Mahajan - Dedicated Footer Stylesheet (assets/css/footer.css)
   ========================================================================== */

/* Component Scope Variable Palette */
:root {
  --vl-dark-navy: #101820;
  --vl-primary-pink: #F52F55;
  --vl-soft-pink: #FDECEF;
  --vl-newsletter-bg: #FFF0F4;
  --vl-white: #FFFFFF;
  --vl-muted-gray: #68717A;
  --vl-dark-footer: #151820;
  --vl-dark-footer-text: #D5D7DB;
  --vl-dark-footer-sub: #A8ADB5;
  --vl-border-light: #F0F1F3;
  --vl-font-serif: 'Playfair Display', Georgia, serif;
  --vl-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Footer Container */
.vl-footer {
  width: 100%;
  font-family: var(--vl-font-sans);
  background-color: var(--vl-white);
  color: var(--vl-dark-navy);
  position: relative;
  overflow: hidden;
}

.vl-footer__container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ==========================================================================
   1. NEWSLETTER / SUBSCRIBE CTA BANNER
   ========================================================================== */
.vl-footer__newsletter {
  padding: 40px 0 35px 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8F9 100%);
}

.vl-footer__newsletter-card {
  position: relative;
  background-color: var(--vl-newsletter-bg);
  background-image: url('../images/stay-updated.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 18px;
  padding: 24px 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(245, 47, 85, 0.05);
  border: 1px solid rgba(245, 47, 85, 0.12);
  min-height: 125px;
  box-sizing: border-box;
}

.vl-footer__newsletter-bg-decor {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  border-radius: 18px;
}

.vl-footer__decor-svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Left Mail Icon Group */
.vl-footer__newsletter-left-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
  flex-shrink: 0;
  z-index: 2;
}

.vl-footer__envelope-circle {
  width: 52px;
  height: 52px;
  background: var(--vl-white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(245, 47, 85, 0.12);
  border: 1px solid rgba(245, 47, 85, 0.18);
  position: relative;
}

.vl-footer__mail-svg {
  width: 26px;
  height: 26px;
}

.vl-footer__envelope-heart {
  position: absolute;
  top: -4px;
  right: -4px;
  font-size: 10px;
  color: var(--vl-primary-pink);
  background: #FFF;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.vl-footer__mail-decor-hearts {
  position: absolute;
  top: -12px;
  left: -8px;
  pointer-events: none;
}

.vl-footer__mail-decor-hearts i {
  color: rgba(245, 47, 85, 0.35);
  position: absolute;
}

.heart-decor-1 {
  font-size: 11px;
  top: 0;
  left: 0;
  transform: rotate(-15deg);
}

.heart-decor-2 {
  font-size: 8px;
  top: -8px;
  left: 18px;
  transform: rotate(20deg);
}

/* Newsletter Text Block */
.vl-footer__newsletter-text {
  flex: 1 1 auto;
  max-width: 360px;
  z-index: 2;
  margin-right: 25px;
}

.vl-footer__newsletter-title {
  font-family: var(--vl-font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--vl-dark-navy);
  margin: 0 0 4px 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.vl-footer__highlight-pink {
  color: var(--vl-primary-pink);
}

.vl-footer__newsletter-desc {
  font-size: 13.5px;
  color: var(--vl-muted-gray);
  margin: 0;
  line-height: 1.4;
  font-weight: 400;
}

/* Email Form & Privacy Message */
.vl-footer__newsletter-form-box {
  flex: 0 0 auto;
  width: 370px;
  z-index: 2;
  position: relative;
}

.vl-footer__newsletter-form {
  width: 100%;
}

.vl-footer__form-group {
  display: flex;
  align-items: center;
  background: var(--vl-white);
  border-radius: 30px;
  padding: 4px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(245, 47, 85, 0.15);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.vl-footer__form-group:focus-within {
  border-color: var(--vl-primary-pink);
  box-shadow: 0 4px 20px rgba(245, 47, 85, 0.15);
}

.vl-footer__email-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 16px 10px 20px;
  font-size: 13.5px;
  font-family: var(--vl-font-sans);
  color: var(--vl-dark-navy);
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.vl-footer__email-input::placeholder {
  color: #9EA6B0;
}

.vl-footer__subscribe-btn {
  background-color: var(--vl-primary-pink);
  color: var(--vl-white);
  border: none;
  outline: none;
  padding: 11px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 26px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 3px 12px rgba(245, 47, 85, 0.3);
  flex-shrink: 0;
}

.vl-footer__subscribe-btn:hover {
  background-color: #E02045;
  transform: translateY(-1px);
  box-shadow: 0 5px 16px rgba(245, 47, 85, 0.4);
}

.vl-footer__subscribe-btn:active {
  transform: translateY(0);
}

.vl-footer__privacy-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11.5px;
  color: var(--vl-muted-gray);
  padding-left: 14px;
}

.vl-footer__privacy-note i {
  font-size: 11px;
  color: #8C949E;
}

.vl-footer__success-msg {
  display: none;
  margin-top: 8px;
  padding: 8px 14px;
  background-color: #E6F9F0;
  color: #0D8A4E;
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid #B8F0D3;
}

.vl-footer__success-msg.show {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

/* Right Woman Portrait Image */
.vl-footer__newsletter-woman-wrapper {
  position: absolute;
  right: 15px;
  bottom: 0;
  height: 145px;
  z-index: 1;
  pointer-events: none;
  padding-bottom: 1.54%;
}

.vl-footer__newsletter-woman-img {
  height: 100%;
  transform: scale(1.3);
  width: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
}

/* Visually Hidden Helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   2. MAIN FOOTER NAVIGATION (5 COLUMNS)
   ========================================================================== */
.vl-footer__main {
  background-color: var(--vl-white);
  padding: 55px 0 45px 0;
  border-top: 1px solid var(--vl-border-light);
}

.vl-footer__grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: flex-start;
}

/* Column Base */
.vl-footer__col {
  box-sizing: border-box;
}

/* Column 1: Brand Column (~27%) */
.vl-footer__brand-col {
  flex: 0 0 27%;
  padding-right: 25px;
}

.vl-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-family: var(--vl-font-serif);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.vl-footer__logo-velvet {
  color: var(--vl-dark-navy);
}

.vl-footer__logo-list {
  color: var(--vl-primary-pink);
}

.vl-footer__logo-heart {
  color: var(--vl-primary-pink);
  font-size: 15px;
  margin-left: 5px;
  transform: translateY(-4px);
}

.vl-footer__brand-tagline {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--vl-muted-gray);
  letter-spacing: 0.05em;
  margin-top: 6px;
  text-transform: uppercase;
}

.vl-footer__brand-divider {
  width: 36px;
  height: 2.5px;
  background-color: var(--vl-primary-pink);
  border-radius: 2px;
  margin: 14px 0;
}

.vl-footer__brand-desc {
  font-size: 13.5px;
  color: var(--vl-muted-gray);
  line-height: 1.6;
  margin: 0 0 20px 0;
  max-width: 250px;
}

/* Social Media Buttons */
.vl-footer__socials-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.vl-footer__social-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--vl-white);
  text-decoration: none;
  font-size: 15px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.social-wa {
  background-color: #25D366;
}

.social-tg {
  background-color: #0088CC;
}

.social-x {
  background-color: #101820;
}

.social-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-yt {
  background-color: #FF0000;
}

.vl-footer__social-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.18);
}

/* Navigation Columns (Columns 2 - 5) */
.vl-footer__links-col {
  border-left: 1px solid var(--vl-border-light);
  padding-left: 28px;
}

.vl-footer__links-col:nth-child(2) {
  flex: 0 0 17%;
}

.vl-footer__links-col:nth-child(3) {
  flex: 0 0 17%;
}

.vl-footer__links-col:nth-child(4) {
  flex: 0 0 19%;
}

.vl-footer__links-col:nth-child(5) {
  flex: 0 0 20%;
}

.vl-footer__col-heading {
  font-family: var(--vl-font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--vl-dark-navy);
  margin: 0 0 18px 0;
  letter-spacing: -0.01em;
}

.vl-footer__links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vl-footer__links-list li {
  margin-bottom: 9px;
}

.vl-footer__links-list li:last-child {
  margin-bottom: 0;
}

.vl-footer__links-list a {
  text-decoration: none;
  font-size: 13.5px;
  color: var(--vl-muted-gray);
  font-weight: 400;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.vl-footer__links-list a:hover {
  color: var(--vl-primary-pink);
  padding-left: 3px;
}

/* ==========================================================================
   3. TRUST & SECURITY STRIP
   ========================================================================== */
.vl-footer__trust {
  background-color: var(--vl-newsletter-bg);
  border-top: 1px solid rgba(245, 47, 85, 0.08);
  border-bottom: 1px solid rgba(245, 47, 85, 0.08);
  padding: 22px 0;
}

.vl-footer__trust-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vl-footer__trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  justify-content: center;
}

.vl-footer__trust-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--vl-white);
  border: 1px solid var(--vl-white);
  box-shadow: 0 4px 12px rgba(245, 47, 85, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--vl-primary-pink);
  font-size: 19px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.vl-footer__trust-item:hover .vl-footer__trust-icon-box {
  transform: scale(1.06);
  background-color: #FFF;
  color: #E02045;
}

.vl-footer__trust-text {
  display: flex;
  flex-direction: column;
}

.vl-footer__trust-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--vl-dark-navy);
  line-height: 1.25;
}

.vl-footer__trust-sub {
  font-size: 12px;
  color: var(--vl-muted-gray);
  margin-top: 2px;
}

.vl-footer__trust-divider {
  width: 1px;
  height: 34px;
  background-color: var(--vl-primary-pink);
  opacity: 0.25;
  flex-shrink: 0;
}

/* ==========================================================================
   4. DARK LEGAL FOOTER
   ========================================================================== */
.vl-footer__bottom {
  background-color: var(--vl-dark-footer);
  color: var(--vl-dark-footer-text);
  padding: 22px 0;
}

.vl-footer__bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vl-footer__bottom-left {
  max-width: 550px;
}

.vl-footer__copyright-text {
  font-size: 12.5px;
  color: var(--vl-dark-footer-text);
  margin: 0 0 4px 0;
  font-weight: 500;
}

.vl-footer__age-notice {
  font-size: 11px;
  color: var(--vl-dark-footer-sub);
  margin: 0;
  line-height: 1.4;
}

.vl-footer__bottom-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Security Indicators / Badges */
.vl-footer__badges-group {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 6px 14px;
}

.vl-footer__badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #B5B9C2;
}

.vl-footer__badge-item i {
  font-size: 14px;
  color: #D5D7DB;
}

.vl-footer__badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.vl-footer__badge-text strong {
  font-size: 10px;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.vl-footer__badge-text span {
  font-size: 8px;
  letter-spacing: 0.05em;
  color: #9AA0AA;
  margin-top: 2px;
}

.vl-footer__badge-sep {
  width: 1px;
  height: 18px;
  background-color: rgba(255, 255, 255, 0.12);
}

.vl-footer__badge-18 {
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 4px;
  padding: 2px 6px;
  letter-spacing: 0.05em;
}

/* Back to Top Button */
.vl-footer__back-to-top {
  background: transparent;
  border: none;
  color: var(--vl-dark-footer-text);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--vl-font-sans);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  transition: color 0.25s ease;
}

.vl-footer__back-to-top:hover {
  color: var(--vl-white);
}

.vl-footer__top-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #242934;
  color: var(--vl-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vl-footer__back-to-top:hover .vl-footer__top-arrow-circle {
  background-color: var(--vl-primary-pink);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 47, 85, 0.4);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

@media (max-width: 1024px) {
  .vl-footer__newsletter-card {
    padding: 24px 25px;
  }

  .vl-footer__newsletter-title {
    font-size: 24px;
  }

  .vl-footer__newsletter-form-box {
    width: 320px;
  }

  .vl-footer__grid {
    flex-wrap: wrap;
  }

  .vl-footer__brand-col {
    flex: 0 0 100%;
    padding-right: 0;
    margin-bottom: 35px;
  }

  .vl-footer__brand-desc {
    max-width: 100%;
  }

  .vl-footer__links-col {
    flex: 0 0 25% !important;
    padding-left: 20px;
    margin-bottom: 20px;
  }

  .vl-footer__links-col:nth-child(2) {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 768px) {
  .vl-footer__newsletter-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 20px;
    min-height: auto;
  }

  .vl-footer__newsletter-left-icon {
    margin-bottom: 12px;
  }

  .vl-footer__newsletter-text {
    max-width: 100%;
    margin-right: 0;
    margin-bottom: 18px;
  }

  .vl-footer__newsletter-form-box {
    width: 100%;
  }

  .vl-footer__newsletter-woman-wrapper {
    display: none;
    /* Hide or adjust on smaller viewports so it doesn't overlap text */
  }

  .vl-footer__links-col {
    flex: 0 0 50% !important;
    padding-left: 15px;
    margin-bottom: 25px;
  }

  .vl-footer__links-col:nth-child(2),
  .vl-footer__links-col:nth-child(4) {
    border-left: none;
    padding-left: 0;
  }

  .vl-footer__trust-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .vl-footer__trust-divider {
    display: none;
  }

  .vl-footer__trust-item {
    justify-content: flex-start;
  }

  .vl-footer__bottom-flex {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .vl-footer__bottom-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 480px) {
  .vl-footer__form-group {
    flex-direction: column;
    border-radius: 16px;
    padding: 8px;
  }

  .vl-footer__email-input {
    width: 100%;
    border-radius: 12px;
    padding: 10px 14px;
    margin-bottom: 8px;
  }

  .vl-footer__subscribe-btn {
    width: 100%;
    justify-content: center;
    border-radius: 12px;
    padding: 12px;
  }

  .vl-footer__links-col {
    flex: 0 0 100% !important;
    border-left: none !important;
    padding-left: 0 !important;
  }

  .vl-footer__trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vl-footer__bottom-right {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 15px;
  }
}