/* ---------------------------------------------
   GLOBAL BASE STYLES
--------------------------------------------- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Segoe UI', Arial, sans-serif;
  background-color: #edf5fa;
  color: #232d38;
  /* Decorative SVG pattern background */
  background-image: url('data:image/svg+xml;utf8,<svg width="350" height="350" xmlns="http://www.w3.org/2000/svg"><text x="10" y="40" font-size="15" fill="#3fa3ef">O₂</text><text x="60" y="90" font-size="16" fill="#ea5cad">N₂</text><text x="110" y="70" font-size="15" fill="#00c898">Ar</text><text x="210" y="50" font-size="17" fill="#ffcc53">He</text><text x="320" y="60" font-size="16" fill="#ff6f61">DA</text><text x="235" y="160" font-size="16" fill="#00b7c9">H₂</text><text x="170" y="220" font-size="15" fill="#2ee59d">NH₃</text><text x="140" y="95" font-size="14" fill="#a4befe">N₂O</text><text x="250" y="80" font-size="14" fill="#ffe148">ZA</text><text x="280" y="310" font-size="17" fill="#7ad0fa">🏭</text></svg>');
  background-repeat: repeat;
}

/* Ensure main grows and footer stays at bottom */
main {
  flex: 1 0 auto;
  padding-top: 40px;
  padding-bottom: 40px;
}.background-shape {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.2;
    width: 220px;
    height: 220px;
    background-repeat: no-repeat;
    background-size: contain;
}

/* ---------------------------------------------
   HEADER STYLES (unchanged)
--------------------------------------------- */
header,
.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 8px 24px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(31,41,55,0.10);
    border-radius: 0 0 16px 16px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.company-brand img {
    height: 90px;
    width: auto;
    margin-right: 7px;
    max-height: 80px;
}
.company-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}
.company-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #287b8c;
    letter-spacing: .04em;
}
nav .main-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav .main-menu li a {
    color: #232d38;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    padding: 6px 18px;
    border-radius: 20px;
    transition: background 0.18s, color 0.18s;
    background: transparent;
}
nav .main-menu li a.active,
nav .main-menu li a:hover {
    color: #287b8c;
    background: #eaf5fa;
}

/* ---------------------------------------------
   MAP PANE (unchanged)
--------------------------------------------- */
.vap-map-pane {
  margin: 34px auto 0 auto;
  max-width: 1700px;
  background: #e6f8fd;
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(31,41,55,0.09);
}

.vap-map-pane iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 19px;
}

/* ---------------------------------------------
   CONTACT PAGE CONTENT (fully rewritten)
--------------------------------------------- */
.contact-main-content {
  max-width: 1150px;
  margin: 0 auto;
  padding: 50px 20px 60px 20px;
  background: none;
  position: relative;
  z-index: 2;
}

.contact-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 50px;
}

/* Info and Form Blocks */
.contact-info-block,
.contact-form-block {
  flex: 1 1 350px;
  min-width: 330px;
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 28px 30px 28px;
  box-shadow: 0 4px 18px rgba(31, 41, 55, 0.10);
  border: 1.5px solid #d8ecf5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.contact-info-block:hover,
.contact-form-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(31, 41, 55, 0.15);
}

/* Subtle background pattern overlay */
.contact-info-block::before,
.contact-form-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(220,240,250,0.7) 1.2px, transparent 1.2px),
                    radial-gradient(circle, rgba(200,230,245,0.5) 1px, transparent 1px);
  background-size: 20px 20px, 40px 40px;
  background-position: 0 0, 10px 10px;
  opacity: 0.25;
  z-index: 1;
  pointer-events: none;
}
.contact-info-block > *,
.contact-form-block > * {
  position: relative;
  z-index: 2;
}

/* Headings */
.contact-info-block h2,
.contact-form-block h2 {
  color: #267E8C;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Info List */
.contact-info-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-block li {
  margin-bottom: 12px;
  font-size: 1.05rem;
  line-height: 1.5;
}

.contact-info-block a {
  color: #267E8C;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.contact-info-block a:hover {
  color: #3fe8c9;
  text-decoration: underline;
}

/* Contact Form */
.contact-form-block form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form-block input,
.contact-form-block textarea {
  font-size: 1rem;
  padding: 12px 15px;
  border-radius: 9px;
  border: 1.7px solid #b4d6e7;
  background: #fafdff;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-block input:focus,
.contact-form-block textarea:focus {
  border-color: #3fe8c9;
  box-shadow: 0 0 6px rgba(63, 232, 201, 0.25);
  background: #f4fdff;
}

.contact-form-block textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit Button */
.contact-form-block button {
  background: linear-gradient(90deg, #267E8C 10%, #38d3f6 100%);
  color: #fff;
  font-weight: 600;
  font-size: 1.12rem;
  border-radius: 22px;
  border: none;
  padding: 13px 0 11px 0;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 3px 10px rgba(44,112,140,0.15);
  transition: background 0.25s, transform 0.2s;
  letter-spacing: 0.3px;
}

.contact-form-block button:hover {
  background: linear-gradient(90deg, #38d3f6 10%, #267E8C 100%);
  transform: scale(1.02);
}

/* Responsive Adjustments */
@media (max-width: 900px) {
  .contact-flex {
    flex-direction: column;
    gap: 30px;
  }

  .contact-info-block,
  .contact-form-block {
    width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .contact-main-content {
    padding: 30px 12px 50px 12px;
  }

  .contact-info-block,
  .contact-form-block {
    padding: 26px 20px 22px 20px;
  }
}

/* ---------------------------------------------
   FOOTER STYLES (unchanged)
--------------------------------------------- */
/* FOOTER */
.footer-unique {
  background: #141d23;
  color: #ffffff;
  padding-top: 38px;
  margin-top: 42px;
  font-family: 'Segoe UI', Arial, sans-serif;
  position: relative;
}

.footer-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 100px;
  max-width: 1200px;
  margin: auto;
  padding: 0 4vw 8px 4vw;
  flex-wrap: wrap;
}

.footer-contact-block,
.footer-links-block,
.footer-social-block {
  min-width: 210px;
}

/* Logo + tagline */
.footer-logo-block {
  margin-top: 44px;
  text-align: center;
}
.footer-logo-block .footer-logo {
  width: 102px;
  height: auto;
  margin-bottom: 6px;
}
.footer-tagline {
  font-size: 0.98rem;
  color: #a8c4d8;
  margin-top: 7px;
  font-weight: 400;
}

/* Section headings */
.footer-contact-block h4,
.footer-links-block h4,
.footer-social-block h4 {
  color: #2fd9c9; /* HTML aqua-like tone */
  margin-bottom: 9px;
  font-weight: 600;
  font-size: 1.09rem;
}

/* Contact info */
.footer-contact-block p {
  margin: 6px 0;
  font-size: 0.98rem;
  color: #e4e8ec;
}

/* Links */
.footer-links-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-block li { margin-bottom: 8px; }
.footer-links-block a {
  color: #e6e6e6;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-links-block a:hover {
  color: #2fd9c9;
  text-decoration: underline;
}

/* Icons and accent colors */
.footer-contact-block i { color: #2fd9c9; margin-right: 7px; }

/* Divider */
.footer-divider {
  border-top: 1.5px dashed #333d;
  margin: 32px auto 7px auto;
  max-width: 1100px;
}

/* Footer bottom: social + copyright */
.footer-bottom {
  width: 100%;
  padding-bottom: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-bottom-icons {
  margin-bottom: 2px;
}
.footer-bottom-icons a {
  color: #e6e6e6;
  font-size: 1.7em;
  margin: 0 10px;
  display: inline-block;
  transition: color 0.25s, transform 0.16s;
}
.footer-bottom-icons a:hover {
  color: #2fd9c9;
  transform: scale(1.15) rotate(-3deg);
}
.footer-bottom-copyright {
  color: #dcdcdc;
  font-size: 1.04rem;
  margin-top: 3px;
}

/* Email/Phone/Map Custom */
.footer-email-icon  { color: #29d0e9; font-size: 1.18em; margin-right: 7px; vertical-align: middle; }
.footer-email-link  { color: #bfe8f2; font-size: 1.07em; text-decoration: none; font-weight: 500; transition: color 0.17s; }
.footer-email-link:hover  { color: #2fd9c9; text-decoration: underline; }

.footer-phone-icon  { color: #2ee6b1; font-size: 1.18em; margin-right: 7px; vertical-align: middle; }
.footer-phone-link  { color: #c2f8df; font-size: 1.07em; text-decoration: none; font-weight: 500; transition: color 0.17s; }
.footer-phone-link:hover  { color: #2fd9c9; text-decoration: underline; }

.footer-map-icon  { color: #ff8686; font-size: 1.18em; margin-right: 7px; vertical-align: middle; }
.footer-map-link  { color: #ffd8d8; font-size: 1.07em; text-decoration: none; font-weight: 500; transition: color 0.17s; }
.footer-map-link:hover  { color: #ff9d9d; text-decoration: underline; }

/* Responsive */
@media (max-width: 950px) {
  .footer-grid { gap: 32px; }
  .footer-contact-block, .footer-links-block, .footer-social-block { min-width: 160px; }
}
@media (max-width: 800px) {
  .footer-bottom-icons { font-size: 1.4em; }
}
@media (max-width: 700px) {
  .footer-grid { flex-direction: column; gap: 100px; align-items: center; }
}

/* --- Contact cards updated design --- */

/* Our Contacts card */
.contact-info-block {
  background: #f2fbfd url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><circle cx="30" cy="40" r="8" fill="%23b3e5f9" opacity="0.4"/><rect x="100" y="70" width="16" height="16" fill="%238ad4e8" opacity="0.35"/><circle cx="150" cy="120" r="10" fill="%239beaf0" opacity="0.35"/></svg>') repeat;
  background-size: 160px 160px;
  border: 1.5px solid #c7e6f0;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Send Us a Message card */
.contact-form-block {
  background: #fdf7f8 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180"><circle cx="50" cy="60" r="9" fill="%23f3c7cb" opacity="0.35"/><rect x="110" y="90" width="14" height="14" fill="%23f6b6bc" opacity="0.3"/><circle cx="140" cy="130" r="8" fill="%23f1d4d7" opacity="0.35"/></svg>') repeat;
  background-size: 150px 150px;
  border: 1.5px solid #efd6d8;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* Add a small hover lift effect */
.contact-info-block:hover,
.contact-form-block:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 8px 22px rgba(31, 41, 55, 0.12);
}
