
  :root {    --brand: #0a7cff;    --brand-dark: #005ec2;    --bg: #f9fafb;
    --text: #1f2937;    --muted: #6b7280;    --holiday-public: #ffe5e5;
    --holiday-restricted: #e6ffe6;  }
  


  /* Year + navigation */

  #yearTitle {    font-size: 2rem;    font-weight: 700;    color: var(--brand);  }
 
  /* Legend */
  .legend {    display: flex;    gap: 16px;    align-items: center;    color: var(--muted);    font-size: 0.9rem;
    margin-bottom: 12px;    flex-wrap: wrap;  }
  .legend .dot {    width: 12px;    height: 12px;    border-radius: 50%;    display: inline-block;
    border: 1px solid #d1d5db;    margin-right: 6px;  }
  .dot-public { background: #dc2626; }
  .dot-restricted { background: #16a34a; }
  /* Layout panels */

  @media (max-width: 950px) {    .container { grid-template-columns: 1fr; }  }
  .panel {background: white; border-radius: 12px;    box-shadow: 0 2px 8px rgba(0,0,0,0.08); overflow: hidden;  }
  .panel-header { background:#cc7a00; color: white;  padding: 14px 16px; font-size: 1.25rem; font-weight: 600;
  }
  .panel-body { padding: 12px; }
  /* Calendar grid */
  .calendar {    display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; background: #e5e7eb;  }
  .weekday {  background: #f3f4f6; padding: 10px;  font-size: 0.85rem; font-weight: 600;  text-align: center;  }
  .day {    background: white;    min-height: 110px;    padding: 8px;    position: relative;  }
  .day strong { font-size: 0.9rem; display: block; margin-bottom: 4px; }
  .public-holiday { background: var(--holiday-public) !important; }
  .restricted-holiday { background: var(--holiday-restricted) !important; }
  .holiday-tag { position: absolute;  top: 6px;  right: 6px;   font-size: 11px; font-weight: 700;  padding: 2px 6px;
    border-radius: 4px;    color: #fff;  }
  .holiday-tag.public { background: #dc2626; }
  .holiday-tag.restricted { background: #16a34a; }
  .event {   display: block;   margin: 4px 0;    padding: 4px 6px;   border-radius: 6px;  font-size: 12px;   cursor: default;
    color: #fff;    background: var(--brand);
  }
  /* Today highlight */
  .today {   border: 2px solid var(--brand-dark);    border-radius: 6px;  }
  /* Tooltip */
  .tooltip {    position: fixed;    background: rgba(17,24,39,0.95);    color: #fff;
    padding: 8px 10px;    border-radius: 6px;    font-size: 12px;
    display: none;    z-index: 60;    max-width: 260px;
  }
  /* Gallery */
  .gallery-grid {    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));    gap: 12px;  }
  .gallery-card img { width: 100%;  border-radius: 8px;object-fit: cover; aspect-ratio: 1 / 1; border: 1px solid #e5e7eb;  }
  .placeholder {    display: grid; place-items: center; padding: 24px;   color: var(--muted);  text-align: center;  }
  .placeholder img {  max-width: 220px;   opacity: 0.75;   margin-bottom: 8px;  }
  /* Modal */
  .modal {position: fixed;inset: 0;display: none; align-items: center; 
    justify-content: center; background: rgba(0,0,0,.5);    z-index: 50;  }
  .modal.open { display: flex; }
  .modal-content {    background: #fff;    width: min(900px, 92vw);    max-height: 90vh;
    border-radius: 12px;    overflow: hidden;    display: grid;    grid-template-rows: auto 1fr;  }
  .modal-header {    padding: 12px 16px;    border-bottom: 1px solid #e5e7eb;    display: flex;
    justify-content: space-between;    align-items: center;  }
  .modal-header h3 {    margin: 0;    font-size: 1rem;    font-weight: 700;  }
  .modal-header button {    background: #fff;    border: 1px solid #d1d5db;    border-radius: 8px;
    padding: 6px 10px;    cursor: pointer;  }
  .modal-body {    padding: 12px 16px;    overflow: auto;  }
  .image-grid {    display: grid;    grid-template-columns: repeat(2, 1fr);    gap: 8px;  }
  @media (min-width: 640px) {    .image-grid { grid-template-columns: repeat(3, 1fr); }  }
  .image-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb;  }
  /* Bigger, centered date numbers */
.day strong {  display: block;  font-size: 1.4rem;   /* increase font size */
  text-align: center; /* center the number */  margin-bottom: 4px;}
/* Weekend highlight */
.day.weekend {  background-color: #f0f8ff; /* light blue background */
  color: #003366;            /* darker text for contrast */
}
/* Weekday header styling */
.weekday {  background-color: #003366;   /* deep blue background */
  color: #ffffff;              /* white text */
  font-size: 1.2rem;           /* larger font size */
  font-weight: bold;  text-align: center;  padding: 8px 0;  border: 1px solid #ccc;}
.weekday:nth-child(1), /* Sunday */
.weekday:nth-child(7)  /* Saturday */
{  background-color: #cc0000; /* red background */  color: #fff;}
.day {  display: flex;  flex-direction: column; /* stack vertically */
  align-items: center;  padding: 6px;  min-height: 90px;       /* enough space for date + labels */
}
.date-number {  font-size: 1.4rem;  font-weight: bold;  text-align: center;  margin-bottom: 6px; /* spacing below date */}
.day-labels {  display: flex;  flex-direction: column; gap: 4px;  /* spacing between labels */  text-align: center;  font-size: 0.85rem;  width: 100%;}
.holiday-tag.public {  background: #ffcccc;  color: #990000;  padding: 2px 4px;  border-radius: 4px;}
.holiday-tag.restricted {  background: #ccffcc;  color: #006600;  padding: 2px 4px;  border-radius: 4px;}
.event {  background: #e0f7fa;  color: #006064;  padding: 2px 4px;  border-radius: 4px;}
.column-padding {
  padding: 20px;
}
.legend-box {
  background-color: #003366;   /* dark blue background */
  color: #ffffff;              /* white text */
  padding: 10px 20px;
  border-radius: 8px;
  width: 100%;;          /* shrink to content */
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Center the legend */
.legend {
  margin: 0 auto 15px auto;
}

/* Dot adjustments */
.legend .dot {
  border: none;
}

.dot-public {
  background-color: #ff4d4d;   /* red */
}

.dot-restricted {
  background-color: #2ecc71;   /* green */
}
.nav-buttons {
 display: flex;
  justify-content: center;   /* centers buttons horizontally */
  align-items: center;       /* aligns vertically */
  gap: 16px;                 /* space between buttons */
  padding: 4px;
}

/* Rectangular button */
.nav-btn {
  min-width: 110px;           /* prevents text overflow */
  padding: 10px 16px;

  border: none;
  border-radius: 2px;
  cursor: pointer;

  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;        /* keeps text in one line */
  text-align: center;

  color: maroon;
  background: white;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 3px 8px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

.nav-btn:hover {
  background: linear-gradient(135deg, #005ec2, #0a7cff);
}

/* Month text in center */
.month-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  min-width: 600px;
  text-align: center;
}
.col-md-7 .flexslider {
 /* aspect-ratio: 16 / 9;*/
  max-height: 650px;
}

.col-md-7 .flexslider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Ensure the slider fits inside its Bootstrap column */
.flexslider {
  width: 100%;        /* take full width of col-7 */
 /* max-width: 100%;    /* prevent overflow */
 /* margin: 0 auto;     /* center if needed */
  overflow: hidden;   /* avoid scrollbars */
  max-height: 650px;
}

/* Make images responsive inside the slider */
.flexslider .slides img {
  width:auto;        /* scale to column width */
  height: auto;    /* maintain aspect ratio */
  display: block;     /* remove inline gaps */
}
/* Style for Welcome and Visit text */
#welcome, #visit {
  color: #fff;           /* white text */
  padding-top: 10px;      /* adjust vertical spacing */
  font-size: 1rem;       /* optional: adjust size */
}

