/* ======================================
   TrustMark VR - Modern Cybersecurity Theme
   ====================================== */

/* ===== Reset & Base ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #e5e7eb;
  background: #0f172a;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}

h1, h2, h3 {
  color: #fff;
  letter-spacing: -0.02em;
}

/* ============================= */
/* === Transparent Sticky Header === */
/* ============================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(22, 39, 52, 0.274);
  backdrop-filter: blur(6px);
  transition: background-color 0.6s ease, box-shadow 0.6s ease;
  box-shadow: none;
  z-index: 1000;
}

.site-header.transparent {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  box-shadow: none;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 5%;
}

.site-header .logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #428c90;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-header.transparent .logo {
  color: #ffffff;
}

.site-header .logo span {
  color: #fdfdfe;
}

.site-header.transparent .logo span {
  color: #ffffff;
}

.site-header .nav a {
  color: #f9f9fa;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.site-header.transparent .nav a {
  color: #ffffff;
}

.site-header .nav a:hover {
  color: #0077cc;
}

/* ===== Hamburger Base ===== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background: #0ea5a4;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ===== Responsive Nav ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 6vw;
    background: rgba(15, 23, 42, 0.97);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    width: 220px;
    padding: 10px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  .nav.show {
    display: flex;
    animation: dropdown 0.3s ease;
  }

  @keyframes dropdown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav a {
    color: #e5e7eb;
    padding: 12px 20px;
    text-align: left;
  }

  .nav a:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #0ea5a4;
  }
}

/* Animate hamburger into "X" when active */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


body {
  padding-top: 70px; /* prevents header overlap */
}





/* ===== Hero Section ===== */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  overflow: hidden;
}

.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 48px 6vw;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(0.98);
  transition: opacity 1s ease, transform 1s ease;
  pointer-events: none;
}

.slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3,7,18,0.55), rgba(3,7,18,0.82));
}

.slide__content {
  position: relative;
  max-width: 800px;
  z-index: 2;
  animation: fadeUp 1.5s ease forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.kicker {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  font-size: 13px;
  margin-bottom: 18px;
}

h1 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 14px;
}

p.lead {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.9);
  margin-bottom: 22px;
}

.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #0ea5a4;
  color: #062022;
}

.btn-primary:hover {
  background: #14b8a6;
}

.btn-alt {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

.btn-teams {
  background: #0ea5a4;
  color: #fff !important;
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.25s;
}

.btn-teams:hover { background: #14b8a6; }

.slides__nav {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
}

.indicator.is-active {
  background: #0ea5a4;
  box-shadow: 0 0 8px rgba(14,165,164,0.5);
}

/* ===== About Section ===== */
#about {
  background: #111827;
  color: rgba(255, 255, 255, 0.92);
  padding: 80px 6vw;
  text-align: center;
  position: relative;
  z-index: 2;
}

#about .container {
  max-width: 1100px;
  margin: 0 auto;
}

#about h2 {
  font-size: 2.2rem;
  color: #0ea5a4;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  position: relative;
}

#about h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #0ea5a4;
  margin: 12px auto 0;
  border-radius: 10px;
}

#about p {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
  max-width: 850px;
  margin-left: auto;
  margin-right: auto;
}

/* About Cards */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 2rem;
}

.about-card {
  background: #1e293b;
  border-radius: 12px;
  padding: 28px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 1s ease both;
}

.about-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.about-card h3 {
  color: #0ea5a4;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.5rem;
}

.about-card p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* List Styling */
.about-card ul {
  list-style: none;
  padding-left: 0;
}

.about-card ul li {
  margin: 10px 0;
  position: relative;
  padding-left: 22px;
}

.about-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0ea5a4;
  font-size: 0.9rem;
}

/* Read More */
.read-more {
  margin-top: 1rem;
  background: transparent;
  border: 1px solid #0ea5a4;
  color: #0ea5a4;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.read-more:hover {
  background: #0ea5a4;
  color: #062022;
  transform: scale(1.05);
}

.expandable {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.6s ease;
}

.expandable.show {
  max-height: 1000px;
  opacity: 1;
}

/* ===== Scam Awareness ===== */
#scam-awareness {
  background: #0d1b26;
  color: #ddd;
  text-align: center;
  padding: 4rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

#scam-awareness h2 {
  color: #0ea5a4;
  margin-bottom: 1rem;
}

.tagline {
  font-style: italic;
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 2rem;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  text-align: left;
  margin-bottom: 2rem;
}

.tip {
  background: #122635;
  border-left: 4px solid #0ea5a4;
  padding: 1.2rem;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.resources ul { list-style: none; padding: 0; }
.resources li { margin: 0.4rem 0; }
.resources a { color: #0ea5a4; text-decoration: none; }
.resources a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer {
  background: #0f172a;
  color: #d1d5db;
  padding: 2rem 0;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.footer-links a {
  color: #9ca3af;
  margin: 0 0.5rem;
}

.footer-links a:hover { color: #0ea5a4; }

.footer-logo {
  display: flex;
  align-items: center;
  
  font-weight: 1000;
  color: #428c90;
  font-size: 1.1rem;
}

.footer-logo span {
  color: #fdfdfe;
}



/* ===== Responsive ===== */
@media (max-width: 640px) {
  .slide { padding: 30px; }
  .nav a { margin-left: 1rem; font-size: 14px; }
  .header-container { flex-direction: column; gap: 0.4rem; }
}

/* ============================= */
/* === TESTIMONIALS SECTION === */
/* ============================= */

#testimonials {
  background-color: #0f172a;
  padding: 80px 0;
  text-align: center;
}

#testimonials h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #f6f6f8;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

.testimonial {
  background: #fff;
  border-radius: 12px;
  padding: 25px 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.testimonial p {
  font-style: italic;
  color: #333;
  margin-bottom: 15px;
}

.testimonial span {
  display: block;
  font-weight: 600;
  color: #0ea5a4;
  font-size: 0.95rem;
}


/* ============================= */
/* === CONTACT SECTION === */
/* ============================= */

#contact {
  padding: 80px 0;
  background-color: #093145;
  text-align: center;
}

#contact h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #f3f4f5;
}

#contact p {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #f3efef;
  font-size: 1rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #dddddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0ea5a4;
  box-shadow: 0 0 4px rgba(0, 119, 204, 0.3);
  outline: none;
}

/* === Buttons === */
.btn-primary {
  background-color: #0ea5a4;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #005fa3;
}

/* Microsoft Teams Button Fix */
.btn-teams {
  display: inline-block;
  background-color: #0a6a6a; /* Microsoft Teams blue */
  color: #fff !important;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-teams:hover {
  background-color: #0ea5a4;
  transform: translateY(-2px);
}

.btn-teams.large {
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    width: 90%;
  }
}
