/* contact-updated-with-socials.css
   Responsive, no px units. Blue shadows + social buttons + About-style footer.
*/

/* Root variables */
:root{
  --navy: rgb(3, 4, 94);
  --navy-light: rgb(28, 35, 150);
  --accent: rgb(66, 89, 255);
  --bg-soft-1: rgb(233, 239, 255);
  --bg-soft-2: rgb(220, 230, 255);
  --card-bg: #ffffff;
  --text: rgb(20, 24, 33);
  --muted: rgb(95, 100, 130);
  --radius: 0.8rem;
  --shadow: 0 0.6rem 1.2rem rgba(66, 89, 255, 0.35);
  --shadow-hover: 0 0.9rem 1.6rem rgba(66, 89, 255, 0.55);
  --max-width: 68rem;
  --gap: 1rem;
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html,body{
  height:100%;
}
html { font-size: 100%; }
body {
  display:flex;
  flex-direction:column;
  min-height:100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: linear-gradient(180deg, var(--bg-soft-1) 0%, var(--bg-soft-2) 100%);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.45;
}

/* Main container (keeps your layout) */
.container {
  width: 94%;
  max-width: var(--max-width);
  margin-inline: auto;
  flex:1 1 auto;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(0.9rem, 3vw, 2rem);
  align-items: stretch;
  justify-content: center;
  padding-block: clamp(1.25rem, 3vh, 2.6rem);
}

/* CONTACT / MAP cards */
.contact-info, .map {
  flex: 1 1 clamp(18rem, 40%, 40rem);
  min-width: 0;
  max-width: 40rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: clamp(0.9rem, 2.2vh, 1.4rem);
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

/* subtle hover lift on pointer devices */
@media (hover: hover) and (pointer: fine) {
  .contact-info:hover,
  .map:hover {
    transform: translateY(-0.18rem);
    box-shadow: var(--shadow-hover);
  }
}

/* headings & text */
.contact-info h2,
.map h2 {
  color: var(--navy);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  margin-bottom: 0.55rem;
}
.contact-info p {
  color: var(--text);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.contact-info a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}
.contact-info a:hover { text-decoration: underline; color: var(--navy); }

/* map iframe */
.map iframe {
  width: 100%;
  height: clamp(14rem, 36vh, 28rem);
  border: none;
  border-radius: calc(var(--radius) - 0.25rem);
  display: block;
  box-shadow: var(--shadow);
}

/* SOCIAL BUTTONS */
.socials { margin-top: 1rem; }
.social-label { font-size: 0.95rem; color: var(--muted); margin-bottom: 0.4rem; }
.social-buttons {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  background: linear-gradient(180deg, rgba(66,89,255,0.08), rgba(66,89,255,0.04));
  color: var(--navy);
  border-radius: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 0.4rem 0.9rem rgba(66,89,255,0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.social-btn svg { display: block; color: var(--navy); }
.social-text { display: inline-block; line-height: 1; }

/* social hover */
@media (hover: hover) and (pointer: fine) {
  .social-btn:hover {
    transform: translateY(-0.08rem);
    box-shadow: 0 0.7rem 1.4rem rgba(66,89,255,0.14);
    background: linear-gradient(180deg, rgba(66,89,255,0.14), rgba(66,89,255,0.06));
  }
}

/* SITE FOOTER (match About Us style) */
.site-footer {
  flex-shrink:0;
  background: var(--navy);
  color: #fff;
  padding-block: clamp(0.9rem, 2.2vh, 1.2rem);
  margin-top: 2rem;
  border-top: 0.0625rem solid rgba(255,255,255,0.04);
}
.footer-inner {
  width: 94%;
  max-width: var(--max-width);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  text-align: center;
}
.footer-inner p { margin: 0; font-size: clamp(0.9rem, 1.2vw, 1rem); opacity: 0.95; }
.footer-nav { display: flex; gap: 0.9rem; align-items: center; }
.footer-nav a { color: #fff; text-decoration: none; font-weight: 600; opacity: 0.95; }
.footer-nav a:hover { opacity: 1; text-decoration: underline; }

/* keep footer centered on small screens */
@media (max-width: 42rem) {
  .footer-inner { flex-direction: column; align-items: center; gap: 0.4rem; }
}

/* responsive tweaks */
@media (max-width: 48rem) {
  .container { padding-block: 1.2rem; gap: 1rem; }
  .contact-info, .map { max-width: 100%; border-radius: 0.9rem; padding: 1rem; }
}
