* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  background-color: #fefaf6;
  color: #5c3a36;
  scroll-behavior: smooth;
}

/* Header */
.section-1-header {
  background-color: #F6F4E8;
  padding: 20px 40px;
  position: relative;
  z-index: 999;
  border: 1px solid #999898;
  border-radius: 10px;
  margin: 20px;
  padding: 10px;
}

.section-1-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.section-1-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 180px;
  padding: 10px 0;
}

.section-1-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


.nav-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.section-1-nav {
  display: flex;
  gap: 30px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
}

.section-1-nav a {
  position: relative;
  text-decoration: none;
  color: #5c3a36;
  padding: 6px 0;
  transition: color 0.3s ease;
}

.section-1-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: #5c3a36;
  transition: width 0.3s ease;
}

.section-1-nav a.active::after {
  width: 100%;
}

.section-1-contact-btn {
  background-color: #402020;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.section-1-contact-btn:hover {
  background-color: #5c3a36;
}

.section-1-hero {
  text-align: center;
  padding: 40px 20px;
}

/* Title */
.section-1-title {
  width: 854px;
  height: 216px;
  line-height: 0.7;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 48px;
  margin-bottom: 10px;
  white-space: pre-line;
  overflow-wrap: break-word;
  overflow: hidden;
  word-break: break-word;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  color: #402020;
  letter-spacing: 2%;
  opacity: 0.85;
}

/* Image Wrapper */
.section-1-image-wrapper {
  display: flex;
  justify-content: center;
  overflow-x: visible;
  width: 1000px;
  height: 550px;
  margin: 0 auto;
  position: relative; /* Needed for top/left to work properly */
  border-radius: 14.5px;
}

.section-1-image {
  width: 1000px;
  height: 550px;
  object-fit: cover;
  border-radius: 14.5px;
}


/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: #5c3a36;
  cursor: pointer;
  z-index: 1001;
}

/* Responsive Layouts */

/* Laptops */
@media (max-width: 1024px) {
  .section-1-title {
    width: 100%;
    max-width: 814px;
    height: auto;
    font-size: 24px;
    line-height: 0.7;
    padding: 0 20px;
  }
  .section-1-image-wrapper {
    width: 90%;
    height: auto;
  }
  .section-1-image {
    width: 100%;
    height: auto;
  }
}

/* Tablets & Mobiles */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 1001;
  }

  .nav-group {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    background-color: rgba(253, 248, 241, 0.8); /* 80% opacity */
    backdrop-filter: blur(6px); /* Optional blur */
    padding: 60px 20px 20px 20px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .nav-group.open {
    transform: translateX(0);
  }

  .section-1-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    font-size: 18px;
  }

  .section-1-contact-btn {
    padding: 12px 24px;
    font-size: 16px;
  }

  .section-1-header {
    padding: 15px 20px;
  }

  .section-1-hero {
    padding: 40px 20px 60px 20px;
  }

  .section-1-title {
    width: 100%;
    font-size: 18px;
    padding: 0 20px;
    margin-bottom: 30px;
  }

  .section-1-image-wrapper {
    width: 100%;
    height: auto;
  }

  .section-1-image {
    width: 100%;
    height: auto;
  }
  .section-1-logo {
    max-width: 140px;
  }
}

/* Mobile mid-range */
@media (max-width: 600px) {
  .section-1-title {
    font-size: 17px;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .section-1-title {
    font-size: 16px;
    padding: 0 15px;
    margin-bottom: 30px;
  }

  .section-1-hero {
    padding: 30px 15px 50px 15px;
  }

  .section-1-logo {
    font-size: 20px;
  }
}

/* Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*section 2 begins */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;600&display=swap');

.section2 {
  width: 95%;
  height: 60%;
  background: #f9f6ef;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding-top: 0; /* base padding top */
}

/* Container */
.section2-quote-container {
  width: 100%;
  min-height: 369px;
  height: 50vh;
  padding: 40px 20px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Quote Box */
.section2-quote-box {
  width: 60%;
  padding: 20px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.section2-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Subtitle */
.section2-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 25px;
  color:black;
}

/* Quote */
.section2-quote {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.6;
  color:black;
  font-weight: 300;
}


/* Quote Marks */
.section2-quote-mark {
  font-size: 40px;
  color: #b68a6c;
  font-weight: bold;
}

/* Author */
.section2-author-1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  margin-top: 40px;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.5;
}
.section2-author-2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px;
  color: black;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.5;
}
/* Responsive */
/* Desktop Large Screens (1440px and up) */
@media (min-width: 1440px) {
  .section2-quote {
    font-size: 25px;
    width: 100%;
  }
}

/* Standard Desktops (1025px to 1439px) */
@media (min-width: 1025px) and (max-width: 1439px) {
  .section2-quote {
    font-size: 25px;
    width: 100%;
  }
}

/* Tablets (768px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .section2-quote {
    font-size: 24px;
  }
  .section2-quote-box {
    padding: 20px 25px;
  }
}

/* Mobile Devices (481px to 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .section2 {
    padding-top: 20px; /* reduced top padding */
  }
  .section2-quote {
    font-size: 18px;
    margin-left: 0;
    margin-right: 0;
  }
  .section2-quote-box {
    width: 90%; /* increased width */
    padding: 15px;
  }
}

/* Small Phones (≤480px — Android, iOS) */
@media (max-width: 480px) {
  .section2 {
    padding-top: 15px; /* further reduced top padding */
  }
  .section2-quote {
    font-size: 16px;
    margin-left: 0;
    margin-right: 0;
  }
  .section2-quote-box {
    width: 95%; /* increased width */
    padding: 10px;
  }
  .section2-subtitle,
  .section2-author {
    font-size: 11px;
    line-height: 1.4;
  }
  .section2-quote-mark {
    font-size: 18px;
  }
}




/*section 3 */
/* General Styles */
/* Default Styles (Desktop) */
.section3 {
  width: 100%;
  height: 678px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.section3-container {
  display: flex;
  width: 100%;
  height: 80%;
}

.section3-menu {
  flex: 1;
  min-width: 200px;
  background-color: #efe6d0;
  display: flex;
  flex-direction: column;
  margin-left: 100px;
}

.section3-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.section3-menu li {
  padding: 20px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.section3-menu li:hover,
.section3-menu li.active {
  background:#ac7e65;
  color: #fff;
}

.section3-content {
  flex: 3;
  position: relative;
  overflow: hidden;
  height: 100%;
  background-color: #f6f3e9;
  margin-right: 100px;
}

.section3-panel {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.8s ease-in-out;
  padding: 40px;
  box-sizing: border-box;
}
.section3-panel.active {
  left: 0;
  opacity: 1;
}

.section3-panel h2 {
  text-align: left;
  margin-left: 40px;
  font-size: 48px;
  font-family: 'Superior Title TRIAL', serif;
}
@font-face {
  font-family: 'Superior Title TRIAL';
  src: url('fonts/SuperiorTitleTrial.woff2') format('woff2'),
       url('fonts/SuperiorTitleTrial.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.section3-panel p {
  text-align: justify;
  margin-left: 40px;
  margin-right: 150px;
  font-size: 18px;
  margin-top: 30px;
  line-height: 1.3;
  font-family: 'Josefin Sans', sans-serif;
  color: #666666;
}

.section3-panel img {
  width: 650px;
  height: 300px;
  margin-top: 30px;
  margin-left: 40px;
  border-radius: 8px;
  object-fit: cover;
}

/* Fade-In Effect For Mobile */
.section3-panel.fade-in {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 1s ease-in-out;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .section3 {
    height: auto;
    padding: 40px 20px;
    flex-direction: column;
  }

  .section3-container {
    flex-direction: column;
    height: auto;
  }

  .section3-menu {
    flex-direction: row;
    margin: 0;
    overflow-x: auto;
    padding: 10px;
    justify-content: space-around;
  }

  .section3-menu li {
    padding: 10px 15px;
    font-size: 16px;
    white-space: nowrap;
  }

  .section3-content {
    height: auto;
    position: static;
    margin-top: 20px;
  }

  .section3-panel {
    position: static;
    padding: 20px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }

  .section3-panel.active {
    opacity: 1;
    position: static;
  }

  .section3-panel h2 {
    margin-left: 0;
    font-size: 28px;
  }

  .section3-panel p {
    margin-left: 0;
    margin-right: 0;
    font-size: 16px;
  }

  .section3-panel img {
    width: 636px;
    height: 341px;
    margin-left: 0;
    object-fit: fill;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .section3 {
    height: auto;
    width: 100%;
    margin: 13%;
    padding: 1%;
    flex-direction: column;
  }

  .section3-container {
    flex-direction: column;
  }

  .section3-menu {
    display: none;
  }

  .section3-content {
    position: static;
    overflow: visible;
  }

  .section3-panel {
    position: static;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    margin-bottom: 40px;
    padding: 20px 10px;
  }

  .section3-panel.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }

  .section3-panel h2 {
    font-size: 24px;
    margin-left: 0;
    text-align: left;
  }

  .section3-panel p {
    font-size: 15px;
    margin-left: 0;
    margin-right: 0;
    text-align: justify;
  }

  .section3-panel img {
    width: 100%;
    height: auto;
    margin-left: 0;
    margin-top: 20px;
  }
}



/*section 4 */
.section4-tabs {
  text-align: center;
  margin-bottom: 20px;
}

.section4 .tab-btn {
  padding: 10px 20px;
  border: none;
  background: none;
  font-size: 20px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: border 0.3s;
  color: #ac7e65;
}

.section4 .tab-btn.active {
  border-color: #8d5b3d;
  font-weight: bold;
}

.section4-con{
  font-family: 'Josefin Sans', sans-serif;
  margin: 10px;
  padding: 10px;
}

.section4-con h3{
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  padding: 10px;
}
.section4-con h2{
  font-family: 'Josefin Sans', sans-serif;
  font-size: 40px;
  padding: 10px;
  margin-left: 0px;
}
.section4-con p{
  font-family: 'Josefin Sans', sans-serif;
  font-size: 20px;
  padding: 10px;
  width: 40%;
}

@media (max-width: 768px) {
.section4-con h3{
  font-size: 15px;
}
.section4-con h2{
  font-size: 30px;
}
.section4-con p{
  font-size: 15px;
    width: 50%;
}
}
@media (max-width: 360px) {
.section4-con h3{
  font-size: 8px;
}
.section4-con h2{
  font-size: 15px;
}
.section4-con p{
  font-size: 8px;
  width: 50%;

}
}
@media (max-width: 480px) {
.section4-con h3{
  font-size: 10px;
    width: 100%;

}
.section4-con h2{
  font-size: 20px;
}
.section4-con p{
  font-size: 10px;
  width: 50%;

}
}

/* Carousel container */
.section4-content {
  max-width: 100%;
  margin: 10%;
  position: relative;
  overflow: hidden;
}

.section4 .carousel {
  display: none;
  position: relative;
}

.section4 .carousel.active {
  display: block;
}

/* Carousel track and items */
.section4 .carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 10px;
}

.section4 .carousel-item {
  min-width: calc((100% - 20px) / 3);
  flex-shrink: 0;
}

.section4 .carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
}

/* Carousel buttons */
.section4 .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 50%;
  z-index: 2;
}

.section4 .carousel-btn.prev {
  left: 10px;
}

.section4 .carousel-btn.next {
  right: 10px;
}

/* Responsive */
@media (max-width: 992px) {
  .section4 .carousel-item {
    min-width: calc((100% - 10px) / 2);
    display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  }
  
}

@media (max-width: 600px) {
  .section4 .carousel-track {
    padding: 0; /* Removed padding */
    gap: 0;
    display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
  }

  .section4 .carousel-item {
    min-width: calc(100vw - 20px); /* Full viewport width minus 20px */
    margin: 0 10px;                /* Space around item */
    box-sizing: border-box;
    flex: 0 0 auto;
    
  }

  .section4 .carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
  }
} 


/*section 5 */
.section5 {
  background-color: #fdfaf7;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Georgia', serif;
  color: #402020
}

.section5 h2 {
  font-size: 40px;
  margin-bottom: 20px;
  font-weight: 600;
  font-family: 'Superior Title TRIAL', serif;
}

.section5 p {
  max-width: 80%;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  font-family: 'Josefin Sans', sans-serif;
  opacity: 0.8;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  font-size: 18px;
  font-family: 'Josefin Sans', sans-serif;
}

.amenity {
  transition: transform 0.3s ease, color 0.3s ease;
}

.amenity:hover {
  transform: translateY(-4px);
  color: #7b4d2d;
}

/* ---------------- Responsive for multiple screen sizes ---------------- */

/* Large Laptop - width up to 1440px */
@media (max-width: 1440px) {
  .section5 p {
    max-width: 700px;
  }

  .amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
  }
}

/* Standard Laptop - width up to 1280px */
@media (max-width: 1280px) {
  .section5 p {
    max-width: 600px;
  }

  .amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
  }
}

/* Tablet landscape - width up to 1024px */
@media (max-width: 1024px) {
  .section5 p {
    max-width: 500px;
    font-size: 15px;
  }

  .amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
  }
}

/* Tablet portrait / large mobile - width up to 768px */
@media (max-width: 768px) {
  .section5 p {
    max-width: 90%;
    font-size: 14px;
  }

  .amenities-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
}

/* Mobile large - width up to 480px */
@media (max-width: 480px) {
  .section5 h2 {
    font-size: 26px;
  }

  .section5 p {
    max-width: 100%;
    font-size: 13px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Mobile small - width up to 360px */
@media (max-width: 360px) {
  .section5 h2 {
    font-size: 22px;
  }

  .section5 p {
    font-size: 12px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/*section 6 */
.section6 {
  background-color: #faf8f5;
  padding: 10px 20px;
  text-align: center;
  font-family: 'Georgia', serif;
  color: #3a1f1f;
}

.amenity-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Fixed 3 columns */
  gap: 30px;
  max-width: 1500px; /* Optional: to control the gallery width */
  margin: 0 auto;
}

.gallery-item img {
  width: 500px; /* Full width of the grid cell */
  height: 310px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}


.gallery-item img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* -------- Responsive adjustments -------- */

/* Large Laptop - max-width: 1440px */
@media (max-width: 1440px) {
  .gallery-item img {
    width: 340px;
    height: 250px;
  }
}

/* Standard Laptop - max-width: 1280px */
@media (max-width: 1280px) {
  .gallery-item img {
    width: 300px;
    height: 220px;
  }
}

/* Tablet Landscape - max-width: 1024px */
@media (max-width: 1024px) {
  .gallery-item img {
    width: 260px;
    height: 190px;
  }
}

/* Tablet Portrait / Large Mobile - max-width: 768px */
@media (max-width: 768px) {
  .amenity-gallery {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
  }

  .gallery-item img {
    width: 100%;
    height: 160px;
  }
}

/* Mobile Large - max-width: 480px */
@media (max-width: 480px) {
  .amenity-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-item img {
    width: 100%;
    height: 300px;
  }
}

/* Mobile Small - max-width: 360px */
@media (max-width: 360px) {
  .gallery-item img {
    height: 120px;
  }
}

/*section 7 */
.section7-faq {
  background-color: #fdf9f3;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Josefin Sans', sans-serif;
  color: #3a1f1f;
}

.section7-faq h2 {
  font-size: 25px;
  letter-spacing: 0.1 em;
  margin-bottom: 40px;
}

.faq-container {
  margin: 0 auto;
  width:80%;
}

.faq-item {
  background-color: #f4e9d8;
  margin-bottom: 15px;
  border-radius: 6px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.3s;
  /* Remove this line: height: 100px; */
}

.faq-item:hover {
  background-color: #fcf7ec;
}

.faq-question {
  padding: 20px;
  font-size: 25px;
  text-align: left;
  font-family: 'Josefin Sans', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: nowrap;       /* Prevent icon wrapping */
  gap: 12px;               /* Space between question and icon */
}

.faq-icon {
  font-size: 24px;
  flex-shrink: 0;          /* Prevent shrinking */
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
  text-align: left;
  font-size: 20px;
  color: #4a4a4a;
  font-family: 'Josefin Sans', sans-serif;
}

.faq-item.open .faq-answer {
  max-height: 500px; /* Adjust based on expected content size */
  padding-bottom: 20px;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Responsive Breakpoints */

/* Tablet Portrait */
@media (max-width: 768px) {
  .faq-question {
    font-size: 14px;
    padding: 12px;
    gap: 10px;
    text-align: left;

  }
  .faq-icon {
    font-size: 18px;
  }
}

/* Mobile Large */
@media (max-width: 480px) {
  .faq-question {
    font-size: 13px;
    padding: 10px;
    align-items: center;  /* Vertically center icon */
    text-align: left;
    gap: 8px;
  }
  .faq-icon {
    font-size: 18px;
  }
}

/* Mobile Small */
@media (max-width: 360px) {
  .faq-question {
    font-size: 12px;
    padding: 8px;
    align-items: left;
    text-align: left;
    gap: 6px;
  }
  .faq-icon {
    font-size: 16px;
  }
}




/*section 8 */
.section8-contact {
  background-color: #fefcf9;
  font-family: 'Georgia', serif;
  color: #2f1f1f;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  max-width: 90%;
  margin: 0 auto;
  gap: 50px;
}

.contact-image img {
  width: 660px;
  height: 700px;
}

.contact-form-wrapper {
  flex: 1;
  min-width: 300px;
}

.form-subtitle {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 51.76px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #666;
  vertical-align: middle;
  margin-top: 20px;
  margin-bottom: 10px;
  max-width: 100%;
}

.contact-form-wrapper h2 {
  font-family: 'Superior Title TRIAL', serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 150%;
  letter-spacing: 2px;
  vertical-align: middle;
  margin-bottom: 10px;
}

.form-description {
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0;
  color: #444;
  margin-bottom: 30px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Georgia', serif;
  display: block;
}

/* Wrap input and error message vertically */
.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.input-group input,
.input-group textarea {
  margin-bottom: 6px;
}

.input-group input {
  width: 100%;
  margin-bottom: 4px;
}

.error-message {
  color: #d93025;
  font-size: 13px;
  font-family: Arial, sans-serif;
  min-height: 18px;
  visibility: hidden;
  transition: visibility 0.3s ease;
}

.error-message.show {
  visibility: visible;
}

.form-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.form-row input {
  flex: 1;
  margin-bottom: 0;
  margin-top: 10px;
}

input:invalid {
  border-color: #d93025;
}

#contact-form button {
  background-color: #431f1f;
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}
.form-button-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px; /* optional spacing from form fields */
}


#contact-form button:hover {
  background-color: #2c1515;
}

/* -------- Responsive adjustments -------- */

@media (max-width: 1440px) {
  .contact-form-wrapper h2 {
    font-size: 28px;
  }
  .form-description {
    font-size: 15px;
  }
  #contact-form input,
  #contact-form textarea {
    font-size: 15px;
    padding: 11px;
  }
  #contact-form button {
    padding: 12px 26px;
    font-size: 15px;
  }
}

@media (max-width: 1280px) {
  .contact-form-wrapper h2 {
    font-size: 26px;
  }
  .form-description {
    font-size: 14px;
  }
  #contact-form input,
  #contact-form textarea {
    font-size: 14px;
    padding: 10px;
  }
  #contact-form button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    gap: 30px;
  }
  .contact-form-wrapper h2 {
    font-size: 24px;
  }
  .form-description {
    font-size: 14px;
  }
  #contact-form input,
  #contact-form textarea {
    font-size: 14px;
    padding: 10px;
  }
  .form-row {
    gap: 0px;
  }
  #contact-form button {
    padding: 12px 22px;
    font-size: 14px;
  }
}

/* ✅ Add spacing between Name and Email inputs on non-desktop views */
@media (max-width: 1023px) {
  .form-row:first-of-type .input-group:first-child {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .section8-contact {
    padding: 40px 15px;
  }
  .contact-container {
    flex-direction: column;
    gap: 25px;
  }
  .contact-image img {
    max-width: 100%;
    height: auto;
  }
  .contact-form-wrapper h2 {
    font-size: 22px;
  }
  .form-description {
    font-size: 13px;
  }
  #contact-form input,
  #contact-form textarea {
    font-size: 13px;
    padding: 9px;
  }
  .form-row {
    flex-direction: column;
    gap: 0px;
  }
  #contact-form button {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .section8-contact {
    padding: 30px 10px;
  }
  .contact-form-wrapper h2 {
    font-size: 20px;
  }
  .form-description {
    font-size: 12px;
  }
  #contact-form input,
  #contact-form textarea {
    font-size: 12px;
    padding: 8px;
  }
  #contact-form button {
    padding: 10px 18px;
    font-size: 13px;
  }
}

@media (max-width: 360px) {
  .section8-contact {
    padding: 25px 10px;
  }
  .contact-form-wrapper h2 {
    font-size: 18px;
  }
  .form-description {
    font-size: 12px;
  }
  #contact-form input,
  #contact-form textarea {
    font-size: 11px;
    padding: 7px;
  }
  #contact-form button {
    padding: 10px 16px;
    font-size: 12px;
  }
}



/*section 9 */

.footer-section {
  padding: 40px 20px;
  background-color: #FAF8F4;
  border-top: 1px solid #E0DBD5;
  font-family: 'Georgia', serif;
  color: #2B1B17;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 100%;
  margin: 0;
  gap: 20px;
  margin-left: 63px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  
}

.footer-column.contact-links {
  margin-right: 0px;
}

.footer-column.other-links {
  margin-right: 0px;
}

.footer-column h3 {
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-family: 'Superior Title TRIAL', serif;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  text-decoration: none;
  color: #2B1B17;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #8C3B1B;
}

.footer-buttons button {
  margin: 5px 10px 10px 0;
  padding: 10px 18px;
  background: none;
  border: 1px solid #2B1B17;
  color: #2B1B17;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-buttons button:hover {
  background-color: #2B1B17;
  color: #FFF;
}

.social-icons {
  margin-top: 10px;
}

.social-icon {
  display: inline-block;
  font-size: 18px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  border: 1px solid #2B1B17;
  text-align: center;
  margin-right: 10px;
  color: #2B1B17;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: #2B1B17;
  color: white;
}

.visit-button {
  margin-top: 20px;
  background-color: #B67A5C;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.visit-button:hover {
  background-color: #A26148;
}

/* -------- Responsive Breakpoints -------- */

/* Large Laptop (max-width: 1440px) */
@media (max-width: 1440px) {
  .footer-column h3 {
    font-size: 16px;
  }
  .footer-buttons button {
    padding: 9px 16px;
    font-size: 13px;
  }
}

/* Standard Laptop (max-width: 1280px) */
@media (max-width: 1280px) {
  .footer-column h3 {
    font-size: 15px;
  }
  .footer-buttons button {
    padding: 8px 14px;
    font-size: 13px;
  }
}

/* Tablet Landscape (max-width: 1024px) */
@media (max-width: 1024px) {
  .footer-container {
    gap: 15px;
  }
  .footer-column h3 {
    font-size: 14px;
  }
  .footer-buttons button {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Tablet Portrait (max-width: 768px) */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-column {
    min-width: 100%;
  }
  .footer-column h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .footer-buttons button {
    margin: 5px 0 10px 0;
    padding: 10px 16px;
    font-size: 13px;
  }
  .social-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
    line-height: 32px;
  }
}

/* Mobile Large (max-width: 480px) */
@media (max-width: 480px) {
  .footer-column h3 {
    font-size: 14px;
  }
  .footer-buttons button {
    padding: 8px 14px;
    font-size: 12px;
  }
  .social-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
    line-height: 28px;
    margin-right: 8px;
  }
  .visit-button {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Mobile Small (max-width: 360px) */
@media (max-width: 360px) {
  .footer-column h3 {
    font-size: 13px;
  }
  .footer-buttons button {
    padding: 7px 12px;
    font-size: 11px;
  }
  .social-icon {
    width: 26px;
    height: 26px;
    font-size: 13px;
    line-height: 26px;
    margin-right: 6px;
  }
  .visit-button {
    padding: 8px 14px;
    font-size: 12px;
  }
}

.copyright-section {
  text-align: center;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 14px;
  color: #5c3a36;
  padding: 15px 10px;
  background-color: #FAF8F4;
  border-top: 1px solid #e0dbd5;
}

/* Responsive font adjustment */
@media (max-width: 480px) {
  .copyright-section {
    font-size: 12px;
    padding: 12px 8px;
  }
}