
/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: #222;
  line-height: 1.6;
  background: #fff;
}
section {
  padding: 70px 10%;
}
h2 {
  text-align: center;
  margin-bottom: 40px;
}
h1 span, h2 span, h3 span {
  color: #3b82f6; 
}

/* ================= HERO WRITING STYLE ================= */
.product-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background: url("../images/background.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(245, 250, 250, 0.738);
}

.hero-text {
  position: relative;
  max-width: 900px;
}

.hero-text h1 {
  font-size: 58px;
  font-weight: 500;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-text h1 span {
  color: #3b82f6;  
  font-weight: 600;
}

.hero-text p {
  font-size:20px;
  color: #374151;
  max-width: 700px;
  line-height: 1.7;
  font-weight: 700;
}

.hero-text h1 span,
.product-cta-heading span,
h2 span, h3 span {
  font-family: 'Playfair Display', serif;
}

/* ================= PRODUCT DETAILS SECTION ================= */
.product-details {
  background: #ffffff;
  padding: 90px 10%;
}

/* Section Header */
.product-details .section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 80px;
}

.product-details .section-header h2 {
  font-size: 38px;
  color: #0f172a;
  margin-bottom: 14px;
  font-weight: 600;
}

.product-details .section-header p {
  color: #475569;
  line-height: 1.7;
}

/* ================= PRODUCT ROW ================= */
.product-row {
  display: flex;
  align-items: center;
  gap: 70px;
  margin-bottom: 90px;
  background: #d8ecff; ;
  border-radius: 20px;
  padding: 50px;
}

.product-row.reverse {
  flex-direction: row-reverse;
}

/* Product Image */
.product-image {
  flex: 1;
  text-align: center; 
}
.product-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  background: #f8fafc;
  padding: 20px;
}

/* Product Info */
.product-info {
  flex: 1;
}

.product-info h3 {
  font-size: 30px;
  color: #0f172a;
  margin-bottom: 16px;
  font-weight: 600;
}

.product-info p {
  font-size: 16px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Product List */
.product-info ul {
  list-style: none;
  padding-left: 0;
}

.product-info ul li {
  font-size: 15px;
  color: #334155;
  margin-bottom: 10px;
  padding-left: 26px;
  position: relative;
}

.product-info ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #2563eb;
  font-size: 14px;
}
/* ================= PRODUCT CATEGORY BUTTON ================= */

.product-actions {
  margin-top: 26px;
}

/* Primary CTA */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #279cff, #2563eb);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.35s ease;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.35);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .product-row {
    gap: 50px;
  }
}

@media (max-width: 992px) {
  .product-row,
  .product-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .product-info ul li {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .product-details {
    padding: 70px 6%;
  }

  .product-details .section-header h2 {
    font-size: 30px;
  }

  .product-info h3 {
    font-size: 24px;
  }
}

/* ================= PRODUCT CTA  ================= */
.product-cta-section {
  background-color: #1e88e5;
  min-height: 300px;                
  display: grid;
  align-items: center; 
  margin-top: -80px;             
}

.product-cta-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 64px;
  align-items: center;
}

/* LEFT TEXT */
.product-cta-text {
  max-width: 720px;
}

.product-cta-subtitle {
  display: block;
  font-weight: 700;
  font-size: 19px;
  color: #d8d8d8;
  margin-bottom: 10px;   

}

.product-cta-heading {
  font-size: 38px;
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  margin: 0 0 16px 0;                
  line-height: 1.25;
  font-weight: 600;
  

}
.product-cta-heading span{
  color: #82c620;;
}
.product-cta-description {
  font-size: 16px;
  color: #d1d5db;
  line-height: 1.7;
  margin: 0;                       
  
}

/* BUTTON */
.product-cta-button {
  background-color: #e9e7e0;
  color: #0b0b0b;
  padding: 14px 36px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  border: 2px solid #82c620;;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-cta-section {
    min-height: auto;
    padding: 60px 0;
  }
  .product-cta-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }

  .product-cta-button-wrap {
    justify-content: center;
  }
}

/* ================= BACK TO TOP BUTTON ================= */

#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 35px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #279cff, #82c620);         
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 999;

  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

/* Show button */
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover effect */
#backToTop:hover {
  background: rgb(130, 198, 32);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.45);
}


/* ================= HERO TEXT ANIMATION ================= */

.hero-animate {
  opacity: 0;
  transform: translateY(50px);
  animation: heroFadeUp 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes heroFadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= PRODUCT CARD ANIMATION ================= */

.animate-card {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= HOVER EFFECT ================= */

.product-row:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-image img {
  transition: transform 0.5s ease;
}

.product-row:hover .product-image img {
  transform: scale(1.08);
}

