/* tricolor.css */

/* Full page flag background with content directly on top */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', sans-serif;
    color: #111;
    
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }

 /* tricolor.css */

/* 1) Pin the header at top, full width, above all */
/* tricolor.css */

/* Pin the header at top */
/* Make header a cohesive green gradient */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  /* flat dark-green specified by r33 g56 b33 */
  background-color: rgb(33, 56, 33);
  /* keep the blur for legibility */
  backdrop-filter: saturate(180%) blur(10px);
}



/* 2) Push your entire page content down
      so it doesn't hide under the fixed header */
body {
  padding-top: 6rem; /* match roughly sticky-header’s total height (py-6 = 1.5rem top+bottom + content height) */
}

  /* Optional translucent black overlay for contrast */
  .overlay {
    background-color: rgba(0, 0, 0, 0.4);
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
  }
  
  /* Section styling directly on background */
  .section {
    width: 90%;
    max-width: 1000px;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
  }
  
  /* Headings */
  h1, h2, h3, h4 {
    color: #000;
    text-align: center;
    margin-bottom: 1rem;
  }
  
  /* Buttons */
  /* 🎯 BUTTON STYLES */
/* Base Button */
.button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 0.375rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }
  
  /* Visible on light/mixed backgrounds */
  .button-primary {
    background-color: #0c3; /* Greenish */
    color: white;
  }
  
  .button-primary:hover {
    background-color: #0a2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  }
  
  /* Visible on dark/saffron background */
  .button-light {
    background-color: white;
    color: #d4af37;
  }
  
  .button-light:hover {
    background-color: #f0f0f0;
    color: #c59c2e;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  #contact {
    background-color: rgb(33, 56, 33) !important;
  }
  /* Footer */
  footer {
    background-color: rgb(33, 56, 33) !important;;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: auto;
    width: 100%;
  }
  p {
    font-size: 1.1rem;
    max-width: 700px;
    margin-bottom: 1rem;
    color: #222;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  footer p {
    color: white !important;
  }
  
 /* tricolor.css */
 .highlights.swiper  {
  height: 500px;
}
.highlights .swiper-slide  {
  height: 280px;
}
.highlights.swiper-container .swiper-wrapper {
  gap: 1rem;
}
.swiper-slide img {
  height: 75%;
  width: auto;
  object-fit: contain;
  margin: auto;
}



.highlight-card {
  border-radius: 0.5rem;            /* same as rounded-lg */
  box-shadow: 0 10px 15px rgba(0,0,0,0.1); /* similar to shadow-lg */
  transform: translateZ(0);
  transition: transform 0.3s ease-in-out;
}

.highlight-card:hover {
  transform: scale(1.05);
}


/* Make the summary a flex container with a chevron */
section#mission-vision details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Hide default marker */
section#mission-vision details summary::-webkit-details-marker {
  display: none;
}

/* Chevron rotation */
section#mission-vision details summary .chevron {
  transition: transform 0.3s ease;
}
section#mission-vision details[open] summary .chevron {
  transform: rotate(180deg);
}

/* in tricolor.css */
#mission-vision ol {
  list-style: none;
  padding-left: 0;
}

/* animations */
@keyframes fadeInUp {
  0%   { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}



/* Make the summary bar look like a button and hide the default arrow */
details > summary {
  list-style: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details > summary::-webkit-details-marker { display: none; }

/* Chevron rotation */
details summary .chevron {
  transition: transform 0.2s ease;
}
details[open] summary .chevron {
  transform: rotate(180deg);
}

/* Style the details panel */
details {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
details:hover {
  box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}
details > div {
  padding: 1.5rem;
  background: #f9fafb;
}


/* Make sure summary stays a list-item so the browser will toggle it */
.details-card summary {
  display: list-item;
  list-style: none;           /* remove default marker */
  cursor: pointer;
  padding: 1.5rem;            /* adjust to taste */
  background-color: #f8fafc;  /* light grey */
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  font-weight: 600;
}

/* Hide the default arrow completely */
.details-card summary::-webkit-details-marker {
  display: none;
}

/* Chevrons */
.details-card summary .chevron {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform .3s;
}

/* Rotate when open */
.details-card[open] summary .chevron {
  transform: translateY(-50%) rotate(180deg);
}

/* The expanded content panel */
.details-card .content {
  padding: 1.5rem;
  background-color: #ffffff;
  border-bottom-left-radius: .5rem;
  border-bottom-right-radius: .5rem;
}


.mySwiper {
  height: 400px !important;
}