/* 1st Section */
.about {
  position: relative;
  background: url("../images/test1.jpg") no-repeat center center/cover;
  height: 500px;
  margin: auto;
  font-size: 60px !important;
  background-position: center; /* default */
  transition: background-position 0.1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}
.about .about-div {
  max-width: 90%;
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55); /* adjust darkness */
  z-index: 1;
}

.about .about-div {
  position: relative;
  z-index: 2;
}

.about .about-title {
  opacity: 0;
  transform: translateY(25px); 
  animation: fadeSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.about .about-title.gold-text-shimmer {
  font-family: "Times New Roman", Times, serif;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #d0a852;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 0 3px 10px rgba(0,0,0,0.5);
  animation-delay: 0.6s;
}

.about .about-title:nth-child(2) {
  font-size: 20px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-transform: none;
  animation-delay: 1.2s;
  font-style: italic;
}

/* Description */
.about .about-title.description {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  color: #f5f5f5;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
  animation-delay: 1.8s;
  font-style: italic;
}

/* Keyframes */
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 1st Section */

/* About Us Section*/
.about-us {
  position: relative;
  overflow: hidden;
  min-height: 500px;           
  display: flex;
  align-items: center;
  padding-left: 10%;
  padding-right: 5%;
  margin: 80px 0;
  color: #fff;
}
.about-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #ffffff;
  background-size: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 1;
}
.overlay-text {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  font-weight: 900;
  font-size: clamp(80px, 18vw, 240px);
  background: url("../images/about_us.jpg") no-repeat center center/cover;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  opacity: 0;
  font-family: 'Fair Sans Text', sans-serif;
  font-weight: 600;
  font-style: italic;
}
.overlay-text.animate-dab {
  animation: dabFade 2.5s forwards ease-in-out;
}
.about-us.animate-bg::before {
  opacity: 1;
}
.about-us-div {
  position: relative;
  z-index: 4;
  max-width: 70%;
  opacity: 0;
  transform: translateY(18px);
}
.about-us-div.animate-text {
  animation: contentFadeIn 2.5s forwards ease-in-out;
  animation-delay: 2.0s;
}
.about-us-image.animate-text {
  animation: contentFadeIn 2.5s forwards ease-in-out;
  animation-delay: 2.0;
}
@keyframes dabFade {
  0%   { opacity: 1; transform: scale(1); }
  60%  { opacity: 1; transform: scale(1.02); } /* hold */
  100% { opacity: 0; transform: scale(1.06); } /* fade away revealing background */
}
@keyframes contentFadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.about-us-container {
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 4;
  position: relative;
  flex-wrap: wrap;
}
.about-us-div,
.about-us-image {
  flex: 1;
  min-width: 300px;
  opacity: 0;
  transform: translateY(18px);
}
.about-label {
  font-family: "Times New Roman", Times, serif;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2.5px;
  color: #d0a852;
  font-weight: 700;
  margin-bottom: 12px;
}
.about-us-title {
  margin: 0 0 18px 0;  
  color: #501063;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
  /* hyphens: auto; */
  text-justify: inter-word;
  word-spacing: -1px;       
  letter-spacing: 0.5px; 
}
.about-us-content {
  margin: 0 0 16px 0;         
  color: #2d2d2d;
  font-size: 18px;             
  line-height: 1.8;
  text-align: justify;
  font-family: "Times New Roman", Times, serif;
}
.about-us-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}
.about-us-image.visible img {
  opacity: 1;
  transform: translateY(0);
}

.contact-btn.gold-blank {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d0a852; /* gold text */
  background-color: #ffffff; /* white fill */
  border: 2px solid #d0a852; /* gold outline */
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-btn.gold-blank:hover {
  background-color: #d0a852; /* gold fill */
  color: #ffffff; /* white text */
  box-shadow: 0 6px 18px rgba(208, 168, 82, 0.35);
  transform: translateY(-2px);
}
/* About Us Section */

/* Why Choose Us */
.trust-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 14px;
  letter-spacing: 2.5px;
  color: #d0a852;
  font-weight: 700;
  margin-bottom: 12px;
}
.features-section {
  background: #fafafa;
  padding: 40px 10px;
}
.trust-div h2 {
  font-size: 60px;
  font-weight: 800;
  transform: translateY(50px);  
  opacity: 0;
  transition: transform 2.0s ease-out, opacity 2.0s ease-out;
}
.trust-div.show h2 {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 2.5s;  
}
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 25px;
}
.category-block {
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 2.0s ease;
}
.category-block.show {
  opacity: 1;
  transform: translateY(0);
}
.category-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}
.category-title {
  font-size: 30px;
  font-weight: 600;
  color: var(--primary-accent);
    text-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  margin-top: 10px;
  position: relative;
}
.category-badge {
  display: inline-block;
  padding: 6px 14px;
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
  color: #3D0C3D;
  background: rgba(61, 12, 61, 0.08);
  border: 1px solid rgba(61, 12, 61, 0.25);
  border-radius: 999px;
  transition: all 0.3s ease;
}
@keyframes badgeGlow {
  from {
    box-shadow: 0 0 10px rgba(255,0,255,0.3);
  }
  to {
    box-shadow: 0 0 25px rgba(255,0,255,0.7);
  }
}
.category-block {
  position: relative;
  padding-bottom: 60px;
  margin-bottom: 60px;
  animation: flowLine 6s linear infinite;
}
.category-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #ffe100, transparent);
  transition: width 3s ease;
}
@keyframes flowLine {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}
.category-block.show::after {
  width: 60%;
}
.category-title::after {
  content: "";
  display: block;
  margin: 10px auto 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d0a852, #ab8638);
  transition: width 2.0s ease;
}
.category-block.show .category-title::after {
  width: 80px;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 48px;
  background: linear-gradient(
    120deg,
    #00010a 0%,  
    #140319 40%, 
    #3a0c3c 60%,  
    #140319 80%, 
    #00010a 100%
  );
  padding: 25px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(123, 0, 255, 0.06);
  margin-bottom: 48px;
  opacity: 0;
  transition: opacity 2.0s ease, transform 2.0s ease;
  will-change: transform, opacity;
  color: #fafafa;
}
.feature-row {
  flex-direction: row;
  transform: translateX(-80px);
}
.feature-row:nth-child(even) {
  flex-direction: row-reverse;
  transform: translateX(80px);
}
.feature-row.show {
  opacity: 1;
  transform: translateX(0);
}
.feature-image {
  flex: 1;
  opacity: 0;
  transition: opacity 2.0s ease; 
}
.feature-row.show .feature-image {
  opacity: 1;
}
.feature-image img {
  width: 100%;
  border-radius: 10px;
}
.feature-content {
  flex: 1;
  opacity: 0;
  transform: translateY(50px); 
  transition: transform 1s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 4s ease-out;
}
.feature-row.show .feature-content {
  transform: translateY(0);
  opacity: 1;
}
.feature-content h3 {
  font-family:'Times New Roman', Times, serif;
  margin-bottom: 12px;
  text-decoration: underline;
}
.feature-row.show .feature-content:nth-child(1) { transition-delay: 1s; }
.feature-row.show .feature-content:nth-child(2) { transition-delay: 2s; }
.feature-row.show .feature-content:nth-child(3) { transition-delay: 3s; }
.feature-row.show .feature-content:nth-child(4) { transition-delay: 4s; }
.feature-row.show .feature-content:nth-child(5) { transition-delay: 5s; }
.feature-row.show .feature-content:nth-child(6) { transition-delay: 6s; }
/* Why Choose Us */

/* Contact Us */
.contact-us {
  /* background: #FFF8DC; */
  position: relative;
  background: url("../images/indexcontact.webp") no-repeat center center/cover;
  padding: 60px 8%;
  color: #ffffff;
  margin-bottom: 30px;
}
.contact-us-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.contact-us-div {
  flex: 1;
  padding: 60px;
  color: #ffffff;  
}
.contact-us-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: #140319;
  position: relative;
  font-family: "Times New Roman", Times, serif;
}
.contact-us-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #140319;
  margin: 12px auto 0;
  border-radius: 2px;
  opacity: 0.6;
}
.contact-us-sub-title {
  font-size: 24px;
  font-weight: 600;
  color: rgba(170, 144, 0, 1);
  margin-bottom: 18px;
  letter-spacing: 0.5px;
  font-family: "Georgia", "Times New Roman", serif;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.contact-us-content {
  font-size: 16px;
  line-height: 1.9;
  color: rgba(81,81,81, 0.85);
  margin-bottom: 28px;
  font-weight: 400;
}
.contact-btn,
.contact-us-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #140319;
  color: #140319;
  background: transparent;
  border-radius: 6px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: 0.3s ease;
}
.contact-btn:hover,
.contact-us-btn:hover {
  background: #140319;
  color: #d0a852;
  transform: translateY(-2px);
}
/* Contact Us */

/* News */
.news-section {
  padding: 60px 5%;
  text-align: center;
  background: #f8f9fb;
}
.fancy-news span {
  font-family: "Times New Roman", Times, serif;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  background: linear-gradient(90deg, #c6a15b, #e6c77b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fancy-news.show span {
  opacity: 1;
  transform: translateY(0);
}
.fancy-news.show span:nth-child(1) {
  transition-delay: 0.1s;
}
.fancy-news.show span:nth-child(2) {
  transition-delay: 0.3s;
}
.fancy-news.show span:nth-child(3) {
  transition-delay: 0.5s;
}
.news-subtitle {
  font-size: 25px;
  font-weight: 700;
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 2.5s ease;
  animation: reveal 0.8s cubic-bezier(0.68,-0.55,0.27,1.55) forwards;
  animation-timeline: view();
  animation-range: entry 0% cover 30%;
  color: #d0a852;
}
@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.carousel {
  margin:auto;
  overflow:hidden;
  position:relative;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  max-width: 80%;
  align-items: center;
  justify-content: center;
}
.carousel-viewport{
  overflow:hidden;
  width: 100%;
}
.track {
  display:flex;
  will-change:transform;
  transform:translate3d(0,0,0);
  gap:20px;
  padding: 10%;
  justify-content: center;
}
.news-card {
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
  color: #1f2937;
  flex: 0 0 calc((100% - 40px) / 3);
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.35s ease;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
  border-color: rgba(212,175,55,0.25);
}
.news-card:nth-child(odd){
  transform: translateY(30px);
}
.news-card:nth-child(even){
  transform: translateY(-30px);
}
.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}
.news-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.news-card p {
  color: #6b7280;
  font-size: 14px;
}
.read-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: #c6a15b;
  border: 1px solid #c6a15b;
  transition: all 0.3s ease;
}
.read-btn:hover {
  background: #c6a15b;
  color: #fff;
}
.carousel-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 8px;
  background: #140319;
  color: #ffffff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}
.carousel-btn.prev{
  left: 0px;
}
.carousel-btn.next{
  right: 0px;
}
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0,0,0,0.8);
  padding: 20px;
  box-sizing: border-box;
}
.modal-content {
  max-width: 800px;
  margin: 40px auto;
  background: #1c2a33;
  color: white;
  border-radius: 8px;
  padding: 20px;
}
.modal-content img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}
.modal-content h2 {
  margin-top: 0;
  margin-bottom: 15px;
}
.modal-content p {
  line-height: 1.6;
}
.news-detail img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}
.news-detail p {
  line-height: 1.6;
  margin-bottom: 15px;
}
.news-detail h1,h2,h3 {
  margin-bottom: 10px;
}
.close {
  color: #fff;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
.close:hover {
  color: var(--background-gold-shimmer);;
}


/* Tablet & Small Desktop (Up to 900px) */
@media (max-width: 900px) {
  .news-card {
    flex: 0 0 50%;
  }

  /* Tablets & Large Phones (Up to 768px) */
  @media (max-width: 768px) {
    .track {
      gap: 10%;
    }
    .fancy-news span {
      font-size: 38px;
      font-weight: 800;
    }
    .news-subtitle {
      font-size: 18px;
      font-weight: 700;
    }
    .news-card {
      flex: 0 0 100%;
    }
    .news-card:nth-child(odd),
    .news-card:nth-child(even) {
      transform: none;
    }
    .news-card h3 {
      margin: 5px;
      font-size: large;
    }
    .news-card p {
      margin: 10px;
    }
    .carousel-btn {
      display: none;
    }
  }

  /* Small Mobile Devices (Up to 600px) */
  @media (max-width: 600px) {
    .modal-content {
      margin: 20px auto;
      padding: 15px;
    }
    .modal-content img {
      max-height: 250px;
    }
  }
}
/* News */

/* FAQ */
.faq-section {
  padding:40px 10px;
}
.faq{
  max-width:80%;
  margin:20px auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:30px;
}
.faq-div h2, 
.faq-div p {
  transform: translateY(50px);  
  opacity: 0;
  transition: transform 1.0s ease-out, opacity 1.0s ease-out;
}
.faq-div.show h2, 
.faq-div p {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 1.0s;  
}
.faq-title {
  font-family: "Times New Roman", Times, serif;
  font-size: 60px;
  font-weight: 800;
  text-align:left;
  max-width: 80%;
  margin: 0 auto;
}
.faq-subtitle {
  font-size: 25px;
  font-weight: 700;
  text-align:center;
}
.faq-item{
  border-bottom:1px solid #333;
  padding:15px 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.faq-question{
  display:flex;
  justify-content:space-between;
  align-items:left;
  cursor:pointer;
  font-size:18px;
  color:#333;
  font-weight: 700;
}
.icon{
  font-size:22px;
  transition:transform 0.6s ease;
}
.faq-answer{
  max-height:0;
  overflow:hidden;
  background-color: #ffffff;
  color: #606060;
  transition:max-height 0.6s ease;
  text-align: left;
}
.faq-item.active .faq-question {
  background-color: #d0a852; /* dark background */
  color: #fff;
  border-radius: 10px;
  padding: 15px;
}
.faq-item.active .faq-answer{
  max-height:200px;
  margin-top:10px;
}
.faq-item.active .icon{
  transform:rotate(45deg); 
}
/* FAQ */

@media screen and (max-width: 768px) {
  /* 1st Section */
  .about {
    text-align: center;
  }
  .about .about-title:first-child {
    font-size: 25px;
    padding: 15px 30px;
  }
  .about .about-title.gold-text-shimmer {
    font-size: 32px;
  }

  /* About Us Section */
  .about-us {
    padding-left: 5%;
    padding-right: 5%;
    justify-content: center;
    text-align: justify;
  }
  .about-us-title {
    font-size: 28px;
  }
  .about-us-content {
    font-size: 18px;
  }
  .overlay-text { 
    font-size: clamp(60px, 24vw, 140px); 
  }
  .about-us-container {
    padding-bottom: 40px;
    flex-direction: column;  /* stack items vertically */
    align-items: center;     /* center content horizontally */
  }
  .about-us-div {
    max-width: 100%;
  }
  .about-us-image {
    width: 100%;
    order: -1;     
    margin-bottom: 25px;          
  }

  /* Why Choose Us */
  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
    text-align: left;
    transform: translateY(40px);
  }
  .feature-row.show {
    transform: translateY(0);
  }
  .trust-div h2 {
    font-size: 38px;
    font-weight: 800;
  }

  /* FAQ */
  .faq{
    grid-template-columns:1fr;
  }
  .faq-title {
    font-size: 34px;
    font-weight: 800;
  }
  .faq-subtitle {
    font-size: 18px;
    font-weight: 700;
  }

  /* Contact Us */
  .contact-us-container {
    flex-direction: column;
  }
  .contact-us-div {
    padding: 30px;
    max-width: 100%;         
  }
  .contact-us-title {
    font-size: 34px;
  }
  .contact-us-sub-title {
    font-size: 20px;
  }
  .contact-us-content {
    font-size: 18px;
  }
  .contact-us-image {
    width: 100%;
    order: -1;              
  }
}

@media screen and (min-width: 769px) {
  .about-us-title {
    font-size: 30px;
  }
  .about-us-content {
    font-size: 20px;
  }
  .contact-btn,
  .contact-us-btn {
    padding:6px 18px;
  }  
}

@media screen and (max-width: 420px) {
  .about-us {
    padding-left: 3%;
    padding-right: 3%;
  }
  .about-us-title {
    font-size: 28px;
  }
  .about-us-content {
    font-size: 12px;
  }
  .overlay-text {
    font-size: clamp(40px, 18vw, 120px);
  }
}
