/**
 * Arown Academy - Premium Footer Redesign
 * Bespoke Modern Aesthetic preserving 100% of Original Website Content
 * Brand Colors: Deep Navy / Midnight (#0c0e1a / #12102C), Coral Red (#F15B54)
 */

/* ==========================================================================
   Footer Main Wrapper & Ambient Architectural Background
   ========================================================================== */
.main-footer.arown-footer-modern {
  position: relative;
  background-color: #0c0e1a;
  background-image: 
    linear-gradient(180deg, rgba(12, 14, 26, 0.90) 0%, rgba(8, 9, 18, 0.96) 100%),
    url('../img/bg.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 80px 0 0 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--default-font, "Noto Sans", "Inter", sans-serif);
  z-index: 1;
}

/* Subtle top hairline highlight */
.main-footer.arown-footer-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(241, 91, 84, 0.5) 50%, transparent 100%);
  pointer-events: none;
}

.main-footer.arown-footer-modern .container {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Column 1: Brand Identity & Follow Us
   ========================================================================== */
.arown-footer-brand-col {
  padding-right: 30px;
}

.arown-footer-logo-wrap {
  margin-bottom: 20px;
  display: inline-block;
  text-decoration: none !important;
}

.arown-footer-logo {
  max-width: 195px;
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease;
}

.arown-footer-logo:hover {
  transform: translateY(-2px);
}

.arown-footer-desc {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 14.5px !important;
  line-height: 1.75 !important;
  margin-bottom: 26px !important;
  max-width: 340px;
  font-weight: 400;
}

/* Follow Us Section */
.arown-footer-social-wrap {
  margin-top: 4px;
}

.arown-footer-social-title {
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 0 0 14px 0 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.arown-footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arown-footer-socials li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.arown-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: relative;
}

.arown-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.25s ease;
}

.arown-social-btn svg.stroke-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.arown-social-btn:hover {
  transform: translateY(-3px) scale(1.06);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.arown-social-btn.youtube:hover {
  background: #FF0000 !important;
  border-color: #FF0000 !important;
}

.arown-social-btn.linkedin:hover {
  background: #0A66C2 !important;
  border-color: #0A66C2 !important;
}

.arown-social-btn.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: transparent !important;
}

.arown-social-btn.facebook:hover {
  background: #1877F2 !important;
  border-color: #1877F2 !important;
}

/* ==========================================================================
   Navigation Columns: Quick link, Support, Other Link
   ========================================================================== */
.arown-footer-col {
  padding-left: 15px;
}

.arown-footer-heading {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin-top: 0;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
  display: inline-block;
  position: relative;
  font-family: var(--accent-font, "Inter", "Noto Sans", sans-serif);
}

/* Subtle modern bottom underline accent */
.arown-footer-heading::after {
  content: "";
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--accent-color, #f15b54);
  border-radius: 2px;
  margin-top: 6px;
  transition: width 0.3s ease;
}

.arown-footer-col:hover .arown-footer-heading::after {
  width: 36px;
}

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

.arown-footer-links-list li {
  margin-bottom: 13px;
  position: relative;
  list-style: none;
  padding: 0;
}

.arown-footer-links-list li::before,
.arown-footer-links-list li::after {
  display: none !important;
}

.arown-footer-links-list li:last-child {
  margin-bottom: 0;
}

.arown-footer-links-list a {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 14.5px !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fluid arrow indicator */
.arown-footer-links-list a .arown-link-arrow {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  display: inline-block;
  transition: transform 0.22s ease, color 0.22s ease;
  line-height: 1;
}

.arown-footer-links-list a:hover {
  color: #ffffff !important;
  transform: translateX(4px);
}

.arown-footer-links-list a:hover .arown-link-arrow {
  color: var(--accent-color, #f15b54);
  transform: translateX(2px);
}

/* ==========================================================================
   Column 5: Contact Details & Google Map
   ========================================================================== */
.arown-footer-contact-col {
  padding-left: 15px;
}

.arown-footer-contact-body {
  display: flex;
  flex-direction: column;
}

.arown-footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.arown-footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arown-footer-contact-info li::before,
.arown-footer-contact-info li::after {
  display: none !important;
}

.arown-contact-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent-color, #f15b54);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all 0.25s ease;
}

.arown-footer-contact-info li:hover .arown-contact-icon {
  background: var(--accent-color, #f15b54);
  color: #ffffff;
  border-color: var(--accent-color, #f15b54);
  transform: scale(1.05);
}

.arown-contact-text {
  font-size: 13.5px !important;
  line-height: 1.55 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 400;
  word-break: break-word;
}

.arown-contact-text a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.arown-contact-text a:hover {
  color: var(--accent-color, #f15b54) !important;
}

/* Map Container */
.arown-footer-map-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.arown-footer-map-container:hover {
  border-color: rgba(241, 91, 84, 0.5);
  transform: translateY(-2px);
}

.arown-footer-map-container iframe {
  display: block;
  width: 100%;
  height: 120px;
  border: 0;
}

/* ==========================================================================
   Bottom Copyright & Support Links Bar
   ========================================================================== */
.arown-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-color: rgba(5, 6, 12, 0.65);
  padding: 22px 0;
  margin-top: 65px;
}

.arown-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.arown-footer-bottom-left {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.arown-copyright-text {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 14px !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.arown-copyright-text a {
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.arown-copyright-text a:hover {
  color: var(--accent-color, #f15b54) !important;
}

/* Support Links on Right */
.arown-footer-bottom-right {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
}

.arown-footer-support-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.arown-footer-support-links li {
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.arown-footer-support-links li:not(:last-child)::after {
  content: "•";
  margin-left: 16px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
  pointer-events: none;
}

.arown-footer-support-links a {
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  font-weight: 400;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.arown-footer-support-links a:hover {
  color: var(--accent-color, #f15b54) !important;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1199px) {
  .arown-footer-brand-col {
    padding-right: 15px;
  }
  .arown-footer-col {
    padding-left: 10px;
  }
  .arown-footer-support-links {
    gap: 12px;
  }
  .arown-footer-support-links li:not(:last-child)::after {
    margin-left: 12px;
  }
}

@media (max-width: 991px) {
  .main-footer.arown-footer-modern {
    padding-top: 60px;
  }
  .arown-footer-brand-col {
    margin-bottom: 35px;
  }
  .arown-footer-col {
    margin-bottom: 30px;
    padding-left: 0;
  }
  .arown-footer-bottom {
    margin-top: 35px;
    padding: 20px 0;
  }
  .arown-footer-bottom-inner {
    flex-direction: column-reverse;
    justify-content: center;
    text-align: center;
    gap: 14px;
  }
  .arown-footer-bottom-left,
  .arown-footer-bottom-right {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
  .arown-footer-support-links {
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  /* Prevent floating contact buttons on the right from overlaying footer text */
  .main-footer.arown-footer-modern .container {
    padding-right: 52px;
  }
  .arown-footer-bottom {
    padding-bottom: 85px !important;
  }
  .arown-footer-col-courses .arown-footer-links-list li {
    margin-bottom: 12px;
  }
  .arown-footer-col-courses .arown-footer-links-list a {
    font-size: 14.5px !important;
    line-height: 1.5;
    word-break: normal;
  }
}

@media (max-width: 575px) {
  .main-footer.arown-footer-modern {
    padding-top: 45px;
  }
  .arown-footer-logo {
    max-width: 175px;
  }
  .arown-footer-desc {
    font-size: 14px !important;
    max-width: 100%;
    line-height: 1.65 !important;
    margin-bottom: 20px !important;
  }
  .arown-footer-heading {
    font-size: 17px !important;
    margin-bottom: 16px;
  }
  
  /* Quick links and Branches in an elegant 2-column mobile grid */
  .arown-footer-links-grid-sm {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 11px 16px !important;
  }
  .arown-footer-links-grid-sm li {
    margin-bottom: 0 !important;
  }
  .arown-footer-links-list a {
    font-size: 14px !important;
    padding: 3px 0;
  }

  /* Clear section separation on mobile */
  .arown-footer-brand-col {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .arown-footer-col {
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .arown-footer-contact-col {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }

  .arown-footer-contact-info {
    margin-bottom: 16px;
    gap: 13px;
  }
  .arown-contact-text {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }
  .arown-footer-map-container iframe {
    height: 140px;
  }

  /* Footer bottom copyright & links */
  .arown-copyright-text {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
  }
  .arown-footer-support-links {
    gap: 8px 12px;
  }
  .arown-footer-support-links li:not(:last-child)::after {
    margin-left: 12px;
  }
  .arown-footer-support-links a {
    font-size: 12.5px !important;
    white-space: normal;
  }
}
