@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

.navbar-nav .nav-link.nav-active {
    font-weight: bold;
    color: #0d6efd; /* Bootstrap primary */
    border-bottom: 3px solid #0d6efd;
}

body {
  font-family: "Roboto Condensed", sans-serif;
  height:100%;
}

.center-div {
    justify-content: center;
    align-items: center;
    display: flex;
}

.navbar {
    background: linear-gradient(to bottom, #ff8800, rgb(252, 166, 8));
    box-shadow: 10px 0 4px #4e4e4e;
}

.DOLE-navbar-LOGO {
  width: 100px;
  transition: transform 0.3s ease; /* Smooth animation */
}

.DOLE-navbar-LOGO:hover {
  transform: scale(1.10); /* Slightly enlarges the logo on hover */
}

.link-active {
    background-color: #fff;
    border-radius: 10px;
    width: 90px;
    font-weight: 500;
}

.link-hover {
    width: 90px;
    font-weight: 500;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.link-hover:hover {
    background-color: #eb8006;
}

.header-below-container {
    background: linear-gradient(to bottom, #0763e4, #1b73ee);
    height: 140px;
    margin-bottom: 20px;
    box-shadow: 0 0 6px #111;
}

.card-button-container {
    width: 300px;
}

.card-button-container button {
    height: 100px;
    width: 100px;
    border: none;
    border-radius: 25px;
    background-color: rgb(230, 151, 4);
}

.card-button-container button:hover {
    transition: 0.2s ease;
    background-color: #c26903;
}

.card-button-container button i {
    font-size: 30px;
    color: #fff;
}

.userindex-right {
    border-left: 1px solid #ccc;
    width: 100%;
    height: 100%;
}

.userindex-right {
    border-left: 1px solid #ccc;
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
  .userindex-right {
      border-top: 1px solid #ccc;
      border-left: 0px;
      margin-top: 20px;
  }

}

.time-card {
    height: 120px;
    width: 100%;
    background-color: #0d6efd;
    border-radius: 10px;
    font-weight: bold;
    background-image: url(../../../img/bg-time.jpg);
    background-size: cover;
    color: #fff;
}

.time-card .time-title {
    font-size: 34px;
}

.time-card span {
    font-size: 18px;
}

.schedule-card {
    height: 900px;
    width: 100%;
    border-radius: 10px;
    font-weight: bold;
    background-size: cover;
    color: #303030;
}



    .nav-link.active {
      font-weight: bold;
      border-bottom: 3px solid #0d6efd;
      color: #0d6efd !important;
    }

    #calendar {
      background: white;
      padding: 20px;
      border-radius: 8px;
      width: 100%;
      list-style: none;
    }

    
    @media (max-width: 670px) {
      #calendar {
        padding: 0px;
      }
    }


    #calendar a {
      list-style: none;
      text-decoration: none;
    }

    .fc-daygrid-event-harness {
      cursor: pointer;
      
    }

    .fc-event-main {
      cursor: pointer;
      
    }

    .fc-daygrid-event-harness a {
      font-weight: bold;

    }


    /* Make the current day cell more visible */
    .fc-daygrid-day.fc-day-today {
    background-color: #ffe082 !important;  /* stronger amber shade */
    border: 2px solid #ff9800;             /* orange border */
    font-weight: bold;
    color: #000;                           /* ensure readable text */
    }

    /* Optional: also apply to timeGrid views */
    .fc-timegrid-col.fc-day-today {
    background-color: #fff3e0 !important;
    border: 2px solid #ff9800;
    }

.no-caret::after {
  display: none !important;
}

.carousel {
  box-shadow: 0 0 6px #727272;
}

.carousel-item img {
  max-height: 500px; /* Adjust as needed */
  width: 100%;
}


@media (max-width: 768px) {
  .carousel-item img {
    height: 300px;
    object-fit: cover;
  }
}

.headline-text-card {
    background: linear-gradient(to bottom, #00255e, #00337a);
    border-radius: 10px 10px 0 0;
    height: 60px;
    color: #ececec;
    font-weight: 700;
    font-size: 20px;

    &.text-bold {
       font-weight: 800;
       font-size: 24px;
    }
}


@media (min-width: 768px) and (max-width: 991.98px) {
  .headline-text-card {
    background: linear-gradient(to bottom, #002966, #003580);
    border-radius: 10px 10px 0 0;
    height: 50px;
    color: #ececec;
    font-weight: 700;
    font-size: 16px;

    &.text-bold {
      font-weight: 800;
      font-size: 20px;
    }
  }
}


.headline-text-title {
    font-size: 18px;
    list-style: none;
    text-decoration: none;
    font-weight: 700;
    color: #2675e4;

    &:hover {
      transition: 0.2s ease;
      background-color: #ccc;
      border-radius: 4px;
    }
}

@media (min-width: 991.98px) and (max-width: 1196px) {
  .headline-text-title {
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .headline-text-title {
    font-size: 18px;
    text-align: center;
  }
}


@media (min-width: 375px) and (max-width: 768px) {
  .headline-text-title {
    font-size: 20px;
    text-align: center;
  }
}

.contact-us-container {
  border-radius: 10px;
  
    background: linear-gradient(to bottom, #00409b, #005de0 , #00409b);
}

.DOLE-title-contactus {
  font-size: 10px;
  color: #fff;
  opacity: 0.9;
  font-family: 'Cinzel', serif; 
  font-weight: 700; 
}

.contact-headline-container {
  background-color: rgb(255, 17, 0);
  padding: 4px 16px;
  font-weight: bold;
  color: #fff;
  border-radius: 30px;
  letter-spacing: 1.4px;
  opacity: 0.9;
  
}

.contact-headline-container span {
  font-size: 14px;
}



.contact-us-number {
  font-size: 22px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 2px;
  opacity: 0.9;

}



.contact-us-office {
  background-color: #002763;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 5px 15px;
  border-radius: 8px;
  opacity: 0.9;
  letter-spacing: 1px;
}


.contact-us-email {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
  opacity: 0.9;
}



@media (min-width: 991.98px) and (max-width: 1196px) {
  .contact-headline-container span{
    font-size: 12px;
  }

  .contact-us-number {
    font-size: 20px;
  }

}

.embed-responsive-custom {
  border-radius: 12px;
}



  /* Wrap toolbar buttons for smaller screens */
.fc-header-toolbar {
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Truncate text inside dayGridMonth events */
.fc-daygrid-event .fc-event-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
}

/* Truncate the custom-rendered event content in month view */
.fc-daygrid-event .fc-event-main {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-width: 100%;
  font-size: 0.75rem;
}

/* Truncate event text in month view */
.fc-daygrid-event.fc-daygrid-dot-event {
  display: block;               /* Needed for ellipsis to work */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}



@media (max-width: 660px) {
  .fc .fc-button {
    font-size: 12px !important;
    padding: 0.25rem 0.5rem !important;
  }

  #fc-dom-1 {
    font-size: 20px;
  }

  .fc-toolbar-chunk {
    flex-wrap: wrap;
    justify-content: center;
  }

  .fc .fc-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
}

@media (max-width: 492px) {
    #fc-dom-1 {
    font-size: 22px;
  }
}


.featured-title {
    font-weight: 700;
    color: #333333;
    font-size: 26px;
}

.feature-img-container img{
  width: 100%;
  object-fit: cover;
}

.featured-image {
  height: 200px;
  width: 100%;
  border-radius: 6px;
}

@media (max-width: 492px) {
  .featured-image {
    height: 150px;
    width: 100%;
  }
}


@media (max-width: 400px) {
  .featured-image {
    height: 120px;
    width: 100%;
  }
}

.read-article-img-container {
  height: 50%;
}

.read-article-img-container img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.headline-articledesc-container {
  width: 80%;
}

.headline-articledesc {
  font-size: 30px;
}

@media (max-width: 992px) {
  .headline-articledesc-container {
    width: 100%;
  }


  .headline-articledesc {
      font-size: 22px;
  }
}



/* Meeting pill background */
.fc .meeting-pill { 
  background: #005de0;  /* remove default anchor bg */
  border: 0 !important;
  color: #fff;
  padding: 4px 10px;
}


.fc .meeting-pill:hover { 
  transition: 0.2s ease;
  background: #002763;  /* remove default anchor bg */
  border: 0 !important;
}

.fc .meeting-pill .fc-event-main {
  background: transparent;                 /* light blue */
  border-radius: 8px;
  padding: 2px 6px;
  font-weight: 600;
}


/* Layout: give the calendar more real estate on desktop */
@media (min-width: 992px){
  .userindex-right { position: sticky; top: 88px; }
}

/* FullCalendar — tidy header + buttons */
.fc .fc-toolbar { margin: 0 0 12px; }
.fc .fc-toolbar-title { font-weight: 700; letter-spacing:.2px; }
.fc .fc-button {
  border: 0; box-shadow: none; font-weight: 600;
  padding: 6px 10px; border-radius: 10px;
}
.fc .fc-button-primary {
  background:#1976d2;                   /* primary */
}

.fc .fc-button:disabled { opacity:.55; }
.fc .fc-button-group .fc-button { background:#e9eef7; color:#1b3a61; border: 1px solid #aaa; }

/* Grid refinements */
.fc-theme-standard td, .fc-theme-standard th { border-color:#ecf0f6; }
.fc .fc-daygrid-day-top { padding: 6px 8px 0; }
.fc .fc-day-other .fc-daygrid-day-number { opacity:.45; }
.fc .fc-daygrid-day-number { font-weight:600; color:#1b3a61; }
.fc .fc-day-today { background: #fff8e1 !important; }   /* highlight today */
.fc .fc-scrollgrid { border-radius:14px; overflow:hidden; border:1px solid #ecf0f6; }


/* Month view = title only, single-line with ellipsis */
.fc-daygrid-dot-event .fc-event-title,
.fc-daygrid-block-event .fc-event-title {
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Sidebar cards */
.time-card {
  color:#fff; border-radius:16px; padding:18px; box-shadow:0 10px 20px rgba(13,71,161,.12);
}
.schedule-card {
  background:#ffffff; border:1px solid #ecf0f6; border-radius:14px; padding:16px;
  box-shadow:0 6px 16px rgba(0,0,0,.05);
}

/* Upcoming list */
#upcomingList ul { margin:0; padding-left:0; }
#upcomingList li { list-style:none; padding:10px 0; border-bottom:1px dashed #e5ebf4; }
#upcomingList li:last-child { border-bottom:none; }
#upcomingList .date { font-weight:700; color:#0d47a1; }
#upcomingList .time { font-weight:700; }
#upcomingList .title { color:#4b5b76; }


/* optional: keep text readable and non-underlined */
.fc .meeting-pill a { text-decoration: none; }


.upcoming-card-container {
  border-radius: 10px;
  cursor: pointer;
}

.upcoming-card-container:hover {
    transition: 0.2s ease;
    background-color: #ccc;
} 





/* wrap pills nicely */
.councils-wrap { display:flex; flex-wrap:wrap; gap:.5rem; }
.council-badge { font-weight:500; }






.detail-card { 
  border-radius:12px; 
  box-shadow: 0 0 5px #bbb;
}



.docs-nav {
  border-radius: 50px;
  border: none;
  background-color: #fff;
  color: #005de0;
  font-weight: 500;
}

.docs-nav-active {
  background-color: #005de0;
  color: #fff;
  border: none;
  border-radius: 50px;
}

.docs-nav-cp {
  border: none;
  background-color: #fff;
  color: #005de0;
  font-weight: 500;
}

.docs-nav-active-cp {
  background-color: #005de0;
  color: #fff;
  border: none;
}



.upload-button {
  border: navajowhite;
  box-shadow: 1px 2px 5px #005de0;
  border-radius: 14px;
  background-color: #fff;
  color: #414141;
  font-weight: 500;
}

.upload-button:hover{
  transition: 0.2s ease;
  transform: translateY(-2px);
  
  box-shadow: 2px 4px 10px #005de0;
}


.doc-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  box-shadow: 1px 2px 4px rgba(0,0,0,0.08);
}

.doc-card:hover {
  transform: translateY(-3px);
  box-shadow: 2px 4px 8px rgba(0,0,0,0.15);
}

.file-icon {
  font-size: 40px;
  margin-bottom: 10px;
  color: #555;
}

.doc-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-meta {
  font-size: 12px;
  color: #666;
}


  @media (max-width: 991.98px) {
    .content-with-fab { padding-bottom: 90px; }
  }


/*footer*/

.footer {
    background: linear-gradient(to bottom, #00255e, #00419c);
    color: #fff;
}
.footer-wave-svg {
    background-color: transparent;
    display: block;
    height: 30px;
    position: relative;
    top: -1px;
    width: 100%;
}
.footer-wave-path {
    fill: #fffff2;
}

.footer-content-1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 250px;
    position: relative;
}

.footer-content-column {
    box-sizing: border-box;
    float: left;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
    color: #fff;
}

.footer-content-column ul li a {
  color: #fff;
  text-decoration: none;
}

.footer-logo-link {
    display: inline-block;
}
.footer-menu {
    margin-top: 30px;
}

.footer-menu-name {
    color: #fffff2;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}
.footer-menu-list {
    list-style: none;
    margin-bottom: 0;
    margin-top: 10px;
    padding-left: 0;
}
.footer-menu-list li {
    margin-top: 5px;
}

.footer-call-to-action-description {
    color: #fffff2;
    margin-top: 10px;
    margin-bottom: 20px;
}
.footer-call-to-action-button:hover {
    background-color: #fffff2;
    color: #00bef0;
}
.button:last-of-type {
    margin-right: 0;
}
.footer-call-to-action-button {
    background-color: #027b9a;
    border-radius: 21px;
    color: #fffff2;
    display: inline-block;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    padding: 12px 30px;
    margin: 0 10px 10px 0;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s;
    cursor: pointer;
    position: relative;
}
.footer-call-to-action {
    margin-top: 30px;
}
.footer-call-to-action-title {
    color: #fffff2;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .1em;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
    text-transform: uppercase;
}
.footer-call-to-action-link-wrapper {
    margin-bottom: 0;
    margin-top: 10px;
    color: #fff;
    text-decoration: none;
}
.footer-call-to-action-link-wrapper a {
    color: #fff;
    text-decoration: none;
}




.footer-copyright {
    background: linear-gradient(to bottom, #00255e, #00255e);
    color: #fff;
    padding: 15px 30px;
  text-align: center;
}

.footer-copyright-wrapper {
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}

.footer-copyright-text {
  color: #fff;
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 0;
    margin-top: 0;
}

.footer-copyright-link {
    color: #fff;
    text-decoration: none;
}

.DOLE-footer-logo {
  font-family: 'Cinzel', serif; 
  font-size: 14px;
}







/* Media Query For different screens */
@media (min-width:320px) and (max-width:479px)  { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
  .footer-content-1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 450px;
    position: relative;
  }
}
@media (min-width:480px) and (max-width:599px)  { /* smartphones, Android phones, landscape iPhone */
  .footer-content-1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 450px;
    position: relative;
  }
}
@media (min-width:600px) and (max-width: 800px)  { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */
  .footer-content-1 {
    margin-left: auto;
    margin-right: auto;
    max-width: 1230px;
    padding: 40px 15px 450px;
    position: relative;
  }
}
@media (min-width:801px)  { /* tablet, landscape iPad, lo-res laptops ands desktops */

}
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */

}
@media (min-width:1281px) { /* hi-res laptops and desktops */

}




@media (min-width: 760px) {
  .footer-content {
      margin-left: auto;
      margin-right: auto;
      max-width: 1230px;
      padding: 40px 15px 450px;
      position: relative;
  }

  .footer-wave-svg {
      height: 50px;
  }

  .footer-content-column {
      width: 24.99%;
  }
}
@media (min-width: 568px) {
  /* .footer-content-column {
      width: 49.99%;
  } */
}

  /* ================================
     Modern Mobile Bottom Nav (icons only)
     ================================ */
  :root{
    --nav-bg: rgba(255,255,255,.85);
    --nav-border: rgba(0,0,0,.06);
    --nav-fg: #333;
    --nav-fg-muted: #6c757d;
    --nav-accent: #0d6efd;   /* Bootstrap primary */
    --nav-shadow: 0 8px 24px rgba(0,0,0,.12);
  }
  @media (prefers-color-scheme: dark){
    :root{
      --nav-bg: rgba(24,28,34,.75);
      --nav-border: rgba(255,255,255,.08);
      --nav-fg: #e9ecef;
      --nav-fg-muted: #adb5bd;
      --nav-shadow: 0 10px 30px rgba(0,0,0,.45);
    }
  }

 /* Keep content clear of the fixed bar */
@media (max-width: 991.98px){
  body{ padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}

.mobile-nav{
  position: fixed;
  left: 0; right: 0;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 1040;
  display: none;
  pointer-events: none;
}
@media (max-width: 991.98px){
  .mobile-nav{ display: block; }
}

/* (unchanged) center the logo when below 992px */
@media (max-width: 991.98px) {
  .navbar .container-fluid { justify-content: center !important; }
  .navbar-brand { margin-left: 20px; }
}

.mobile-nav__inner{
  --active: 0; /* JS sets this 0..4 now */
  width: clamp(300px, 92vw, 520px);
  height: 64px;
  margin: 0 auto;
  padding: 8px;
  background: linear-gradient(to bottom, #00327c, #0047aa);
  border: 1px solid #ffffff;
  border-radius: 18px;
  box-shadow: var(--nav-shadow);
  backdrop-filter: saturate(160%) blur(10px);
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* was 4; now 5 with center bell */
  position: relative;
  pointer-events: auto;
}

/* animated active pill */
.mobile-nav__active{
  position: absolute;
  top: 8px; bottom: 8px; left: 8px;
  width: calc((100% - 16px) / 5);        /* /5 to match 5 columns */
  background: rgba(117, 162, 230, 0.12);
  border: 1px solid rgba(13,110,253,.25);
  border-radius: 14px;
  transform: translateX(calc(var(--active) * 100%));
  transition: transform .28s cubic-bezier(.22,.61,.36,1);
  pointer-events: none;
  z-index: 0;
}

.mobile-nav__item{
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  position: relative;
  border-radius: 12px;
  z-index: 1; /* above the pill */
}
.mobile-nav__item i{
  font-size: 21px;
  transition: transform .18s ease, color .18s ease;
}
.mobile-nav__item:active i{ transform: scale(.92); }
.mobile-nav__item.active{ color: #fff; }
.mobile-nav__item.active i{ transform: scale(1.08); }

/* badge on the bell */
.mobile-nav__item--bell{ position: relative; }
.mobile-nav__badge{
  position: absolute;
  top: 6px;
  right: 18px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff; /* small ring for legibility */
}
.mobile-nav__badge[hidden]{ display: none !important; }


  
/* Profile dropdown custom */
.dropdown-menu{
border-radius: 0.75rem;
border: none;
box-shadow: 0 8px 24px rgba(0,0,0,0.15);
padding: .5rem 0;
min-width: 200px;
}
.dropdown-menu .dropdown-item{
display: flex;
align-items: center;
gap: .5rem;
padding: .6rem 1rem;
font-weight: 500;
}
.dropdown-menu .dropdown-item:hover{
background: #f3f4f6;
color: #0a6efd;
}
.dropdown-divider{margin:.4rem 0;}
.nav-item.dropdown .avatar{
width:36px;height:36px;border-radius:50%;object-fit:cover;
border:2px solid #ffffff40;transition:transform .2s ease;
}
.nav-item.dropdown .avatar:hover{transform:scale(1.05)}


.header-below-container {
  color:white;
}

.center-div {
  gap:15px;
}

.logo {
  height:70px;
}

.header-text p {
  margin:0;
  line-height:1.3;
}

.gov {
  font-size:14px;
}

.dept {
  font-size:14px;
  font-weight:600;
  letter-spacing:1px;
}

.bureau {
  font-size:22px;
  font-weight:700;
}

.address {
  font-size:12px;
}


/* 450px and below: slightly smaller text in the blue header */
@media (max-width: 450px){
  .header-below-container .gov     { font-size: 13px !important; }  /* was 14px */
  .header-below-container .dept    { font-size: 13px !important; }  /* was 14px */
  .header-below-container .bureau  { font-size: 20px !important; }  /* was 22px */
  .header-below-container .address { font-size: 11px !important; }  /* was 12px */
  /* optional: nudge logo down a touch as well */
  .header-below-container .logo    { height: 58px; }                 /* was ~60–70px */
}


@media (max-width: 400px){
  .header-below-container .gov     { font-size: 11px !important; }  /* was 14px */
  .header-below-container .dept    { font-size: 11px !important; }  /* was 14px */
  .header-below-container .bureau  { font-size: 18px !important; }  /* was 22px */
  .header-below-container .address { font-size:  9px !important; }  /* was 12px */
  /* optional: nudge logo down a touch as well */
  .header-below-container .logo    { height: 58px; }                 /* was ~60–70px */
}


/* Base state: before appearing */
.scroll-transition {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}

/* When visible */
.scroll-transition.show {
  opacity: 1;
  transform: translateY(0);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .scroll-transition {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
