/* =========================
    GLOBAL PAGE STYLES
    ========================= */
    body {
  overflow-x: hidden;
}

    body {
        margin: 0;
        padding: 0;
        font-family: 'Segoe UI', Arial, sans-serif;
        background: #f4f7fb;
        color: #232d38;
    }
    body {
  background: linear-gradient(120deg, #e6f8fd 0%, #edeffa 100%);
}
.background-shape {
  position: fixed;
  z-index: 0;
  pointer-events: none;
  opacity: .2; /* or .35 - as subtle as you want */
  width: 220px;
  height: 220px;
  background-repeat: no-repeat;
  background-size: contain;
}
/* =========================
    homepage background design of website
    ========================= */

/*
body {
  background-color: #f4f7fb;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='6' width='2' height='14' rx='1' fill='%23e3f2fa'/%3E%3Crect x='0' y='6' width='14' height='2' rx='1' fill='%23e3f2fa'/%3E%3C/svg%3E");
  background-size: 28px 28px;
}

*/





    /* =========================
    HEADER & NAVIGATION
    ========================= */
.hero {
    background: linear-gradient(rgba(20,20,20,0.55), rgba(20,20,20,0.55)), url('images/homepagefirstimage.png') center/cover no-repeat;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    color: #fff;
    margin-bottom: 38px;
    width: 100%;
    text-align: center;
    position: relative;
    padding: 0;
}
.hero-content {
    width: 90%;
    max-width: 750px;
    margin: auto;
}
.hero h2 {
    font-size: 2.7rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
}
.hero p {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 37px;
}
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin-top: 30px;
}
.hero-btn {
    background: #fff;
    color: #267E8C;
    border-radius: 11px;
    font-size: 1.13rem;
    padding: 18px 38px;
    margin: 0 3px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 14px 0 rgba(50,50,50,0.07);
    transition: background 0.2s, color 0.2s;
}
.hero-btn:hover {
    background: #287b8c;
    color: #fff;
}

    header,
.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;            /* reduce from 58px for less spacing horizontally */
    padding: 8px 24px;    /* reduce from 24px 36px for less spacing vertically */
    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 {
    max-height: 80px;   /* or any size that fits better */
}
.company-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}
.company-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: #287b8c;
    letter-spacing: .04em;
}
.company-brand img {
    height: 90px; /* <-- Change this value to your desired logo height */
    width: auto;  /* Keeps aspect ratio. You can add width if needed. */
    margin-right: 7px;
}
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;
}




/* ---------------------------------------------
   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; }
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(120deg, #e6f8fd 0%, #edeffa 100%);
    color: #232d38;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    /* keep your header as is */
}

main {
    flex: 1 0 auto; /* This makes sure MAIN takes remaining space between header and footer */
    padding: 36px 5vw 24px 5vw; /* Adjust as needed */
    box-sizing: border-box;
}

footer.footer-unique {
    flex-shrink: 0; /* Footer won't shrink */
}

/* --- KEEP your existing styles for .footer-unique, .footer-grid, everything else --- */

/* Copy your previous global styles and footer styles here as you had them (unchanged) */


.msds-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin: 40px auto;
  max-width: 1100px;
  padding: 0 18px;
}

.msds-card {
  box-shadow: 0 3px 24px 0 rgba(40, 100, 140, 0.11), 0 0.5px 1px #b9eefa5c;
  background: #fff;
  border-radius: 17px;
  padding: 45px 20px 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.15s, transform 0.14s;
  cursor: pointer;
  position: relative;
}

.msds-card:hover, .msds-card:focus {
  box-shadow: 0 7px 32px 0 rgba(40,121,140,.18);
  transform: translateY(-7px) scale(1.025);
}

.msds-gas-name {
  font-size: 1.18rem;
  font-weight: 600;
  color: #287b8c;
  margin-bottom: 24px;
  text-align: center;
}

.msds-view-btn {
  background: #2fd9c9;
  color: #fff;
  border: none;
  padding: 13px 32px;
  font-size: 1.06rem;
  font-weight: 700;
  border-radius: 8px;
  box-shadow: 0 2px 9px #2fd9c933;
  cursor: pointer;
  transition: background 0.15s;
}
.msds-view-btn:hover {
  background: #287b8c;
}

.msds-modal {
  display: none;
  position: fixed;
  z-index: 1200;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(33,46,72,0.47);
  justify-content: center;
  align-items: center;
}

.msds-modal-content {
  background: #fff;
  padding: 31px 20px 11px 20px;
  border-radius: 16px;
  max-width: 760px;
  width: 97vw;
  box-shadow: 0 17px 92px #287b8c1a;
  position: relative;
}

.msds-modal-close {
  color: #287b8c;
  font-size: 2.2rem;
  font-weight: 700;
  position: absolute;
  top: 8px;
  right: 20px;
  cursor: pointer;
}

@media (max-width: 600px) {
  .msds-modal-content { padding: 16px 3vw; }
  .msds-card { padding: 26px 4vw 15px 4vw; }
}

/* Global overflow fix */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* Make main layout respect viewport */
main {
  width: 100%;
  box-sizing: border-box;
}








