/* ===================================================
   SMACC CUSTOM STYLESHEET – CLEAN v2.5.3
   Used for Homepage + Founder Page – Fully Responsive
   Includes: Testimonial rotator, How It Works grid, Video rotator compatibility
=================================================== */

/* === BASE === */
body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #162755;
  background-color: #ffffff;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', sans-serif;
  color: #162755;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

a {
  color: #162755;
  text-decoration: none;
}
a:hover {
  color: #0f1c3d;
  text-decoration: underline;
}

/* === BUTTONS === */
.smacc-button {
  background: #3972b8;
  color: white;
  padding: 14px 28px;
  font-weight: bold;
  border-radius: 8px;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
}
.smacc-button:hover {
  background: #bfdafc;
  color: #162755;
  text-decoration: none;
}
.smacc-alt-button {
  background: #e2e2e2;
  color: #162755;
}
.smacc-alt-button:hover {
  background: #d3d3d3;
}

/* === STRUCTURE === */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}
.text-center { text-align: center; }
.text-light { color: white; }
.mt-2 { margin-top: 2em; }
.mb-2 { margin-bottom: 2em; }
.inline-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.inline-links li {
  display: inline;
}
.inline-links a {
  text-decoration: underline;
  font-weight: bold;
}

/* === SECTION BACKGROUNDS === */
.section-light { background-color: #f9f9f9; padding: 60px 20px; }
.section-highlight { background-color: #eaf1fb; padding: 60px 20px; }

/* === CARD SECTIONS === */
.card-section {
  background: #f7f9fc;
  border: 2px solid #ccd5e0;
  border-radius: 12px;
  padding: 30px 24px 20px 24px;
  margin: 30px auto;
  max-width: 1000px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* === CARDS === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}
.card {
  background: #f7f9fc;
  border: 2px solid #ccd5e0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  position: relative;
}
.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* === DIRECTORY CARDS === */
.directory-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 40px auto;
}
.directory-cards .card {
  flex: 1 1 400px;
  max-width: 500px;
}

/* === MILESTONES === */
.milestone-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}
.milestone {
  background: #f7f9fc;
  border-left: 4px solid #3972b8;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
}
@media (min-width: 768px) {
  .milestone-list {
    flex-direction: row;
    justify-content: space-between;
  }
  .milestone {
    flex: 1;
    margin: 0 10px;
  }
}

/* === TESTIMONIALS === */
.testimonial {
  border-left: 5px solid #3972b8;
  padding-left: 15px;
  margin-bottom: 30px;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
}
.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: relative;
}
.testimonial-slide.testimonial-visible {
  display: block;
  opacity: 1;
}

/* === FEATURED BLOG === */
.featured-blog {
  background: #eaf1fb;
  padding: 20px;
  border: 2px solid #ccd5e0;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.featured-blog.dark {
  background: #162755;
  color: white;
}
.featured-blog.dark .smacc-button-light {
  background: white;
  color: #162755;
}

/* === HIGHLIGHT LIST === */
.highlight-list {
  margin: 15px 0;
}
.highlight {
  border-left: 4px solid #3972b8;
  padding-left: 12px;
  margin-bottom: 12px;
  font-size: 16px;
}

/* === FOUNDER SECTION === */
.founder-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.founder-text { flex: 1 1 50%; min-width: 300px; }
.founder-intro { font-size: 1.1rem; line-height: 1.6; margin: 20px 0; color: #333; }
.founder-image { flex: 1 1 40%; text-align: center; }
.founder-image img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
@media (max-width: 768px) {
  .founder-flex { flex-direction: column; text-align: center; }
  .founder-image img { max-width: 300px; }
}

/* === HOW IT WORKS GRID === */
.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.step-bullet {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background-color: #3972b8;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.step-content {
  font-size: 1rem;
  line-height: 1.5;
}

/* === VIDEO ROTATOR === */
.video-rotator-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}
.video-rotator-text {
  flex: 1 1 40%;
  min-width: 280px;
  position: relative;
}
.video-rotator-text p {
  display: none;
  font-size: 1.2rem;
  line-height: 1.6;
}
.video-rotator-text p.active {
  display: block;
  font-weight: bold;
  animation: fadeIn 1s ease-in-out;
}
.video-rotator-video {
  flex: 1 1 50%;
  min-width: 320px;
  position: relative;
}
.video-rotator-video iframe {
  display: none;
  width: 100%;
  height: 315px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.video-rotator-video iframe.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === FOOTER === */
.footer {
  padding: 10px 20px 0 20px;
  background: #162755;
  color: white;
  font-size: 14px;
}
.footer a { color: white; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-column { flex: 1 1 30%; min-width: 200px; }
.footer-column h4 { margin: 0 0 5px 0; font-size: 15px; color: white; font-weight: bold; }
.footer-bottom {
  text-align: center;
  margin: 15px 0 10px 0;
  font-size: 13px;
  color: #ccc;
}

