* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
:root {
  --persimmon: #ff2c2c;
}
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* header */
.header {
  position: relative;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.header #bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
.hero-content-change > div {
  color: #fff;
}
.hero-content-change > div > span {
  display: block;
  padding: 0.4rem 0;
  font-size: 1.4rem;
}
.hero-content-change > div h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 0.5rem;
}
.hero-lg-text {
  text-transform: uppercase;
  font-weight: 800;
  word-spacing: 5px;
  letter-spacing: 2px;
  margin: 1.2rem 0;
}
.hero-quote {
  color: #fff;
  font-weight: 300;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  /* filter: blur(0.55px); */
}
.hero-quote span {
  color: var(--persimmon);
}
.hero-btn {
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  background: var(--persimmon);
  border: 2px solid var(--persimmon);
  padding: 0.6rem 1.5rem;
  cursor: pointer;
  transition: all 0.4s ease;
}
.hero-btn:hover {
  border-color: #fff;
  background: transparent;
}

/* Media Queries */
@media screen and (min-width: 500px) {
  .hero-content-change > div > span {
    font-size: 3rem;
  }
  .hero-content-change > div h3 {
    font-size: 1.4rem;
  }
  .line {
    margin: 0 2rem;
    width: 100px;
  }
  .hero-lg-text {
    font-size: 3rem;
  }
  .hero-quote {
    font-size: 1.2rem;
    width: 70%;
    margin: 2.4rem auto;
  }
}

@media screen and (min-width: 992px) {
  .hero-lg-text {
    width: 80%;
    margin: 2rem auto;
    font-size: 4.2rem;
  }
  .hero-quote {
    width: 55%;
  }
  .hero-btn {
    font-size: 1.1rem;
  }
}

/* resizing styling */
.resize-trans-stop * {
  transition: none !important;
}

body {
  margin: 0;
  /* font-family: Arial, sans-serif; */
  line-height: 1.6;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* h2.section-heading {
  text-align: center;
  font-size: 2.5rem;
  font-family: 'Roboto', sans-serif;
  margin-bottom: 20px;
  color: #333;
} */

/* General Styles */
section {
  padding: 50px 20px;
  margin: 20px 0;
  border-radius: 8px;
  opacity: 0;
}

/* About Section */
/* About Section */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #f4f4f4;
  padding: 50px 20px;
  text-align: center;
  opacity: 0; /* Initial state */
  transform: translateY(20px); /* Initial state for slight bottom offset */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.about.active {
  opacity: 1;
  transform: translateY(0); /* Bring to original position */
}

.about-content {
  max-width: 1200px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.about-img,
.about-text {
  opacity: 0; /* Start invisible */
  transform: translateX(-100px); /* Default position for the animation */
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about.active .about-img {
  opacity: 1;
  transform: translateX(0); /* Slide into view */
}

.about.active .about-text {
  opacity: 1;
  transform: translateX(0); /* Slide into view */
  transition-delay: 0.2s; /* Staggered delay for smoother effect */
}

.about-img {
  flex: 1;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  animation: zoomIn 1.5s ease-out;
}

.about-text {
  flex: 2;
  text-align: justify;
  font-family: "Roboto";
  color: #34495e;
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about .section-heading {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ff0000;
  text-transform: capitalize;
  letter-spacing: 0.07em;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
  background: linear-gradient(90deg, #ff0000, #ff1d1d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 3px dashed #ff0000;
  padding-bottom: 0.5rem;
}

.read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff2c2c;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.read-more:hover {
  background-color: #f33a02;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-img {
    margin-bottom: 20px;
    transform: translateX(0); /* Disable side animations on medium screens */
  }

  .about-text {
    text-align: justify;
    transform: translateX(0); /* Disable side animations on medium screens */
  }

  .about-text p {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .about .section-heading {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .read-more {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .about .section-heading {
    font-size: 1.5rem;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text p {
    font-size: 0.8rem;
  }

  .read-more {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
}

/* Animations */
@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Why Choose Us Section */
/* General Styles */
.why-choose-us {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  opacity: 0; /* Initial hidden state */
  transform: translateY(20px); /* Slight offset */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.why-choose-us.active {
  opacity: 1;
  transform: translateY(0); /* Reveal effect */
}

.why-choose-us h2 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  color: #ff0000;
  margin-bottom: 20px;
  position: relative;
}

.why-choose-us p {
  max-width: 800px;
  font-size: 1.2rem;
  font-family: "Roboto";
  color: #7c6f6f;
  line-height: 1.8;
  text-align: justify;
  margin-bottom: 30px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.why-choose-us.active p {
  opacity: 1;
  transform: scale(1);
}

.why-choose-us .reasons {
  list-style: none;
  padding: 0;
  font-size: 1.2rem;
  color: #2c3e50;
  width: 100%;
  max-width: 800px;
}

.why-choose-us .reasons li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  transform: scale(0.8) translateY(20px); /* Initial state */
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Animations for list items */
.why-choose-us.active .reasons li:nth-child(1),
.why-choose-us.active .reasons li:nth-child(2) {
  animation: fromBelowZoomIn 0.7s ease forwards;
  animation-delay: calc(0.2s * var(--order));
}

.why-choose-us.active .reasons li:nth-child(3) {
  animation: zoomInCenter 0.7s ease forwards;
  animation-delay: calc(0.2s * var(--order));
}

.why-choose-us.active .reasons li:nth-last-child(1),
.why-choose-us.active .reasons li:nth-last-child(2) {
  animation: fromAboveZoomIn 0.7s ease forwards;
  animation-delay: calc(0.2s * var(--order));
}

.why-choose-us .reasons li {
  --order: 0;
}

.why-choose-us .reasons li:nth-child(1) {
  --order: 1;
}
.why-choose-us .reasons li:nth-child(2) {
  --order: 2;
}
.why-choose-us .reasons li:nth-child(3) {
  --order: 3;
}
.why-choose-us .reasons li:nth-child(4) {
  --order: 4;
}

/* Animation Keyframes */
@keyframes fromBelowZoomIn {
  0% {
    opacity: 0;
    transform: translateY(50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fromAboveZoomIn {
  0% {
    opacity: 0;
    transform: translateY(-50px) scale(0.8);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes zoomInCenter {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.why-choose-us .reasons li:hover {
  background-color: #f1f8ff;
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.why-choose-us .reasons li i {
  margin-right: 10px;
  font-size: 1.5rem;
  color: #2980b9;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .why-choose-us h2 {
    font-size: 2rem;
  }

  .why-choose-us p {
    font-size: 1.1rem;
    margin-bottom: 25px;
  }

  .why-choose-us .reasons li {
    padding: 8px;
  }

  .why-choose-us .reasons li i {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .why-choose-us h2 {
    font-size: 1.8rem;
  }

  .why-choose-us p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .why-choose-us .reasons li {
    margin-bottom: 10px;
  }

  .why-choose-us .reasons li i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .why-choose-us h2 {
    font-size: 1.5rem;
  }

  .why-choose-us p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }

  .why-choose-us .reasons li {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .why-choose-us .reasons li i {
    margin-bottom: 5px;
    font-size: 1rem;
  }

  .why-choose-us .reasons li span {
    font-size: 0.9rem;
  }
}

/*Feature */

.features {
  /* background-image: url(/assets/features.jpg); */
  background-size: cover;
  color: #fff;
  padding: 50px 20px;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.features.active {
  opacity: 1;
  transform: translateY(0);
}

.features h2 {
  color: #fff;
  margin-bottom: 30px;
  font-family: "Open Sans", sans-serif;
  font-size: 2.5rem;
  position: relative;
  text-align: center;
}

.feature-cards1 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(100% / 2 - 10px), 1fr));
  gap: 10px;
  margin-top: 20px;
}

.cards1 {
  padding: 20px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  opacity: 0;
  transform: translateY(0);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.cards1:nth-child(1) {
  transform: translateY(150%);
}

.cards1:nth-child(2) {
  transform: translateY(-150%);
}

.cards1:nth-child(3) {
  transform: translateY(150%);
}

.cards1:nth-child(4) {
  transform: translateY(-150%);
}

.features.active .cards1 {
  animation: slideIn 0.8s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.2s);
}

@keyframes slideIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .feature-cards1 {
    grid-template-columns: repeat(auto-fit, minmax(calc(100% - 20px), 1fr));
  }
  .cards1 {
    padding: 15px;
    font-size: 0.9rem;
  }
}

.cards1 i {
  color: gold;
}

@media (max-width: 768px) {
  .welcome {
    flex-direction: column;
    text-align: center;
  }

  .welcome-content {
    max-width: 100%;
    padding-right: 0;
  }

  .welcome-img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .about {
    height: auto;
  }
}
.products {
  padding: 50px 20px;
  text-align: center;
  background-color: white;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.products.active {
  opacity: 1;
  transform: translateY(0);
}

.product-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.product-card {
  padding: 20px;
  border-radius: 10px;
  transform: translateY(0);
  opacity: 0;
  cursor: pointer;
}

.product-card:nth-child(odd) {
  transform: translateY(-50px);
}

.product-card:nth-child(even) {
  transform: translateY(50px);
}

.products.active .product-card {
  animation: fadeIn 0.6s ease forwards;
  animation-delay: calc(var(--i) * 0.5s);
}

@keyframes fadeIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card h3 {
  margin-top: 10px;
  font-size: 1.5rem;
  color: #ffffff;
}

@media (max-width: 768px) {
  .product-card h3 {
    font-size: 1.2rem;
  }
}

a {
  text-decoration: none;
}

.products h2 {
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  color: #ff0000;
  margin-bottom: 20px;
  position: relative;
}
