/* Reset & Base */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f8f5f2;
}

/* water mark  */
body {
  position: relative;
  z-index: 0;
}

/* Navbar */
nav {
  background: linear-gradient(90deg, #d9824a 0%, #b5523b 100%);
  position: sticky;
  top: 0px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.logo {
  width: 40px;
  height: 40px;
}

h1 {
  font-size: 26px;
  font-weight: bold;
}

.brand {
  text-decoration: none;
  display: flex;
  padding: 15px 30px;
  color: white;
  align-items: center;
  gap: 23px;
}

/* Main Layout */
.main-section {
  padding: 30px;
}
a {
  text-decoration: none;
  color: #000;
}

.box-ul a {
  text-decoration: none;
  color: #000;
  transition: all 0.2s ease;
}

.box-ul a.active {
  text-decoration: underline;
  font-weight: bold;
  color: #b5523b;
}

h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #000;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #000;
}

span {
  padding-left: 5px;
}

p {
  color: #000;
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
}

.para1 {
  margin-bottom: 25px;
}

ul {
  color: #000;
  padding-left: 25px;
  font-size: 16px;
  font-weight: 400;
}
li {
  margin-bottom: 8px;
}
/* Sidebar Box */

h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #000;
}

.box-ul {
  list-style: decimal;
  line-height: 1.6;
}

/* --------------------------- */
/* ✅ Responsive Design */
/* --------------------------- */

/* Mobile Phones */
@media (max-width: 600px) {
  nav h1 {
    font-size: 20px;
  }

  .logo {
    width: 40px;
  }

  .main-section {
    padding: 20px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  .box {
    padding: 15px;
  }

  .brand {
    justify-content: center;
  }
}

/* Main Layout */
.main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

/* Default (desktop) layout */
.left {
  flex: 1 1 650px;
  order: 1;
}

.box {
  flex: 0 0 300px;
  background: #f9e6e0;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  top: 20px;
  height: fit-content;
  order: 2;
}

/* --------------------------- */
/* ✅ Responsive Design */
/* --------------------------- */

/* Tablets and below */
@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
  }

  /* move the box to appear after h2 (on top of paragraphs) */
  .box {
    order: 1; /* 📌 move before .left */
    width: 100%;
    position: static;
    margin-bottom: 20px;
  }

  .left {
    order: 2; /* content comes after box */
  }
}

/* contact page  */

.contact {
  max-width: 990px;
  background: white;
  margin: 3rem auto;
  padding: 4rem;
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  gap: 2rem;
}
h5 {
  font-size: 22px;
}
.contact-text {
  flex: 1;
}

.contact-text h2 {
  margin: 0;
  color: #000;
}

.contact-text p {
  color: #000;
  margin-top: 0.5rem;
  line-height: 1.5;
  font-size: 16px;
}

.contact-text img {
  width: 100%;
  margin-top: 1.5rem;
  border-radius: 8px;
}

.form-section {
  flex: 1;
  width: 100%;
}

.form-section form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-logo {
  text-align: center;
  padding: 22px 0px;
}
input,
textarea {
  margin-top: 5px;
}
input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #d9824a;
  border-radius: 6px;
  font-size: 0.95rem;
}
.form-input label {
  font-size: 18px;
  margin-bottom: 5px !important;
  color: #4c5c68;
}
textarea {
  resize: none;
  height: 100px;
}

button {
  background-color: #b5523b;
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background-color: #92400e;
}

@media (max-width: 768px) {
  .contact {
    flex-direction: column;
    padding: 30px;
    margin-left: 40px;
    margin-right: 40px;
  }
  .contact-text img {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .contact {
    padding: 20px;
    margin-left: 30px;
    margin-right: 30px;
  }
}

/* ================================ */
/* HOME PAGE STYLES */
/* ================================ */

/* Enhanced Navbar with Links */
.home-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background: linear-gradient(90deg, #d9824a 0%, #b5523b 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.home-nav .brand {
  padding: 0;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nav-links li a.active {
  background: rgba(255, 255, 255, 0.25);
  font-weight: 600;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 30px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 24px;
  color: #b5523b;
  margin-bottom: 15px;
  font-weight: 600;
}

.hero-description {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(90deg, #d9824a 0%, #b5523b 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(181, 82, 59, 0.4);
}

.btn-secondary {
  background: white;
  color: #b5523b;
  border: 2px solid #b5523b;
}

.btn-secondary:hover {
  background: #b5523b;
  color: white;
}

.hero-image {
  flex: 1;
  max-width: 500px;
}

.hero-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features-section {
  padding: 80px 30px;
  background: white;
  margin: 20px;
  border-radius: 15px;
}

.section-title {
  text-align: center;
  font-size: 38px;
  color: #000;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #f9e6e0;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(181, 82, 59, 0.2);
}

.feature-icon {
  font-size: 48px;
  margin-bottom: 15px;
}

.feature-card h3 {
  color: #b5523b;
  font-size: 22px;
  margin-bottom: 15px;
}

.feature-card p {
  color: #333;
  line-height: 1.6;
  font-size: 15px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(90deg, #d9824a 0%, #b5523b 100%);
  padding: 60px 30px;
  margin: 20px;
  border-radius: 15px;
  text-align: center;
}

.cta-content h2 {
  color: white;
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-content p {
  color: white;
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-light {
  background: white;
  color: #b5523b;
  padding: 14px 40px;
  font-weight: 600;
}

.btn-light:hover {
  background: #f8f5f2;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
  background: #2d2d2d;
  color: white;
  padding: 40px 30px 20px;
  margin-top: 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 30px;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1;
  min-width: 250px;
}

.footer-brand h3 {
  color: white;
  margin: 10px 0;
  font-size: 24px;
}

.footer-brand p {
  color: #ccc;
  font-size: 14px;
}

.footer-logo {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1);
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h4 {
  color: white;
  margin-bottom: 15px;
  font-size: 18px;
}

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

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

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

.footer-links ul li a:hover {
  color: #d9824a;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: #999;
  font-size: 14px;
  margin: 0;
}

/* ================================ */
/* RESPONSIVE DESIGN FOR HOME PAGE */
/* ================================ */

/* Tablet */
@media (max-width: 992px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    max-width: 100%;
  }

  .section-title {
    font-size: 32px;
  }

  .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .cta-content h2 {
    font-size: 30px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: linear-gradient(180deg, #d9824a 0%, #b5523b 100%);
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
    align-items: flex-start;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li a {
    font-size: 18px;
    width: 100%;
    display: block;
  }

  .home-nav {
    padding: 15px 20px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 16px;
  }

  .features-section {
    padding: 50px 20px;
    margin: 10px;
  }

  .section-title {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-section {
    padding: 40px 20px;
    margin: 10px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-content p {
    font-size: 16px;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .footer-brand,
  .footer-links {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }

  .features-section {
    padding: 40px 15px;
  }

  .section-title {
    font-size: 24px;
  }

  .feature-card {
    padding: 20px;
  }

  .home-nav .brand h1 {
    font-size: 20px;
  }

  .logo {
    width: 35px;
    height: 35px;
  }
}
