* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f6f4f2;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 60px;
  background-color: #f6f4f2;
}

.logo {
  font-size: 28px;
  font-family: 'Playfair Display', serif;
  color: #8c7a6b;
}

.logo img {
  height: 60px;
  width: auto;
  background-color: transparent;
}


nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
}

.hero {
  position: relative;
  text-align: center;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.hero-text {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px 30px;
  font-size: 22px;
  font-weight: 400;
  color: #333;
  font-family: 'Playfair Display', serif;
}

.highlight {
  color: #b69f8c;
  font-weight: 600;
}

.sections {
  padding: 60px 40px;
  text-align: center;
}

.section-subtitle {
  font-size: 14px;
  color: #8b8b8b;
  font-weight: bold;
  margin: 30px 0 10px;
}

.section-title {
  font-size: 14px;
  color: #8b8b8b;
  font-weight: bold;
  margin: 10px 0 20px;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
}

.cards img {
  width: 280px;
  height: auto;
  border-radius: 40px;
}

/* Style navigation links */
nav a {
  text-decoration: none;
  color: #333;
  font-weight: 400;
  font-family: 'Poppins', sans-serif;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

/* Add underline animation using pseudo-element */
nav a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #b69f8c; /* Warm beige tone */
  transition: width 0.3s ease;
}

/* Hover state */
nav a:hover {
  color: #b69f8c;
}

nav a:hover::after {
  width: 100%;
}

nav a:active {
  transform: scale(0.95);
}


.card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card .section-subtitle {
  margin-bottom: 10px;
  color: #8b8b8b;
  font-size: 14px;
  font-weight: bold;
}

footer {
  background-color: #eae7e2;
  padding: 40px 60px;
  font-family: 'Poppins', sans-serif;
  color: #555;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.footer-center {
  text-align: center;
  font-size: 14px;
  flex: 1;
}

.footer-right {
  position: absolute;
  right: 0;
  font-size: 14px;
  color: #8c7a6b;
}

/* ============================
   Responsive Styles for Mobile
   ============================ */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-top: 20px;
  }

  .hero-text {
    font-size: 18px;
    padding: 8px 20px;
    bottom: 20px;
  }

  .sections {
    padding: 40px 20px;
  }

  .cards {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .card img,
  .cards img {
    width: 90%;
    max-width: 350px;
  }

  .cards-header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  footer {
    padding: 30px 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    position: static;
    margin-top: 10px;
  }
}


/* ======================
   Contact Page Styling
   ====================== */
.contact-section {
  padding: 60px 40px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.contact-section h2 {
  font-size: 32px;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
  color: #8c7a6b;
}

.contact-section p {
  font-size: 16px;
  margin-bottom: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto 40px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  padding: 15px;
  background-color: #8c7a6b;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #b69f8c;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.social-links a {
  color: #8c7a6b;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #b69f8c;
}

/* Responsive for Contact */
@media (max-width: 768px) {
  .contact-form {
    width: 90%;
  }

  .social-links {
    flex-direction: column;
    gap: 15px;
  }
}


.about-section {
  padding: 60px 40px;
  text-align: center;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.logo-image {
  height: 40px;
  vertical-align: middle;
}

footer {
  margin-top: auto;
  background-color: #f6f4f2;
  
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
  font-size: 14px;
  color: #666;
  position: relative;
  
}


/* On wider screens, allow inline layout again */
@media (min-width: 600px) {
  .footer-content span {
    flex-basis: auto;
  }
}





.footer-brand {
  position: absolute;
  right: 30px;
  bottom: 20px;
  font-weight: bold;
  color: #999;
}


.about-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}

.about-image img {
  width: 500px;
  border-radius: 18% 15% 19% 19% / 38% 52% 81% 100% 
  object-fit: cover;
}


.about-content {
  max-width: 600px;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}




/* Responsive layout */
@media (max-width: 768px) {
  .about-layout {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    width: 80%;
  }

  
}


    

/* Services section layout */
.services-section {
  padding: 80px 40px;
  text-align: center;
  background-color: #fff;
}

.services-section .section-title {
  font-size: 24px;
  font-weight: 600;
  color: #8c7a6b;
  margin-bottom: 40px;
  font-family: 'Playfair Display', serif;
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  justify-items: center;
}

/* Individual service card */
.card {
  background-color: #f6f4f2;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 320px;
  width: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 15px;
}

.card p {
  font-size: 18px;
  font-weight: 500;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.card {
  background-color: #f6f4f2;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  max-width: 320px;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 10px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

/* Hidden details by default */
.card-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  font-size: 14px;
  color: #555;
}

/* When active */
.card.active .card-details {
  max-height: 200px; /* Adjust based on content */
  opacity: 1;
  margin-top: 10px;
}


/* Toggle icon */
.toggle-icon {
  font-size: 22px;
  font-weight: bold;
  color: #8c7a6b;
  position: absolute;
  top: 20px;
  right: 20px;
  transition: transform 0.3s ease;
}

/* Rotate the icon when expanded */
.card.active .toggle-icon {
  transform: rotate(45deg); /* Turns + into an × shape */
}



@media (max-width: 600px) {
  .services-section {
    padding: 60px 20px;
  }

  .card img {
    height: 180px;
  }

  .card p {
    font-size: 16px;
  }
}





.card {
  background-color: #f6f4f2;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  max-width: 320px;
  width: 100%;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 10px;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.card-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  font-size: 14px;
  color: #555;
}

.card.active .card-details {
  max-height: 300px;
  opacity: 1;
  margin-top: 10px;
}

/* Toggle icon */
.toggle-icon {
  font-size: 22px;
  font-weight: bold;
  color: #8c7a6b;
  position: absolute;
  top: 20px;
  right: 20px;
  transition: transform 0.3s ease;
}

.card.active .toggle-icon {
  transform: rotate(45deg); /* + becomes × */
}
