:root {
    --ic-grey: #9e9e9e; 
    --ic-orange: #d8843b; 
    --ic-text-light: #FFFFFF; 
    --ic-text-dark: #3A3A3A; 
    --ic-navbar-bg: #5c5c5c; 
    --ic-footer-bg: #5c5c5c; 
}


  body {
    background-color: var(--ic-grey);
    color: var(--ic-text-light);
    font-family: 'Arial', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  .navbar-custom {
    background-color: var(--ic-navbar-bg);
    color: var(--ic-text-light);
    padding: 1rem 1.5rem;
    position: fixed;  
    top: 0;
    width: 100%;
    z-index: 1050; 

    .navbar-custom .nav-link:hover {
    color: var(--ic-orange);
}

  }

  .navbar-custom .navbar-brand {
    font-size: 2rem;
    display: flex;
    align-items: center;
    font-weight: 600; 
  }

  .navbar-custom .ic-logo-i {
    color: var(--ic-text-light); 
  }

  .navbar-custom .ic-logo-c {
    color: var(--ic-orange);
  }

  .ic-logo-c {
    color: var(--ic-orange);
  }

  .navbar-custom .nav-link {
    color: var(--ic-text-light);
    font-size: 1.1rem;
    margin-left: 1rem;
    transition: color 0.2s;
    font-weight: 500; 
  }

  .navbar-custom .nav-link:hover {
    color: var(--ic-orange);
  }

.footer-bg {
  background-color: var(--ic-navbar-bg);
  color: var(--ic-text-light);
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-bg h5 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.footer-bg p,
.footer-bg div {
  font-size: 1.1rem; 
}

.footer-banners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px; 
  margin-bottom: 15px;
}


.footer-banner {
  max-width: 220px;  
  height: auto;
  display: block;
}

/* Dividing Line */
.footer-divider {
  border-color: rgba(255, 255, 255, 0.3);
  margin: 1.5rem 0;
}

/* Extra text row */
.footer-extra-text p {
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

/* Example link styling */
.footer-extra-text a {
  color: var(--ic-orange);
  text-decoration: none;
  font-weight: 600;
}
.footer-extra-text a:hover {
  text-decoration: underline;
}



  html, body {
    height: 100%;
  }

  main {
    flex: 1; 
  }

  .hero-section {
  position: relative;
  width: 100%;
  height: 400px; 
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
  z-index: 2;
}
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.1); 
}

.hero-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 20px;
    width: 80%;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.hero-subtext {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.hero-btn {
  font-size: 1rem;
  padding: 8px 20px;
  border-radius: 5px;
  background-color: var(--ic-orange);
  border: none;
  transition: all 0.3s ease-in-out;
}

.hero-btn:hover {
  background-color: #d9772b;
  transform: scale(1.05);
}

/* Quote Carousel Section */
.quote-carousel-section {
  background-color: var(--ic-grey);
  padding: 50px 0;
  text-align: center;
}

.quote-box {
    background: var(--ic-navbar-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    max-width: 750px;
    margin: 0 auto;
    color: white;
    /* Remove or override the fixed height: */
    height: auto !important;
    min-height: auto !important;
}

.quote-accent {
    background: var(--ic-orange);
    width: 6px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}



.quote-text {
    font-size: 1rem;
    font-style: italic;
    text-align: center;
    max-width: 90%;
    word-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;   /* number of lines before truncation */
    -webkit-box-orient: vertical;
    line-height: 1.4;
}

.text-orange {
    color: var(--ic-orange);
    font-weight: bold;
    margin-left: 20px;
}

.quote-author {
    font-size: 1rem;
    font-weight: bold;
    color: var(--ic-orange);
    text-align: center;
    margin-top: 8px;
}

/* Bootstrap Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--ic-orange);
  border-radius: 50%;
  padding: 10px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.header-element {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-icon {
    width: 40px !important;
    height: 40px !important;
    margin-right: 10px !important;
}

.header-element p {
    text-align: center !important;
    width: 100%;
    display: block;
}
.carousel-item img {
    max-height: 150px; 
    object-fit: contain;
}

.carousel-inner {
    width: 65%;
    margin: auto;
}

.carousel-item img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.card {
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.contact-card:hover{
  transform: scale(1);
}

.card-img-top {
    max-width: 60px;
    max-height: 60px;
}

.btn-light {
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.5);
}
.news-list {
    margin-top: 20px;
}

.news-link {
    color: var(--ic-orange);
    text-decoration: none;
    font-weight: bold;
}

.news-link:hover {
    text-decoration: underline;
    color: #ff6a00;
}

.news-card {
    background-color: #5c5c5c; 
    color: white;
    border-radius: 10px;
    border: none;
    padding: 20px;
}


.news-card:hover {
    transform: translateY(-3px);
}

.news-inner {
    display: flex;
    flex-direction: column;
}

.news-date {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--ic-orange);
    color: white;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 10px;
    gap: 5px;
}

.news-month, .news-year, .news-day {
    display: inline;
    font-size: 1rem;
    white-space: nowrap;
}


.news-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.news-title a {
    color: #a7a7a7;
    text-decoration: none;
}

.news-title a:hover {
    text-decoration: underline;
}

.news-description {
    font-size: 1rem;
    opacity: 0.9;
}

/* Contact Form Background */
.contact-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 5rem 0;
}

/* Dark overlay to improve readability */
.contact-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100.5%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 2;
}

.contact-section::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    filter: blur(4px);
    z-index: 2;
}

/* Make sure the form content is above the overlay */
.contact-section .container {
    position: relative;
    z-index: 2;
}

/* Contact Form Card */
.contact-card {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px); /* Glass effect */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Input Styling */
.contact-card .form-control, 
.contact-card .form-select {
    border-radius: 8px;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.contact-card .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-card .form-control:focus, 
.contact-card .form-select:focus {
    border-color: #007bff;
    box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.4);
    background: rgba(255, 255, 255, 0.3);
}

.contact-card .btn-primary {
    background-color: var(--ic-orange);
    border: none;
    font-size: 1.1rem;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: 0.3s ease-in-out;
}

.contact-card .btn-primary:hover {
    background-color: #e64a19;
    transform: scale(1.05);
}

.contact-card .form-check-input {
    border: 2px solid white;
    background: transparent;
}

.contact-card .form-check-input:checked {
    background-color: #ff5722;
}
.contact-card select {
    color: white !important; 
    border: 1px solid rgba(255, 255, 255, 0.5) !important; 
    padding: 10px !important;
    border-radius: 5px !important;
    appearance: none !important; 
}

.contact-card select option {
    background-color: rgba(50, 50, 50, 1) !important;
    color: white !important;
}

.contact-card select:focus,
.contact-card select option:hover,
.contact-card select option:checked {
    background-color: rgba(70, 70, 70, 1) !important;
    color: white !important;
}

.contact-card .form-select {
    background-color: rgba(30, 30, 30, 0.9) !important;
    color: white !important;
}

.contact-card select::after {
    content: "▼";
    font-size: 14px;
    color: white;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.content-with-navbar {
    padding-top: 80px; 
}

/* BADGES */
.badge-orange {
    background-color: var(--ic-orange);
    color: white;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 5px;
}

/* BUTTONS */
.btn-orange {
    background-color: var(--ic-orange);
    color: white;
    border-radius: 5px;
    padding: 8px 15px;
    font-weight: bold;
}

.btn-orange:hover {
    background-color: #ffa150;
}

/* TAG FILTER BUTTON */
.btn-outline-orange {
    color: var(--ic-text-dark);
    border-color: var(--ic-orange);
    background-color: #adadad;
}

.btn-outline-orange:hover {
    background-color: var(--ic-orange);
    color: white;
}

.news-card .row {
    align-items: center; 
}

.dropdown-toggle {
    border: none;
    color: white;
}

.dropdown-toggle:hover, .dropdown-toggle:focus {
    background-color: #ffa150;
}

.dropdown-menu {
    background-color: #333;
    border: 1px solid var(--ic-orange);
}

.dropdown-item {
    color: white;
}

.dropdown-item:hover, .dropdown-item.active {
    background-color: var(--ic-orange);
    color: white;
}

section {
    border-bottom: 1px solid var(--ic-footer-bg) ;
    padding-bottom: 30px;
}

.navbar-custom .dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.navbar-custom .dropdown-menu {
    background-color: var(--ic-navbar-bg);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.navbar-custom .dropdown-item {
    color: white;
    padding: 10px 15px;
}
.navbar-custom .dropdown-item:hover {
    background-color: var(--ic-orange); 
    color: white;
}

.btn-primary{
    background-color: #f19b50;
}

.text-align-left { text-align: left; }
.text-align-center { text-align: center; }
.text-align-right { text-align: right; }
.text-align-justify { text-align: justify; }

.font-small { font-size: 0.9rem; }   
.font-normal { font-size: 1rem; }    
.font-large { font-size: 1.2rem; }   
.font-xlarge { font-size: 1.5rem; }  

.weight-normal { font-weight: normal; }
.weight-bold { font-weight: bold; }
.weight-bolder { font-weight: bolder; }
.weight-lighter { font-weight: lighter; }

a > strong {
  color: var(--ic-orange);
  text-decoration: none; 
  display: inline-block; 
  background-color: var(--ic-orange); 
  color: white; 
  padding: 10px 20px; 
  border-radius: 5px; 
  font-weight: bold; 
  text-align: center; 
  transition: background 0.3s ease; 
}

a > strong:hover {
  background-color: darkorange; 
  color: white; 
}
.gallery-carousel-section .carousel-inner {
    min-height: 200px;
    display: flex;
    align-items: center;
}

.gallery-carousel-section .gallery-row {
    width: 100%;
    margin: 0;
}

.gallery-carousel-section .gallery-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-img {
    max-height: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}
.gallery-carousel-mobile {
    display: none;
}

@media (min-width: 769px) {
    .news-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    .news-body {
        flex: 1;
    }
    .news-date {
        order: 2;
        margin-bottom: 0;
        margin-left: 20px;
        align-self: flex-end;
        min-width: auto;
    }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtext {
    font-size: 1rem;
  }
  .hero-section {
    height: 300px;
  }
    .footer-banners {
    flex-direction: column;
    gap: 20px; 
  }
    .quote-box {
        height: auto; 
        padding: 1rem !important;

    }

    .quote-text {
        -webkit-line-clamp: 5; 
        font-size: 0.95rem;
    }

    .quote-author {
        font-size: 0.85rem;
    }
    .gallery-carousel-desktop {
        display: block;
    }
    .gallery-carousel-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
    .gallery-carousel-desktop {
        display: none;
    }
    .gallery-carousel-mobile {
        display: block;
    }

}

@media (max-width: 768px) {
    .news-date {
        width: 100%;
        justify-content: center;
        align-items: center;
        border-radius: 10px 10px 10px 10px; 
        margin-bottom: 8px;
        padding: 4px 0; 
        font-size: 1.1rem;
        white-space: normal;
    }

    .news-month, .news-year, .news-day {
        font-size: 1.1rem;
    }
}
main table {
  border-collapse: collapse;
  background-color: white;
  color: var(--ic-text-dark);
  font-size: 1rem;
  margin: 1.5em auto;
  width: auto;
  max-width: 600px;
}

main table th,
main table td {
  border: 1px solid #333;
  padding: 8px 10px;
  vertical-align: middle;
}

main table th {
  background-color: #f9f9f9;
  font-weight: bold;
  text-align: center;
}

main table th:first-child,
main table td:first-child {
  text-align: center;
  width: 4em;
}

main table th:nth-child(3),
main table th:nth-child(4),
main table td:nth-child(3),
main table td:nth-child(4) {
  text-align: center;
}

@media (max-width: 768px) {
  main table {
    max-width: 100%;
    margin: 1em 0;
  }
}
  p > a{
    color: var(--ic-orange) !important;
    text-decoration: none;
    font-weight: bold;
    background-color: var(--ic-navbar-bg);
}