/* =============================
   HEADER & NAVBAR STYLING
   ============================= */
header {
  background-color: white;
  border-bottom: 1px solid #5a5a5a;
  padding: 20px 5%;
  margin-right: 5%;
  position: fixed;
  width: 100%;
  z-index: 9999;
  font-family: 'Inter', sans-serif;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 40px;
}

.log_div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.log {
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

/* Hide duplicate elements by default */
.mobile-only,
.mobile-onl {
  display: none;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #070606;
}

.logo span {
  color: #e4d941;
}

/* =============================
   DESKTOP NAVIGATION
   ============================= */
nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: #e6c200;
  font-weight: 500;
  transition: color 0.3s;
}
nav ul li a i {
  color: #08d64dfa;
}

nav ul li a:hover {
  color: #2dbd5d;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* =============================
   BUTTON STYLES
   ============================= */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn.yellow {
  background: #e6c200;
  color: #1a1a1a;
}

.btn.yellow:hover {
  background: #dad9d4;
}

.btn.outlin {
  background-color: white;
  color: #1b263b;
  border: 2px solid #e6c200;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  transition: 0.3s;
}

.btn.outlin:hover {
  background-color: #b38a37;
  color: #fff;
}

/* =============================
   MOBILE VIEW (≤768px) And Tablet View (1024)
   ============================= */
@media (max-width: 800px) {
  .hamburger {
    display: block;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1a1a1a;
    margin-right: 40px;
  }

  .logo {
    display: flex;
    font-size: 1.5rem;
  }

  .log {
    border-radius: 10px;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    transition: right 0.4s ease-in-out, opacity 0.4s ease;
    opacity: 0;
    z-index: 999;
  }

  nav.open {
    left: 0;
    opacity: 1;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: start;
  }

  .nav-buttons {
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 0px;
}

  .btn {
    width: 100%;
    text-align: center;
  }

  .close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1a1a1a;
  }
}

@media (min-width: 800px) and (max-width: 1024px) {
  .navbar {
  display: flex;
  align-items: center;
  gap: 500px;
}
header{
  height: 40px;
}
}

/* =============================
   DESKTOP VIEW (≥769px)
   ============================= */
@media (min-width: 1025px) {
  .hamburger,
  .close-btn {
    display: none;
  }

  .mobile-only {
    display: none !important;
  }
}

/* =============================
   FOOTER STYLES
   ============================= */
.footer {
  position: relative;
  background-color: #111;
  color: #ddd;
  font-family: 'Poppins', sans-serif;
  padding: 60px 0 30px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  padding: 0 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo img {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-section h2,
.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.footer-section p {
  line-height: 1.7;
  font-size: 14px;
  color: #ccc;
}

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

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #e2b04a;
}

/* Social Icons */
.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: #ddd;
  font-size: 22px;
  margin-right: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: #e2b04a;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 5px;
  border-top: 1px solid #333;
  margin-top: 10px;
  font-size: 14px;
  color: #888;
}

/* =============================
   FOOTER RESPONSIVE DESIGN
   ============================= */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* =============================
   MOBILE FOOTER INSIDE NAV
   ============================= */
@media (max-width: 900px) {
  .mobile-only {
    display: block;
    width: 100%;
  }

  .mobile-onl {
    display: flex;
    width: 100%;
  }

  nav.open {
    right: 0;
    opacity: 1;
  }

  nav .footer {
    padding: 20px 10px;
    width: 108%;
    height: 270px;
    background-color: #070707;
    margin-left: -20px;
  }

  nav .footer-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  nav .footer-section h3 {
    font-size: 1rem;
  }

  nav .footer-section ul li a {
    color: #ddd;
  }

  nav .footer-bottom {
    border-top: 1px solid #333;
    text-align: center;
    font-size: 13px;
    margin-top: 10px;
    color: #999;
  }
}
