/* ===== ENHANCED STYLING WITH ANIMATIONS ===== */
/* Base Reset with Variables */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #1e293b;
  --light: #f8fafc;
  --white: #ffffff;
  --gray: #94a3b8;
  --dark-gray: #475569;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  background: var(--light);
  color: var(--secondary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary), #3b82f6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeInUp 0.8s ease;
}

h2 {
  font-size: 2rem;
  position: relative;
  padding-bottom: 0.5rem;
  animation: fadeIn 0.6s ease;
  justify-content: center;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
}

/* Layout Enhancements */
.container {
  max-width: 1200px;
  margin: 6rem auto 0;
  padding: 0 1.5rem;
  flex: 1;
}

/* Navbar Enhancements */
.navbar {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 0.75rem 2rem;
  box-shadow: var(--shadow-md);
}

.brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.brand:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.menu-toggle:hover {
  color: var(--primary);
  transform: scale(1.1);
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.navbar-links a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.navbar-links a:hover {
  color: var(--primary);
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

/* Form Enhancements with Animations */
.download-form {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 2.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: fadeInUp 0.6s ease;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.download-form::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0) 45%,
    rgba(255,255,255,0.8) 50%,
    rgba(255,255,255,0) 55%
  );
  transform: rotate(30deg);
  transition: all 0.7s;
  opacity: 0;
}

.download-form:hover::before {
  left: 150%;
  opacity: 1;
}

.download-form:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.input-group {
  display: flex;
  gap: 1rem;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  outline: none;
}

.btn-custom {
  padding: 0.85rem 2rem;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition), transform 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 6px rgba(69, 30, 240, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-custom:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(37, 99, 235, 0.3);
}

.btn-custom:active {
  transform: translateY(1px);
}

.btn-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-custom:focus:not(:active)::after {
  animation: ripple 0.6s ease-out;
}

/* Result Section Enhancements */
#result-section {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  animation: fadeIn 0.8s ease;
}

#video-thumbnail {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

#video-thumbnail:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

#download-btn {
  animation: pulse 2s infinite;
}

/* Instructions Section Enhancements */
.instructions {
  margin: 3rem 0;
  animation: fadeIn 0.8s ease;
}

.instruction-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.instruction-step {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  animation: fadeInUp 0.6s ease;
  position: relative;
  overflow: hidden;
}

.instruction-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.instruction-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transition: var(--transition);
}

.instruction-step:hover::before {
  width: 8px;
}

.instruction-step:nth-child(even) {
  flex-direction: row-reverse;
}

.instruction-text {
  flex: 1;
}

.instruction-text h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.instruction-img {
  flex: 1;
  max-width: 400px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.instruction-img img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

.instruction-img:hover img {
  transform: scale(1.05);
}

/* FAQ Section Enhancements */
.faq-container {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--radius);
  margin: 3rem auto;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  animation: fadeIn 0.8s ease;
}

.faq-container h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  transition: var(--transition);
  cursor: pointer;
}

.faq-item:hover {
  background: rgba(241, 245, 249, 0.5);
  padding-left: 1rem;
  border-radius: 4px;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  color: var(--secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.faq-item h3::before {
  content: '+';
  color: var(--primary);
  font-weight: bold;
  transition: var(--transition);
}

.faq-item:hover h3::before {
  transform: rotate(45deg);
}

/* Footer Enhancements */
footer {
  background-color: var(--secondary);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #3b82f6);
}

footer p {
  color: #e2e8f0;
  margin-bottom: 1rem;
}

footer a {
  color: var(--gray);
  text-decoration: none;
  margin: 0 0.5rem;
  transition: var(--transition);
  position: relative;
  padding: 0.25rem 0;
}

footer a:hover {
  color: var(--primary);
}

footer a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

footer a:hover::after {
  width: 100%;
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 1;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    margin-top: 5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  .menu-toggle {
    display: block;
  }

  .navbar-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-md);
  }

  .navbar-links.active {
    display: flex;
  }
  
  .navbar-links a {
    padding: 0.75rem 0;
  }
  
  .download-form {
    padding: 1.5rem;
  }
  
  .instruction-step {
    flex-direction: column;
    padding: 1.5rem;
  }
  
  .instruction-step:nth-child(even) {
    flex-direction: column;
  }
  
  .instruction-img {
    max-width: 100%;
    order: -1;
  }
  
  .faq-container {
    padding: 1.5rem;
  }







  /* .multi-slider-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', sans-serif;
}

.slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0;
  margin-bottom: 20px;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slide {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  background: linear-gradient(145deg, #0d47a1 0%, #202124 100%);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  color: white;
  transition: transform 0.3s ease;
}

.slide:nth-child(3n+2) {
  background: linear-gradient(145deg, #202124 0%, #0d47a1 100%);
}

.slide:nth-child(3n+3) {
  background: linear-gradient(145deg, #1a73e8 0%, #202124 100%);
}

.slide:hover {
  transform: translateY(-5px);
}

.slide-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
}

.slide-text {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 25px;
  color: rgba(255,255,255,0.9);
}

.read-more {
  display: inline-block;
  padding: 10px 20px;
  background: #1a73e8;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #1a73e8;
}

.read-more:hover {
  background: transparent;
  color: #1a73e8;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1a73e8;
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrow:hover {
  background: #0d47a1;
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #5f6368;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: #1a73e8;
  transform: scale(1.2);
} */


}

/* Add this script to base.html before </body> */
