/* 
   nudefyIN.love CSS Stylesheet
   Indian-themed color scheme and styling
*/

:root {
  /* Indian flag inspired color palette */
  --saffron: #FF9933;     /* Indian Saffron (top band of flag) */
  --white: #FFFFFF;       /* White (middle band of flag) */
  --green: #138808;       /* India Green (bottom band of flag) */
  --blue: #000080;        /* Navy Blue (from Ashoka Chakra) */
  --dark: #333333;        /* Dark text color */
  --light-bg: #FFF9E9;    /* Light cream background */
  --gradient-bg: linear-gradient(135deg, #FFF9E9 0%, #FFE8CC 100%);
  
  /* Font settings */
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Hind', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: var(--saffron);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--green);
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Section Styling */
section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  position: relative;
}

.section-title span {
  color: var(--saffron);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #666;
  font-size: 1.1rem;
}

/* Indian-themed decorative elements */
.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  margin: 1rem auto;
  background: linear-gradient(to right, var(--saffron), var(--green));
  border-radius: 2px;
}

/* Buttons */
.primary-button {
  display: inline-block;
  background-color: var(--saffron);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
  border: none;
  cursor: pointer;
}

.primary-button:hover {
  background-color: var(--green);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(19, 136, 8, 0.4);
}

.secondary-button {
  display: inline-block;
  background-color: transparent;
  color: var(--dark);
  padding: 0.9rem 1.9rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--dark);
  cursor: pointer;
  margin-left: 1rem;
}

.secondary-button:hover {
  background-color: var(--dark);
  color: white;
}

/* Header & Navigation */
.site-header {
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--saffron);
}

.logo-icon {
  margin-right: 0.5rem;
}

.main-nav .nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--dark);
  font-weight: 500;
  position: relative;
}

.nav-menu a:hover {
  color: var(--saffron);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--saffron);
  transition: width 0.3s ease;
}

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

.cta-button {
  background-color: var(--saffron);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
}

.cta-button:hover {
  background-color: var(--green);
  color: white;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  background-color: var(--dark);
}

/* Hero Section */
.hero-section {
  padding: 10rem 0 5rem;
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 153, 51, 0.1) 0%, rgba(255, 153, 51, 0) 70%);
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mandala-wrapper {
  position: relative;
  width: 350px;
  height: 350px;
}

.mandala-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 3px solid var(--saffron);
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 30px rgba(255, 153, 51, 0.2);
}

.mandala-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 20px, rgba(19, 136, 8, 0.05) 20px, rgba(19, 136, 8, 0.05) 40px);
  border-radius: 50%;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Features Section */
.features-section {
  background-color: white;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.feature-icon {
  margin-bottom: 1rem;
  color: var(--saffron);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 153, 51, 0.1);
  border-radius: 50%;
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* How It Works Section */
.how-it-works-section {
  background: var(--gradient-bg);
  position: relative;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
}

.step-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  position: relative;
  text-align: center;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background-color: var(--saffron);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 3px 10px rgba(255, 153, 51, 0.3);
}

.cta-container {
  text-align: center;
  margin-top: 3rem;
}

/* Testimonials Section */
.testimonials-section {
  background-color: white;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  background-color: var(--light-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-content {
  font-size: 1.2rem;
  font-style: italic;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 5rem;
  position: absolute;
  top: -40px;
  left: -20px;
  color: rgba(255, 153, 51, 0.2);
  font-family: serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}

.testimonial-author p {
  font-weight: 600;
  margin-bottom: 0;
}

.testimonial-rating {
  color: var(--saffron);
  font-size: 1.2rem;
}

/* FAQ Section */
.faq-section {
  background: var(--gradient-bg);
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background-color: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-header h3 {
  margin-bottom: 0;
  font-size: 1.2rem;
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--saffron);
  transition: all 0.3s ease;
}

.accordion-icon::before {
  width: 20px;
  height: 3px;
  top: 9px;
  left: 0;
}

.accordion-icon::after {
  width: 3px;
  height: 20px;
  top: 0;
  left: 8.5px;
}

.accordion-item.active .accordion-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  padding-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  background-color: var(--saffron);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section .primary-button {
  background-color: white;
  color: var(--saffron);
}

.cta-section .primary-button:hover {
  background-color: var(--green);
  color: white;
}

/* Footer */
.site-footer {
  background-color: var(--dark);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-branding {
  flex: 1;
  min-width: 200px;
}

.footer-branding p {
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--saffron);
}

.footer-links {
  flex: 2;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  color: white;
}

.footer-links a:hover {
  color: var(--saffron);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
  margin-bottom: 0;
}

.keywords {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-section .container {
    flex-direction: column;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 3rem;
  }
  
  .mandala-wrapper {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3rem 0;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    padding: 2rem 0;
    transition: left 0.3s ease;
    z-index: 99;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
  }
  
  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .footer-content {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .hero-section {
    padding: 8rem 0 3rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .secondary-button {
    margin-left: 0;
    margin-top: 1rem;
  }
  
  .mandala-wrapper {
    width: 250px;
    height: 250px;
  }
  
  .testimonial-author {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* JavaScript-dependent styles */
.accordion-item .accordion-content {
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}
