/* ========= RESET & BASE STRUCTURE ========= */
html,
body,
section,
div,
main,
nav,
p,
span,
address,
h1,
h2,
h3,
ul,
li,
i {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  width: 100%;
  font-family: Helvetica, Arial, sans-serif;
  z-index: 0;
}

/* ========= GLOBAL VARIABLES ========= */
:root {
  --tech-blue: #00c2ff;
  --tech-dark: #0f2027;
  --tech-accent: #29b6f6;
  --tech-background: #1c1c1c;
  --white: #ffffff;
  --subText: #b7b6b4;
  --black: #1b1b1d;
  --grayText: #999999;
  --greenHeader: #00a776;
}

/* ========= TYPOGRAPHY ========= */
h1,
h2,
h3 {
  font-weight: bold;
  line-height: 1.3;
  letter-spacing: 0.5px;
}

p {
  line-height: 1.6;
  color: var(--grayText);
}

/* ========= LINK STYLES ========= */
a {
  text-decoration: none;
  color: var(--tech-blue);
}

/* ========= LAYOUT HELPERS ========= */
.wrapper {
  margin-right: auto;
  /* 1 */
  margin-left: auto;
  /* 1 */
  max-width: 1250px;
  /* 2 */
  width: calc(100% - 20px);
  padding: 0 10px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.column {
  flex-direction: column;
}

.row {
  flex-direction: row;
}

/* ========= SOCIAL ICONS ========= */
.socialLink {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  text-decoration: none;
  height: 25px;
  width: 25px;
  font-weight: bold;
  font-size: 25px;
  border-radius: 50%;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.socialLink:hover {
  background-color: #555;
  transform: scale(1.1);
}

.facebookLink {
  background-color: #3b5998; /* Facebook blue */
}

.twitterLink {
  background-color: #1da1f2;
}

.linkedinLink {
  background-color: #0077b5;
}

/* ========= BUTTON BASE ========= */
button {
  font-size: 16px;
  padding: 12px 16px;
  border-radius: 3px;
  cursor: pointer;
  border: none;
  background-color: var(--tech-blue);
  color: white;
  letter-spacing: 1px;
}

/* ========= HEADER STYLES ========= */
header {
  position: sticky;
  top: 0;
  background: var(--black);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(0, 194, 255, 0.15);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* LOGO — do not alter */
#logo h1 {
  color: #00c2ff;
  text-shadow: 0 0 15px #00c2ff;
  margin-bottom: 0.2em;
  animation: pulse 3s infinite;
  font-size: 2.5em;
}

@keyframes pulse {
  0%,
  100% {
    text-shadow: 0 0 10px #00c2ff;
  }
  50% {
    text-shadow: 0 0 20px #00ffff;
  }
}

/* ========= NAVIGATION (desktop) ========= */
nav ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
}

nav li a {
  color: var(--subText);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

nav li a:hover {
  color: var(--white);
  background: rgba(0, 194, 255, 0.08);
}

/* BURGER BUTTON */
#menu_small {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 0.5rem;
  padding: 0.5rem;
  color: var(--white);
  border-radius: 4px;
  transition: background 0.2s ease;
}

#menu_small:hover {
  background: rgba(0, 194, 255, 0.15);
}

#menu_small svg {
  display: block;
}

#menuLinks {
  z-index: 9999;
  opacity: 1;
}

/* ========= MAIN CONTENT AREA ========= */
main#content {
  min-height: calc(100vh - 120px); /* Adjust depending on header/footer */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  background: linear-gradient(-45deg, #0f2027, #203a43, #2c5364, #0f2027);
  background-size: 400% 400%;
  animation: gradientBG 12s ease infinite;

  padding: 5vh 2vw;
  color: var(--white);
  text-align: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* subtle textured overlay */
main#content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.02) 0,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 6px
  );
  z-index: 0;
  pointer-events: none;
}

main#content > * {
  z-index: 2;
  max-width: 1200px;
  width: 100%;
}

/* Inner pages: align content to top */
main#content.main-inner {
  justify-content: flex-start;
  padding-top: 2rem;
}

/* ========= GRADIENT ANIMATION ========= */
@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* ========= HERO & HOME ========= */
.hero {
  padding: 2rem 0;
}
.hero .tagline {
  font-size: 1.25rem;
  color: var(--tech-blue);
  margin: 0.5rem 0 1rem;
  text-shadow: 0 0 12px rgba(0, 194, 255, 0.4);
}
.hero-desc {
  max-width: 640px;
  margin: 0 auto 2rem;
  color: var(--subText);
  font-size: 1.05rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--tech-blue);
  color: var(--white);
  border: 2px solid var(--tech-blue);
  box-shadow: 0 0 20px rgba(0, 194, 255, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 28px rgba(0, 194, 255, 0.5);
}
.btn-outline {
  background: transparent;
  color: var(--tech-blue);
  border: 2px solid var(--tech-blue);
}
.btn-outline:hover {
  background: rgba(0, 194, 255, 0.1);
}

/* ========= CONTACT SECTION ========= */
.contact-section {
  padding: 4rem 0 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-section h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.contact-section p {
  margin-bottom: 1rem;
}
.contact-address {
  font-style: normal;
  margin-bottom: 1rem;
}
.contact-address a {
  display: inline-block;
  margin: 0 1rem 0.5rem 0;
  color: var(--tech-blue);
}
.contact-section .footLinks {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-section .footLinks a {
  color: var(--tech-accent);
}

.contact-section-home p:last-of-type {
  margin-bottom: 0;
}

/* ========= HOME CHECKLIST (home page only, inside hero) ========= */
.home-checklist {
  list-style: none;
  max-width: 480px;
  margin: 0 auto 1.75rem auto;
  padding: 0;
  text-align: left;
}

.home-checklist li {
  position: relative;
  padding: 0.5rem 0 0.5rem 2rem;
  color: var(--white);
  line-height: 1.5;
}

.home-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #00c2ff;
  text-shadow: 0 0 5px #00c2ff;
}

/* ========= CONTACT PAGE ========= */
.contact-page {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}
.contact-page .section-intro {
  text-align: center;
}
.contact-block,
.contact-cta-block {
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-cta-block:last-child {
  border-bottom: none;
}
.contact-block h2,
.contact-cta-block h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.contact-page .contact-address {
  margin-bottom: 0;
}
.contact-page .contact-address p {
  margin-bottom: 0.5rem;
}
.contact-page .contact-address a {
  margin: 0;
}

/* ========= PAGE HERO (Products / Services) ========= */
.page-hero {
  padding: 2rem 0 1rem;
  text-align: center;
}
.page-hero .tagline {
  color: var(--tech-blue);
  font-size: 1.15rem;
  margin-top: 0.5rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--tech-blue);
}
.back-link:hover {
  text-decoration: underline;
}

/* ========= CONTENT SECTIONS ========= */
.content-section {
  padding: 1rem 0 2rem;
  text-align: center;
}
.content-section .section-heading {
  color: var(--white);
  font-size: 1.5rem;
  margin: 0 0 0.75rem 0;
}
.section-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: var(--subText);
  font-size: 1.05rem;
}

.content-section-detail {
  text-align: left;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.detail-content {
  margin-bottom: 2rem;
}
.detail-content p {
  margin-bottom: 1.25rem;
}
.detail-content p:last-child {
  margin-bottom: 0;
}
.consult-details {
  margin-bottom: 1.5rem;
}
.consult-price-duration {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
}
.detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Privacy page content */
.privacy-content h2 {
  color: var(--white);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem 0;
}
.privacy-content h2:first-of-type {
  margin-top: 1.5rem;
}
.privacy-content p {
  margin-bottom: 1rem;
  color: var(--subText);
}
.privacy-content ul {
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
  color: var(--subText);
}
.privacy-content li {
  margin-bottom: 0.5rem;
}
.privacy-content a {
  color: var(--tech-blue);
}
.privacy-content a:hover {
  color: var(--white);
}

/* ========= CARD GRID (Products & Consultations) ========= */
.content-section + .content-section {
  padding-top: 40px;
}

.card-grid {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  grid-auto-rows: minmax(220px, auto);
  column-gap: 25px;
  row-gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  text-align: left;
}

.card-grid-consultations {
  grid-auto-rows: minmax(140px, auto);
}

.card-grid .card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

/* Coming-soon overlay: PDF product cards only (gray palette) */
.card-grid-coming-soon .card {
  position: relative;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(22, 22, 26, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(60, 60, 65, 0.5);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
  pointer-events: auto;
  cursor: not-allowed;
}

.card {
  box-sizing: border-box;
  background: rgba(15, 32, 39, 0.6);
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 8px;
  padding: 24px;
  margin: 0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: rgba(0, 194, 255, 0.5);
  box-shadow: 0 0 24px rgba(0, 194, 255, 0.15);
}

.card h3 {
  margin: 0 0 12px 0;
  font-size: 1.15rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  flex-shrink: 0;
}

.card h3 a {
  color: var(--white);
}

.card h3 a:hover {
  color: var(--tech-blue);
}

.card p {
  margin: 0 0 16px 0;
  color: var(--subText);
  font-size: 0.95rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  flex: 1 1 auto;
  min-height: 0;
}

.card .card-link {
  display: inline-block;
  margin-top: auto;
  margin-right: 16px;
  margin-bottom: 0;
  padding-top: 4px;
  color: var(--tech-blue);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.card .card-link:hover {
  text-decoration: underline;
}

.service-item .card-link {
  display: inline-block;
  margin-top: 0.5rem;
}

/* ========= SERVICES LIST ========= */
.services-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}
.service-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.service-item:last-child {
  border-bottom: none;
}
.service-item h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}
.service-item h3 a {
  color: var(--tech-blue);
}
.service-item h3 a:hover {
  color: var(--white);
}
.service-item p {
  color: var(--subText);
  margin: 0;
  font-size: 0.98rem;
}

/* ========= CTA SECTION ========= */
.cta-section {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-section p {
  margin-bottom: 1.25rem;
}
.cta-section .hero-cta {
  justify-content: center;
}

/* ========= FOOTER ========= */
.site-footer {
  background: var(--tech-dark);
  border-top: 1px solid rgba(0, 194, 255, 0.2);
  padding: 2.5rem 1rem 1.5rem;
  margin-top: auto;
  color: var(--white);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 2rem 2.5rem;
  align-items: start;
}

.footer-brand {
  grid-column: 1;
  grid-row: 1 / -1;
  max-width: 420px;
}

.footer-logo {
  color: var(--tech-blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  letter-spacing: -0.02em;
}

.footer-desc {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.footer-connect {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 1.5rem;
}

.footer-connect a {
  color: var(--tech-blue);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.25rem 0.5rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-connect a:hover {
  color: var(--white);
}

.footer-contact {
  grid-column: 2;
  grid-row: 1;
  text-align: right;
}

.footer-address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
  color: var(--white);
}

.footer-address a {
  color: var(--tech-blue);
}

.footer-address a:hover {
  color: var(--white);
}

.footer-bottom {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  text-align: right;
}

.footer-copy {
  color: var(--white);
  font-size: 0.875rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.footer-links a {
  color: var(--white);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--tech-blue);
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-brand {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
    text-align: center;
  }

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

  .footer-contact {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-address {
    text-align: center;
  }

  .footer-bottom {
    grid-column: 1;
    grid-row: auto;
    flex-direction: column;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

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

/* Logo link in header */
#logo a {
  color: inherit;
}
#logo a:hover {
  opacity: 0.9;
}

/* ========= MEDIA QUERIES ========= */
@media screen and (max-width: 1035px) {
  #menuLinks {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    position: fixed;
    top: 60px;
    right: -100vw;
    width: 100%;
    max-width: 280px;
    height: calc(100vh - 60px);
    margin: 0;
    padding: 1.5rem 1.5rem 2rem;
    background: var(--tech-dark);
    border-left: 1px solid rgba(0, 194, 255, 0.2);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.4);
    z-index: 999;
    opacity: 0;
    -webkit-transition: opacity 0.2s ease, right 0.25s ease;
    -o-transition: opacity 0.2s ease, right 0.25s ease;
    transition: opacity 0.2s ease, right 0.25s ease;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
  }

  #menuLinks li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  #menuLinks li:last-child {
    border-bottom: none;
  }

  #menuLinks li a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    min-height: 44px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: var(--white);
  }

  #menuLinks li a:hover {
    color: var(--tech-blue);
    background: transparent;
  }

  nav > ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  #menu_small {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
} /* ========= END MAX WIDTH 1035px ========= */

@media screen and (max-width: 765px) {
  h1 {
    font-size: 22px;
  }
  h2 {
    font-size: 18px;
  }
  p {
    font-size: 14px;
  }
} /* ========= END MAX WIDTH 765px ========= */
