/**
 * WEBSITE: https://themefisher.com
 * TWITTER: https://twitter.com/themefisher
 * FACEBOOK: https://www.facebook.com/themefisher
 * GITHUB: https://github.com/themefisher/
 */

/* Typography */
@import url("https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700");

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.main-wrapper {
  flex: 1; /* Pushes footer to bottom */
}

p, .paragraph {
  font-weight: 400;
  color: #5c5c77;
  font-size: 15px;
  line-height: 1.9;
  font-family: "Poppins", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  color: #1e1e4b;
  font-family: "futura-bold";
  font-weight: 700;
  line-height: 1.2;
}

/* Font size adjustments for responsiveness */
h1, .h1 {
  font-size: 60px;
}
@media (max-width: 575px) {
  h1, .h1 {
    font-size: 45px;
  }
}

h2, .h2 {
  font-size: 40px;
}
@media (max-width: 575px) {
  h2, .h2 {
    font-size: 30px;
  }
}

h3, .h3 {
  font-size: 25px;
}
@media (max-width: 575px) {
  h3, .h3 {
    font-size: 20px;
  }
}

h4, .h4 {
  font-size: 20px;
}
@media (max-width: 575px) {
  h4, .h4 {
    font-size: 18px;
  }
}

h5, .h5 {
  font-size: 18px;
}
@media (max-width: 575px) {
  h5, .h5 {
    font-size: 16px;
  }
}

h6, .h6 {
  font-size: 16px;
}
@media (max-width: 575px) {
  h6, .h6 {
    font-size: 14px;
  }
}

/* Button Styles */
.btn {
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  text-transform: capitalize;
  padding: 15px 40px;
  border-radius: 0;
  font-weight: 500;
  border: 0;
  position: relative;
  z-index: 1;
  transition: 0.2s ease;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  position: absolute;
  content: "";
  height: 80%;
  width: 100%;
  left: 0;
  bottom: 10%;
  z-index: -1;
  transition: transform 0.2s ease-in-out;
  transform-origin: top;
  transform: scaleY(0);
}

.btn:active, .btn:hover, .btn.focus, .btn:focus, .btn.active {
  outline: 0;
  box-shadow: none !important;
}

.btn:active::before, .btn:hover::before, .btn.focus::before, .btn:focus::before, .btn.active::before {
  transform: scaleY(1);
  transform-origin: bottom;
}

.btn-primary {
  color: #fff;
  background-color: #ffbc3b;
}

.btn-primary::before {
  background-color: #fff;
}

.btn-primary:active, .btn-primary:hover, .btn-primary.focus, .btn-primary:focus, .btn-primary.active {
  color: #ffbc3b !important;
  background-color: #ffab08 !important;
  border-color: #ffab08 !important;
}

.btn-outline-primary {
  color: #ffbc3b;
  background-color: transparent;
  border: 1px solid #ffbc3b;
}

.btn-outline-primary::before {
  background-color: #fff;
}

.btn-outline-primary:active, .btn-outline-primary:hover, .btn-outline-primary.focus, .btn-outline-primary:focus, .btn-outline-primary.active {
  color: #ffbc3b !important;
  background-color: #ffbc3b !important;
  border-color: #ffbc3b !important;
}

.btn-light {
  color: #ffbc3b;
  background-color: #fff;
  border: 1px solid #fff;
}

.btn-light::before {
  background-color: #ffbc3b;
}

.btn-light:active, .btn-light:hover, .btn-light.focus, .btn-light:focus, .btn-light.active {
  color: #fff !important;
  background-color: #fff !important;
  border: 1px solid #fff !important;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFDC11;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* List styles */
ol, ul {
  list-style-type: none;
  margin: 0px;
}

img {
  vertical-align: middle;
  border: 0;
}

a, a:hover, a:focus {
  text-decoration: none;
}

a, button, select {
  cursor: pointer;
  transition: 0.2s ease;
}

a:focus, button:focus, select:focus {
  outline: 0;
}

a:hover {
  color: #ffbc3b;
}

a.text-primary:hover {
  color: #ffbc3b !important;
}

a.text-light:hover {
  color: #ffbc3b !important;
}

h4 {
  transition: 0.2s ease;
}

a h4:hover {
  color: #ffbc3b;
}

/* Section styles */
.section {
  padding-top: 90px;
  padding-bottom: 90px;
}

.section-sm {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section-title {
  margin-bottom: 30px;
}

/* Background and overlay */
.bg-cover {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.overlay {
  position: relative;
}

.overlay::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: #1a1a37;
  opacity: 0.8;
}

.border-primary {
  border-color: #ededf1 !important;
}

/* Text color and font weight */
.text-primary {
  color: #ffbc3b !important;
}

.text-color {
  color: #5c5c77;
}

.text-light {
  color: #8585a4 !important;
}

.text-lighten {
  color: #d6d6e0 !important;
}

.text-muted {
  color: #b5b5b7 !important;
}

.text-dark {
  color: #1e1e4b !important;
}

.font-secondary {
  font-family: "futura-bold";
}

/* Margin helpers */
.mb-10 {
  margin-bottom: 10px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mb-30 {
  margin-bottom: 30px !important;
}

.mb-40 {
  margin-bottom: 40px !important;
}

.mb-50 {
  margin-bottom: 50px !important;
}

.mb-60 {
  margin-bottom: 60px !important;
}

.mb-70 {
  margin-bottom: 70px !important;
}

.mb-80 {
  margin-bottom: 80px !important;
}

.mb-90 {
  margin-bottom: 90px !important;
}

.mb-100 {
  margin-bottom: 100px !important;
}
/* Page title */
.page-title-section {
  padding: 200px 0 80px;
}
/* Background for right-hand menu */
.background-container {
  background-color: #fabd29;
  padding: 10px; /* Reduced padding */
  border-radius: 5px;
}

/* Transition effect for the nav-link */
.nav-item .nav-link {
  transition: background-color 0.3s ease;
}

/* Show dropdown on hover (without requiring a click) */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;  /* Ensure dropdown appears on hover */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease; /* Smooth transition for dropdown visibility */
}

/* Dropdown menu default styling */
.dropdown-menu {
  display: none; /* Initially hide the dropdown */
  position: absolute;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  padding: 10px;
  margin: 20px;
  width: 200px; /* Adjust the width as needed */
  z-index: 1000;
  opacity: 0; /* Initially hide with zero opacity */
  visibility: hidden; /* Hidden by default */
}

/* Dropdown items styling */
.nav-item .dropdown-menu a {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  display: block;
}

/* Hover effect on dropdown items */
.nav-item .dropdown-menu a:hover {
  background-color: #fabd29; /* Highlight color on hover */
  color: #fff;
}

/* Ensure dropdown link is black */
.navbar .nav-item .nav-link.dropdown-toggle {
  color: black !important; /* Force the text to be black */
}

/* Darker color when hovering over the dropdown link */
.navbar .nav-item .nav-link.dropdown-toggle:hover {
  color: #333; /* Darker shade on hover */
}

/* For smaller screens */
@media (max-width: 992px) {
  /* Ensure collapse covers 60% of the screen width */
  .navbar-collapse {
    position: absolute;
    top: 56px;  /* height of navbar */
    right: 0;
    width: 60%;  /* Takes 60% of the width */
    background-color: #fff;
    z-index: 1000;
    margin-right: 10px;
    margin-top: 20px; /* Adds margin to the top */
  }

  /* Ensure dropdown menu is aligned right but text aligned left */
  .navbar-collapse .dropdown-menu {
    position: absolute !important;
    float: none;
    width: 200px; /* Adjust width as needed */
    background-color: #fabd29;
    margin: 0;
    border: none;
    border-radius: 0;
    right: 0; /* Align dropdown to the right of the container */
    text-align: left; /* Ensure dropdown text aligns left */
  }

  /* Ensure each dropdown-item is aligned left but overall dropdown stays right */
  .navbar-collapse .dropdown-menu .dropdown-item {
    text-align: left; /* Align text of dropdown items */
  }

  /* Toggler on top right */
  .navbar-toggler {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1100;
  }

  /* Smaller brand for better mobile view */
  .navbar-brand .brand-name { 
    font-size: 16px; 
  }

  .navbar-brand .brand-desc { 
    font-size: 10px; 
  }

  /* Adjust padding for small screens */
  .background-container {
    margin: 10px;  /* Margin for small screens */
    padding: 5px;  /* Reduced padding */
  }
}


.owl-nav,
.owl-dots {
    display: none !important;
}

.feature-icon {
  font-size: 2rem;
  color: #007bff;
}

.feature-blocks p,
.feature-blocks ol {
  margin-bottom: 0;
}

.feature-blocks {
  background-color: #f8f9fa;
}

/* Container to hold all 5 cards in one line */
.team-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: nowrap; /* No wrapping on large screens */
  max-width: 100%;
  overflow-x: auto; /* Optional: horizontal scroll on smaller screens */
  padding: 20px;
}

/* Each team card */
.team-card {
  flex: 1 1 18%;  /* Flexbox for equal sizing */
  max-width: 18%;  /* Same for consistency */
  text-align: center;
  background-color: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 350px;  /* Set a fixed height for consistency */
  margin-bottom: 20px;  /* Ensure spacing between cards */
}

/* Image styling */
.team-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

/* Text styles */
.team-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

.team-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

/* Social icons */
.list-inline {
  padding: 0;
  margin: 0;
  list-style: none;
}

.list-inline-item {
  display: inline-block;
  margin: 0 5px;
}

.text-color {
  color: #007bff;
  font-size: 18px;
}

/* Responsive for small screens */
@media (max-width: 991px) {
  .team-layout {
    flex-wrap: wrap;
    justify-content: center;
  }

  .team-card {
    max-width: 45%;
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .team-card {
    max-width: 90%;
  }

  .team-img {
    width: 120px;
    height: 120px;
  }
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: none; /* Hide initially, show with JavaScript on scroll */
  width: 45px;
  height: 45px;
  border-radius: 50%;
  padding: 0;
  text-align: center;
  line-height: 45px;
  font-size: 20px;
}