/* ---------------------------------------------------
   GLOBAL THEME COLORS 
--------------------------------------------------- */
:root {
  --primary: #009df0;
  --primary-dark: #0078c8;
  --bg: #f4f6f8;
  --white: #ffffff;
  --border: #e5e7eb;
  --text-dark: #111827;
}

/* Reset */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', system-ui, Arial, sans-serif;
  background: var(--bg);
  color: var(--text-dark);
}


/* ---------------------------------------------------
   HEADER 
--------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.4rem;
}

.brand-logo {
  max-width: 150px;
}

.brand-title {
  font-size: 1rem;
  font-weight: 600;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.4rem;
}

.icon-btn:hover {
  background: rgba(255,255,255,.15);
  border-radius: 6px;
}


/* ---------------------------------------------------
   SIDEBAR
--------------------------------------------------- */
.sidebar {
  width: 260px;
  position: fixed;
  top: 72px;
  height: calc(100vh - 72px);
  background: white;
  border-right: 1px solid var(--border);
  z-index: 110;
  padding: 1rem;
  overflow-y: auto;

  /* DEFAULT: hidden on mobile */
  left: -260px;
  transition: left .25s ease;
}

.sidebar.active {
  left: 0;
}

.menu a {
  display: block;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.3rem;
  border-radius: 6px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.menu a:hover {
  background: #eef7ff;
}

/* Layout wrapper for sidebar + content */
.layout-wrapper {
  display: flex;
}


/* ---------------------------------------------------
   PAGE CONTENT
--------------------------------------------------- */
.page-content {
  flex: 1;
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.card {
  background: white;
  padding: 1.4rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 1.4rem;
}

.card a.btn-primary {
  display: block; 
  width: 100%;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* ---------------------------------------------------
   SEARCH OVERLAY (FULL SCREEN)
--------------------------------------------------- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 200;
  padding-top: 90px;
}

.search-overlay.active {
  visibility: visible;
  opacity: 1;
}

.search-box {
  background: white;
  max-width: 700px;
  margin: 0 auto;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.search-box input {
  flex: 1;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.close-search {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.search-results {
  max-width: 700px;
  margin: 1rem auto 0;
  background: white;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.search-results.visible {
  display: block;
}

.search-results div a {
  text-decoration: none;
  color: var(--primary-dark);
}

/*---------------------------------
   Full width image
 ---------------------------------*/
 
 .full-width-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-width: 100%;
}



/* ---------------------------------------------------
   BUTTONS
--------------------------------------------------- */
.btn-primary {
  background: var(--primary);
  color: white;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--primary-dark);
}


textarea {
  width: 100%;
  min-height: 160px;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Nunito', sans-serif;
  line-height: 1.5;
  resize: vertical;
}

.site-header a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

.site-header a:hover {
  text-decoration: none; 
}


.menu a.active {
  background: #009df0;
  color: white;
  font-weight: 600;
}

.menu a.active:hover {
  background: #0078c8;
  color: white;
}

/* ------------------------------------
   CAROUSEL STYLES
------------------------------------ */
.carousel-card {
  background: white;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease;
}

.carousel img {
  width: 100%;
  flex-shrink: 0;
  border-radius: 10px;
}

/* Navigation Buttons */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.3rem 0.6rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.carousel-btn:hover {
  background: var(--primary);
  color: white;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Dots */
.carousel-dots {
  text-align: center;
  margin-top: 0.8rem;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  background: #d4d4d4;
  border: none;
  border-radius: 50%;
  margin: 0 4px;
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--primary);
}

.carousel img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 400px;
}

.css-14{
  color: white !important
}

/*---------------------
  Mobile Responsive
  ---------------------- */

@media (max-width: 600px) {
  .carousel img {
    max-height: 240px;
  }
}

@media (max-width: 600px) {
  .carousel-btn {
    font-size: 1.4rem;
    padding: 0.25rem 0.45rem;
  }
}

@media (min-width: 900px) {
  .sidebar {
    left: 0;
    position: sticky;
  }

  
}

@media (max-width: 900px) {
  .page-content {
    margin: 1rem auto;
    padding: 1rem 1.5rem; /* More breathing space */
  }
}

@media (max-width: 600px) {
  .page-content {
    padding: 1rem 1.2rem; 
  }
}

@media (max-width: 600px) {
  h1, h2, h3 {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

@media (max-width: 600px) {
  .card {
    padding: 1rem;
  }
}