/* ──────────────── FOOTER BASE ──────────────── */
.page-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #e0e0e0;
  margin-top: 60px;
  width: 100%;
  box-sizing: border-box;
}
 
.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}
 
/* ── Top grid: 5 columns on desktop ── */
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.85fr 1fr 1fr;
  gap: 24px;
  padding: 32px 0 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: start;
}
 
/* ── Section ── */
.footer-section { min-width: 0; }
 
.footer-section h1,
.footer-section h2,
.footer-section h4 {
  color: #0099ff;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
}
 
.footer-section p {
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.6;
  color: #b0b0b0;
  margin: 0;
}
 
/* ── Nav links ── */
.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
 
.footer-section ul li a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.4;
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 4px 0;
  transition: color 0.25s ease;
}
 
.footer-section ul li a:hover { color: #0099ff; }
 
/* ── Social icons ── */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 0;
}
 
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  font-size: 17px;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 3px 10px rgba(0,153,255,0.2);
  transition: all 0.3s ease;
  text-decoration: none;
  color: #1a1a2e !important;
}
 
.social-links a:hover {
  background: linear-gradient(135deg, #00d4ff, #0099ff);
  color: #fff !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,212,255,0.4);
  border-color: rgba(255,255,255,0.3);
}
 
.social-links a i { transition: transform 0.3s ease; }
.social-links a:hover i { transform: rotate(8deg) scale(1.1); }
 
/* ── Bottom bar ── */
.footer-bottom {
  padding: 18px 0;
  text-align: center;
  background: rgba(0,0,0,0.45);
  border-top: 2px solid rgba(0,153,255,0.25);
}
 
.footer-credit {
  font-size: 13px;
  margin: 0 0 4px;
  color: #e0e0e0;
}
 
.footer-credit a {
  color: #0099ff;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s;
}
 
.footer-credit a:hover { color: #00d4ff; text-decoration: underline; }
 
.footer-copyright {
  font-size: 12px;
  color: #b0b0b0;
  margin: 4px 0;
  font-weight: 500;
}
 
.footer-disclaimer {
  font-size: 11.5px;
  color: #90a0b0;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.08);
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 8px;
  padding-right: 8px;
}
 
.footer-disclaimer strong { color: #0099ff; }
 
/* ── Icon SVGs ── */
.fas, .fab {
  display: inline-block;
  width: 1em; height: 1em;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  vertical-align: middle;
}
 
.fa-linkedin {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%230a66c2' d='M100.28 448H7.4V148.9h92.88zM53.79 108.1C24.09 108.1 0 83.5 0 53.8a53.79 53.79 0 0 1 107.58 0c0 29.7-24.1 54.3-53.79 54.3zM447.9 448h-92.68V302.4c0-34.7-.7-79.2-48.29-79.2-48.29 0-55.69 37.7-55.69 76.7V448h-92.78V148.9h89.08v40.8h1.3c12.4-23.5 42.69-48.3 87.88-48.3 94 0 111.28 61.9 111.28 142.3V448z'/%3E%3C/svg%3E");
}
 
.fa-twitter {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%231da1f2' d='M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z'/%3E%3C/svg%3E");
}
 
.fa-instagram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cdefs%3E%3ClinearGradient id='ig' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' stop-color='%23f09433'/%3E%3Cstop offset='25%25' stop-color='%23e6683c'/%3E%3Cstop offset='50%25' stop-color='%23dc2743'/%3E%3Cstop offset='75%25' stop-color='%23cc2366'/%3E%3Cstop offset='100%25' stop-color='%23bc1888'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath fill='url(%23ig)' d='M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z'/%3E%3C/svg%3E");
}
 
.fa-youtube {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath fill='%23ff0000' d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z'/%3E%3C/svg%3E");
}
 
/* ════════════ RESPONSIVE ════════════ */
 
/* Laptop 1024–1199px: keep 5 cols but tighter */
@media (max-width: 1199px) {
  .footer-top { gap: 16px; padding: 28px 0 20px; }
}
 
/* Tablet landscape 768–1023px: 2+2+1 layout */
@media (max-width: 1023px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 0 18px;
  }
 
  /* About spans full width */
  .footer-top .footer-section:first-child {
    grid-column: 1 / -1;
  }
 
  /* Follow Us (last col) — left-align on tablet */
  .footer-top .footer-section:last-child { text-align: left; }
 
  .footer-section h1,
  .footer-section h2,
  .footer-section h4 { font-size: 13px; }
 
  .footer-section p,
  .footer-section ul li a { font-size: 12px; }
}
 
/* Tablet portrait 600–767px: 2 cols, about full width */
@media (max-width: 767px) {
  .page-footer { margin-top: 48px; }
 
  .footer-wrapper { padding: 0 14px; }
 
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 0 16px;
  }
 
  .footer-top .footer-section:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }
 
  /* Center social links on tablet portrait */
  .footer-top .footer-section:last-child { text-align: center; }
  .footer-top .footer-section:last-child .social-links { justify-content: center; }
 
  .footer-section h1,
  .footer-section h2,
  .footer-section h4 { font-size: 12.5px; letter-spacing: 0.5px; }
 
  .footer-section p,
  .footer-section ul li a { font-size: 11.5px; }
 
  .footer-bottom { padding: 14px 0; }
  .footer-credit { font-size: 12px; }
  .footer-copyright { font-size: 11px; }
  .footer-disclaimer { font-size: 11px; }
}
 
/* Mobile 480–599px: single column, centered */
@media (max-width: 599px) {
  .page-footer { margin-top: 40px; }
 
  .footer-wrapper { padding: 0 12px; }
 
  .footer-top {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px 0 14px;
  }
 
  .footer-top .footer-section:first-child { grid-column: auto; }
 
  .footer-section {
    text-align: center;
  }
 
  .footer-section ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
 
  .footer-section ul li a {
    justify-content: center;
    min-height: 40px;
  }
 
  .social-links { justify-content: center; }
 
  .footer-section h1,
  .footer-section h2,
  .footer-section h4 { font-size: 12px; margin-bottom: 8px; }
 
  .footer-section p,
  .footer-section ul li a { font-size: 11px; }
 
  .social-links a { width: 40px; height: 40px; font-size: 16px; }
 
  .footer-bottom { padding: 12px 0; }
  .footer-credit { font-size: 11.5px; }
  .footer-copyright { font-size: 10.5px; }
  .footer-disclaimer { font-size: 10.5px; margin-top: 8px; padding-top: 8px; }
}
 
/* Small mobile 360–479px */
@media (max-width: 479px) {
  .footer-wrapper { padding: 0 10px; }
 
  .footer-top { gap: 12px; padding: 14px 0 12px; }
 
  .footer-section h1,
  .footer-section h2,
  .footer-section h4 { font-size: 11.5px; margin-bottom: 7px; }
 
  .footer-section p,
  .footer-section ul li a { font-size: 10.5px; }
 
  .footer-section ul li a { min-height: 38px; }
 
  .social-links { gap: 8px; }
  .social-links a { width: 38px; height: 38px; font-size: 15px; }
 
  .footer-credit { font-size: 11px; }
  .footer-copyright,
  .footer-disclaimer { font-size: 10px; }
}
 
/* Tiny mobile ≤359px (Galaxy Fold etc.) */
@media (max-width: 359px) {
  .footer-wrapper { padding: 0 8px; }
 
  .footer-top { gap: 10px; padding: 12px 0 10px; }
 
  .footer-section h1,
  .footer-section h2,
  .footer-section h4 { font-size: 11px; margin-bottom: 6px; }
 
  .footer-section p,
  .footer-section ul li a { font-size: 10px; line-height: 1.4; }
 
  .footer-section ul li a { min-height: 36px; }
 
  .social-links a { width: 36px; height: 36px; font-size: 14px; }
  .social-links { gap: 7px; }
 
  .footer-credit { font-size: 10.5px; }
  .footer-copyright,
  .footer-disclaimer { font-size: 9.5px; }
  .footer-disclaimer { padding-left: 4px; padding-right: 4px; }
}