/*========================================
  GLOBAL RESET & CUSTOM VARIABLES
========================================*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #13547a;
  --secondary-color:              #3A5A40;
  --section-bg-color:             #f0f8ff;
  --custom-btn-bg-color:          #0e5b4f;
  --custom-btn-bg-hover-color:    #13547a;
  --dark-color:                   #000000;
  --p-color:                      #fff;
  --border-color:                 #7fffd4;
  --link-hover-color:             #13547a;

  --body-font-family:             'Open Sans', sans-serif;
  --title-font-family:            'Montserrat', sans-serif;

  --h1-font-size:                 58px;
  --h2-font-size:                 46px;
  --h3-font-size:                 32px;
  --h4-font-size:                 28px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  20px;
  --menu-font-size:               14px;
  --btn-font-size:                18px;
  --copyright-font-size:          16px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-normal:           400;
  --font-weight-medium:           500;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}

/*========================================
  TYPOGRAPHY
========================================*/
body {
  background-color: var(--white-color);
  font-family: var(--body-font-family);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--title-font-family);
  font-weight: var(--font-weight-semibold);
  margin: 0;
}
h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}
h2 {
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-bold);
}
h3 { font-size: var(--h3-font-size); }
h4 { font-size: var(--h4-font-size); }
h5 { font-size: var(--h5-font-size); }
h6 {
  color: var(--primary-color);
  font-size: var(--h6-font-size);
}
p, ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}
a, button {
  transition: all 0.3s;
  text-decoration: none;
  color: var(--primary-color);
}
a:hover {
  color: var(--link-hover-color);
}
b, strong {
  font-weight: var(--font-weight-bold);
}

/*========================================
  SITE HEADER
========================================*/
.site-header {
  background-image: linear-gradient(15deg, #0e5b4f 0%, #51cf66 100%);
  padding-top: 150px;
  padding-bottom: 80px;
}
.site-header .container { height: 100%; }
.breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-item a:hover,
.breadcrumb-item.active {
  color: var(--white-color);
}
.site-header .custom-icon {
  color: var(--white-color);
  font-size: var(--h4-font-size);
}
.site-header .custom-icon:hover {
  color: var(--secondary-color);
}

/*========================================
  NAVIGATION (CONSOLIDATED)
========================================*/

/* Base Navbar */
.navbar {
  background-color: var(--custom-btn-bg-color);
  border-bottom: 1px solid rgba(128, 208, 199, 0.35);
  z-index: 9;
}

/* Navbar Brand */
.navbar-brand {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
}
.navbar-brand span { font-family: var(--title-font-family); }
.navbar-brand img {
  height: 60px;
  width: 60px;
  /* Remove inline padding and control via media query */
  padding-left: 0;
}

/* Navbar Toggler */
.navbar-toggler {
  border: none;
  background: transparent;
  font-size: 24px;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}
.navbar-toggler:focus { outline: none; box-shadow: none; }
.navbar-toggler.open::before {
  content: "✖";
  font-size: 24px;
}
.navbar-toggler.open .navbar-toggler-icon { display: none; }
.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 200ms ease-in-out;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
  z-index: 1050;
}
.navbar-toggler .navbar-toggler-icon::before,
.navbar-toggler .navbar-toggler-icon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  background-color: var(--white-color);
  width: 30px;
  height: 2px;
}
.navbar-toggler .navbar-toggler-icon::before { top: -8px; }
.navbar-toggler .navbar-toggler-icon::after { top: 8px; }

/* Dropdown & Nav Link Styles */
.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: var(--border-radius-large);
  margin: 10px;
  padding: 10px;
}
.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-family: var(--body-font-family);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover { color: var(--white-color); }
.navbar .dropdown-menu {
  background: var(--white-color);
  box-shadow: 0 1rem 3rem rgba(0,0,0,0.175);
  border: 0;
  opacity: 0;
  min-width: 9rem;
  margin-top: 20px;
  padding: 13px 0 10px 0;
  transition: all 0.3s;
  pointer-events: none;
}
.navbar .dropdown-menu::before {
  content: "";
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 15px solid var(--white-color);
  position: absolute;
  top: -10px;
  left: 10px;
}
.navbar .dropdown-item {
  display: inline-block;
  color: var(--p-color);
  font-family: var(--title-font-family);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
}
.navbar .dropdown-item.active,
.navbar .dropdown-item:active,
.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  background: transparent;
  color: var(--primary-color);
}
.navbar .dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  line-height: 1;
  vertical-align: -.125em;
  position: relative;
  left: 2px;
  border: 0;
}
@media screen and (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
  }
}
.navbar-icon {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  display: inline-block;
  font-size: var(--h5-font-size);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  transition: all 0.3s ease;
}
.navbar-icon:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

/* Floating Nav (for sticky effect) */
.floating-nav {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background-color: #fff !important;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.floating-nav-hidden {
  transform: translateY(-100%);
}



/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--secondary-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  transition: all 0.3s;
  padding: 10px 20px;
}

.custom-btn:hover {
  background: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn:hover {
  background: var(--custom-btn-bg-color);
  border-color: transparent;
  color: var(--white-color);
}

.custom-btn-bg-white {
  border-color: var(--white-color);
  color: var(--white-color);
}



/*========================================
  HERO SECTION & HERO OVERLAY
========================================*/
.hero-section {
  background-image: url('https://images.ctfassets.net/alcjc9drsa23/26JRasRzrzj3jg6UVtDLZf/f068642a67cdbcbf988cfbb927f513d7/cid4697_Ver-bouwen-met-of-zonder-vergunning_HEADER.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 150px;
}
.hero-section .input-group {
  background-color: var(--white-color);
  border-radius: var(--border-radius-large);
  padding: 10px 15px;
}
.hero-section .input-group-text { background-color: transparent; border: 0; }
.hero-section input[type="search"] {
  border: 0;
  box-shadow: none;
  margin-bottom: 0;
  padding-left: 0;
}
.hero-section button[type="submit"] {
  background-color: var(--primary-color);
  border: 0;
  border-radius: var(--border-radius-large) !important;
  color: var(--white-color);
  max-width: 150px;
}

/* HERO OVERLAY */

.hero-section-over {
  background-image: url('https://guidable-jobs.s3.amazonaws.com/uploads/article/thumbnail/31/shutterstock_1938225355.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 250px; /* Adjust as needed (200px or 250px) */
  text-align: center;
  color: white;
}

.hero-section-over::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust overlay opacity here */
  z-index: 1;
}

.hero-section-over * {
  position: relative;
  z-index: 2;
}

.hero-section-over .content-box {
  background-color: white;
  border-radius: var(--border-radius-large);
  padding: 20px;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}


.hero-section-over-1 {
  background-image: url('https://www.followmyfootprints.nl/wp-content/uploads/2020/11/uitkijktoren-de-kaap-uitzicht.jpeg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding-top: 150px;
  padding-bottom: 250px; /* Adjust as needed (200px or 250px) */
  text-align: center;
  color: white;
}

.hero-section-over-1::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust overlay opacity here */
  z-index: 1;
}

.hero-section-over-1 * {
  position: relative;
  z-index: 2;
}

.hero-section-over-1 .content-box {
  background-color: white;
  border-radius: var(--border-radius-large);
  padding: 20px;
  max-width: 80%;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/*========================================
  TOPICS & FEATURED SECTION
========================================*/
.featured-section {
  background-color: var(--secondary-color);
  border-radius: 0 0 100px 100px;
  padding-bottom: 100px;
}
.featured-section .row {
  position: relative;
  bottom: 100px;
  margin-bottom: -100px;
}
.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}
.custom-block:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}
.custom-block > a { width: 100%; }
.custom-block-image {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-top: 35px;
}
.custom-block .rounded-pill {
  border-radius: 5px !important;
  display: flex;
  justify-content: center;
  text-align: center;
  width: 30px;
  height: 30px;
  line-height: 20px;
}



.custom-block-overlay {
  height: 100%;
  min-height: 420px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.custom-block-overlay > a { height: 100%; }
.custom-block-overlay .custom-block-image {
  border-radius: var(--border-radius-medium);
  display: block;
  height: 100%;
  object-fit: cover;
  margin-top: 0;
}
.custom-block-overlay-text {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
}
.custom-block-overlay-text p {
  margin-bottom: 20px;
}

.section-overlay {
  background-image: linear-gradient(15deg, #13547a 0%, #80d0c7 100%);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}


/* ✅ Ensure Featured Section is Properly Positioned */
.featured-section-1 {
  background-color: var(--secondary-color);
  border-radius: 0 0 100px 100px;
  padding-bottom: 100px;
  position: relative;
  z-index: 3; /* Ensure it's above overlay */
}

/* ✅ Shift the White Box Higher Without Being Cut */
.featured-section-1 .row {
  position: relative;
  bottom: 80px; /* Adjusted so it floats over the dark section */
  margin-bottom: -80px;
}

/* ✅ White Card Styles */
.custom-block-1 {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); /* Soft shadow for contrast */
}



/* ✅ Ensure Featured Section is Properly Positioned */
.featured-section-2 {
  background-color: var(--secondary-color);
  border-radius: 0 0 100px 100px;
  padding-bottom: 100px;
  position: relative;
  z-index: 3;
}

/* ✅ Shift the White Box Higher Without Being Cut */
.featured-section-2 .row {
  position: relative;
  bottom: 80px; /* Adjusted so it floats over the dark section */
  margin-bottom: -80px;
}

/* ✅ White Card Styles */
.custom-block-2 {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px;
  /* Removed transition: all 0.3s ease; */
  /* Removed height: 100%; if not strictly needed */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Lighter shadow */
  transform: translateZ(0); /* Promote to its own layer */
  will-change: transform;
}














/*========================================
  TOPICS DETAIL & PAGINATION
========================================*/
.topics-detail-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}
.topics-detail-block-image {
  display: block;
  border-radius: var(--border-radius-medium);
}
blockquote {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-family: var(--title-font-family);
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
  display: inline-block;
  text-align: center;
  margin: 30px;
  padding: 40px;
}
.topics-listing-page .site-header { padding-bottom: 65px; }
.custom-block-topics-listing-info { margin: 30px 20px 20px 30px; }
.custom-block-topics-listing { height: inherit; }
.custom-block-topics-listing .custom-block-image { width: 200px; }
.pagination {
  margin-top: 40px;
}
.page-link {
  border: 0;
  border-radius: var(--border-radius-small);
  color: var(--p-color);
  font-family: var(--title-font-family);
  margin: 0 5px;
  padding: 10px 20px;
}
.page-link:hover,
.page-item:first-child .page-link:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}
.page-item:first-child .page-link { margin-right: 10px; }
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-small);
}
.active>.page-link, .page-link.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/*========================================
  TIMELINE
========================================*/
.timeline-section {
  background-image: url('https://www.shutterstock.com/image-photo/engineer-man-handshake-asian-business-600nw-1233101593.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}
.timeline-container .vertical-scrollable-timeline {
  list-style-type: none;
  position: relative;
  padding-left: 0;
}
.timeline-container .vertical-scrollable-timeline .list-progress {
  width: 8px;
  height: 87%;
  background-color: var(--primary-color);
  position: absolute;
  left: 52px;
  top: 0;
  overflow: hidden;
}
.timeline-container .vertical-scrollable-timeline .list-progress .inner {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  background-color: var(--secondary-color);
  width: 100%;
}
.timeline-container .vertical-scrollable-timeline li {
  position: relative;
  padding: 20px 0px 65px 145px;
}
.timeline-container .vertical-scrollable-timeline li:last-child {
  padding-bottom: 0;
}
.timeline-container .vertical-scrollable-timeline li p {
  line-height: 40px;
}
.timeline-container .vertical-scrollable-timeline li p:last-child {
  margin-bottom: 0;
}
.timeline-container .vertical-scrollable-timeline li .icon-holder {
  position: absolute;
  left: 0;
  top: 0;
  width: 104px;
  height: 104px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: 1;
  transition: 0.4s all;
}
.timeline-container .vertical-scrollable-timeline li .icon-holder::before {
  content: "";
  width: 80px;
  height: 80px;
  border: 4px solid #fff;
  position: absolute;
  background-color: var(--secondary-color);
  border-radius: 50%;
  z-index: -1;
  transition: 0.4s all;
}
.timeline-container .vertical-scrollable-timeline li .icon-holder i {
  font-size: 25px;
  color: var(--white-color);
}
.timeline-container .vertical-scrollable-timeline li::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 8px;
  background-color: transparent;
  left: 52px;
  z-index: 0;
}
.timeline-container .vertical-scrollable-timeline li.active .icon-holder {
  background-color: var(--primary-color);
}
.timeline-container .vertical-scrollable-timeline li.active .icon-holder::before {
  background-color: var(--primary-color);
}

/*---------------------------------------
  FAQs              
-----------------------------------------*/
.faq-section .accordion-item {
  border: 0;
}

.faq-section .accordion-button {
  font-size: var(--h6-font-size);
  font-weight: var(--font-weight-semibold);
}

.faq-section .accordion-item:first-of-type .accordion-button {
  border-radius: var(--border-radius-large);
}

.faq-section .accordion-button:not(.collapsed) {
  border-radius: var(--border-radius-large);
  box-shadow: none;
  color: var(--primary-color);
}

.faq-section .accordion-body {
  color: var(--p-color);
  font-size: var(--btn-font-size);
  line-height: 40px;
}

/*---------------------------------------
  NEWSLETTER               
-----------------------------------------*/
.newsletter-image {
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.google-map {
  border-radius: var(--border-radius-medium);
}

.contact-form .form-floating>textarea {
  border-radius: var(--border-radius-medium);
  height: 150px;
}


/*---------------------------------------
  SUBSCRIBE FORM               
-----------------------------------------*/
.subscribe-form-wrap {
  padding: 50px;
}

.subscribe-form {
  width: 95%;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  color: var(--p-color);
  margin-bottom: 24px;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-left: 20px;
  outline: none;
}

.form-floating>label {
  padding-left: 20px;
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--secondary-color);
  font-family: var(--title-font-family);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-semibold);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--custom-btn-bg-hover-color);
  border-color: transparent;
}


/* Company Card */
.company-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.1);
  max-width: 900px;
  margin: 20px auto;
}
.company-card h2 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 30px;
}
.company-card h5 {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 10px;
}
.company-card p {
  font-size: 1rem;
  color: #333;
  margin-bottom: 15px;
}
.company-logo {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
}
@media (max-width: 420px) {
  .company-card {
    max-width: 400px;
  }
  .company-card h2 {
    font-size: 1.5rem;
  }
  .company-card h5 {
    font-size: 1rem;
  }
  .company-card p {
    font-size: 0.9rem;
  }
  .company-logo {
    width: 150px;
    margin-bottom: 15px;
  }
}

/* Table Responsive */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
}
#companiesTable {
  display: inline-block;
  width: auto !important;
  margin: 0 auto;
  border-collapse: collapse;
  box-sizing: border-box;
}
#companiesTable td {
  text-align: center;
  vertical-align: top;
  padding: 10px;
  box-sizing: border-box;
}

/* Carousel & Blockquote */
.carousel-inner {
  padding: 10px;
  background: #f8f9fa;
  border-radius: 10px;
}
.blockquote {
  font-style: italic;
  color: #444;
}
.blockquote-footer {
  font-size: 0.85rem;
  color: #777;
}

/* Floating Navigation & Search */
.floating-search-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  margin-top: -4px;
}
.floating-search-form {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: none;
}
.floating-search-form .input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 0;
  border-radius: 8px 0 0 8px;
  height: 40px;
}
.floating-search-input {
  border: 1px solid #ced4da;
  flex-grow: 1;
  padding: 8px;
  height: 40px;
}
.floating-search-btn {
  background-color: #6c757d;
  color: white;
  padding: 8px 15px;
  border: 1px solid #6c757d;
  border-radius: 0 8px 8px 0;
  height: 40px;
  font-weight: bold;
  transition: background 0.3s;
}
.floating-search-btn:hover {
  background-color: #495057;
}

/* Floating Buttons */
.floating-button {
  position: fixed;
  bottom: 20px;
  padding: 14px 20px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  transition: all 0.3s ease-in-out;
  white-space: nowrap;
}
.floating-button.left {
  left: 20px;
  background-color: #6C757D;
  color: black;
}
.floating-button.right {
  right: 20px;
  background-color: #DAD7CD;
}
.floating-button:hover {
  opacity: 0.85;
  text-decoration: none;
}
@media (max-width: 768px) {
  .floating-button {
    font-size: 16px;
    padding: 10px 16px;
  }
}

/* Partner Button */
.partner-btn {
  background-color: #6C757D;
  color: white;
  border: 2px solid #3A5A40;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}
.partner-btn i {
  margin-right: 8px;
}
.partner-btn-outline {
  background-color: transparent;
  color: #6C757D;
  border: 2px solid #3A5A40;
}
.partner-btn:hover, .partner-btn-outline:hover {
  background-color: #DAD7CD;
  color: white;
  border-color: #3A5A40;
  text-decoration: none;
}

/* Category Tabs for Explore Section */
.category-tab-item,
.close-categories {
  display: none;
}

/*---------------------------------------
  RESPONSIVE STYLES
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 32px; }
  h4 { font-size: 28px; }
  h5 { font-size: 20px; }
  h6 { font-size: 18px; }
  .section-padding { padding-top: 50px; padding-bottom: 50px; }
  
  .navbar { background-color: var(--custom-btn-bg-color); 
      position: fixed;
      top: 0;
      width: 100%;}
  .navbar-expand-lg .navbar-nav { padding-bottom: 20px; }
  .navbar-expand-lg .navbar-nav .nav-link { padding: 0; }
  .nav-tabs .nav-link { font-size: var(--copyright-font-size); padding: 10px; }
  .featured-section { border-radius: 0 0 80px 80px; padding-bottom: 50px; }
  .timeline-container .vertical-scrollable-timeline .list-progress { height: 75%; }
  .timeline-container .vertical-scrollable-timeline li { padding-left: 135px; }
  .subscribe-form-wrap { padding-top: 30px; padding-bottom: 0; }
}
@media screen and (max-width: 480px) {
  h1 { font-size: 36px; }
  h2 { font-size: 28px; }
  h3 { font-size: 26px; }
  h4 { font-size: 22px; }
  h5 { font-size: 20px; }
}

/* DataTables Customizations */
.dataTables_length, .dataTables_filter, .dataTables_paginate {
  padding: 10px;
  margin: 5px;
}
.dataTables_length select, .dataTables_filter input {
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 5px;
}
.dataTables_paginate .paginate_button {
  padding: 5px 10px;
  margin: 2px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f5f5f5;
}
.dataTables_paginate .paginate_button.current, 
.dataTables_paginate .paginate_button:hover {
  background-color: #007bff;
  color: white;
}

/*---------------------------------------
  CUSTOM: Additional adjustments
-----------------------------------------*/
/* Adjust overlay text stack and image size on mobile for section_2 */
@media (max-width: 576px) {
  .custom-block-overlay-text {
    flex-direction: column !important;
    text-align: center;
    align-items: center;
    gap: 10px;
  }
  .custom-block-overlay-text h5 { font-size: 1.25rem; }
  .custom-block-overlay-text p { font-size: 0.9rem; }
  .btn.custom-btn { font-size: 0.9rem; padding: 8px 12px; }
  .custom-block-overlay-text span { align-self: center; }
  .section-overlay { padding-bottom: 2rem; }

  /* Adjust image size in section_2 */
  .custom-block-image {
    max-width: 225px; /* 75px bigger than 150px */
    height: auto;
    display: block;
    margin: 0 auto;
  }
}





  /* Event Card Styles */
  .event-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  /* Card Header with Gradient Background */
  .event-card .card-header {
    background: linear-gradient(45deg, #007bff, #6610f2);
    padding: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  }
  .event-card .card-header .card-title {
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
  }
  /* Card Body Styling */
  .event-card .card-body {
    padding: 1rem;
    background-color: #f8f9fa;
  }
  .event-card .card-body p {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 0.75rem;
  }
  .event-card .card-body p i {
    margin-right: 5px;
    color: #007bff;
  }
  /* Section Title and Decorative Line */
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .title-line {
    width: 50px;
    height: 4px;
    padding-top:6px;
    background-color: var(--secondary-color);
    margin: 0 auto 20px;
  }

