/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  font-size: 16px;
}

/* Navigation */
header {
  background-color: #fff0f2;
  border-bottom: 1px solid #e9e9e9;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
  color: #e9768f;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 0.3rem 0.6rem;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #c45f75;
  transition: width 0.3s ease-in-out;
}

.nav-links a:hover {
  color: #c45f75;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Main */
main {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Head Section */
.head {
  background-image: url('../images/hero-image.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center; 
  height: 75vh;
  width: 100%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.5s forwards;
  position: relative;
}

.head h1 {
  font-family: 'Hepta Slab', serif;
  font-size: clamp(3rem, 6vw, 2.5rem);
  margin-bottom: 5px;
  transform: translateY(-30px);
  opacity: 0;
  animation: slideIn 1s ease-out 0.6s forwards;
}

.head p {
  font-family: 'Lora', serif;
  font-size: .5;
  margin-bottom: 2px;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards;
}

/* Animations */
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: 2.2rem;
  color: #111;
  margin-bottom: 1rem;
}

.hero h2 {
  font-size: 1.4rem;
  color: #444;
  margin: 2rem 0 1rem;
}

.hero p {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 1.2rem;
}

.hero img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  margin: 1.5rem auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

a:hover {
  color: #9c4058;
}

/*Container for Steps */
.how-we-work {
  padding: 80px 20px;
  text-align: center;
  font-size: 2px;
  opacity: 0;
  animation: fadeIn 1s ease-out 0.5s forwards;
}

.how-we-work .section-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0;
  animation: fadeIn 2s ease-out 0.5s forwards;
}

.work-steps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px; 
}

.work-step {
  background-color: rgb(243, 241, 241);
  width: 80%;
  padding: 30px;
  border-radius: 10px;
  margin: 20px 0;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
  opacity: 0;
  animation: fadeIn 1s ease-out 1.5s forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.work-step .step-number {
  font-size: 3.5rem;
  background-color: #9c4058;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 100;
  transition: background-color 0.3s ease;
}

.work-step:hover .step-number {
  background-color: #005B99;
}

.work-step .work-step-title {
  font-family: 'Hepta Slab', serif;
  font-size: 2.2rem;
  margin-bottom: 15px;
  color: #003366;
  font-weight: 200;
  transition: color 0.3s ease;
}

.work-step p {
  font-family: 'Lora', serif;
  font-size: 1.0rem;
  line-height: 1.6;
  color: #333333;
  margin-top: 15px;
}

@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Shop Turban Page */
.corner-info {
  margin-top: 40px; 
  background-color: #ffffff; 
  border-radius: 12px; 
  padding: 30px; 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1); 
}

.corner-info h2, .corner-info h3 {
  color: #9c4058; 
  margin-bottom: 15px; 
  font-family: 'Arial', sans-serif; 
}

.corner-info p {
  margin-bottom: 20px; 
  line-height: 1.5; 
  font-size: 1.1em; 
  
}

.service-categories {
  text-align: center;
  padding: 60px 20px;
  background-color: #f4f4f4; 
  opacity: 0;
  animation: fadeIn 1s ease-out 0.5s forwards;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-item {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: fadeIn 1s ease-out 1s forwards;
}

.category-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.category-item h3 {
  font-family: 'Hepta Slab', serif;
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #9c4058;
  text-transform: uppercase; 
}

.category-item p {
  font-family: 'Lora', serif;
  font-size: 1rem;
}

.Classes{
  text-align: center;
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Curly Accessories Page*/
.testimonials-container {
  display: flex;
  flex-direction: column; 
  align-items: center;  
  text-align: center;    
  padding: 20px;
  background-color: #f4f4f4; 
  border-radius: 12px; 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  max-width: 1200px; 
  margin: 0 auto; 
}

.testimonial-box {
  background: #ffffff; 
  border: 1px solid #ddd;
  border-radius: 12px; 
  padding: 20px;
  margin: 10px 0;
  width: 100%; 
  max-width: 600px; 
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

.testimonial-box:hover {
  transform: scale(1.02); 
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); 
}

/* Footer */
footer {
  flex-shrink: 0;
  background-color: #fff0f2; 
  border-top: 1px solid #e9e9e9;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
  text-align: center;
  padding: 2rem;
  color: #555;
  font-size: 0.9rem;
  margin-top: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    width: 100%;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero h2 {
    font-size: 1.1rem;
  }

  .hero img {
    max-width: 90%;
  }

  main {
    padding: 1rem;
  }

.service-categories .categories-grid {
  grid-template-columns: 1fr;
}

.Classes {
  flex-direction: column;
  gap: 20px;
}

.Classes section {
  width: 100%;
}

.Classes img.feat_class {
  width: 90%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  margin: 0 auto;
}

.testimonials-container {
  padding: 1rem;
}

.testimonial-box {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
}

.hero img {
  width: 100%;
  height: auto;
}

img {
  max-width: 100%;
  height: auto;
}

}
