/* ========================================
   Base Styles
======================================== */
body {
  font-family: "Open Sans", sans-serif;  
  color: #1a1a1a;
  background-color: #ffffff;
}

a {
  color: #1a1a1a;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #a88b66;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", sans-serif;
  color: #1a1a1a;
}

p {
  font-weight: 300;
  color: #5a5a5a;
}

/* ========================================
   FIX: Mobile Dropdown for User Account
======================================== */

/* 1. Reset the "Button" style to look like a normal link on mobile */
.navbar-mobile .getstarted {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 10px 20px !important; /* Matches standard list padding */
  width: 100%;
  display: block;
}

/* 2. Ensure the text color is correct (Dark, not white) */
.navbar-mobile .getstarted a {
  color: #1a1a1a !important;
  padding: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 3. Fix the Dropdown Menu positioning */
.navbar-mobile .dropdown ul {
  position: static !important; /* Forces it to stack vertically, not float */
  display: none;               /* Hidden by default */
  opacity: 1 !important;
  visibility: visible !important;
  background: #f5f5f0;         /* Light grey background for the submenu */
  box-shadow: none;
  margin: 10px 0 0 0;
  padding: 10px;
  border-radius: 4px;
  width: 100%;
  transform: none !important;  /* Stop any hover animations */
}

/* 4. Show the menu when the user Taps it (JS adds .active or .dropdown-active) */
.navbar-mobile .dropdown.active > ul,
.navbar-mobile .dropdown:hover > ul {
  display: block;
}

/* ========================================
   Back to Top Button
======================================== */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 20px;
  z-index: 996;
  background: #a88b66;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.4s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.back-to-top i {
  font-size: 28px;
  color: #ffffff;
  line-height: 0;
}

.back-to-top:hover {
  background: #8f7557;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* ========================================
   Mobile Optimization
======================================== */
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/* ========================================
   Header Section
======================================== */
.head-up {
  z-index: 10001;
  background: #000000;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 0;
}

#header {
  transition: all 0.5s ease;
  z-index: 997;
  top: 30px;
}

#header .header-container {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 4px;
}

#header.header-scrolled {
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  top: 30px;
}

#header .logo {
  overflow: hidden;
  padding: 16px 0 15px 0;
}

#header .logo h1 {
  font-size: 16px;
  padding: 0;
  line-height: 1;
  font-weight: 700;
}

#header .logo h1 a,
#header .logo h1 a:hover {
  color: #1a1a1a;
  text-decoration: none;
}

#header .logo img {
  padding: 0;
  margin: 0;
  width: 100px;
  transition: transform 0.3s ease;
}

#header .logo img:hover {
  transform: scale(1.05);
}

@media (max-width: 1200px) {
  #header {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    top: 30px;
    background: #ffffff; /* Changed to white */
  }

  .head-up {
    border-bottom: 1px solid #a88b66;
  }

  #header.header-scrolled,
  #header .header-container {
    background: #ffffff; /* Changed to white */
  }

  #header .logo {
    padding-left: 15px; /* Add padding so logo isn't flush left */
  }
  
  /* Ensure the mobile toggle icon is visible on white background */
  .mobile-nav-toggle {
    color: #1a1a1a; /* Changed to dark color */
    display: block;
    margin-right: 15px; /* Add spacing */
  }
}

.logo1 {
  margin: 20px auto;
}

.logo1 img {
  width: 35%;
  transition: transform 0.3s ease;
}

.logo1 img:hover {
  transform: scale(1.05);
}

/* ========================================
   Navigation Menu
======================================== */
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 0 5px 12px;
  color: #1a1a1a;
  transition: all 0.3s ease;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #a88b66;
}

.navbar li .chang::after,
.navbar .active::after {
  position: absolute;
  display: block;
  background-color: #a88b66;
  content: "";
  height: 2px;
  top: 100%;
  margin: auto;
  width: 0;
  transition: width 0.3s ease;
}

.navbar li:hover > .chang::after,
.navbar .active::after {
  width: 80%;
}

.navbar .getstarted,
.navbar .getstarted:focus {
  background: #1a1a1a;
  padding: 10px 24px;
  margin-left: 30px;
  margin-right: 15px;
  border-radius: 50px;
  color: #ffffff;
  font-weight: 600;
  border: 2px solid #1a1a1a;
  transition: all 0.3s ease;
}

.navbar .getstarted:hover,
.navbar .getstarted:focus:hover {
  color: #1a1a1a;
  background: transparent;
  border-color: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dropdown Menus */
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 20px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  border-radius: 8px;
  border-top: 3px solid #a88b66;
}

.navbar .dropdown ul li {
  min-width: 180px;
}

.navbar .dropdown ul a {
  padding: 12px 20px;
  text-transform: none;
  font-weight: 500;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover > a {
  color: #a88b66;
  background: #f5f5f0;
}

.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.mobile-nav-toggle {
  color: #1a1a1a; /* Changed from #ffffff to dark so it shows on white bg */
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: all 0.3s ease;
  margin-right: 15px; /* Add spacing from edge */
}

.mobile-nav-toggle:hover {
  color: #a88b66;
}

@media (max-width: 1200px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  .navbar li:hover > .chang::after,
  .navbar .active::after {
    width: 20%;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98); /* White background, slight transparency */
  transition: all 0.3s ease;
  z-index: 10005; /* Ensure it's on top of everything */
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 23px;
  right: 0px;
  color: #1a1a1a; /* Ensure the Close 'X' is dark and visible */
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #ffffff;
  overflow-y: auto;
  transition: all 0.3s ease;
  border-radius: 8px;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25); /* Add shadow for depth */
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 12px 20px;
  font-size: 15px;
  color: #1a1a1a;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover > a {
  color: #a88b66;
  background: #f5f5f0;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

/* ========================================
   Hero Section
======================================== */
#hero {
  width: 100%;
  height: 80vh;
  background: linear-gradient(135deg, #f5f5f0 0%, #ffffff 100%);
  background-size: cover;
  position: relative;
}

#hero1 {
  width: 100%;
  height: 40vh;
  background: linear-gradient(135deg, #f5f5f0 0%, #ffffff 100%);
  background-size: cover;
  position: relative;
}

#hero .container {
  padding-top: 80px;
}

#hero1 .container {
  padding-top: 100px;
}

#hero h1,
#hero1 h1 {
  margin: 0 0 20px 0;
  font-size: 48px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}

#hero h6,
#hero1 h6 {
  color: #5a5a5a;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  font-family: "Open Sans", sans-serif;
}

#hero .btn-get-started {
  font-family: "Open Sans", sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: all 0.3s ease;
  margin: 10px;
  border: 2px solid #1a1a1a;
  color: #1a1a1a;
  background: transparent;
}

#hero .btn-get-started:hover {
  background: #1a1a1a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 768px) {
  #hero {
    height: 100vh;
  }

  #hero .container {
    padding-top: 60px;
  }

  #hero1 .container {
    padding-top: 120px;
    padding-bottom: 10px;
  }

  #hero h1,
  #hero1 h1 {
    font-size: 28px;
    margin: 0 0 10px 0;
  }
}

@media (max-width: 933px) {
    .navbar-mobile .mobile-nav-toggle {

    top: 45px;
    
    }

}


/* ========================================
   Sections General
======================================== */
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f5f5f0;
}

.section-title {
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #1a1a1a;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: #a88b66;
  bottom: 0;
  left: 0;
}

.section-title p {
  margin-bottom: 0;
  color: #5a5a5a;
}

/* ========================================
   Contact Section
======================================== */
.contact .info {
  padding: 35px;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.contact .info:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.contact .info i {
  font-size: 20px;
  color: #ffffff;
  float: left;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #a88b66 0%, #8f7557 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.contact .info:hover i {
  transform: scale(1.1);
}

.contact .info h4 {
  padding: 0 0 0 70px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #1a1a1a;
}

.contact .info p {
  padding: 0 0 0 70px;
  margin-bottom: 0;
  font-size: 14px;
  color: #5a5a5a;
}

/* ========================================
   Footer
======================================== */
#footer {
  color: #ffffff;
  font-size: 14px;
  background: #1a1a1a;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #1a1a1a;
}

#footer .footer-top .footer-contact h4 {
  font-size: 22px;
  margin: 0 0 30px 0;
  padding: 2px 0;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  color: #d4c5b0;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #a88b66;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul a {
  color: #d4c5b0;
  transition: all 0.3s ease;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #a88b66;
  padding-left: 5px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
}

#footer .footer-newsletter p {
  color: #d4c5b0;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #ffffff;
  padding: 6px 10px;
  position: relative;
  border-radius: 50px;
  border: 2px solid #a88b66;
}

#footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
  color: #1a1a1a;
}

#footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 1px;
  bottom: 0;
  border: 0;
  background: #a88b66;
  color: #ffffff;
  font-size: 16px;
  padding: 0 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 50px;
  cursor: pointer;
}

#footer .footer-newsletter form input[type="submit"]:hover {
  background: #8f7557;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #a88b66;
  color: #ffffff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 38px;
  height: 38px;
  transition: all 0.3s ease;
}

#footer .social-links a:hover {
  background: #8f7557;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ========================================
   Utility Classes
======================================== */
.bg-custom-color {
  background-color: #a88b66 !important;
}

.shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.rounded {
  border-radius: 8px !important;
}

/* ========================================
   FIX: Mobile User Menu (Collapse/Uncollapse)
======================================== */
@media (max-width: 1200px) {
  
  /* 1. Remove the "Button" border and background from the parent container */
  .navbar-mobile .getstarted {
    background: transparent !important;
    border: none !important;  /* Removes the brown border */
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
  }

  /* 2. Style the Name Link (The toggle trigger) */
  .navbar-mobile .getstarted > a {
    color: #1a1a1a !important;
    padding: 12px 20px !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: 600;
  }

  /* 3. The Dropdown Menu (Hidden by default) */
  .navbar-mobile .getstarted ul {
    display: none; /* CRITICAL: Hides the menu initially */
    position: static !important;
    background: #f9f9f9 !important; /* Light grey background */
    margin: 0 20px 20px 20px !important;
    padding: 10px !important;
    border-radius: 8px;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: auto !important;
  }

  /* 4. The "Active" State - Shows menu when clicked */
  /* Your JS toggles the class .dropdown-active on the li */
  .navbar-mobile .getstarted.dropdown-active ul {
    display: block !important;
    animation: none;
  }

  /* 5. Styling the links inside the dropdown */
  .navbar-mobile .getstarted ul a {
    padding: 10px 15px !important;
    font-size: 14px;
    font-weight: 500;
    color: #5a5a5a !important;
  }
  
  .navbar-mobile .getstarted ul a:hover {
    color: #a88b66 !important;
  }
}