/* =========================================================
   WEBPLEX SOLUTION — CONTACT PAGE
   ========================================================= */

:root {
  --bg: #f7f9fc;
  --surface: #fff;
  --primary: #8b2cf0;
  --blue: #1f63ea;
  --pink: #f0209e;
  --cyan: #0fb4f7;
  /* Logo colours: pink -> violet -> blue (-> cyan) */
  --brand-gradient: linear-gradient(135deg, var(--pink) 0%, var(--primary) 52%, var(--blue) 100%);
  --text-gradient: linear-gradient(110deg, var(--pink) 0%, var(--primary) 38%, var(--blue) 72%, var(--cyan) 100%);
  --green: #18a66a;
  --text-dark: #111827;
  --text: #263143;
  --muted: #667085;
  --border: #e5e9f2;
  --shadow-sm: 0 8px 25px rgba(40, 50, 80, .06);
  --shadow-md: 0 18px 45px rgba(44, 51, 90, .10);
  --radius: 22px;
  --container: 1180px;
}

/* =========================================================
   RESET
   ========================================================= */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body.no-scroll {
  overflow: hidden; /* Prevents background scrolling when mobile menu is open */
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(139, 44, 240, .30) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  opacity: .75;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, .92) 75%, transparent 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* =========================================================
   HEADER
   ========================================================= */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 76px;
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid rgba(229, 233, 242, .85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo {
  flex-shrink: 0;
}

.logo a {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: 158px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
}

.nav-button,
.contact-us-btn {
  min-height: 42px;
  padding: 9px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: color .25s ease, background .25s ease, transform .25s ease;
}

.nav-button {
  color: #535d70;
}

.nav-button:hover {
  color: var(--primary);
  background: #f5ecfe;
}

.nav-button.active {
  color: var(--primary);
  background: #f3e9fd;
}

.contact-us-btn {
  margin-left: 7px;
  padding-inline: 19px;
  color: #fff;
  background: var(--brand-gradient);
  box-shadow: 0 8px 20px rgba(139, 44, 240, .20);
}

.contact-us-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(139, 44, 240, .28);
}

/* Animated Menu Icon */
.menu-icon {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 1001; /* Keep above full screen menu */
  transition: all 0.3s ease;
}

.menu-icon .bar {
  width: 21px;
  height: 2px;
  border-radius: 10px;
  background: var(--text-dark);
  transition: all 0.3s ease;
}

/* Hamburger to X Animation */
.menu-icon.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-icon.open .bar:nth-child(2) { opacity: 0; }
.menu-icon.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
  padding: 105px 0 65px;
  text-align: center;
}

.hero-inner {
  max-width: 880px;
}

.section-kicker,
.small-label {
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.section-kicker:before,
.section-kicker:after {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(139, 44, 240, .45);
}

.contact-hero h1 {
  color: var(--text-dark);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 800;
}

.text-gradient {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-hero p {
  max-width: 700px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

/* =========================================================
   CONTACT GRID
   ========================================================= */

.contact-section {
  padding: 20px 0 90px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 25px;
  align-items: stretch;
}

.contact-info {
  padding: 22px 5px 22px 0;
}

.info-heading h2 {
  max-width: 480px;
  margin-top: 12px;
  color: var(--text-dark);
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.16;
  letter-spacing: -.035em;
}

.info-heading p {
  max-width: 500px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 30px;
}

.contact-info-card {
  min-height: 82px;
  padding: 15px 17px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .90);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.contact-info-card:hover {
  transform: translateX(5px);
  border-color: rgba(139, 44, 240, .25);
  box-shadow: var(--shadow-md);
}

.info-icon {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: #f3e9fd;
  border-radius: 12px;
  font-size: 21px;
  font-weight: 700;
}

.whatsapp-icon {
  color: var(--green);
  background: #eaf9f2;
}

/* Instagram's own gradient - sits naturally beside the WebPlex pink/purple */
.instagram-icon {
  color: #ffffff;
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
}

.instagram-icon svg {
  width: 22px;
  height: 22px;
}

.info-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.info-title {
  color: #8992a2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.info-value {
  margin-top: 2px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.info-arrow {
  margin-left: auto;
  color: #a0a8b7;
  font-size: 19px;
  transition: color .2s, transform .2s;
}

.contact-info-card:hover .info-arrow {
  color: var(--primary);
  transform: translate(2px, -2px);
}

/* =========================================================
   PROJECT CARD
   ========================================================= */

.contact-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background: radial-gradient(circle at 100% 0%, rgba(31, 99, 234, .10), transparent 35%), 
              radial-gradient(circle at 0% 100%, rgba(139, 44, 240, .08), transparent 38%), 
              #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.card-decoration {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  top: -90px;
  border: 1px solid rgba(139, 44, 240, .12);
  border-radius: 50%;
}

.card-decoration:after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(31, 99, 234, .12);
  border-radius: 50%;
}

.card-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.card-number {
  width: 39px;
  height: 39px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--brand-gradient);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
}

.card-header .small-label {
  display: block;
  margin-top: 2px;
}

.card-header h2 {
  margin-top: 7px;
  color: var(--text-dark);
  font-size: clamp(24px, 3vw, 33px);
  line-height: 1.18;
  letter-spacing: -.035em;
}

.card-description {
  max-width: 650px;
  margin: 18px 0 27px 54px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.project-points {
  margin-left: 54px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.project-point {
  min-height: 48px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #f9faff;
  border: 1px solid #edf0f6;
  border-radius: 11px;
}

.project-point span {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  background: #f3e9fd;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 800;
}

.project-point p {
  color: #4f596b;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
}

.card-divider {
  height: 1px;
  margin: 30px 0 24px;
  background: var(--border);
}

.whatsapp-button {
  min-height: 68px;
  padding: 11px 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: #fff;
  background: linear-gradient(135deg, #18a66a, #12965e);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(24, 166, 106, .18);
  transition: transform .25s, box-shadow .25s;
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 17px 34px rgba(24, 166, 106, .25);
}

.whatsapp-button-icon {
  width: 39px;
  height: 39px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .16);
  border-radius: 11px;
  font-size: 18px;
}

.whatsapp-button strong {
  display: block;
  font-size: 14px;
}

.whatsapp-button small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
}

.whatsapp-button-arrow {
  margin-left: auto;
  font-size: 22px;
}

/* =========================================================
   LOCATION / SECONDARY CONTACT
   ========================================================= */

.location-section {
  padding: 0 0 95px;
}

.location-heading {
  margin-bottom: 35px;
  text-align: center;
}

.location-heading h2 {
  margin-top: 8px;
  color: var(--text-dark);
  font-size: clamp(25px, 3vw, 35px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.location-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.location-content {
  padding: 45px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.location-content h3 {
  margin-top: 10px;
  color: var(--text-dark);
  font-size: 27px;
  line-height: 1.2;
}

.location-content>p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  max-width: 400px;
}

.location-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 19px;
}

.location-contact a {
  color: var(--primary);
  font-size: 13px;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.secondary-button {
  width: fit-content;
  min-height: 43px;
  margin-top: 22px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  background: #f5ecfe;
  border: 1px solid #ead9fc;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: .2s;
}

.secondary-button:hover {
  color: #fff;
  background: var(--brand-gradient);
  border-color: transparent;
  transform: translateY(-2px);
}

/* =========================================================
   DEFAULT DESKTOP FOOTER
   ========================================================= */

.site-footer {
  padding: 65px 0 22px;
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 70px;
  align-items: start;
}

.footer-brand-column {
  max-width: 330px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
}

.footer-logo img {
  width: 145px;
  height: auto;
}

.footer-brand-column p {
  max-width: 300px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.footer-label {
  display: block;
  margin-bottom: 17px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.footer-column > a {
  color: #667085;
  font-size: 12px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column > a:hover {
  color: var(--primary);
  transform: translateX(3px);
}

/* -------------------------
   CONTACT DETAILS (ICON LAYOUT)
   ------------------------- */

.footer-contact {
  gap: 16px;
}

.footer-contact .contact-link {
  display: flex;
  flex-direction: row; /* Align icon and text horizontally */
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.footer-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.25s ease, color 0.25s ease;
}

.footer-contact .contact-link span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}

/* Hover effects */
.footer-contact .contact-link:hover .footer-icon {
  transform: scale(1.15); /* Icon gently pops on hover */
}

.footer-contact .contact-link:hover span {
  color: var(--primary);
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 10px;
}

.footer-bottom-brand {
  color: var(--text-dark);
  font-weight: 700;
  transition: color 0.2s ease;
}

.footer-bottom-brand:hover {
  color: var(--primary);
}

/* =========================================================
   MEDIA QUERIES (FULLY RESPONSIVE CASCADE)
   ========================================================= */

/* Tablets & Small Laptops (Max Width: 992px) */
@media (max-width: 992px) {
  .menu-icon {
    display: flex;
  }
  
  /* Animated Full Screen Menu */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    overflow-y: auto; 
    
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: flex;
  }

  .nav-button, .contact-us-btn {
    width: 100%;
    max-width: 250px;
    font-size: 18px; 
    padding: 15px;
    justify-content: center;
  }
  
  .nav-button {
    background: transparent;
  }

  /* Structural grids to 1 column */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-info {
    padding: 0;
  }

  /* Transition footer to 2 columns before mobile */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 45px;
  }
  
  .footer-brand-column {
    grid-column: 1 / -1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Tablets Landscape & Large Phones (Max Width: 768px) */
@media (max-width: 768px) {
  .contact-hero {
    padding: 80px 0 50px;
  }

  .contact-hero h1 {
    font-size: clamp(34px, 8vw, 48px);
  }

  /* --- CENTERED FOOTER FOR MOBILE --- */
  .site-footer {
    text-align: center;
    padding: 50px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-brand-column, 
  .footer-column {
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin: 0 auto;
    width: 100%;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-brand-column p {
    margin: 16px auto 0;
  }

  .footer-label {
    text-align: center;
    width: 100%;
  }

  .footer-column > a:hover {
    transform: translateY(-2px);
  }

  .footer-contact > a {
    align-items: center;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    text-align: center;
  }
}

/* Mobile Phones (Max Width: 480px) */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 30px);
  }

  .contact-card {
    padding: 25px 20px;
  }

  .card-description {
    margin-left: 0; /* Reset indentation on small screens */
  }

  .project-points {
    margin-left: 0; /* Reset indentation */
    grid-template-columns: 1fr; /* Switch to single column list */
  }

  .location-content {
    padding: 35px 20px;
  }
}