/*

TemplateMo 588 ebook landing

https://templatemo.com/tm-588-ebook-landing

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #d2a82a;
  --secondary-color:              #E9C46A;
  --section-bg-color:             #f1f1f1;
  --custom-btn-bg-color:          #d2a82a;
  --custom-btn-bg-hover-color:    #d2a82a;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --link-hover-color:             #d2a82a;

  --body-font-family:             'Unbounded', sans-serif;

  --h1-font-size:                 42px;
  --h2-font-size:                 36px;
  --h3-font-size:                 28px;
  --h4-font-size:                 24px;
  --h5-font-size:                 22px;
  --h6-font-size:                 20px;
  --p-font-size:                  16px;
  --menu-font-size:               12px;
  --btn-font-size:                14px;
  --copyright-font-size:          14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
  background-color: var(--white-color);
  font-family: var(--body-font-family); 
}


/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/

h2,
h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
}

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: #d2a82a;
  font-size: var(--h6-font-size);
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

b,
strong {
  font-weight: var(--font-weight-bold);
}


/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

::selection {
  background-color: var(--secondary-color);
  color: var(--white-color);
}


/*---------------------------------------
  AVATAR IMAGE               
-----------------------------------------*/
.avatar-image {
  border: 4px solid var(--white-color);
  border-radius: 100px;
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.avatar-image-left {
  position: relative;
  left: -10px;
}

.avatar-image-left + .avatar-image-left {
  left: -20px;
}

.avatar-image-left + .avatar-image-left + .avatar-image-left {
  left: -30px;
}

.avatar-image-left + .avatar-image-left + .avatar-image-left + .avatar-image-left {
  left: -40px;
}

.avatar-group,
.reviews-group {
  position: relative;
  z-index: 22;
}

.reviews-group {
  display: inline-block;
  vertical-align: top;
}

.reviews-group strong {
  font-size: var(--h3-font-size);
  margin-right: 10px;
}


/*---------------------------------------
  CUSTOM LINK              
-----------------------------------------*/
.link {
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  color: #d2a82a;
}

.link::before,
.link::after {
  position: absolute;
  width: 100%;
  height: 1px;
  background: currentColor;
  top: 100%;
  left: 0;
  pointer-events: none;
}

.link::before {
  content: '';
}

.link--kale::before {
  height: 10px;
  top: 100%;
  opacity: 0;
  background: #d2a82a;
}

.link--kale:hover::before {
  opacity: 1;
  animation: lineUp 0.3s ease forwards;
  background: #d2a82a;
}

@keyframes lineUp {
    0% {
      transform-origin: 50% 100%;
      transform: scale3d(1, 0.045, 1);
    }

    50% {
      transform-origin: 50% 100%;
      transform: scale3d(1, 1, 1);
    }

    51% {
      transform-origin: 50% 0%;
      transform: scale3d(1, 1, 1);
    }

    100% {
      transform-origin: 50% 0%;
      transform: scale3d(1, 0.045, 1);
    }
}

.link--kale::after {
    content: '';
    transition: opacity 0.3s;
    opacity: 0;
    transition-delay: 0s;
    background: #d2a82a;
}

.link--kale:hover::after {
    opacity: 1;
    transition-delay: 0.3s;
    background: #d2a82a;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: #d2a82a;
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-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: #000000;
  color: #d2a82a;
}

.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);
}

.btn-naira {
  padding: 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
}

.btn-naira::before {
  content: '';
  position: absolute;
  left: -50%;
  width: 200%;
  height: 200%;
  background: var(--primary-color);
  top: -50%;
  z-index: -1;
  -webkit-transform: translate3d(0, -100%, 0) rotate3d(0, 0, 1, -10deg);
  transform: translate3d(0, -100%, 0) rotate3d(0, 0, 1, -10deg);
}

.btn-naira.btn-inverted::before {
  background: #d2a82a;
}

.btn-naira > span {
  display: block;
  vertical-align: middle;
}

.btn-naira .btn-icon {
  position: absolute;
  top: 0;
  width: 100%;
  left: 0;
  color: var(--white-color);
  -webkit-transform: translate3d(0, -100%, 0);
  transform: translate3d(0, -100%, 0);
}

.btn-naira > span,
.btn-naira .btn-icon {
  padding: 10px 20px;
  -webkit-transition: -webkit-transform 0.3s;
  transition: transform 0.3s;
  -webkit-transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
  transition-timing-function: cubic-bezier(0.75, 0, 0.125, 1);
}

.btn-naira:hover::before {
  -webkit-animation: anim-naira-1 0.3s forwards ease-in;
  animation: anim-naira-1 0.3s forwards ease-in;
}

@-webkit-keyframes anim-naira-1 {
  50% {
    -webkit-transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -10deg);
    transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -10deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg);
    transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes anim-naira-1 {
  50% {
    -webkit-transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -10deg);
    transform: translate3d(0, -50%, 0) rotate3d(0, 0, 1, -10deg);
    -webkit-animation-timing-function: ease-out;
    animation-timing-function: ease-out;
  }
  100% {
    -webkit-transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg);
    transform: translate3d(0, 0%, 0) rotate3d(0, 0, 1, 0deg);
  }
}

.btn-naira:hover {
  background-color: var(--primary-color);
  -webkit-transition: background-color 0s 0.3s;
  transition: background-color 0s 0.3s;
}

.btn-naira.btn-inverted:hover {
  background-color: var(--primary-color);
}

.btn-naira:hover .btn-icon {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.btn-naira:hover > span {
  opacity: 0;
  -webkit-transform: translate3d(0, 100%, 0);
  transform: translate3d(0, 100%, 0);
}

.opening {
  padding-top: 30px; /* Add spacing between the sections */
  padding-left: 0; /* Align with the left side of the container */
  text-align: left; /* Ensure the text is left-aligned */
  line-height: 1.6; /* Add line spacing for better readability */
  width: 100%; /* Ensure it spans the container width */
}

.map-container {
  width: 80%; /* Map spans the container width */
  margin-top: 40px; /* Adds space above the map */
  padding: 5px; /* Padding inside the container */
  border-radius: 15px; /* Rounded corners */
  background-color: #fff; /* Map container background */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

iframe {
  width: 100%; /* Map spans the container */
  height: 280px; /* Consistent height */
  border: none; /* Removes iframe border */
  border-radius: 10px; /* Matches container rounding */
}




/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.sticky-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: rgba(0, 0, 0, 0.85);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: black;
  opacity: 92%;
  color: #fff;
  padding: 10px;
  text-align: center;
  z-index: 1000;
}

.cookie-banner p {
  color: white;
}

.cookie-banner a {
  color: #d2a82a;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-banner.cookie-banner:accept{
  color: #d2a82a;
}

.navbar {
  background: transparent;
  z-index: 99;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-brand,
.navbar-brand:hover {
  font-size: var(--h3-font-size);
  font-weight: var(--font-weight-bold);
  display: block;
  color: var(--white-color);
}


.navbar-logo {
  background: none; /* Remove any background color */
  border-radius: 0; /* Remove the border-radius for a non-rounded logo */
  display: inline-block; /* Align it properly */
  width: auto; /* Maintain the natural width of the image */
  height: 50px; /* Adjust the height as needed */
  line-height: normal; /* Reset line height */
  text-align: center; /* Center-align content */
  position: relative; /* Maintain position if needed */
}


.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-size: var(--menu-font-size);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.5px;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active, 
.navbar-nav .nav-link:hover {
  color: #d2a82a;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  HERO        
-----------------------------------------*/
.hero-section {
  background-image: url('../images/businessman-sitting-by-table-cafe.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 50px;
}

.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.45);
}

.hero-section .row {
  position: relative;
  z-index: 22;
  top: 100px;
}

.hero-image {
  position: relative;
  z-index: 2;
  bottom: 100px;
  display: block;
  margin: auto;
}

@media screen and (min-width: 768px) {
  .hero-section {
    height: calc(90vh - 88px);
    padding-top: 350px;
  }
}

@media screen and (max-width: 768px) {
  .hero-section .container {
    position: relative;
    top: 85px; /* Pushes the entire container down */
  }

  .hero-section .col-lg-6 {
    margin-top: 20px; /* Adds extra spacing for finer adjustment */
  }

  .hide-on-mobile {
    display: none;
}
}

@media (max-width: 767px) { /* Apply for mobile screens only */
  .contact-map-container .contact-info {
      order: 2; /* Move Contact Info after the Map */
      text-align: center;
  }

  .contact-map-container .map-container {
      order: 1; /* Map appears before Contact Info */
  }

  .contact-map-container {
      display: flex;
      flex-direction: column;
      padding-top: 80px; /* Adjust spacing */
  }
}

@media (max-width: 767px) { /* Mobile View Only */
  #section_2 .row {
      display: flex;
      flex-direction: column-reverse; /* Reverse the order of the children */
  }
}



/*---------------------------------------
  FEATURED              
-----------------------------------------*/
.featured-section {
  background-color: var(--custom-btn-bg-color);
  position: relative;
  padding-top: 50px;
  padding-bottom: 50px;
}

.featured-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 450px 450px;
  border-color: transparent transparent var(--white-color) transparent;
  pointer-events: none;
}


/*---------------------------------------
  CUSTOM BLOCK              
-----------------------------------------*/
.custom-block {
  background-image: url('../images/backg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.custom-block::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.45);
}

.custom-block .avatar-image {
  min-width: 60px;
  margin: auto;
  left: 0;
}

.custom-block .bi-star {
  color: var(--white-color);
}

.custom-block .bi-star-fill {
  color: var(--secondary-color);
}

/* Gallery Container */
#gallery {
  background: #ffffff;
  width: 100%;
  padding: 50px 0;
}

/* Project Wrapper */
.project {
  position: relative;
  overflow: hidden;
  border-radius: 10px; /* Add rounded corners */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add shadow */
  background-color: #f9f9f9; /* Optional: for a consistent background */
}

/* Project Image */
.project__image {
  display: block;
  width: 100%;
  height: 250px; /* Set a consistent height */
  object-fit: cover; /* Ensure the image scales and crops to fit */
  border: 3px solid #f4b400; /* Adds a border around the image */
  border-radius: 8px;
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.project:hover .project__image {
  transform: scale(1.05); /* Slight zoom effect */
  box-shadow: 0px 200px 200px rgba(0, 0, 0, 0.4);
}

/* Overlay Effect */
.grid__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
  border-radius: 10px; /* Match the parent border radius */
}

.project:hover .grid__overlay {
  opacity: 1;
}

.viewbutton {
  background: #d39e00;
  border: none;
  color: #ffffff;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  border-radius: 5px; /* Rounded button */
}

.viewbutton:hover {
  background: #d39e00;
}

/* Lightbox Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.overlay__inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%; /* Ensure it scales well */
  max-width: 650px; /* Maximum width for larger screens */
  max-height: 100%; /* Prevent overflowing vertically */
}

.overlay__inner img {
  width: 100%; /* Ensure it takes full width of the container */
  height: auto; /* Maintain aspect ratio */
  max-height: 500px; /* Prevent vertical overflow */
  object-fit: cover; /* Ensure the image scales well */
}

.overlay .close {
  position: absolute;
  top: 8px; /* Adjust to align in the corner of the image */
  right: 8px; /* Adjust to align in the corner of the image */
  background: #ffffff; /* Match with the border and image styles */
  border: 2px solid #f4b400; /* Add a border */
  color: #333333; /* Text color */
  font-size: 14px; /* Adjust font size */
  font-weight: bold;
  padding: 8px 12px; /* Padding for better visibility */
  border-radius: 5px; /* Rounded corners for the button */
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  z-index: 10000; /* Ensure it stays on top */
}

.overlay .close:hover {
  background: #f4b400; /* Highlight on hover */
  color: #ffffff; /* Change text color on hover */
}



.custom-block-image-wrap {
  background-color: #d2a82a;
  border-radius: 0 0 var(--border-radius-medium) var(--border-radius-medium);
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin: auto;
  padding: 25px 45px;
}

.custom-block-info {
  position: relative;
  z-index: 2;
  padding: 30px;
}

.custom-block-info strong,
.custom-block-info p {
  color: var(--white-color);
}

.custom-block-info p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
}


/*---------------------------------------
  THE BOOK SECTION            
-----------------------------------------*/
.book-section-info {
  padding-top: 48px;
  padding-right: 40px;
  padding-left: 40px;
}

.nav-pills {
  border: 2px solid var(--primary-color);
  border-radius: var(--border-radius-medium);
  position: sticky;
  top: 120px;
  padding: 30px;
}

.nav-pills .nav-link {
  background: var(--section-bg-color);
  color: var(--p-color);
  border-radius: var(--border-radius-large);
  margin-top: 5px;
  margin-bottom: 10px;
  padding: 15px 30px;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active, 
.nav-pills .show>.nav-link {
  background: var(--primary-color);
  color: var(--white-color);
}

.scrollspy-example-2 {
  padding-right: 30px;
  padding-left: 30px;
}

.scrollspy-example-item {
  border-bottom: 5px dotted var(--p-color);
  min-height: 500px;
  padding-top: 20px;
  padding-bottom: 50px;
}

.scrollspy-example-item:last-child {
  border-bottom: 0;
}

.scrollspy-example-item-image {
  border-radius: var(--border-radius-medium);
}

.scrollspy-example-item h5 {
  padding-top: 30px;
  padding-bottom: 20px;
}

.blockquote {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-small);
  font-size: var(--h5-font-size);
  font-weight: var(--font-weight-semibold);
  color: var(--site-footer-bg-color);
  margin-top: 0px;
  margin-bottom: 30px;
  padding: 40px 40px 40px 40px;
  text-align: center;
}

.blockquote::before {
  color: var(--custom-btn-bg-color);
  line-height: 1rem;
  display: block;
}


/*---------------------------------------
  AUTHOR SECTION            
-----------------------------------------*/
.author-section {
  
  background-repeat: no-repeat;
  background-size: contain;
  background-position: left bottom;
  position: relative;
  margin-top: 50px;
}

.author-image {
  border: 10px solid var(--secondary-color);
  border-radius: 100%;
  display: block;
  margin: auto;
  width: 350px;
  height: 350px;
  object-fit: cover;
}


/*---------------------------------------
  DIVIDER SECTION               
-----------------------------------------*/
.divider-section {
  background-image: url('../images/wave-haikei.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background: var(--custom-btn-bg-color);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 450px 450px 0 0;
  border-color: var(--white-color) transparent transparent;
  pointer-events: none;
}

.contact-section .container {
  position: relative;
}

.contact-section p {
  color: var(--white-color);
  font-size: var(--h6-font-size);
}

.contact-link {
  color: var(--white-color); 
}

.phone-number {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.phone-number:hover {
  color: #ffffff;
  text-decoration: underline;
}
.contact-section {
  font-size: var(--copyright-font-size);
}

.footer {
  padding: 20px 0;
  text-align: center;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.copyright-text {
  color: #d2a82a;
  font-size: 14px;
  margin: 0;
}

.col-lg-6.col-12 {
  margin-top: -40px;
}


/*---------------------------------------
  EBOOK DOWNLOAD FORM               
-----------------------------------------*/
.ebook-download-form {
  border-radius: var(--border-radius-medium);
  position: relative;
  z-index: 2;
  padding: 50px;
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .form-control {
  border-radius: var(--border-radius-large);
  box-shadow: none;
  color: #d2a82a;
  padding-top: 13px;
  padding-bottom: 13px;
  padding-right: 40px;
  padding-left: 30px;
  outline: none;
}

#notificationContainer {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1050;
}

.notification {
  display: inline-block;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  animation: fade-in-out 0.5s ease-in-out;
}

.notification.success {
  background-color: #28a745;
}

.notification.error {
  background-color: #dc3545;
}

@keyframes fade-in-out {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}



.custom-form .form-control:focus,
.custom-form .form-control:hover {
  border-color: var(--primary-color);
}

.custom-form .form-control:focus + .input-group-text .custom-form-icon,
.custom-form .form-control:hover + .input-group-text .custom-form-icon {
  opacity: 1;
}

.custom-form .input-group-text {
  background: transparent;
  border: 0;
  border-radius: 0;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  margin: 10px;
}

.custom-form-icon {
  position: relative;
  z-index: 22;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3), .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-control, .input-group:not(.has-validation)>.form-floating:not(:last-child)>.form-select, .input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
  border-radius: var(--border-radius-large);
}

.custom-form button[type="submit"] {
  background: var(--custom-btn-bg-color);
  border: none;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  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;
}

body {
  overflow-x: hidden;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.main {
  top: -10px;
  display: grid;
  align-items: center;
  justify-items: center;
  position: relative;
}

.main img {
  position: absolute;
  width: 200px;
  height: auto;
}

.text {
  font-weight: 600;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  font-family: 'Kanit', sans-serif;
  font-size: 18px;
  fill: #111;
  text-shadow: 2px 0px #ccc;
}

#rotatingText {
  animation-name: rotate-circle;
  animation-duration: 8s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes rotate-circle {
  to {
      transform: rotate(1turn);
  }
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  background: var(--secondary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--copyright-font-size);
  display: block;
  margin-right: 10px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 36px;
  transition: background 0.2s, color 0.2s;
}

.social-icon-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
/* Media Queries for Mobile Devices (≤480px) */
@media screen and (max-width: 480px) {
  /* Navbar */
  .navbar {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-brand {
    text-align: center;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }
  
  /* General Navbar Styling */
.navbar-collapse {
  background-color: #000;
  z-index: 1;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  padding: 20px;
}

.navbar-nav {
  margin-top: 50px; /* Adjust to space out items */
  text-align: center;
  flex-direction: column;
}

.navbar-nav .nav-link {
  color: #fff;
  padding: 15px;
  font-size: 18px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #d2a82a;
}

.navbar-nav .btn {
  background-color: #d2a82a;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  margin-top: 20px;
}

/* Close Button for Navbar */
.navbar-collapse .btn-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background-color: transparent;
  border: none;
  font-size: 30px;
  color: #fff;
  z-index: 1100;
}

  /* Hero Section */
  .hero-section {
    padding: 20px 10px;
    text-align: center;
  }

  .hero-section h6 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #d2a82a;
  }

  .hero-section h1 {
    font-size: 32px;
    margin: 10px 0;
  }

  .hero-section .btn {
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
    padding: 8px 20px;
  }

  .modal-header {
  position: relative;

  }


  .hero-section .hero-image {
    margin-top: 10px;
    margin-bottom: 20px;
    max-width: 100%;
  }

  /* Reviews Section */
  .reviews-group {
    margin-top: 20px;
    padding: 15px;
    background-color: #d2a82a;
    border-radius: 10px;
    text-align: center;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }

  .reviews-group strong {
    font-size: 18px;
    color: #ffffff;
  }

  .reviews-group small {
    font-size: 14px;
    color: #ffffff;
  }

  .avatar-group {
    margin-top: 10px;
    display: flex;
    justify-content: center;
  }

  .avatar-image {
    width: 40px;
    height: 40px;
    margin: 0 5px;
    border-radius: 50%;
  }

  /* Adjustments to Shorten Hero Section */
  .hero-section {
    padding-top: 10px;
    padding-bottom: 20px;
  }

  .hero-section h6 {
    margin-top: 20px;
  }

  .hero-section h1 {
    margin-top: 10px;
  }

  .hero-section .hero-image {
    margin-bottom: 10px;
  }

  .reviews-section {
    margin-top: 10px;
  }

  .navbar-nav .btn-book-appointment {
    margin-top: 10px;
    font-size: 14px;
    padding: 8px 20px;
    display: inline-block;
    background-color: #d2a82a;
    color: #000;
    border: none;
    border-radius: 5px;
    text-transform: uppercase;
  }
}

@media screen and (max-width: 768px) {
  .map-container {
      width: 100% !important; /* Ensure it stretches to full screen */
      margin: 0 auto;
      border-radius: 10px;
  }
}

@media screen and (max-width: 768px) {
  /* Hide elements that might overlap the modal */
  .navbar-collapse.show {
      position: static;
  }

  .navbar .nav-item {
      position: relative; /* Ensure nav items don’t overlap */
  }

  /* Adjust the modal close button */
  .modal-header {
      padding: 1rem;
  }

  .modal-header .btn-close {
      position: absolute;
      top: 10px;
      right: 10px;
      z-index: 1050;
  }

  /* Fix text alignment issues in modal */
  .modal-title {
      margin-left: auto;
      margin-right: auto;
      text-align: center;
  }

  .contact-info h2, h6{
    text-align: center;
  }

  .social-icon {
    text-align: center; /* Ensure icons are centered */
}
}

@media screen and (max-width: 768px) {
  /* Optionally reduce padding on the section */
  .author-section {
      padding-top: 20px; /* Adjust to reduce the gap further */
  }
}

