/****************  LOCATION SECTION – UPGRADED  ****************/
.location-section {
  --space: #121A26;   /* Space Graphite */
  --blue:  #3478F6;   /* Hyper Blue */
  --vio:   #8C6FF0;   /* Quantum Violet */
  --bg:    #F4F6FA;   /* Cloud Mist */
  --text:  #374151;

  background: #F7FAFF !important;
  padding: clamp(42px, 6vw, 72px) 20px;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Center and size */
.location-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 28px;
  align-items: stretch;
}

/* Map container */
.map-box {
  position: relative;
  min-height: 480px;
  border-radius: 20px;
  overflow: hidden;
  background: #e9eef5;
  box-shadow: 0 14px 34px rgba(18,26,38,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.map-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(18,26,38,.16);
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Fallback placeholder for missing map */
.image-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: #6b7280;
  font-weight: 600;
  letter-spacing: .2px;
}

/* Info card */
.location-info-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: clamp(22px, 3.5vw, 36px);
  box-shadow: 0 12px 30px rgba(18,26,38,.10);
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Subtle gradient outline using mask (no extra markup) */
.location-info-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 20px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(52,120,246,.6), rgba(140,111,240,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: .9;
}
.location-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(18,26,38,.14);
}

/* Heading */
.location-info-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--space);
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  margin: 0 0 14px;
  line-height: 1.2;
  position: relative;
}
.location-info-card h3::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  margin-top: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--vio));
}

/* Text */
.location-info-card p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
  margin: 10px 0;
}

/* Labels + links */
.location-info-card strong {
  font-weight: 700;
  color: var(--space);
}
.location-info-card a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 600;
}
.location-info-card a:hover { text-decoration: underline; }

/* Optional “info rows” alignment (works with your existing <p><strong>…</strong> …) */
.location-info-card p:has(strong) {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  align-items: baseline;
}

/* Responsive */
@media (max-width: 1024px) {
  .location-wrapper { grid-template-columns: 1fr; }
  .map-box { min-height: 380px; }
}
@media (prefers-reduced-motion: reduce) {
  .map-box, .location-info-card { transition: none; }
}


/* ===== Tablets (≤ 1024px) ===== */
@media (max-width: 1024px){
  .location-section{
    padding: clamp(36px, 5vw, 56px) 20px;
  }
  .location-wrapper{
    grid-template-columns: 1fr;           /* stack: map on top, info below */
    gap: 24px;
    max-width: 1000px;
  }
  .map-box{
    min-height: 420px;                    /* slightly shorter on tablets */
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(18,26,38,.12);
  }
  .location-info-card{
    padding: clamp(20px, 3vw, 30px);
    border-radius: 18px;
  }
  .location-info-card::after{ border-radius: 18px; }

  /* Info rows: give label a bit less width */
  .location-info-card p:has(strong){
    grid-template-columns: 110px 1fr;
  }

  .location-info-card h3{
    font-size: clamp(1.15rem, 2.2vw, 1.5rem);
    margin-bottom: 12px;
  }
}

/* ===== Large phones & small tablets (≤ 768px) ===== */
@media (max-width: 768px){
  .location-section{
    padding: 40px max(18px, env(safe-area-inset-left))
                 40px max(18px, env(safe-area-inset-right));
  }
  .location-wrapper{
    gap: 20px;
    max-width: 720px;
  }
  .map-box{
    min-height: 380px;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(18,26,38,.12);
  }
  .location-info-card{
    padding: 20px;
    border-radius: 16px;
  }
  .location-info-card::after{ border-radius: 16px; }

  .location-info-card h3{
    font-size: 1.3rem;
  }
  .location-info-card p{
    font-size: 14.5px;
    line-height: 1.65;
  }
  .location-info-card p:has(strong){
    grid-template-columns: 100px 1fr;   /* narrower label */
    gap: 8px;
  }
}

/* ===== Small phones (≤ 600px) ===== */
@media (max-width: 600px){
  .location-section{
    padding: 36px max(16px, env(safe-area-inset-left))
                 36px max(16px, env(safe-area-inset-right));
  }
  .location-wrapper{
    gap: 18px;
    max-width: 540px;
  }
  .map-box{
    min-height: 320px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(18,26,38,.10);
  }
  .location-info-card{
    padding: 18px;
    border-radius: 14px;
  }
  .location-info-card::after{ border-radius: 14px; }

  .location-info-card h3{
    font-size: 1.2rem;
    margin-bottom: 10px;
  }
  .location-info-card p{
    font-size: 14px;
    margin: 8px 0;
  }
  /* On very narrow text, stack label/value vertically for readability */
  .location-info-card p:has(strong){
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ===== Very small phones (≤ 480px) ===== */
@media (max-width: 480px){
  .location-section{
    padding: 32px max(14px, env(safe-area-inset-left))
                 32px max(14px, env(safe-area-inset-right));
  }
  .location-wrapper{ gap: 16px; }
  .map-box{
    min-height: 280px;
    border-radius: 12px;
  }
  .location-info-card{
    padding: 16px;
    border-radius: 12px;
  }
  .location-info-card::after{ border-radius: 12px; }

  .location-info-card h3{
    font-size: 1.1rem;
  }
  .location-info-card p{
    font-size: 13.5px;
    line-height: 1.6;
  }
}

/* ===== Ultra-small (≤ 360px) ===== */
@media (max-width: 360px){
  .location-section{
    padding: 28px max(12px, env(safe-area-inset-left))
                 28px max(12px, env(safe-area-inset-right));
  }
  .map-box{
    min-height: 240px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(18,26,38,.10);
  }
  .location-info-card{
    padding: 14px;
    border-radius: 10px;
  }
  .location-info-card::after{ border-radius: 10px; }

  .location-info-card h3{ font-size: 1.05rem; }
  .location-info-card p{ font-size: 13px; }
}






/* Footer */
/****************  FOOTER – UPGRADED DROP-IN  ****************/
.site-footer {
  --space: #0f172a;      /* deep slate */
  --ink:   #e2e8f0;      /* text on dark */
  --muted: #94a3b8;
  --line:  #475569;
  --blue:  #3478F6;      /* Hyper Blue */
  --vio:   #8C6FF0;      /* Quantum Violet */
  background: radial-gradient(140% 120% at 0% 0%, #1f2937 0%, #0f172a 38%) fixed;
  color: var(--ink);
  padding: 64px 20px 28px;
  border-top: 1px solid var(--line);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  position: relative;
  isolation: isolate;
}

/* thin gradient bar at top */
.site-footer::before{
  content:"";
  position:absolute; inset:0 0 auto 0; height:3px;
  background: linear-gradient(90deg, var(--blue), var(--vio));
  opacity:.7;
}

/* container */
.site-footer .container {
  max-width: 1200px; margin: 0 auto;
}

/* grid */
.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px 40px;
  margin-bottom: 40px;
}

/* headings with accent underline */
.footer-top h4 {
  font-size: 1rem;
  color: #fff;
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing:.2px;
  position: relative;
}
.footer-top h4::after{
  content:"";
  display:block; width:48px; height:3px; margin-top:10px;
  border-radius:2px;
  background: linear-gradient(90deg, var(--blue), var(--vio));
}

/* text blocks */
.footer-about p,
.footer-contact p {
  font-size: .95rem;
  color: var(--ink);
  opacity:.9;
  line-height: 1.7;
  margin: 0 0 10px;
}

/* links list */
.footer-links ul { list-style: none; padding:0; margin:0; }
.footer-links li { margin: 8px 0; }

.footer-links a {
  display:inline-block;
  text-decoration:none;
  color:#cbd5e1;
  font-size:.95rem;
  transition: color .2s ease, background-size .25s ease, transform .15s ease;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
}
.footer-links a:hover {
  color:#ffffff;
  background-size: 100% 1px;
  transform: translateX(2px);
}

/* contact links */
.footer-contact a {
  color:#cbd5e1; text-decoration:none; font-weight:600;
  transition: color .2s ease;
}
.footer-contact a:hover { color:#ffffff; }

/* social icons with gradient ring */
.footer-social .social-icons {
  display:flex; gap:14px; justify-content:flex-start; flex-wrap:wrap;
}
.footer-social .social-icons a{
  width:40px; height:40px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  text-decoration:none; font-size:18px; color:#e2e8f0;
  border:1px solid transparent;
  background:
    linear-gradient(#0b1220,#0b1220) padding-box,
    linear-gradient(90deg, var(--blue), var(--vio)) border-box;
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
  transition: transform .18s ease, box-shadow .18s ease, color .18s ease, background .18s ease;
}
.footer-social .social-icons a:hover{
  transform: translateY(-2px);
  color:#fff;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

/* bottom line */
.footer-bottom {
  text-align:center;
  font-size:.85rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

/* focus states */
.site-footer a:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(52,120,246,.4);
  border-radius: 8px;
}

/* responsiveness */
@media (max-width: 640px){
  .site-footer { padding: 48px 16px 24px; }
  .footer-top { gap: 28px; }
  .footer-social .social-icons { justify-content:center; }
  .footer-top h4 { text-align:center; }
  .footer-about p, .footer-contact p, .footer-links { text-align:center; }
}



/* ===== Tablets (≤ 1024px) ===== */
@media (max-width: 1024px){
  .site-footer {
    padding: 56px 20px 26px;
  }
  .footer-top {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
  }
  .footer-top h4 {
    font-size: .95rem;
  }
  .footer-about p,
  .footer-contact p,
  .footer-links a {
    font-size: .93rem;
  }
  .footer-social .social-icons { gap: 12px; }
}

/* ===== Small tablets & large phones (≤ 768px) ===== */
@media (max-width: 768px){
  .site-footer {
    padding: 48px 18px 22px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
    text-align: center;
  }
  .footer-top h4 {
    text-align: center;
    font-size: .92rem;
  }
  .footer-about p,
  .footer-contact p,
  .footer-links { text-align: center; }
  .footer-links li { margin: 6px 0; }
  .footer-social .social-icons {
    justify-content: center;
    gap: 12px;
  }
  .footer-social .social-icons a {
    width: 38px; height: 38px; font-size: 16px;
  }
  .footer-bottom { font-size: .8rem; padding-top: 14px; }
}

/* ===== Phones (≤ 480px) ===== */
@media (max-width: 480px){
  .site-footer {
    padding: 40px 14px 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-bottom: 24px;
  }
  .footer-top h4 {
    font-size: .9rem;
    margin-bottom: 10px;
  }
  .footer-about p,
  .footer-contact p,
  .footer-links a {
    font-size: .9rem;
    line-height: 1.6;
  }
  .footer-links li { margin: 5px 0; }
  .footer-social .social-icons { gap: 10px; }
  .footer-social .social-icons a {
    width: 36px; height: 36px; font-size: 15px;
  }
  .footer-bottom { font-size: .78rem; }
}

/* ===== Very small phones (≤ 360px) ===== */
@media (max-width: 360px){
  .site-footer { padding: 32px 12px 18px; }
  .footer-top { gap: 18px; }
  .footer-social .social-icons a {
    width: 34px; height: 34px; font-size: 14px;
  }
  .footer-bottom { font-size: .75rem; padding-top: 12px; }
}
