/* start promo section */
.hero-section {
  padding: var(--theme-section-gap) var(--theme-section-gap);
  text-align: center;
  background: var(--theme-background);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.hero-content h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #111;
}

.hero-content p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #444;
}

.hero-btn {
  display: inline-block;
  background: var(--logo-yellow);
  color: var(--logo-dark);
  padding: 0.3rem 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: background 0.2s ease;
}

.hero-btn:hover {
  background: var(--logo-green);
  color: white;
}

.hero-video {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* end promo section */

/* start feature section*/
.features-section-modern {
  padding: var(--theme-section-gap) var(--theme-section-gap);
  text-align: center;
}

.features-section-modern .section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--logo-dark);
}

.features-section-modern .section-subtitle {
  font-size: 1.1rem;
  color: var(--logo-dark-light);
  max-width: 650px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px 40px;
}

.feature-card {
  position: relative;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); /* changed divider to darker */
  animation: fadeUp 0.6s ease forwards;
  animation-delay: var(--delay);
  opacity: 0;
  text-align: left; /* always left aligned */
}

.feature-card:last-child {
  border-bottom: none;
}

.feature-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-card-header {
  transform: translateX(6px);
}

.feature-card .icon {
  font-size: 1.6rem;
  color: var(--logo-green);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.feature-card:hover .icon {
  transform: scale(1.2);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--logo-dark);
  margin: 0;
  position: relative;
  display: inline-block;
}

.feature-card h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--logo-green);
  transition: width 0.3s ease;
}

.feature-card:hover h3::after {
  width: 100%;
}

.feature-card p {
  font-size: 0.95rem;
  color: #6b7280;
  line-height: 1.55;
  margin: 0;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* reduce gap for smaller screens */
  }

  .feature-card {
    padding-bottom: 15px;
  }
}
/* end feature section */

/* start template section */
/* Base section */
/* Templates Section */
.templates-section {
  padding: var(--theme-section-gap) var(--theme-section-gap);
  text-align: center;
}

.templates-section .section-title {
  font-size: 2.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--logo-dark);
}

.templates-section .section-subtitle {
  font-size: 1.1rem;
  color: var(--logo-dark-light);
  max-width: 650px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

/* Wrapper */
.templates-wrapper {
  position: relative;
}

/* Grid layout */
.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Force 2 columns on small phones */
@media (max-width: 480px) {
  .templates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Template items */
.template-item {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.template-item img {
  width: 100%;
  border-radius: var(--border-radius);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.template-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Overlay */
.template-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: var(--border-radius);
}

.template-item:hover .template-overlay {
  opacity: 1;
}

.view-btn {
  background: linear-gradient(135deg, var(--logo-orange), var(--logo-yellow-light));
  color: white;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.view-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  flex-direction: column;
  padding: 20px;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  text-align: center;
  max-width: 90%;
}

.lightbox img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  margin-bottom: 15px;
}

.lightbox-caption {
  color: #f3f4f6;
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* Close + Arrows */
.lightbox-close,
.lightbox-arrow {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 10px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-arrow.left {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-arrow.right {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-arrow:hover,
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* end template section */

/* start theme descriptio section */
.theme-description {
  padding: var(--theme-section-gap) var(--theme-section-gap);
}

.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left */
.theme-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--logo-dark);
}

.theme-points {
  margin-top: 20px;
}

.theme-point {
  margin-bottom: 30px;
}

.theme-point h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--logo-dark);
  position: relative;
  padding-left: 22px;
}

.theme-point h3::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--logo-orange);
  font-size: 1rem;
  line-height: 1.4;
}

.theme-point p {
  font-size: 1rem;
  color: var(--logo-dark-light);
  line-height: 1.55;
  margin: 0;
}

/* Video */
.theme-video video {
  width: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
}

/* 📱 Responsive */
@media (max-width: 992px) {
  .theme-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Show mobile video inside text, hide desktop video */
  .desktop-video {
    display: none;
  }

  .mobile-video {
    display: block;
    margin-bottom: 20px;
  }

  .theme-video video {
    max-height: 400px;
  }

  .theme-title {
    font-size: var(--thehe-section-title-mobile);
    margin-bottom: 20px;
    text-align: center;
    margin-top: -30px;
  }
  .theme-point h3 {
    font-size: 1rem;
  }
  .theme-point p {
    font-size: 0.8rem;
    text-align: justify;
  }
  .theme-point {
    margin-bottom: 10px;
  }
  .templates-section .section-title, .features-section-modern .section-title, .steps-title{
    font-size: var(--thehe-section-title-mobile) !important;
    margin-bottom: 20px;
    text-align: center;
    margin-top: -40px;
  }

  .templates-section .section-subtitle, .features-section-modern .section-subtitle, .steps-subtitle {
    font-size: 1rem !important;
        margin: -15px auto 15px !important;
        text-align: center;
  }

  .feature-card-header{
    gap: 0px;
    margin-bottom: 3px;
  }

  .feature-card .icon, .feature-card h3 {
    font-size: 0.9rem;
  }

  

      .features-grid {
        gap: 10px;
      }

      .feature-card p {
      font-size: 0.7rem;
      line-height: 1.2;
      margin: 0;
      text-align: justify;
  }
  

}

/* 💻 Desktop: hide mobile video, show right-side video */
@media (min-width: 993px) {
  .mobile-video {
    display: none;
  }
}

/* end theme description section */

/* start media library section */
.media-library {
  padding: var(--theme-section-gap) var(--theme-section-gap);
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left video */
.media-video video {
  width: 100%;
  border-radius: var(--border-radius);
  object-fit: cover;
}

/* Right text */
.media-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--logo-dark);
}

.media-point {
  margin-bottom: 30px;
}

.media-point h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--logo-dark);
  position: relative;
  padding-left: 22px;
}

.media-point h3::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--logo-orange);
  font-size: 1rem;
  line-height: 1.4;
}

.media-point p {
  font-size: 1rem;
  color: var(--logo-dark-light);
  line-height: 1.55;
  margin: 0;
}

/* 📱 Responsive */
@media (max-width: 992px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .media-video video {
    max-height: 400px;
  }

  .hero-content h1{
    font-size: 2rem;
  }

  .hero-content p {
      font-size: 1.1rem;
      margin-bottom: 1rem;
  }

  .hero-content {
      margin: 0 auto 1rem auto;
  }

   .media-title {
    font-size: var(--thehe-section-title-mobile);
    margin-bottom: 20px;
    text-align: center;
    margin-top: -40px;
  }
  .media-point h3{
    font-size: 1rem;
  }
  .media-point p{
    font-size: 0.8rem;
        text-align: justify;
  }
  .media-point {
        margin-bottom: 10px;
    }
}

/* end media library section */

/* start steps to create website */
.steps-horizontal {
  padding: var(--theme-section-gap) var(--theme-section-gap);
  text-align: center;
}

.steps-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--logo-dark);
  margin-bottom: 12px;
}

.steps-subtitle {
  font-size: 1.1rem;
  color: var(--logo-dark-light);
  max-width: 700px;
  margin: 0 auto 70px;
  line-height: 1.6;
}

/* Base (mobile & tablet) → 3-column grid */
.steps-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 20px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

/* Step items */
.step-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 70px;
  height: 70px;
  border-radius: var(--border-radius);
  background: #fff;
  border: 4px solid var(--logo-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 1.5rem;
  color: var(--logo-orange);
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.step-item:hover .step-icon {
  background: var(--logo-orange);
  color: #fff;
  transform: scale(1.1);
}

.step-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--logo-dark);
  margin-bottom: 6px;
}

.step-item p {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Desktop (≥992px) → switch to flex with connector line */
@media (min-width: 992px) {
  .steps-track {
    
      display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 50px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
  }

  .steps-track::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 8%;
    right: 8%;
    height: 4px;
    background: linear-gradient(to right, var(--logo-orange), var(--logo-yellow-light));
    z-index: 0;
  }

  .step-item {
    flex: 1 1 150px;
    max-width: 180px;
  }

  
}
@media (max-width: 992px) {
  .step-icon {
    width: 30px;
    height: 30px;   
    border: 2px solid var(--logo-orange);
    margin: 0 auto 5px;
    font-size: 0.9rem;
}
.step-item h3 {
font-size: 1rem;
margin-bottom: 3px;
}
.step-item p {
    font-size: 0.8rem;
    line-height: 1.2;
    text-align: justify;
}
.steps-track {
  gap: 10px 20px;
}

.step-item {
  margin-bottom: 0px;
}
} 
/* end steps to create website */


