/* Base Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #004225;
}

.logo {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  color: #caa850;
}
.nav-open{
    overflow : hidden ;
}

/* Slider */
.slider {
  position: relative;
  max-width: 100%;
  height: 250px;
  overflow: hidden;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
  width: 100%;
}

.slide {
  height: 250px;
  width: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dots {
  text-align: center;
  position: absolute;
  bottom: 10px;
  width: 100%;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.dot.active {
  background-color: #007e3a;
}

/* Section Styling */
.section {
  padding: 20px;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  color: #004225;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

/* Feedback */
.feedback-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feedback-card {
  background: #f8f8f8;
  padding: 20px;
  border-left: 4px solid #caa850;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.feedback-card span {
  font-style: italic;
  color: #555;
}

/* FAQ */
.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  color: #004225;
  font-size: 1.2rem;
}

/* Comment Form */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

.comment-form input,
.comment-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.comment-form button {
  background-color: #caa850;
  color: white;
  padding: 12px;
  border: none;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
}

.comment-form button:hover {
  background-color: #b08a3c;
}

/* Footer */
footer {
  background-color: #004225;
  color: white;
  padding: 40px 20px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: auto;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-column h4 {
  margin-bottom: 15px;
  color: #caa850;
}

.footer-column ul {
  list-style: none;
}

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

.footer-column ul li a {
  color: white;
  text-decoration: none;
}

.footer-column ul li a:hover {
  color: #caa850;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
  color: #ccc;
}

/* Mobile Responsive Navbar */
.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #004225;
    position: absolute;
    width:80%;
    top: 60px;
    right: 20px;
    border: 1px solid #ccc;
    padding: 10px ;
    z-index: 1000;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }
  nav-links a {
  color: #004225;
}
.slider {
  height: 100px;
  }
.slide {
  height: 100px;
  width: 100%;
  flex-shrink: 0;
}
}

/* Move this file to: c:\xampp\htdocs\loan\Loan1\assets\css\index.css */
/* (Create the folders if they don't exist) */