html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  padding-top: 0; /* Ensure no default padding */
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.admin-container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

  .admin-table th, .admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
  }

  .admin-table th {
    background-color: #f5f3ff;
    font-weight: 600;
  }

:root {
  --primary: #9C27B0;
  --primary-dark: #7B1FA2;
  --primary-light: #E1BEE7;
  --secondary: #FF9800;
  --accent: #E91E63;
  --dark: #4A148C;
  --light: #F3E5F5;
  --gray: #6D6B7F;
  --gray-light: #EDE7F6;
  --white: #ffffff;
}

/* Montserrat Font Faces */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-ExtraLight.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat/Montserrat-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', 'Inter', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== LOADER STYLES ===== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

  #loader.hidden {
    opacity: 0;
    visibility: hidden;
  }

.loader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 1rem;
}

  .loader-logo i {
    font-size: 3.5rem;
    animation: hammerSwing 2s infinite ease-in-out;
  }

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-text {
  color: white;
  font-size: 1.2rem;
  margin-top: 1.5rem;
  font-weight: 500;
  opacity: 0.9;
  animation: pulse 2s infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes hammerSwing {
  0%, 100% {
    transform: rotate(-15deg);
  }

  50% {
    transform: rotate(15deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.7;
  }

  50% {
    opacity: 1;
  }
}

/* ===== HEADER & NAVIGATION ===== */
header {
  background-color: var(--white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  height: 80px; /* Fixed header height */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  height: 100%;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  z-index: 1001;
}

  .logo i {
    margin-right: 10px;
  }

/* Desktop Navigation */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

  .nav-links li {
    margin-left: 30px;
  }

  .nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
  }

    .nav-links a:hover {
      color: var(--primary);
    }

/* Mobile Menu Icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

  .menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

/* Mobile Navigation */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
  }

    .nav-links.active {
      right: 0;
    }

    .nav-links li {
      margin: 0 0 20px 0;
      width: 100%;
    }

    .nav-links a {
      display: block;
      padding: 12px 0;
      font-size: 1.1rem;
      border-bottom: 1px solid var(--gray-light);
      width: 100%;
    }

    .nav-links .btn {
      margin-top: 20px;
      text-align: center;
      width: 100%;
    }

  /* Mobile dropdown styles */
  .nav-item.dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    margin-top: 10px;
    border: none;
    box-shadow: none;
    background: var(--light);
  }

  .dropdown-item {
    padding: 10px 15px;
    border-bottom: 1px solid var(--gray-light);
  }

  .nav-link.dropdown-toggle::after {
    float: right;
    margin-top: 8px;
  }
}

/* Overlay for mobile menu */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

/* ===== BUTTON STYLES ===== */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

  .btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(156, 39, 176, 0.3);
  }

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

  .btn-outline:hover {
    background-color: var(--primary);
    color: white;
  }

.btn-secondary {
  background-color: var(--secondary);
}

  .btn-secondary:hover {
    background-color: #F57C00;
  }

/* ===== HERO SLIDER - UPDATED FOR MOBILE ===== */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 80px; /* Account for fixed header */
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center; /* Center content */
  background-size: cover;
  background-position: center;
  padding: 20px;
  box-sizing: border-box;
}

  .slide.active {
    opacity: 1;
  }

.slide-content {
  max-width: 90%; /* More flexible for mobile */
  width: 100%;
  z-index: 2;
  position: relative;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center; /* Center text */
  padding: 0 20px;
}

  .slide-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .slide-content p {
    font-size: clamp(1rem, 3vw, 1.25rem); /* Responsive font size */
    margin-bottom: 30px;
    max-width: 100%; /* Full width on mobile */
    line-height: 1.5;
  }

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center; /* Center buttons */
}

.slider-nav {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s;
}

  .slider-dot.active {
    background-color: white;
  }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
  transition: background-color 0.3s;
}

  .slider-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
  }

  .slider-arrow.prev {
    left: 20px;
  }

  .slider-arrow.next {
    right: 20px;
  }

/* ===== ARTISAN COLLAGE ===== */
.artisan-collage {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 70%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}

.artisan-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

  .artisan-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 3;
  }

  .artisan-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
  }

  .artisan-item:hover img {
    transform: scale(1.05);
  }

.artisan-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s;
}

.artisan-item:hover .artisan-label {
  opacity: 1;
}

.artisan-item:nth-child(1) {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.artisan-item:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}

.artisan-item:nth-child(3) {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
}

.artisan-item:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 3 / 4;
}

.artisan-item:nth-child(5) {
  grid-column: 2 / 4;
  grid-row: 2 / 4;
}

/* ===== STATS SECTION ===== */
.stats {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* ===== VIDEO SECTION ===== */
.video-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
}

.video-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 50px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: var(--dark);
}

.video-player {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.8) 0%, rgba(123, 31, 162, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
  border-radius: 16px;
}

  .video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
  }

.play-button {
  width: 80px;
  height: 80px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

  .play-button:hover {
    transform: scale(1.1);
    background: var(--primary-light);
  }

  .play-button i {
    font-size: 2rem;
    color: var(--primary);
    margin-left: 5px;
  }

.video-text {
  text-align: center;
  color: var(--white);
}

  .video-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
  }

  .video-text p {
    font-size: 1.1rem;
    opacity: 0.9;
  }

.video-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.video-feature {
  text-align: center;
  padding: 30px 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

  .video-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 95, 191, 0.1);
  }

  .video-feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
  }

  .video-feature h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark);
  }

  .video-feature p {
    color: var(--gray);
    font-size: 0.95rem;
  }

/* ===== ABOUT SECTION ===== */
.about {
  padding: 80px 0;
  background-color: var(--white);
}

  .about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    text-align: center;
  }

  .about p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
  }

/* ===== FEATURES SECTION ===== */
.features {
  padding: 80px 0;
  background-color: var(--light);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

  .section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
  }

  .section-header p {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
  }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Enhanced Feature Cards with Images */
.feature-card {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-light);
  position: relative;
}

  .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(139, 95, 191, 0.15);
  }

.feature-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
}

  .feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.9) 0%, rgba(123, 31, 162, 0.8) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-overlay {
  opacity: 1;
}

.feature-overlay i {
  font-size: 3rem;
  color: white;
}

.feature-content {
  padding: 25px;
  position: relative;
}

  .feature-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--dark);
    font-weight: 600;
  }

  .feature-content p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
  }

.feature-artisans {
  display: flex;
  gap: 12px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--gray-light);
}

.artisan-mini {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--light);
  border-radius: 20px;
  transition: all 0.3s ease;
}

  .artisan-mini:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
  }

  .artisan-mini img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .artisan-mini span {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--dark);
    white-space: nowrap;
  }

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
  padding: 80px 0;
  background-color: var(--white);
}

.steps {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 0 auto;
}

.step {
  text-align: center;
  flex: 1;
  padding: 0 20px;
  position: relative;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 auto 20px;
}

.step h3 {
  margin-bottom: 15px;
  color: var(--dark);
}

.step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 25px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: var(--gray-light);
}

/* ===== DOWNLOADS SECTION ===== */
.downloads {
  padding: 80px 0;
  background-color: var(--light);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.download-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  text-align: center;
}

  .download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(139, 95, 191, 0.1);
  }

.download-icon {
  height: 120px;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--primary-dark);
}

.download-content {
  padding: 25px;
}

  .download-content h3 {
    margin-bottom: 15px;
    color: var(--dark);
  }

  .download-content p {
    color: var(--gray);
    margin-bottom: 20px;
  }

.download-badges {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  list-style: none;
  justify-content: center;
}

.badge-appstore, .badge-googleplay {
  display: inline-block;
  height: 40px;
  border-radius: 7px;
  overflow: hidden;
  transition: transform 0.3s;
}

  .badge-appstore:hover, .badge-googleplay:hover {
    transform: scale(1.05);
  }

  .badge-appstore img, .badge-googleplay img {
    height: 100%;
    width: auto;
  }

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonials-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 0 20px;
}

  .testimonial-slide.active {
    display: block;
  }

.testimonial-content {
  font-size: 1.25rem;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

  .author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

.author-info h4 {
  margin-bottom: 5px;
  color: var(--dark);
}

.author-info p {
  opacity: 0.8;
  font-size: 0.9rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--gray-light);
  cursor: pointer;
  transition: background-color 0.3s;
}

  .testimonial-dot.active {
    background-color: var(--primary);
  }

/* ===== CTA SECTION ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 100px 0;
}

  .cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .cta p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.9;
  }

  .cta .btn {
    background-color: white;
    color: var(--primary);
    font-weight: 600;
  }

    .cta .btn:hover {
      background-color: var(--light);
    }

/* ===== FOOTER ===== */
footer {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-block;
  color: white;
}

.footer-about p {
  opacity: 0.8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

  .social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
  }

    .social-links a:hover {
      background-color: var(--primary);
    }

.footer-links h3 {
  font-size: 1.125rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  opacity: 0.8;
  text-decoration: none;
  transition: opacity 0.3s;
  display: block;
}

  .footer-links a:hover {
    opacity: 1;
  }

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  opacity: 0.7;
}

/* ===== RESPONSIVE STYLES - UPDATED FOR MOBILE ===== */
@media (max-width: 1200px) {
  .slide-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .slide-content {
    max-width: 80%; /* Wider on tablet */
  }

  .artisan-collage {
    width: 50%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }

  .artisan-item:nth-child(1) {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .artisan-item:nth-child(2) {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .artisan-item:nth-child(3) {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .artisan-item:nth-child(4) {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .artisan-item:nth-child(5) {
    grid-column: 2 / 3;
    grid-row: 3 / 5;
  }

  /* Video Section Responsive */
  .video-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .video-container {
    margin: 0 auto 30px;
  }

  .play-button {
    width: 60px;
    height: 60px;
  }

    .play-button i {
      font-size: 1.5rem;
    }

  .video-text h3 {
    font-size: 1.5rem;
  }

  .video-feature {
    padding: 20px 15px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    margin-top: 70px;
    height: calc(100vh - 70px);
  }

  .slide {
    padding: 15px;
    align-items: center; /* Center vertically */
    padding-top: 20px;
  }

  .slide-content {
    max-width: 100%;
    padding: 0 15px;
  }

    .slide-content h1 {
      font-size: clamp(1.8rem, 8vw, 2.5rem);
      margin-bottom: 15px;
    }

    .slide-content p {
      font-size: clamp(0.9rem, 4vw, 1.1rem);
      margin-bottom: 25px;
    }

  .hero-buttons {
    gap: 10px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Ensure mobile menu doesn't overlap hero */
  .nav-links.active {
    padding-top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
  }

  /* Hide artisan collage on mobile */
  .artisan-collage {
    display: none;
  }

  .steps {
    flex-direction: column;
    gap: 40px;
  }

  .step:not(:last-child):after {
    display: none;
  }

  /* Slider arrow adjustments for mobile */
  .slider-arrow {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

    .slider-arrow.prev {
      left: 10px;
    }

    .slider-arrow.next {
      right: 10px;
    }
}

@media (max-width: 576px) {
  .hero-slider {
    margin-top: 60px;
    height: calc(100vh - 60px);
  }

  .slide {
    padding-top: 15px;
  }

  .slide-content h1 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .slide-content p {
    font-size: clamp(0.85rem, 3.5vw, 1rem);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

    .hero-buttons .btn {
      width: 100%;
      max-width: 250px;
      margin: 5px 0;
    }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  /* Slider navigation adjustments */
  .slider-nav {
    bottom: 20px;
  }

  .slider-dot {
    width: 10px;
    height: 10px;
  }

  /* Feature Cards Mobile */
  .feature-image {
    height: 120px;
  }

  .feature-overlay i {
    font-size: 2rem;
  }

  .feature-content {
    padding: 15px;
  }

    .feature-content h3 {
      font-size: 1.2rem;
    }

  /* Loader mobile */
  .loader-logo {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

    .loader-logo i {
      font-size: 1.8rem;
    }

  /* Video Section Mobile */
  .video-section {
    padding: 60px 0;
  }

  .video-text h3 {
    font-size: 1.3rem;
  }

  .video-text p {
    font-size: 1rem;
  }
}

/* Extra small devices */
@media (max-width: 400px) {
  .slide-content {
    padding: 0 10px;
  }

    .slide-content h1 {
      font-size: clamp(1.3rem, 6vw, 1.8rem);
    }

  .hero-buttons .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}
