body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  background-color: white;
  transition: transform 0.3s ease-in-out;
  border-bottom: solid gray 1px;
}

.navbar-logo {
  height: 55px;
  max-width: 100%;
  object-fit: contain;
}

.navbar.hidden {
  transform: translateY(-100%);
}

.navbar-brand {
  color: black !important;
}

.nav-link {
  color: black !important;
  font-size: 16px;
  margin-left: 25px;
}

.nav-link:hover {
  color: gray !important;
}

.navbar-toggler {
  border: none;
  outline: none;
  background-color: transparent;
  padding: 0;
  transition: transform 0.3s ease-in-out;
}

.navbar-toggler span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: #333; 
  margin: 4px 0;
  transition: all 0.3s ease;
}

.navbar-toggler:hover span {
  background-color: #555;
}

.navbar-toggler.collapsed span:nth-child(1) {
  transform: rotate(0) translateY(0); 
}

.navbar-toggler.collapsed span:nth-child(2) {
  opacity: 1;
}

.navbar-toggler.collapsed span:nth-child(3) {
  transform: rotate(0) translateY(0); 
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
  opacity: 0; 
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px); 
}

@media (max-width: 768px) {
  .navbar-logo {
    height: 30px;
    max-width: 100%;
    object-fit: contain;
    margin-left: 20px;
  }

  .navbar-toggler{
    margin-right: 20px;
  }
}

.dash{
  margin-top: 60px;
}

/* ------------------------- */

/* Carousel Container */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-container img{
  width: 100%;
  height: 100%;
}

.text-carousel {
  margin-bottom: 200px;
}
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Text Carousel */
.text-carousel {
  position: relative;
  width: 100%;
  height: 100px; 
  overflow: hidden;
}

.text-slide {
  position: absolute;
  width: 100%;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #f1c27d;
  opacity: 0;
  animation: textSlide 9s infinite ease-in-out;
}

.text-slide:nth-child(1) {
  animation-delay: 0s;  
}

.text-slide:nth-child(2) {
  animation-delay: 3s; 
}

.text-slide:nth-child(3) {
  animation-delay: 6s; 
}

@keyframes textSlide {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  10%, 30% {
    opacity: 1;
    transform: translateY(0);
  }
  40%, 60% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

.carousel-btns .btn {
  background-color: #f1c27d;
  color: black;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 5px;
  margin: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.carousel-btns .btn:hover {
  background-color: #6f4f37;
  color: white;
}

@media (max-width: 768px) {
  .carousel-container {
    height: 40vh;
  }

  .text-slide {
    font-size: 1rem; 
  }

  .carousel-btns .btn {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .text-carousel {
    margin-bottom: 30px;
  }
}

/* --------------- */

/* Section styling */
.feature {
  padding: 60px 0;
  background-color: #ffffff;
}

.title-text h1 {
  font-size: 3rem;
  color: #2e2e2e;
  font-weight: bold;
}

.title-text h2 {
  font-size: 2rem;
  color: #f1c27d;
  font-weight: 400;
  margin-top: 10px;
  font-style: italic;
}

.feature-box {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px;
}

.features {
  flex: 1;
  margin-right: 30px;
}

.features h3 {
  font-size: 1.8rem;
  color: #2e2e2e;
  font-weight: 600;
  margin-top: 30px;
}

.features-description {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.feature-icon {
  font-size: 2rem;
  color: #f1c27d;
  margin-right: 15px;
  margin-bottom: 12px;
}

.feature-text {
  font-size: 1rem;
  color: #555;
}

.feature-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.features-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Animation Classes */
[data-animation] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animation].animate {
  opacity: 1;
  transform: translateY(0);
}

[data-animation="fade-in-left"] {
  transform: translateX(-50px);
}

[data-animation="fade-in-right"] {
  transform: translateX(50px);
}

@media (max-width: 768px) {
  .feature-box {
    flex-direction: column;
    align-items: center;
  }

  .features {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .features-img img {
    max-width: 100%;
  }
}
/* ---------------------------- */

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #f1c27d;
  color: #1e1e1e;
  border-radius: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background-color: #1e1e1e;
  color: #f1c27d;
  transform: scale(1.1);
}
/* ---------------------------- */

/* Services Section */
#services {
  background-color: #f7f7f7;
  padding: 50px 0;
}

.titles-text h2 {
  text-align: center;
  color: #333;
  font-size: 32px;
  margin-bottom: 40px;
  font-family: "Arial", sans-serif;
}

.titles-text h2 span {
  color: #f1c27d;
}

.service-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.single-service {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.single-service img {
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease;
}

.single-service:hover img {
  opacity: 0.7;
}

.service-description {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #f1c27d;
  background-color: black;
  width: 100%;
  text-align: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.single-service:hover .service-description {
  opacity: 1;
  visibility: visible;
}

.service-description h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-description hr {
  margin-bottom: 10px;
  border-color: white;
  width: 50px;
}

.service-description p {
  font-size: 12px;
  line-height: 1.6;
}

.single-service:hover {
  transform: translateY(-10px);
}

@media (max-width: 768px) {
  .service-box {
    grid-template-columns: 1fr;
  }
}
/* --------------------------------- */

/* Expert Section Styling */
#expert {
  background-color: #f7f7f7;
  padding: 50px 0;
}

.title-text h1,
.title-text h2 {
  text-align: center;
}

.title-text h1 {
  font-size: 36px;
  color: #333;
}

.expert-items {
  display: flex;
  gap: 30px;
  overflow: hidden;
  position: relative;
}

.expert-item {
  width: 250px;
  height: 350px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.expert-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.expert-item:hover img {
  transform: scale(1);
}

.expert-item:hover .person-description {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.expert-item:hover {
  transform: scale(1.05);
}

.person-description {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: #f1c27d;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.person-description h3 {
  font-size: 18px;
  margin: 0;
  font-weight: bold;
}

.person-description hr {
  width: 50px;
  margin: 10px auto;
  border: 1px solid #f1c27d;
}

/* Responsive Styling */
@media screen and (max-width: 1024px) {
  .expert-item {
    width: 200px;
    height: 300px;
  }
}

@media screen and (max-width: 768px) {
  .expert-items {
    gap: 20px;
  }

  .expert-item {
    width: 180px;
    height: 260px;
  }
}

@media screen and (max-width: 480px) {
  .expert-items {
    gap: 10px;
  }

  .expert-item {
    width: 150px;
    height: 220px;
  }
}

/* -------------------------- */

/* Contact Section */
.contact-section {
  background-color: #f4f4f4;
  padding: 80px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Form */
.contact-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  flex: 1;
  margin-right: 20px;
}

.contact-title {
  color: #333;
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.contact-title span {
  color: #f1c27d;
}

.contact-form .form-group {
  margin-bottom: 25px;
}

.contact-form .form-group label {
  display: block;
  font-size: 18px;
  color: #444;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="number"],
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  color: #333;
  background-color: #fafafa;
  transition: all 0.3s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="number"]:focus,
.contact-form textarea:focus {
  border-color: #f1c27d;
  background-color: #fff;
  box-shadow: 0 0 10px rgba(241, 194, 125, 0.6);
}

.contact-form textarea {
  resize: vertical;
  min-height: 160px;
}

.contact-form .btn {
  background-color: #f1c27d;
  color: #333;
  font-size: 18px;
  padding: 15px 25px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
  letter-spacing: 1px;
  text-align: center;
}

.contact-form .btn:hover {
  background-color: #333;
  color: #f1c27d;
}

/* Map Section */
.map {
  width: 100%;
  max-width: 600px;
  height: 300px;
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
  margin-top: 20px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-section {
    flex-direction: column;
    gap: 30px;
    padding: 60px 20px;
  }

  .contact-form {
    width: 100%;
    max-width: 90%;
    margin-right: 0;
  }

  .map {
    width: 100%;
    height: 250px;
  }

  .contact-form .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 15px;
  }

  .contact-title {
    font-size: 28px;
  }

  .contact-form {
    padding: 20px;
  }

  .map {
    height: 200px;
  }

  .contact-form .btn {
    font-size: 16px;
    padding: 12px 20px;
  }
}

/* ----------------------- */

/* Footer Section */
.footer {
  background-color: #1e1e1e;
  color: #f1c27d;
  padding: 60px 20px;
  font-family: "Arial", sans-serif;
  text-align: left;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-logo img {
  max-width: 180px;
  display: block;
  margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
}

.footer-links ul,
.footer-contact ul,
.footer-social ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-links a,
.footer-contact a {
  text-decoration: none;
  color: #f1c27d;
  font-size: 16px;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-social ul {
  display: flex;
  gap: 10px;
}

.footer-social a {
  font-size: 20px;
  color: #f1c27d;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 20px;
  border-top: 1px solid #444;
  margin-top: 40px;
}

.footer-bottom p {
  font-size: 12px;
  color: #f1c27d;
}

.fas,
.fab {
  font-size: 18px;
  margin-right: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    margin-bottom: 20px;
    text-align: center;
  }

  .footer-links,
  .footer-contact,
  .footer-social {
    width: 100%;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-social ul {
    justify-content: center;
  }
}
