/* hero section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 94%;
  object-fit: cover;
  z-index: 1;
}

.hero-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(
    to bottom,
    #FAF9F6 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Hero Responsive Styles */
@media (max-width: 1024px) {
  .hero {
    height: 70vh;
  }
  
  .hero-fade-overlay {
    height: 150px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-fade-overlay {
    height: 120px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 50vh;
    min-height: 350px;
  }
  
  .hero-fade-overlay {
    height: 100px;
  }
}

/* Service Section */
.services-section {
  background-color: #A6B3A1;
  text-align: center;
  padding: 45px 0 45px 0;
  position: relative;
}

.service-heading {
  text-align: center;
  margin-bottom: 20px;
  font-size: 50px;
  margin-top: 20px;
  font-family: 'Cormorant';
}

.services-layout {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.services-row {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  z-index: 2;
  position: relative;
}

.top-row {
  margin-bottom: 100px;
}

.bottom-row {
  margin-top: 100px;
}

.service-card {
  background-color: #fdfcf9;
  border: 2px solid #e7c476;
  padding: 30px 20px;
  border-radius: 5px;
  width: 100%;
  max-width: 280px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card img {
  width: 42px;
  margin-bottom: 18px;
}

.service-card p {
  font-family: 'Cormorant';
  font-size: 18px;
  line-height: 1.4;
  color: #3a3a3a;
  margin: 0;
}

.service-card1 {
  background-color: #fdfcf9;
  border: 2px solid #e7c476;
  padding: 30px 20px;
  border-radius: 5px;
  width: 100%;
  max-width: 280px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  text-align: center;
}

.service-card1:hover {
  transform: translateY(-5px);
}

.service-card1 img {
  width: 55px;
  margin-bottom: 18px;
}

.service-card1 p {
  font-family: 'Cormorant';
  font-size: 18px;
  line-height: 1.4;
  color: #3a3a3a;
  margin: 0;
}

.connector-lines {
  position: absolute;
  top: 130px;
  left: 50%;
  width: 100%;
  height: 230px; 
  transform: translateX(-50%);
  z-index: 1;
}

.vertical-line {
  position: absolute;
  width: 1px;
  height: 100px;
  background-color: #e7e7e7;
}

.v1 {
  left: 14%;
}
.v2 {
  left: 50%;
  transform: translateX(-50%);
}
.v3 {
  left: 86%;
}

.horizontal-line {
  position: absolute;
  top: 100px;
  left: 14%;
  width: 72%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center; 
  opacity: 0;
  background-color: #e7e7e7;
}

.horizontal-line.lower {
  position: absolute;
  top: 130px;
  left: 14%;
  width: 72%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: center; 
  opacity: 0;
  background-color: #e7e7e7;
}

.connector-lines.active .horizontal-line,
.connector-lines.active .horizontal-line.lower {
  transform: scaleX(1);
  opacity: 1;
}

.vertical-line.center-lower {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 30px; 
  background-color: #e7e7e7;
}

.vertical-line.b1,
.vertical-line.b2,
.vertical-line.b3 {
  position: absolute;
  width: 1px;
  height: 90px; 
  background-color: #e7e7e7;
  top: 130px; 
}

.b1 {
  left: 14%;
}
.b2 {
  left: 50%;
  transform: translateX(-50%);
}
.b3 {
  left: 86%;
}

.services-bottom-image img {
  height: auto;
  display: block;
  width: 100%;
}

.vertical-line,
.horizontal-line {
  opacity: 0;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1s ease-out, opacity 0.3s;
}

.horizontal-line,
.horizontal-line.lower {
  transform: scaleX(0);
  transform-origin: center;
}

.connector-lines.active .vertical-line,
.connector-lines.active .horizontal-line {
  transform: scaleY(1) scaleX(1);
  opacity: 1;
}

.v1 { transition-delay: 0.3s; }
.v2 { transition-delay: 0.3s; }
.v3 { transition-delay: 0.3s; }

.horizontal-line { transition-delay: 0.7s; }

.lower { transition-delay: 1.5s; }
.center-lower { transition-delay: 1.3s; }

.b1 { transition-delay: 1.8s; }
.b2 { transition-delay: 1.8s; }
.b3 { transition-delay: 1.8s; }

/* Services Section Responsive Styles */
@media (max-width: 1024px) {
  .services-section {
    padding: 40px 20px 0 20px;
  }
  
  .service-heading {
    font-size: 42px;
    margin-bottom: 20px;
  }
  
  .services-layout {
    max-width: 900px;
  }
  
  .services-row {
    gap: 30px;
    margin-bottom: 60px;
  }
  
  .top-row {
    margin-bottom: 80px;
  }
  
  .bottom-row {
    margin-top: 80px;
  }
  
  .service-card,
  .service-card1 {
    max-width: 250px;
    min-height: 160px;
    padding: 25px 15px;
  }
  
  .service-card p,
  .service-card1 p {
    font-size: 16px;
  }
  
  /* Adjust connector lines for tablet */
  .connector-lines {
    top: 120px;
    height: 200px;
  }
  
  .vertical-line {
    height: 80px;
  }
  
  .vertical-line.b1,
  .vertical-line.b2,
  .vertical-line.b3 {
    height: 70px;
    top: 110px;
  }
  
  .horizontal-line {
    top: 80px;
  }
  
  .horizontal-line.lower {
    top: 110px;
  }
  
  .vertical-line.center-lower {
    top: 80px;
    height: 30px;
  }
}

@media (max-width: 768px) {
  .services-section {
    padding: 30px 15px 0 15px;
  }
  
  .service-heading {
    font-size: 36px;
    margin-bottom: 30px;
    margin-top: 30px;
  }
  
  .services-layout {
    max-width: 100%;
  }
  
  .services-row {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
  }
  
  .top-row {
    margin-bottom: 30px;
  }

  .services-bottom-image img {
  height: 140px;
  }
  
  .bottom-row {
    margin-top: 30px;
    display: none;
  }
  
  .service-card,
  .service-card1 {
    max-width: 320px;
    width: 90%;
    min-height: 140px;
    padding: 20px 15px;
  }
  
  .service-card img {
    width: 36px;
    margin-bottom: 15px;
  }
  
  .service-card1 img {
    width: 45px;
    margin-bottom: 15px;
  }
  
  .service-card p,
  .service-card1 p {
    font-size: 16px;
  }
  
  /* Hide connector lines on mobile - they don't work well in vertical layout */
  .connector-lines {
    display: none;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 25px 10px 25px 10px;
  }
  
  .service-heading {
    font-size: 28px;
    margin-bottom: 25px;
    margin-top: 25px;
  }
  
  .services-row {
    gap: 20px;
    margin-bottom: 0px;
  }
  
  .service-card,
  .service-card1 {
    max-width: 280px;
    width: 95%;
    min-height: 130px;
    padding: 18px 12px;
  }
  
  .service-card img {
    width: 32px;
    margin-bottom: 12px;
  }
  
  .service-card1 img {
    width: 40px;
    margin-bottom: 12px;
  }
  
  .service-card p,
  .service-card1 p {
    font-size: 15px;
    line-height: 1.3;
  }
}

/* Work Section */
:root {
  --color-text: #3a3a3a;
  --color-accent: #cdbd8a;
  --color-accent-dark: #a9b07a;
  --color-border: #e6d9b3;
  --color-bg: #f9f7f1;
}

body {
  background-color: var(--color-bg);
  margin: 0;
  font-family: 'Poppins', sans-serif;
}

.main-title {
  font-family: 'Cormorant', serif;
  font-weight: 100;
  font-size: 48px;
  color: var(--color-text);
  margin: 30px 0;
  text-align: center;
  position: relative;
}

.main-title::before,
.main-title::after {
  content: "";
  display: inline-block;
  width: 80px;
  height: 1px;
  background-color: #DDAB18;
  vertical-align: middle;
  margin: 0 16px;
}

.container {
  max-width: 100%;
  margin: 0 auto 48px auto;
  padding: 0 24px;
}

.section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-bottom: 80px;
  flex-wrap: wrap;
}

.text-box {
  flex: 1;
  min-width: 300px;
  max-width: 450px;
  background-color: #FBF5EB;
  padding: 24px;
  border: 1.5px solid var(--color-border);
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  line-height: 1.6;
}

.text-box h3 {
  font-family: 'Cormorant', serif;
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 6px;
  color: var(--color-text);
}

.text-box em {
  font-family: 'Cormorant', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--color-text);
  margin-bottom: 12px;
  display: block;
}

.text-box p {
  margin-bottom: 12px;
  font-size: 16px;
}

.divider-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 80%;
}

.divider-accent {
  width: 6px;
  height: 70px;
  background-color: var(--color-accent-dark);
  border-radius: 3px;
}

.divider-line {
  width: 1px;
  height: 135px;
  background-color: #c4c4c4;
}

.image-column {
   display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  max-width: 460px;
  height: 425px;
}

.images-main {
  flex: 1;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e4e4e4;
  max-height: 100%;
}

.media-group {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 300px;
}

/* Ensure image fills column height */
.image-wrapper {
  flex: 1;
  height: 100%;
}

.image-wrapper img.images-main {
  height: 425px;
  width: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e4e4e4;
}

.thumbs-vertical {
  display: flex;
  flex-direction: column;
  gap: 25px;
  overflow-y: auto;
  height: 385px; 
  min-width: 80px;
  scrollbar-width: none;
}

.thumbs-vertical img {
  width: 75px;
  height: 75px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border 0.3s ease;
}

.thumbs-vertical img.active,
.thumbs-vertical img:hover {
  border: 2px solid var(--color-accent);
}

/* Optional Scrollbar Styling */
.thumbs-vertical::-webkit-scrollbar {
  width: 6px;
}
.thumbs-vertical::-webkit-scrollbar-track {
  background: transparent;
}
.thumbs-vertical::-webkit-scrollbar-thumb {
  background-color: var(--color-accent);
  border-radius: 6px;
}

/* Work Section Responsive Styles */
@media (max-width: 1024px) {
  .main-title {
    font-size: 42px;
    margin: 25px 0;
  }
  
  .main-title::before,
  .main-title::after {
    width: 60px;
    margin: 0 12px;
  }
  
  .container {
    padding: 0 20px;
    margin-bottom: 40px;
  }
  
  .section {
    gap: 30px;
    margin-bottom: 60px;
  }
  
  .text-box {
    min-width: 280px;
    max-width: 400px;
    padding: 20px;
  }
  
  .text-box h3 {
    font-size: 30px;
  }
  
  .text-box em {
    font-size: 20px;
  }
  
  .text-box p {
    font-size: 15px;
  }
  
  .image-column {
    max-width: 400px;
    height: 380px;
  }
  
  .image-wrapper img.images-main {
    height: 380px;
  }
  
  .thumbs-vertical {
    height: 340px;
    gap: 20px;
  }
  
  .thumbs-vertical img {
    width: 65px;
    height: 65px;
  }
  
  .divider-accent {
    height: 60px;
    width: 5px;
  }
  
  .divider-line {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 36px;
    margin: 20px 0;
  }
  
  .main-title::before,
  .main-title::after {
    width: 40px;
    margin: 0 10px;
  }
  
  .container {
    padding: 0 15px;
    margin-bottom: 35px;
  }
  
  .section {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 50px;
  }
  
  .text-box {
    min-width: auto;
    max-width: 100%;
    width: 100%;
    padding: 18px;
    order: 3;
  }
  
  .text-box h3 {
    font-size: 28px;
    margin-bottom: 8px;
  }
  
  .text-box em {
    font-size: 18px;
    margin-bottom: 10px;
  }
  
  .text-box p {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .image-column {
    flex-direction: column;
    order: 1;
    max-width: 100%;
    width: 100%;
    align-items: center;
    height: auto;
  }
  
  .image-wrapper {
    height: auto;
  }
  
  .image-wrapper img.images-main {
    width: 100%;
    height: auto;
    max-height: 400px;
    order: 1;
  }
  
  .thumbs-vertical {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    height: auto;
    width: 100%;
    justify-content: center;
    padding-top: 12px;
    gap: 15px;
     order: 2;
  }
  
  .thumbs-vertical img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }
  
  .divider-container {
    flex-direction: row;
    height: auto;
     order: 2;
    margin: 15px 0;
  }
  
  .divider-line {
    height: 1px;
    width: 40px;
  }
  
  .divider-accent {
    height: 6px;
    width: 40px;
  }
  
  .media-group {
    min-width: auto;
    width: 100%;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .main-title {
    font-size: 32px;
  }
  
  .main-title::before,
  .main-title::after {
    width: 30px;
    margin: 0 8px;
  }
  
  .text-box {
    padding: 16px;
  }
  
  .text-box h3 {
    font-size: 26px;
  }
  
  .text-box em {
    font-size: 17px;
  }
  
  .thumbs-vertical img {
    width: 55px;
    height: 55px;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 28px;
    margin: 15px 0;
  }
  
  .main-title::before,
  .main-title::after {
    width: 25px;
    margin: 0 6px;
  }
  
  .container {
    padding: 0 10px;
    margin-bottom: 30px;
  }
  
  .section {
    gap: 20px;
    margin-bottom: 40px;
  }
  
  .text-box {
    padding: 14px;
  }
  
  .text-box h3 {
    font-size: 24px;
  }
  
  .text-box em {
    font-size: 16px;
  }
  
  .text-box p {
    font-size: 13px;
  }
  
  #mainImage1 {
    width: 370px;
  }

  #mainImage2 {
    width: 370px;
  }

  #mainImage3 {
    width: 370px;
  }

  .thumbs-vertical {
    gap: 12px;
    padding-top: 10px;
  }
  
  .thumbs-vertical img {
    width: 55px;
    height: 55px;
  }
  
  .divider-line {
    width: 30px;
  }
  
  .divider-accent {
    width: 30px;
  }
}