/* 
 * Main Stylesheet for aiundressfree.best
 * Color Scheme: Coral Red (#FF6B6B) to Electric Blue (#4D5BF9) 
 */

:root {
  --primary-color: #FF6B6B;     /* Coral Red */
  --secondary-color: #4D5BF9;   /* Electric Blue */
  --accent-color: #FFD166;      /* Yellow */
  --text-color: #333333;        /* Dark Gray */
  --light-color: #FFFFFF;       /* White */
  --dark-color: #2C3E50;        /* Dark Blue */
  --gray-color: #F8F9FA;        /* Light Gray */
  --shadow-color: rgba(0, 0, 0, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: 3rem;
  margin-top: 0;
  color: var(--light-color);
}

h2 {
  font-size: 2.5rem;
  margin-top: 2rem;
  text-align: center;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
}

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

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

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
  border: none;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px var(--shadow-color);
  color: var(--light-color);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transition: all 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

/* Header and Navigation */
header {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 100px 0 150px;
  overflow: hidden;
  border-bottom-left-radius: 0%;
  border-bottom-right-radius: 50%;
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  color: var(--light-color);
  font-size: 1.5rem;
  font-weight: bold;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 25px;
  position: relative;
  z-index: 1;
}

.header-text {
  max-width: 800px;
  color: var(--light-color);
  margin-bottom: 2rem;
  text-align: center;
}

.wave-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 150px;
  fill: var(--light-color);
}

/* Unique diagonal effect for sections */
.diagonal-section {
  position: relative;
  padding: 120px 0;
  margin-top: -50px;
  background: var(--light-color);
  clip-path: polygon(0 0, 100% 50px, 100% 100%, 0 calc(100% - 50px));
}

/* Alternating diagonal sections */
.diagonal-section:nth-child(odd) {
  background-color: var(--gray-color);
}

/* Features Section with circular design */
.features-section {
  padding: 100px 0 150px;
  text-align: center;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto 60px;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin: 50px 0;
}

.feature-card {
  background-color: var(--light-color);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px var(--shadow-color);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.feature-card:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(77, 91, 249, 0.2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  fill: url(#feature-gradient);
}

/* How It Works Section */
.steps-section {
  padding: 100px 0;
}

.steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 50px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 75px;
  left: 50px;
  right: 50px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  z-index: 0;
}

.step-card {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  text-align: center;
  padding: 20px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-weight: bold;
  font-size: 1.5rem;
  margin: 0 auto 15px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background-color: var(--gray-color);
}

.testimonial-cards {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px 0;
}

.testimonial-card {
  flex: 0 0 350px;
  background-color: var(--light-color);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px var(--shadow-color);
  position: relative;
}

.quote-icon {
  font-size: 4rem;
  position: absolute;
  top: -20px;
  left: 20px;
  color: rgba(255, 107, 107, 0.2);
  font-family: serif;
}

.testimonial-text {
  margin-top: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-weight: bold;
  margin-right: 15px;
}

/* Call to Action Section */
.cta-section {
  padding: 100px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--light-color);
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--light-color);
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.cta-btn {
  background: var(--light-color);
  color: var(--secondary-color);
}

.cta-btn:hover {
  background: var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: var(--light-color);
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
}

.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--light-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s;
}

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Animations for elements when they come into view */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  header {
    padding: 80px 0 120px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-container::before {
    display: none;
  }
  
  .step-card {
    margin-bottom: 40px;
    max-width: 100%;
  }
  
  .testimonial-cards {
    flex-direction: column;
  }
  
  .testimonial-card {
    flex: none;
    margin-bottom: 20px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-about {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .footer-logo {
    justify-content: center;
  }
}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .diagonal-section {
    padding: 80px 0;
  }
}
