/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}
blockquote, q {
  quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  line-height: 22px;
  font-family: "Poppins", sans-serif; }


.logo-img {
  height: 50px;
}

.logo-text {
  font-size: 14px;
  color: #ccc;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s;
  padding: 10px 15px;
}


.nav-links a[aria-current="page"] {
  color: #24A9E2;
  text-decoration: none;
}


.nav-links {
  display: flex;
  gap: 20px;
}

.banner-section {
  min-height: calc(100vh - 30px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000E22;
  color: white;
  position: relative;
  overflow: hidden;
  padding-top: 98px; /* Adjust based on the actual height of the menu */

  background-image: url("../img/swirl.svg");
  background-size: contain; /* Adjust if necessary */
  background-position: center;
  background-repeat: no-repeat;
}

.content-section {
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: #000E22;
  color: white;
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.banner-title {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
    line-height: 64px;
}


h2.banner-title::before {
  content: "MATTERS";
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
}

.banner-subtitle {
  font-size: 24px;
  font-weight: 300;
  line-height: 32px;
  margin: 50px 0;
  color: #ffffff;
}

.banner-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #E05A30;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s;
  margin: 0 0 50px 0;
}

.banner-btn:hover {
  background-color: #c04a24 !important;
  color: #aaaaaa;
}

.banner-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.banner-scroll img {
  height: 40px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.svg-wrapper {
  position: relative;
  display: inline-block; /* Or block if you want it full-width */
  width: fit-content;    /* Adjust if needed */
}

.svg-wrapper svg {
  position: absolute;
  top: 0;
  left: 0;
}

.svg-base {
  position: relative; /* Base stays in normal flow */
  z-index: 1;
}

.svg-overlay {
  z-index: 2;
  opacity: 0.7; /* Optional: adjust to taste */
}

.quote-section {
  background: #047C58;
  text-align: center;
  padding: 100px 0;
  color:white;
  font-size: 22px;
}

.quote-section p.author {
  font-weight: 500;
  margin-top: 30px;
}


/* Vector 14 */
.divider {
  background:#00C9FF;
  width: 45%;
  margin: 0 auto;
  height: 3px;
  margin-bottom: 30px;
}

.social-section {
  background-color: #000E22;
  padding: 100px 0;

}

.social-section .spacer {
  height: 50px;
  width: 100%;
  display:block;
  clear: both;
  color:white;
}

.social-section a.links {
  color:white;
  margin: 0 5px;
  text-decoration: underline;
}

.social-section svg {
  margin: 0 10px;
}

footer {
  background-color: #000000;
}
footer .container {
  padding: 50px 0;
  color:white;
  text-align: center;
}

.globe {
  width: 300px;
  display: block;
  margin: 0 auto;
  margin-bottom: 50px;
}


.main-header.scrolled {
  padding: 10px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo-img {
  height: 50px;
  transition: height 0.3s ease;
}

.logo-small {
  height: 35px;
}

.main-header .logo-small {
  display: none;
}

.main-header.scrolled .logo-large {
  display: none;
}

.main-header.scrolled .logo-small {
  display: inline-block !important;
}

.logo-img {
  height: 50px;
  transition: all 0.4s ease;
  opacity: 1;
}

.logo-small {
  height: 35px;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  transition: all 0.4s ease;
}

.main-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #0A0B0D;
  padding: 0px 30px;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  padding: 10px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.main-header.scrolled .logo-large {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

.main-header.scrolled .logo-small {
  opacity: 1;
  visibility: visible;
  position: static;
}


/* Burger Icon */
.burger-menu {
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Mobile Overlay Nav */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;

  /* Transition magic */
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}


.mobile-nav-links {
  text-align: center;
}

.mobile-nav-links li {
  margin: 1rem 0;
  font-size: 1.5rem;
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* Hide desktop menu on mobile */
@media (max-width: 768px) {
  nav.nav-links {
    display: none !important;
  }

  .banner-subtitle {
    font-size: 20px;
    font-weight: 300;
    line-height: 28px;
    margin: 50px 0;
    color: #ffffff;
  }

  .quote-section p {
    font-size: 20px;
    line-height: 28px;
  }
  .banner-btn {
      font-size: 16px;
  }
  .main-header {
      padding: 10px 30px;
  }
  .banner-title {
    font-size: 20px;
    line-height: 28px;
  }
}


/* Default (mobile-first) styling */
.banner-overlay svg {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  transform: none;
}

/* Desktop-specific tweaks */
@media (min-width: 992px) {
  .banner-overlay svg {
    width: 70%; /* Or adjust this */
    margin: 0 auto;
    display: block;
    padding-top: 40px;
  }
}
