/* ===== Base Styles ===== */
:root {
  --primary: #672602;
  --secondary: #fa9701;
  --accent: #d07d02;
  --dark: #1a1a1a;
  --light: #ffffff;
  --text: #333333;
  --text-light: #777777;
  --overlay: rgba(103, 38, 2, 0.85);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.3;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== Header Styles ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: var(--primary);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 15px 5%;
  background-color: rgba(103, 38, 2, 0.95);
}

.logo img {
  height: 50px;
  transition: all 0.3s ease;
}

.nav_links {
  display: flex;
  align-items: center;
}

.Links {
  display: flex;
  gap: 2rem;
}

.Links a {
  color: var(--light);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.Links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

.Links a:hover::after,
.Links a.active::after {
  width: 100%;
}

.Media {
  display: none;
  cursor: pointer;
}

.Media i {
  color: var(--light);
  font-size: 1.5rem;
}

/* ===== Hero Slider ===== */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px;
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--overlay);
}

.slide-content {
  position: absolute;
  top: 40%;
  left: 8%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--light);
  width: 90%;
  max-width: 800px;
  padding: 0 20px;
}

.slide-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.slide-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--secondary);
  color: var(--light);
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.slider-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dots span.active {
  background-color: var(--secondary);
  transform: scale(1.2);
}

/* ===== Value Cards ===== */
.value-cards {
  display: flex;
  justify-content: center;
  padding: 80px 5%;
  flex-wrap: wrap;
  gap: 30px;
}

.value-card {
  flex: 1;
  min-width: 300px;
  max-width: 350px;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--light);
  font-size: 2rem;
  border-radius: 50%;
}

.value-card h1 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.value-card p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.card-link {
  color: var(--secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.card-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.card-link:hover i {
  transform: translateX(5px);
}

.mission {
  background-color: var(--primary);
  color: var(--light);
}

.mission .card-icon {
  background-color: var(--light);
  color: var(--primary);
}

.pageant {
  background-color: var(--secondary);
  color: var(--light);
}

.pageant .card-icon {
  background-color: var(--light);
  color: var(--secondary);
}

.involve {
  background-color: var(--dark);
  color: var(--light);
}

.involve .card-icon {
  background-color: var(--light);
  color: var(--dark);
}

/* ===== Video Section ===== */
.video-section {
  display: flex;
  align-items: center;
  padding: 100px 5%;
  background-color: #f9f9f9;
  flex-wrap: wrap;
}

.video-container {
  flex: 1;
  min-width: 300px;
  margin-bottom: 30px;
}

.video-container iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-content {
  flex: 1;
  min-width: 300px;
  padding-left: 50px;
}

.video-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.video-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* ===== Testimonials ===== */
.testimonials {
  padding: 100px 5%;
  background-color: var(--primary);
  color: var(--light);
  text-align: center;
}

.section-title {
  margin-bottom: 50px;
  font-size: 2.5rem;
}

.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: none;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 30px;
}

.testimonial.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 20px;
}

blockquote::before,
blockquote::after {
  content: '"';
  font-size: 3rem;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
}

blockquote::before {
  top: -20px;
  left: -10px;
}

blockquote::after {
  bottom: -40px;
  right: -10px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.carousel-nav {
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-nav:hover {
  color: var(--secondary);
}

.carousel-dots {
  display: flex;
  gap: 10px;
}

.carousel-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots span.active {
  background-color: var(--secondary);
  transform: scale(1.2);
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 120px 5%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('dakota_2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--light);
  text-align: center;
  position: relative;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-text {
  margin-bottom: 40px;
}

.cta-text h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-content img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===== Social Icons ===== */
.social-icons {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.social-icons a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
  transform: translateY(-5px) scale(1.1);
}

.facebook {
  background-color: #3b5998;
}

.twitter {
  background-color: #1da1f2;
}

.instagram {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.youtube {
  background-color: #ff0000;
}

/* ===== Footer ===== */
.footer {
  padding: 80px 5% 40px;
  background-color: #f5f5f5;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.footer .note {
  flex: 2;
  min-width: 300px;
}

.footer h4 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.footer p {
  margin-bottom: 20px;
  color: var(--text-light);
}

.footer span {
  color: var(--primary);
  font-weight: 600;
}

.footer form {
  flex: 1;
  min-width: 300px;
}

.footer input[type="email"] {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.footer button {
  padding: 12px 30px;
  background-color: var(--secondary);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer button:hover {
  background-color: var(--accent);
}

.footer .links {
  flex: 1;
  min-width: 200px;
}

.footer .links a {
  display: block;
  margin-bottom: 10px;
  color: var(--text-light);
  transition: all 0.3s ease;
}

.footer .links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.copyright {
  text-align: center;
  padding: 20px;
  background-color: var(--primary);
  color: var(--light);
  font-size: 0.9rem;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .slide-content h1 {
    font-size: 2.5rem;
  }
  
  .slide-content p {
    font-size: 1.2rem;
  }
  
  .video-content {
    padding-left: 0;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
    .nav_links{
        display:none;
    }
 .nav_links.active {
     display:flex !important;
    position: fixed;
    top: 80px;
    left: 0%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--primary);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: all 0.5s ease;
    z-index: 999; /* Add this to ensure it's above other content */
  }
  .nav_links.active .Links{
      display:flex;
      flex-direction: column;
      gap: 2rem;
  }
  
  .Links.active {
    left: 0;
  }
  
  .Links a {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--light); /* Ensure links are visible */
    padding: 10px 20px; /* Add some padding for better touch targets */
  }
  
  /* Add active state for mobile menu */
  .Links a.active {
    color: var(--secondary);
    font-weight: 600;
  }
  
  .Media {
    display: block;
    z-index: 1000; /* Ensure menu button stays above other elements */
  }
  
  .slide-content h1 {
    font-size: 2rem;
  }
  
  .social-icons {
    flex-direction: row;
    top: auto;
    bottom: 20px;
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 576px) {

  .slide-content h1 {
    font-size: 1.8rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .value-card {
    min-width: 100%;
  }
  
  .video-container iframe {
    height: 250px;
  }
}