/* ==========================================================
   The Altitude Group — Clean, Centered Navigation Version
   ========================================================== */

/* Reset and base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  color: #333;
  background-color: #fff;
}

/* Fixed, centered navigation bar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 18px 0;
  display: flex;
  justify-content: center; /* center the nav */
  z-index: 1000;
}

/* NAV STRUCTURE */
nav ul {
  list-style: none;
  display: inline-flex;
  gap: 30px;
  align-items: center;
}

nav li {
  position: relative;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 15px;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #c00;
}

/* DROPDOWN */
ul.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 6px;
  padding: 8px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  min-width: 180px;
  z-index: 1001;
}

ul.dropdown li {
  width: 100%;
}

ul.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-weight: normal;
  font-size: 14px;
  color: #333;
}

ul.dropdown li a:hover {
  background-color: rgba(0,0,0,0.05);
}

nav li:hover > ul.dropdown {
  display: block;
}

/* HERO SECTION */
.hero {
  background: url('French_Alps_BW.jpg') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding-top: 80px;
}

/* Light white overlay brightens image */
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

/* Logo and tagline */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content img {
  width: 375px;
  max-width: 100%;
  margin-bottom: 25px;
}

.tagline {
  font-size: 32px;
  font-weight: 600;
  color: #111;
  background-color: rgba(255, 255, 255, 0.7);
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 16px;
  }
  .tagline {
    font-size: 24px;
    padding: 10px 18px;
  }
}
/* ==========================================================
   ABOUT PAGE LAYOUT
   ========================================================== */

.about-section {
  background: url('French_Alps_BW.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 60px; /* offset for fixed nav */
  position: relative;
}

/* light overlay */
.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.about-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  align-items: flex-start;
}

/* Left column: stacked photos */
.photos {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.photos img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Right column: bio text box overlay */
.bio-box {
  flex: 2;
  background: rgba(255, 255, 255, 0.85);
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  color: #222;
  line-height: 1.6;
}

.bio-box h1 {
  margin-bottom: 20px;
  font-size: 30px;
  color: #111;
}

.bio-box p + p {
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }
  .photos img {
    max-width: 80%;
  }
  .bio-box {
    width: 90%;
    margin-top: 30px;
  }
}
/* ==========================================================
   ABOUT PAGE — Final Correct Layout
   ========================================================== */

.about-section {
  background: url('French_Alps_BW.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 40px 60px;
  position: relative;
}

/* Light overlay */
.about-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.25);
  z-index: 1;
}

.about-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 40px;
  max-width: 1200px;
  width: 100%;
  align-items: flex-start;
}

/* Left column: stacked photos */
.photos {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.photos img {
  width: 100%;
  max-width: 420px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover;
}

/* Right column: bio */
.bio-box {
  flex: 2;
  background: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  color: #222;
  line-height: 1.6;
}

.bio-box h1 {
  margin-bottom: 4px;
  font-size: 30px;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bio-box h3 {
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 600;
  color: #555;
}

.bio-box p + p {
  margin-top: 16px;
}

/* Responsive layout */
@media (max-width: 900px) {
  .about-container {
    flex-direction: column;
    align-items: center;
  }
  .photos img {
    max-width: 85%;
  }
  .bio-box {
    width: 90%;
    margin-top: 30px;
  }
}
/* ==========================================================
   SERVICES PAGE — Final Correct Layout
   ========================================================== */

.services-section {
  background: url('French_Alps_BW.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 140px; /* spacing for fixed nav */
  padding-bottom: 80px;
  position: relative;
}

/* Bright overlay consistent with About/Home */
.services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.services-section h1 {
  position: relative;
  z-index: 2;
  font-size: 36px;
  color: #c00;
  margin-bottom: 40px;
  text-align: center;
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 8px;
  display: inline-block;
}

/* Grid layout for service offerings */
.services-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  width: 90%;
}

.service-item {
  flex: 1 1 280px;
  max-width: 360px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.75);
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.service-item h2 {
  font-size: 20px;
  color: #222;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .services-section h1 {
    font-size: 28px;
  }
  .service-item {
    height: auto;
    padding: 24px;
  }
}
/* ==========================================================
   TESTIMONIALS PAGE — Auto-Scrolling Boxes
   ========================================================== */

.testimonials-section {
  background: url('French_Alps_BW.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 80px;
  position: relative;
  text-align: center;
}

/* Light overlay consistent with rest of site */
.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.testimonials-section h1 {
  position: relative;
  z-index: 2;
  font-size: 36px;
  color: #c00;
  background: rgba(255, 255, 255, 0.85);
  padding: 12px 28px;
  border-radius: 8px;
  margin-bottom: 40px;
}

/* Testimonial box container */
.testimonial-slider {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90%;
  min-height: 350px;
}

/* Each testimonial */
.testimonial {
  display: none;
  background: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  color: #222;
  line-height: 1.6;
  transition: opacity 1s ease;
}

.testimonial.active {
  display: block;
  animation: fadeIn 1s ease;
}

.testimonial p {
  font-size: 18px;
  margin-bottom: 20px;
}

.testimonial h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .testimonial {
    padding: 24px;
  }
  .testimonial p {
    font-size: 16px;
  }
  .testimonials-section h1 {
    font-size: 28px;
  }
}
/* ==========================================================
   TESTIMONIALS PAGE — Auto Scroll + Manual Arrows
   ========================================================== */

.testimonials-section {
  background: url('French_Alps_BW.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 80px;
  position: relative;
  text-align: center;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.testimonials-section h1 {
  position: relative;
  z-index: 2;
  font-size: 36px;
  color: #c00;
  background: rgba(255, 255, 255, 0.85);
  padding: 12px 28px;
  border-radius: 8px;
  margin-bottom: 40px;
}

/* Testimonial container */
.testimonial-slider {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 90%;
  min-height: 350px;
}

/* Each testimonial box */
.testimonial {
  display: none;
  background: rgba(255, 255, 255, 0.85);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
  color: #222;
  line-height: 1.6;
  transition: opacity 0.8s ease;
}

.testimonial.active {
  display: block;
  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.testimonial p {
  font-size: 18px;
  margin-bottom: 20px;
}

.testimonial h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* Navigation arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.75);
  border: none;
  font-size: 32px;
  font-weight: bold;
  padding: 8px 14px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s ease, transform 0.2s ease;
}

.nav-arrow:hover {
  background: rgba(255,255,255,0.95);
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left { left: -60px; }
.nav-arrow.right { right: -60px; }

/* Responsive */
@media (max-width: 768px) {
  .testimonial { padding: 24px; }
  .testimonial p { font-size: 16px; }
  .testimonials-section h1 { font-size: 28px; }
  .nav-arrow.left { left: 0; }
  .nav-arrow.right { right: 0; }
}
/* ==========================================================
   WORKSHOPS / KEYNOTES PAGE
   ========================================================== */

.workshops-section {
  background: url('French_Alps_BW.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 140px 20px 120px;
  text-align: center;
  position: relative;
}

.workshops-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3);
  z-index: 1;
}

.workshops-section h1 {
  position: relative;
  z-index: 2;
  font-size: 36px;
  color: #c00;
  background: rgba(255, 255, 255, 0.85);
  padding: 12px 28px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.workshops-section .intro {
  position: relative;
  z-index: 2;
  max-width: 900px;
  background: rgba(255, 255, 255, 0.8);
  padding: 18px 30px;
  border-radius: 8px;
  line-height: 1.6;
  color: #333;
  font-size: 18px;
  margin-bottom: 50px;
}

.workshops-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
}

.workshop-card {
  flex: 1 1 300px;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.75);
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.25s ease, background 0.25s ease;
}

.workshop-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.9);
}

.workshop-card h2 {
  font-size: 20px;
  color: #222;
  line-height: 1.4;
}

.custom-note {
  position: relative;
  z-index: 2;
  font-size: 18px;
  color: #333;
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.8);
  padding: 14px 28px;
  border-radius: 8px;
}

@media (max-width: 768px) {
  .workshops-section h1 { font-size: 28px; }
  .workshop-card { flex: 1 1 100%; }
  .workshop-card h2 { font-size: 18px; }
}
/* ========================================
   PLACEHOLDER (Knowledge Center)
   ======================================== */
.placeholder-section {
  background: url('French_Alps_BW.jpg') no-repeat center/cover fixed;
  min-height: 100vh;
  padding: 140px 20px 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  text-align: center;
}
.placeholder-section::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.3);
  z-index: 1;
}
.placeholder-box {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.85);
  padding: 40px 60px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}
.placeholder-box h1 { font-size: 36px; color: #c00; margin-bottom: 10px; }
.placeholder-box p  { font-size: 20px; color: #222; }

/* ========================================
   CONTACT
   ======================================== */
.contact-section {
  background: url('French_Alps_BW.jpg') no-repeat center/cover fixed;
  min-height: 100vh;
  padding: 140px 20px 120px;
  display: flex; justify-content: center; align-items: flex-start;
  position: relative;
}
.contact-section::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(255,255,255,0.3); z-index: 1;
}
.contact-box {
  position: relative; z-index: 2;
  width: 95%; max-width: 880px;
  background: rgba(255,255,255,0.9);
  padding: 36px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
}
.contact-box h1 {
  font-size: 32px; color: #c00; margin-bottom: 16px;
}
.contact-form .form-row {
  display: flex; flex-direction: column; margin-bottom: 14px;
}
.contact-form label { font-weight: 600; color: #333; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
  border: 1px solid #ddd; border-radius: 8px; padding: 12px;
  font-size: 16px; color: #222; background: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form .form-actions { margin-top: 16px; }
.contact-form button {
  background: #c00; color: #fff; border: none; border-radius: 8px;
  padding: 12px 20px; font-weight: 700; cursor: pointer;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform .1s ease, opacity .2s ease;
}
.contact-form button:hover { opacity: 0.95; }
.contact-form button:active { transform: translateY(1px); }
.contact-note { margin-top: 18px; color: #333; }
.hidden { display: none; }

/* highlight current nav item (optional) */
nav a.active { color: #c00; }

/* ==========================================================
   CLEAN MOBILE FIX (Final, Non-Conflicting)
   ========================================================== */
@media (max-width: 768px) {

  /* Navigation spacing */
  header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.98);
  }

  nav ul {
    flex-direction: column;
    gap: 12px;
    padding: 14px 0;
  }

  nav a {
    font-size: 16px;
  }

  /* Prevent overlap with fixed nav */
  body {
    margin-top: 110px !important;
  }

  section,
  .hero,
  .about-section,
  .case-studies-section,
  .services-section,
  .workshops-section,
  .testimonials-section,
  .knowledge-section,
  .contact-section {
    padding-top: 40px !important;
    scroll-margin-top: 110px !important;
  }

  /* Hero adjustments */
  .hero {
    min-height: calc(100vh - 110px);
    padding-top: 100px;
    padding-bottom: 60px;
    background-attachment: scroll;
    background-position: center top;
  }

  .hero-content img {
    width: 70vw;
    max-width: 300px;
    margin-bottom: 12px;
  }

  .tagline {
    font-size: 22px;
    padding: 10px 16px;
    line-height: 1.3;
  }

  /* About page stacking */
  .about-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .bio-box {
    width: 90%;
    padding: 20px;
    text-align: left;
  }

  /* General responsive adjustments */
  .service-item,
  .workshop-card,
  .testimonial,
  .contact-box {
    width: 90%;
    padding: 20px;
  }

  h1, h2, h3, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}
