/* =========================================================
   MOBILE MENU / HAMBURGER
========================================================= */
/* =========================================================
   MOBILE MENU (FIXED)
========================================================= */

/* हॅमबर्गर मूळ स्थिती */
.hamburger { 
  display: none; 
  flex-direction: column; 
  cursor: pointer; 
  gap: 5px; 
  z-index: 10002; 
  padding: 5px;
  background: transparent;
  border: none;
}

.hamburger span { 
  width: 28px; 
  height: 3px; 
  background-color: #333; /* मजकुराचा रंग गडद ठेवा */
  border-radius: 2px; 
  transition: all 0.3s ease-in-out; 
}

/* क्रॉस बटन (X) अ‍ॅनिमेशन */
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
  /* हेडर आणि नेव्हबारची सेटिंग */
  .header, .nav {
    overflow: visible !important; /* हे खूप महत्त्वाचे आहे */
    position: relative;
  }

  /* मोबाईल मेनू (nav-links) */
  .nav-links {
    display: flex !important; /* flex-direction बदलण्यासाठी */
    flex-direction: column;
    position: absolute;
    top: 100%; /* बरोबर नेव्हबारच्या खाली */
    left: 0;
    width: 100%;
    background-color: #ffffff; /* बॅकग्राउंड पांढरा ठेवा जेणेकरून मजकूर दिसेल */
    z-index: 10001;
    
    /* लपवण्यासाठी सेटिंग */
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    
    transition: all 0.4s ease-in-out;
    box-shadow: 0 10px 30px rgba(243, 105, 12, 0.1);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  /* मेनू 'Active' झाल्यावरची स्थिती */
  .nav-links.active { 
    max-height: 100vh; 
    opacity: 1;
    visibility: visible;
    padding: 20px 0;
  }

  /* मेनू मधील लिंक्स - इकडे लक्ष द्या! */
  .nav-links li {
    width: 100%;
    opacity: 1 !important; /* मजकूर दिसेल याची खात्री */
  }

  .nav-links li a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: #1a1a1a !important; /* गडद काळा रंग जेणेकरून स्पष्ट दिसेल */
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #f4f4f4;
    text-align: center;
  }

  .hamburger { 
    display: flex; /* मोबाईलमध्ये बटन दाखवा */
  }

  /* मोबाईलमध्ये डाउनलोड बटन लपवा किंवा मेनूच्या शेवटी ठेवा */
  .header-actions {
    display: none;
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }

/* =========================================================
   CSS VARIABLES FOR THEMES
========================================================= */
:root {
  --bg-color: #fffaf8;
  --text-color: #1e1e1e;
  --primary-color: #ff6600;
  --secondary-color: #fff3eb;
  --card-bg: #fff;
  --alt-bg: #fdf2e9; /* Added for section separation */
}

body.dark-mode {
  --bg-color: #1e1e1e;
  --text-color: #f0f0f0;
  --primary-color:  #ff6600;
  --secondary-color: #333;
  --card-bg: #2c2c2c;
  --alt-bg: #252525; /* Added for section separation in dark mode */
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/* =========================================================
   HEADER
========================================================= */
header {
  position: fixed; top: 0; width: 100%;
  background-color: var(--bg-color);
  border-bottom: 2px solid var(--primary-color);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: background-color 0.3s, color 0.3s;
}

nav {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

nav .logo img { height: 50px; width: auto; }

nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
}

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 8px rgba(255,102,0,0.6);
}

/* BUTTONS */
.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

/* =========================================================
   HERO
========================================================= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 160px 24px 80px;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
  animation: fadeIn 1.5s ease-in-out;
}

.hero-text { max-width: 520px; }

.hero h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--primary-color); text-shadow: 0 0 8px rgba(255,102,0,0.6); }

.hero p { font-size: 1.1rem; color: var(--text-color); margin-bottom: 24px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 320px;
  max-width: 100%;
}

.hero-slider img {
  width: 100%;
  display: none;
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(255,102,0,0.25);
}

.hero-slider img.active { display: block; animation: fadeSlide 0.8s ease-in-out; }

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

/* =========================================================
   ABOUT - Section Color: SECONDARY
========================================================= */
/* =========================================================
   ABOUT SECTION
========================================================= */
.about { 
  text-align: center; 
  padding: 100px 24px; 
  background-color: var(--secondary-color); 
  /* Har section ke baad line add karne ke liye niche wali line use karein */
  border-bottom: 1px solid var(--divider-color); 
}

/* Title Styling - Yeh hamesha center mein rahega */
.about h2 { 
  font-size: 2.5rem; 
  margin-bottom: 16px; 
  color: var(--primary-color); 
  width: 100%;
}

/* Subtitle/Description Styling - Yeh bhi center mein rahega */
.about p { 
  max-width: 900px; 
  margin: 0 auto 50px auto; 
  color: var(--text-color); 
  line-height: 1.6; 
}

/* Grid Container - Isme sirf cards hone chahiye, title nahi */
.about-cards {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 24px; 
  max-width: 1200px; 
  margin: auto;
  /* background-color yahan se hata kar card mein rakha hai taki gap clean dikhe */
}

.about-cards .card {
  background-color: #fffaf8; 
  padding: 0; 
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(255,102,0,0.15); 
  transition: 0.3s; 
  text-align: left; 
  position: relative; 
  overflow: hidden;
  border: 1px solid var(--secondary-color);
}

.card-img {
  width: 100%;
  height: 180px; 
  object-fit: cover; 
  margin-bottom: 15px;
}

.about-cards .card:hover { 
  box-shadow: 0 15px 35px rgba(255,102,0,0.4); 
  transform: translateY(-4px); 
}

.about-cards .card h3 { 
  color: var(--primary-color); 
  margin-bottom: 12px; 
  padding: 0 20px; 
  background-color: #fffaf8; 
}

.about-cards .card p { 
  color: var(--text-color); 
  padding: 0 20px 25px 20px; 
  margin-bottom: 0; /* Card paragraph margin reset */
}
/* =========================================================
   FEATURES - Section Color: MAIN BG
========================================================= */
.features {
  padding: 100px 24px;
  background-color: #fffaf8;
  text-align: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 50px auto 0 auto;
}

.feature-card {
  padding: 40px 30px;
  background: var(--card-bg);
  border-radius: 24px;
  border: 1px solid var(--secondary-color);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.f-icon {
  width: 70px;
  height: 70px;
  background: rgba(255, 102, 0, 0.08); 
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 25px auto;
  color: var(--primary-color);
  transition: 0.3s;
}

.feature-card strong {
  display: block;
  font-size: 1.25rem;
  color: var(--text-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.6;
  opacity: 0.8;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: var(--primary-color);
}

/* =========================================================
   HOW TO USE / VIDEO SECTION - Section Color: ALTERNATE BG
========================================================= */
.how-section { 
  text-align: center; 
  padding: 100px 24px; 
  background-color: var(--alt-bg); /* Changed to separate from Features */
}

.video-container {
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
  gap: 24px; 
  max-width: 1200px; 
  margin: auto;
}

.v-card {
  background-color: var(--card-bg); 
  padding: 0; 
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1); 
  transition: 0.3s; 
  text-align: left; 
  position: relative; 
  overflow: hidden;
  text-decoration: none; 
  border: 1px solid var(--secondary-color);
  display: block;
}

.v-thumb {
  position: relative;
  width: 100%;
  height: 180px; 
  overflow: hidden;
}

.v-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.v-card:hover { 
  box-shadow: 0 15px 35px rgba(255,102,0,0.4); 
  transform: translateY(-4px); 
}

.v-card:hover img {
  transform: scale(1.1);
}

.v-content h3 { 
  color: var(--primary-color); 
  font-size: 1.25rem;
  margin-bottom: 12px; 
  padding: 15px 20px 0 20px; 
}

.v-content p { 
  color: var(--text-color); 
  padding: 0 20px 25px 20px; 
  line-height: 1.6;
  font-size: 0.95rem;
}

.v-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary-color);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 2;
}

/* =========================================================
   TESTIMONIALS SECTION - Section Color: MAIN BG
========================================================= */
/* =========================================================
   TESTIMONIALS SECTION
========================================================= */
.testimonials { 
  padding: 80px 24px; 
  text-align: center; 
  background-color: #fffaf8;
  border-bottom: 1px solid var(--divider-color); /* Section line */
}

/* Title Styling - Center alignment */
.testimonials h2.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--primary-color);
  width: 100%;
}

/* Subtitle Styling - Center alignment */
.testimonials p.section-subtitle {
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: var(--text-color);
  line-height: 1.6;
}

/* Grid Container - Isme sirf cards aayenge */
/* =========================================================
   TESTIMONIALS SECTION (Modern & Attractive)
========================================================= */
.testimonials { 
  padding: 100px 24px; 
  text-align: center; 
  background: linear-gradient(180deg, #fffaf8 0%, #fff3eb 100%); /* Subtle Gradient */
  border-bottom: 1px solid var(--divider-color);
  overflow: hidden;
}

.test-header {
  margin-bottom: 60px;
}

.testimonials h2.section-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-color), #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -1px;
}

.testimonials p.section-subtitle {
  max-width: 650px;
  margin: 0 auto;
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1.1rem;
  opacity: 0.8;
}

/* Grid Container */
.test-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
  gap: 30px; 
  max-width: 1200px; 
  margin: 0 auto;
}

/* Testimonial Card Styling */
.test-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 30px; /* More rounded corners */
  position: relative;
  text-align: left;
  border: 1px solid rgba(255, 102, 0, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Quote Icon Decoration */
.quote-icon {
  font-family: serif;
  font-size: 80px;
  position: absolute;
  top: -10px;
  left: 30px;
  color: var(--primary-color);
  opacity: 0.15;
}

.test-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(255, 102, 0, 0.12);
  border-color: var(--primary-color);
}

.quote { 
  position: relative;
  z-index: 1;
  color: var(--text-color); 
  font-style: normal; 
  line-height: 1.7; 
  margin-bottom: 30px; 
  font-size: 1.05rem;
}

/* User Info Styling */
.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid var(--secondary-color);
  padding-top: 20px;
}

.user-details strong { 
  display: block; 
  color: var(--text-color); 
  font-size: 1.1rem;
  font-weight: 700;
}

.user-details span { 
  color: var(--primary-color); 
  font-weight: 500;
  font-size: 0.85rem; 
  text-transform: uppercase;
  letter-spacing: 1px;
}
/* Star Rating Styling */
.star-rating {
  margin-bottom: 15px;
  display: flex;
  gap: 4px;
  position: relative;
  z-index: 2;
}

.star-rating span {
  color: #ffcc00; /* Beautiful Gold Color */
  font-size: 1.2rem;
  /* Glow effect for stars */
  text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
  transition: transform 0.3s ease;
}

.test-card:hover .star-rating span {
  transform: scale(1.15); /* Hover karne par stars thode bade honge */
}

/* Quote adjustment after stars */
.quote {
  margin-top: 10px;
  font-size: 1.05rem;
  color: var(--text-color);
  line-height: 1.7;
}

/* User Info Section and Cards Styles (As requested before) */
.test-card {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 25px;
  border: 1px solid rgba(255, 102, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: 0.4s ease;
}

.test-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
}
/* Body Dark Mode support */
body.dark-mode .test-card {
  background: #2c2c2c;
  border-color: rgba(255, 255, 255, 0.05);
}
/* =========================================================
   CONTACT - Section Color: PRIMARY (Modern Look)
========================================================= */
/* =========================================================
   CONTACT / CTA SECTION - REWRITTEN & FIXED
========================================================= */
.cta { 
  background: linear-gradient(135deg, var(--primary-color) 0%, #ff8c42 100%); 
  padding: 100px 24px; 
  position: relative;
  overflow: hidden;
  color: #ffffff; /* Ensures text on the orange background is white */
}

/* Background decoration (Halke circles) */
.cta::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.cta-wrap { 
  display: grid; 
  grid-template-columns: 1.2fr 0.8fr; 
  gap: 60px; 
  max-width: 1200px; 
  margin: auto; 
  align-items: center; 
}

/* Left Text Content */
.cta-text h2 { 
  font-size: 3rem; 
  font-weight: 800; 
  line-height: 1.2; 
  margin-bottom: 20px; 
  color: #ffffff; /* Explicitly white */
}

.cta-text p { 
  font-size: 1.2rem; 
  opacity: 0.9; 
  max-width: 500px; 
  color: #ffffff; /* Explicitly white */
}

/* Right Side Contact Box (The White Form) */
.contact-box { 
  background: #ffffff; 
  padding: 40px; 
  border-radius: 24px; 
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2); 
  display: flex;
  flex-direction: column;
}

/* Fixing Input Visibility */
.contact-box input, 
.contact-box textarea { 
  width: 100%; 
  padding: 15px; 
  margin-bottom: 15px; 
  border-radius: 12px; 
  border: 1px solid #ddd; 
  font-size: 1rem;
  transition: 0.3s ease;
  background: #fdfdfd;
  color: #333333; /* Dark text inside white input box */
}

/* Ensuring Placeholder is visible but light */
.contact-box input::placeholder, 
.contact-box textarea::placeholder {
  color: #999999;
}

/* Input Focus Glow */
.contact-box input:focus, 
.contact-box textarea:focus { 
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.1);
  background: #fff;
  color: #000000; /* Pure black text when typing */
}

.contact-box button { 
  width: 100%; 
  background-color: var(--primary-color); 
  color: #ffffff; /* White text on button */
  padding: 16px; 
  border-radius: 12px; 
  border: none; 
  font-weight: 700; 
  font-size: 1.1rem; 
  cursor: pointer;
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.contact-box button:hover { 
  background-color: #333333; /* Dark contrast on hover */
  transform: translateY(-5px); 
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  color: #ffffff;
}

/* Responsive for Mobile */
@media (max-width: 992px) {
  .cta-wrap { 
    grid-template-columns: 1fr; 
    text-align: center; 
    gap: 40px;
  }
  .cta-text p { margin: auto; }
  .cta-text h2 { font-size: 2.2rem; }
}
.contact-box button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

#success-popup {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -60%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
/* =========================================================
   FOOTER - Section Color: SECONDARY
========================================================= */
footer { 
    background-color: var(--secondary-color); 
    color: var(--text-color); 
    padding: 40px 24px; 
    text-align: center; /* सर्व मजकूर मध्यभागी करण्यासाठी */
}

.foot { 
    max-width: 1200px; 
    margin: auto; 
    display: flex; 
    flex-direction: column; /* घटकांना एकाखाली एक घेण्यासाठी */
    justify-content: center; 
    align-items: center; 
    gap: 20px; 
}

/* सोशल आयकॉन्स सेंटर करण्यासाठी */
.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* आयकॉन्स मधील अंतर */
    width: 100%;
}

.social-icons img { 
    width: 32px; 
    transition: 0.3s; 
}

.social-icons img:hover { 
    filter: brightness(1.5); 
    transform: scale(1.2); 
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1024px) { .hero { flex-direction:column-reverse; text-align:center; padding-top:140px; } .cta-wrap { grid-template-columns:1fr; text-align:center; } .feature-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width: 768px) { nav ul { display:none; flex-direction:column; width:100%; background-color: var(--bg-color); position:absolute; top:60px; left:0; padding:20px; border-top:1px solid var(--primary-color); } nav ul.show { display:flex; } .hamburger { display:flex; } .feature-grid { grid-template-columns:1fr; } }
