/* ================== GLOBAL STYLES ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-family-sans-serif);
}

html, body {
  height: 100%;
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* ================== TOP HEADER ================== */
.top-header {
  background-color: #AAB6BE;
  display: flex;
  justify-content: flex-end;
  padding: 10px 40px;
}

.shop-btn {
  background-color: #fff;
  color: #666;
  padding: 10px 20px;
  border: 1px solid #ccc;
  border-radius: 20px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.shop-btn:hover {
  background-color: #D9D9D9;
  color: #333;
}

/* ================== BOTTOM HEADER ================== */
.bottom-header {
  background-color: #fff;
  padding: 20px 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 9999;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 10px 0;
}

.logo {
  max-height: 80px;
  width: auto;
  height: auto;
}

/* ================== NAVBAR IMPROVEMENTS ================== */
.navbar-expand-sm {
  margin-left: auto;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

.nav-item a {
  text-decoration: none;
  color: #1F3C63;
  font-size: 17px;
  padding: 10px 16px;
  display: block;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-align: center;
}

.nav-item a:hover {
  background-color: #EAF0F6;
  color: #284B6E;
  transform: translateY(-2px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ================== DROPDOWNS ================== */
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children > a::after {
  content: " ▼";
  font-size: 12px;
  margin-left: 4px;
}

.menu-item-has-children .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border-radius: 6px;
  display: none;
  z-index: 999;
  padding: 10px 0;
}

.menu-item-has-children .dropdown-content li {
  padding: 8px 16px;
  font-size: 15px;
}

.menu-item-has-children:hover .dropdown-content {
  display: block;
}

/* ================== HAMBURGER ================== */
.navbar-toggler {
  border: none;
  background: transparent;
  display: none;
  cursor: pointer;
  font-size: 24px;
}

/* ================== DESKTOP MEDIA ================== */
@media (min-width: 768px) {
  .navbar-collapse {
    position: static;
    width: auto;
    justify-content: flex-end;
    background: none;
    box-shadow: none;
    display: flex !important;
  }

  .navbar-nav {
    flex-direction: row;
  }

  .navbar-nav .nav-item {
    border: none;
    width: auto;
    border-bottom: none;
  }
}

/* ================== MOBILE MENU IMPROVEMENTS ================== */
@media (max-width: 767px) {
  .navbar-toggler {
    display: block;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    box-shadow: 0px 4px 6px rgba(0,0,0,0.1);
    z-index: 10000;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar-collapse.show {
    max-height: 1000px;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #ddd;
  }

  .nav-item a {
    padding: 14px 0;
    font-size: 16px;
  }

  .menu-item-has-children .dropdown-content {
    position: relative;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease;
    border-radius: 0;
  }

  .menu-item-has-children.open .dropdown-content {
    max-height: 500px;
    padding: 8px 0;
  }

  .menu-item-has-children .dropdown-content li {
    padding: 10px 20px;
    font-size: 16px;
  }
}

/* ================== MEDIUM SCREENS ================== */
@media (min-width: 768px) and (max-width: 992px) {
  .navbar-nav {
    gap: 18px;
  }

  .nav-item a {
    font-size: 16px;
    padding: 10px 14px;
  }
}

/* ================== HERO & CAROUSEL ================== */
.hero {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
}

.carousel {
  width: 100%;
  height: 100vh;
  position: relative;
}

.carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.carousel-slide.active {
  display: block;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.carousel-navigation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 1000;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-dot.active {
  background-color: #fff;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  user-select: none;
  transition: 0.6s ease;
  transform: translateY(-50%);
}

.next { right: 0; }
.prev { left: 0; }
.prev:hover, .next:hover { background-color: rgba(0, 0, 0, 0.8); }

@media (max-width: 992px) { .carousel { height: 70vh; } }
@media (max-width: 768px) { .carousel { height: 50vh; } }
@media (max-width: 576px) { .carousel { height: 40vh; } }

/* ================== SECTION HEADINGS ================== */
.section-heading {
  text-align: center;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: 36px;
  font-weight: 700;
  color: #284B6E;
  margin-bottom: 10px;
}

.section-heading span {
  font-size: 18px;
  color: #555;
  display: block;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ================== SERVICES ================== */
.our-services .service-item {
  background-color: #f9f9f9;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.our-services .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.service-item h4 {
  font-size: 22px;
  font-weight: 600;
  color: #1F3C63;
  margin-bottom: 10px;
}

.service-item p, .service-item ul li {
  font-size: 16px;
  color: #444;
  line-height: 1.7;
}

.service-item ul {
  padding-left: 20px;
  margin-top: 10px;
}

.service-item ul li {
  list-style-type: disc;
}

.service-item img.responsive-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ================== ACTIVITIES & INVOLVEMENT ================== */
.activities, .involvement { padding: 20px; text-align: center; }

.activities-grid, .involvement-grid {
  display: flex;
  justify-content: space-around;
  gap: 10px;
  flex-wrap: wrap;
}

.activity-card, .involvement-card {
  background-color: #f5f5f5;
  width: 30%;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.activity-card img, .involvement-card img {
  width: 100%;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.activity-title, .involvement-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-weight: bold;
  font-size: 16px;
  border-radius: 0 0 8px 8px;
}

@media (max-width: 992px) { .activity-card, .involvement-card { width: 45%; } }
@media (max-width: 576px) { .activity-card, .involvement-card { width: 100%; } }

/* ================== REGISTRATION FORM ================== */
.registration-form { padding: 40px 20px; background-color: #f9f9f9; }
.error-text { color: red; font-weight: bold; }
.container { max-width: 800px; margin: 0 auto; background-color: #fff; padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); border-radius: 5px; }
h1 { text-align: center; font-size: 24px; margin-bottom: 20px; }
fieldset { border: 1px solid #ccc; padding: 10px; margin-bottom: 20px; }
legend { font-size: 18px; font-weight: bold; }
.form-group { margin-bottom: 10px; }
.form-group-check { display: flex; align-items: center; }
.form-group-check input[type="checkbox"] { margin-right: 10px; }
label { display: block; font-size: 16px; margin-bottom: 5px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}
.checkbox-group, .radio-group { display: flex; flex-wrap: wrap; }
.checkbox-group label, .radio-group label { margin-right: 15px; font-size: 14px; }
.membership-fee { background-color: #f5f5f5; padding: 15px; border-radius: 5px; margin-bottom: 20px; text-align: center; }
.submit-btn { display: block; width: 100%; background-color: #333; color: #fff; padding: 10px; border: none; font-size: 16px; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; }
.submit-btn:hover { background-color: #555; }

/* ================== CONTACT SECTION ================== */
.contact-section { display: flex; flex-wrap: wrap; justify-content: space-between; padding: 20px; }
.contact-info, .contact-form-container { flex: 1 1 45%; margin: 20px; }
.contact-info h3 { margin-bottom: 15px; }
.contact-info p { margin: 5px 0; }
.social-icons a { margin-right: 10px; }

/* ================== FOOTER ================== */
footer { background-color: #284B6E; color: white; padding: 20px; text-align: center; font-size: 14px; }
.footer-container { display: flex; flex-direction: column; align-items: center; }
.footer-container p { margin-bottom: 10px; color: #333; }
.footer .social-icons { display: flex; gap: 10px; margin-top: 10px; }
.footer .social-icons a { color: white; font-size: 20px; }

/* ================== RESPONSIVE TEXT ================== */
@media (max-width: 992px) {
  .section-heading h2 { font-size: 30px; }
  .section-heading span { font-size: 16px; }
  .service-item h4 { font-size: 20px; }
  .service-item p, .service-item ul li { font-size: 15px; }
}

@media (max-width: 576px) {
  .section-heading h2 { font-size: 26px; }
  .section-heading span { font-size: 14px; }
  .service-item h4 { font-size: 18px; }
  .service-item p, .service-item ul li { font-size: 14px; }
}
