/* Media Types */
@media screen and (max-width: 767px) {
  #header,
  #content,
  #top-container,
  #bottom-container,
  #body {
    width: 100% !important;
    margin: 0;
    padding: 0;
  }

  #top-container {
    height: 100%;
  }

  #content {
    padding-bottom: 2.5rem;
  }

  #body {
    position: relative;
    min-height: 100vh;
  }

  body {
    line-height: 1.5 !important;
  }

  .da-slider {
    min-width: 100% !important;
  }

  .da-slide {
    width: 100% !important;
    left: 0 !important;
    margin: 0;
    padding: 0;
  }

  .da-slide h2 {
    font-size: 18px !important;
  }

  .da-img img {
    width: 100% !important;
  }
}
/******************************************************/

html,
body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Afacad Flux", serif;
  font-size: 15px;
  margin: 0;
  padding: 0;
  width: 100%;
  color: #2f3542 !important;
  background-color: #f1f2f6;
}

h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin: 20px 0;
  color: #333;
}

h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin: 18px 0;
  color: #444;
}

h3 {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.4;
  margin: 16px 0;
  color: #555;
}

h4 {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.5;
  margin: 14px 0;
  color: #666;
}

h5 {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  margin: 12px 0;
  color: #777;
}

h6 {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.6;
  margin: 10px 0;
  color: #888;
}

.section-head {
  width: 100%;
  margin: 20px 0;
  padding: 0;
}

p {
  font-weight: 400;
  color: #576574;
  margin: 1em 0 !important;
}

.section-head h4 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4px;
  word-spacing: 1px;
  display: inline-block;
  padding: 0 15px;
  position: relative;
}

.section-head h4:before {
  left: -50px;
}

.section-head h4:after {
  right: -50px;
}

.section-head h4:before,
.section-head h4:after {
  content: "";
  width: 50px;
  height: 2px;
  background-color: #f9ca24;
  position: absolute;
  bottom: 3px;
}

*,
::after,
::before {
  box-sizing: border-box;
}

h5 {
  font-size: 15px;
  color: #576574;
  letter-spacing: 2px;
  font-weight: 300;
}

.section-head p:before,
.section-head p:after {
  content: "";
  width: 50px;
  height: 2px;
  background-color: #b3c44e;
  position: absolute;
  bottom: 3px;
}

/*************************************************/
/* Text Mods and add on things */
/*************************************************/
.text-center {
  text-align: center;
}

.bold-text {
  font-weight: bold !important;
}

.light-text {
  color: #b3b3b3;
  font-size: 14px;
}

.bullet:before {
  content: "•";
}

.login-button {
  width: 150px;
  margin: auto;
}

.center {
  margin: 0 auto;
}

.textcenter {
  text-align: center;
}

.ml-2,
.mx-2 {
  margin-left: 0.5rem !important;
}

.mr-2,
.mx-2 {
  margin-right: 0.5rem !important;
}

.box h3 {
  font-size: 20px;
  font-weight: 300;
  color: #576574;
}

#header,
#footer,
#content {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

#header {
  background-image: url("../images/img10.jpg");
  background-position: top;
  background-size: cover;
  min-height: 80px;
  overflow: auto;
  color: #fff;
}

#content {
  color: #576574;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  min-height: 100%;
  background-color: #ffffff;
}

#top-container,
#body,
#bottom-container {
  width: min(1300px, calc(100% - 32px));
  margin: 0 auto;
}

#top-container {
  min-height: 66.9px;
}

#body {
  min-height: 100%;
}

#top-nav {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  padding-top: 10px;
  min-height: 75px;
  vertical-align: middle;
}

/*** ALL LINKS ON THE PAGE ****/
#content a {
  text-decoration: none;
  color: #576574;
  transition: all 500ms ease;
  -moz-transition: all 500ms ease;
  -webkit-transition: all 500ms ease;
  -ms-transition: all 500ms ease;
  -o-transition: all 500ms ease;
}

a:hover {
  color: #f9ca24;
}

.dash-a,
.dash-a:visited {
  color: #00a8ff;
}

a {
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}

.dash-a:hover {
  color: #feca57;
}

/**** Styling HR Line ***/
hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

/*****************************/
.top-menu {
  float: right;
  margin-top: 10px;
  z-index: 1;
}

.top-menu a {
  display: block;
  float: left;
  padding: 5px 10px;
  margin: 0;
  color: #fff;
  text-decoration: none;
}

.top-menu a:hover {
  color: #f9ca24;
}

#side-menu {
  display: none;
}

/**** Admin Menu ****/
.amenuwrapper {
  clear: both;
}

.amenu {
  width: 70%;
  float: left;
}

.amenu a {
  padding: 5px;
  text-decoration: none;
}

.aspecialmenu {
  width: 20%;
  float: right;
}

.aspecialmenu a {
  color: #00a8ff;
}

.aspecialmenu a:hover {
  color: #f9ca24;
}

/**** Labels ***/
label {
  float: left;
  color: #576574;
}

/* Styling content on the page */
.services {
  width: 100%;
  margin: 0;
  padding: 0;
  justify-content: center;
}

#mid-container h2 {
  font-size: 40px;
  margin-bottom: 20px;
  text-align: center;
  color: #2f3542;
}

.s1,
.s2,
.s3,
.s4 {
  display: block;
  float: left;
  margin: 0;
}

/********** Image Zoom *********/
#container-zoom {
  overflow: hidden;
}

#container-zoom img {
  display: block;
  transition: transform 0.4s;
}

#container-zoom:hover img {
  transform: scale(1.1);
  transform-origin: 50% 50%;
}

/*******************************/
.s-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.s-content {
  text-align: center;
  margin-top: 10px;
}

quote {
  color: #333;
  font-style: italic;
}

quote:before {
  content: open-quote;
}

quote:after {
  content: close-quote;
}

.quote-name {
  font-size: 18px;
  font-style: italic;
  color: #333;
  text-align: center;
}

/***** Testimonial Images ****/
img .testimonial-image {
  width: 50px;
  height: 50px;
  margin: 5px;
  padding: 5px;
  border-radius: 50px;
  vertical-align: middle;
}

.testimonial-image-large {
  width: 200px;
  height: 200px;
  margin: 5px;
  padding: 10px;
  border-radius: 110px;
  vertical-align: text-top;
}

.slider-image {
  width: 120px;
  height: auto;
  margin: 5px;
  padding: 10px;
  border-radius: 50px;
  vertical-align: middle;
}

/**** Icon Button **/
.iconbutton {
  background-color: #576574;
  border: none;
  border-radius: 2px;
  color: white !important;
  font-weight: 300;
  padding: 5px 10px;
  width: 35px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 11px;
  transition-duration: 0.4s;
}

.iconbutton:hover {
  background-color: #feca57;
  color: white;
}

/****** DELETE BUTTON IN ADMIN Pannel */
#delete2 {
  background-color: #d63031;
}

#delete2:hover {
  background-color: #feca57;
}

/******************/
.addnewbtn {
  color: #fff;
  border-radius: 2px 10px 0 0;
  padding: 5px 20px;
  background-color: #c8d6e5;
  transition-duration: 0.4s;
}

.addnewbtn:hover {
  background-color: #feca57;
  color: #ffffff;
}

/***** WARNING ICONS ******/
.warningicon-red {
  font-size: 50px;
  color: red;
  text-align: center;
}

/***** Basic Table ********/
#basictable {
  width: 100%;
  border-collapse: collapse;
  color: #475f77;
  overflow: auto;
}

#footer {
  background: #0f0f0f;
  color: #ffffff;
  padding-top: 60px;
  font-family: inherit;
  position: relative;
  bottom: 0;
  text-align: center;
}

.footer-container {
  max-width: 1300px;
  margin: auto;
  padding: 0 40px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  text-align: left;
}

.footer-col h3 {
  margin-bottom: 18px;
  font-size: 18px;
  color: #ffc800;
}

.footer-logo {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffc800;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  opacity: 0.8;
  transition: 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffc800;
  opacity: 1;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  color: #ffffff;
  font-size: 18px;
  transition: 0.3s ease;
}

.footer-social a:hover {
  color: #ffc800;
}

.footer-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background: #ffc800;
  color: #000000;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s ease;
}

.footer-btn:hover {
  background: #e6b800;
}

.footer-bottom {
  background: #000000;
  padding: 18px 40px;
  font-size: 13px;
}

.footer-bottom-inner {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0.7;
}

.footer-powered {
  text-align: right;
}

/* General media/content safety */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

table {
  width: 100%;
}

pre,
code {
  white-space: pre-wrap;
  word-wrap: break-word;
}

@media (max-width: 1180px) {
  #top-container,
  #body,
  #bottom-container {
    width: calc(100% - 28px);
  }

  #content {
    padding: 0 14px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 26px;
  }

  #mid-container h2 {
    font-size: 34px;
  }

  .footer-container {
    padding: 0 24px 48px;
    gap: 28px;
  }

  .footer-bottom {
    padding: 16px 24px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  #top-container,
  #body,
  #bottom-container {
    width: calc(100% - 24px);
  }

  #content {
    padding: 0 12px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 23px;
  }

  h4 {
    font-size: 22px;
  }

  .section-head h4 {
    letter-spacing: 2px;
    font-size: 10px;
  }

  #mid-container h2 {
    font-size: 28px;
  }

  .s1,
  .s2,
  .s3,
  .s4 {
    float: none;
    width: 100%;
  }

  .footer-container {
    padding: 0 16px 36px;
    gap: 24px;
  }

  .footer-bottom {
    padding: 16px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-powered {
    text-align: center;
  }
}