@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #007bff;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --white-color: #fff;
    --transition: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--secondary-color);
    overflow-x: hidden;
  }


.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 20px;
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-logo {  
  width: 150px;
  height: 80px;
}

.navbar-logo img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}


/* Desktop Menu (Default state) */
.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color var(--transition);
}

.nav-button:hover {
    background-color: #0056b3;
}

/* --- Mobile Toggle (Hamburger) --- */

.nav-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-around;
    width: 25px;
    height: 20px;
}

.nav-toggle .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 10px;
    transition: all var(--transition) ease-in-out;
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}








/* --- Hero Section Styling --- */

.hero {
    min-height: calc(100vh - 80px); 
    width: 100%;
    background: rgba(0, 0, 0, 0.4) url('../img/ads-hero.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: darken;
    
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem; 
}

.hero-content {
    max-width: 800px; 
    color: var(--white-color);
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.5;
    opacity: 0.9;
}

.hero-cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-decoration: none;
    padding: 1rem 2.5rem;
    border-radius: 50px; 
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.hero-cta-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px); 
}





.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- Features Section Styling --- */

.features-section {
    padding: 6rem 0;
    background-color: var(--white-color);
}

.features-heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.features-subheading {
    font-size: 1.1rem;
    color: #6c757d;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
}


.features-grid {
    display: grid;
    /* Desktop: 4 columns */
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
}

.feature-card {
    background-color: var(--secondary-color);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 123, 255, 0.1); 
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: block;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.card-description {
    font-size: 0.95rem;
    color: #6c757d;
    line-height: 1.6;
}






/* login/signup */
/* Wrapper */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* Card */
.auth-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  width: 100%;
  max-width: 420px;
  padding: 30px;
  transition: all 0.4s ease;
}

/* Toggle buttons */
.auth-toggle {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.auth-toggle button {
  flex: 1;
  padding: 12px;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.auth-toggle button.active {
  background: #007bff;
  color: #fff;
  border-radius: 8px;
}

/* Forms */
.auth-form {
  display: none;
  animation: fadeIn 0.5s ease forwards;
}
.auth-form.active {
  display: block;
}
.auth-form h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #007bff;
  font-size: 20px;
  letter-spacing: 1px;
}

/* Input groups */
.input-group {
  position: relative;
  margin: 15px 0;
}
.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: border 0.3s ease;
}
.input-group input:focus {
  border-color: #007bff;
}
.input-group label {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #888;
  font-size: 12px;
  pointer-events: none;
  transition: 0.3s ease;
}
.input-group input:focus + label,
.input-group input:valid + label {
  top: -8px;
  left: 8px;
  font-size: 12px;
  color: #007bff;
  background: #fff;
  padding: 0 4px;
}

/* Buttons */
.auth-btn {
  width: 100%;
  padding: 12px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
.auth-btn:hover {
  background: #0056b3;
}


/* Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}


.forgot-password{
  text-align:right; 
  margin:5px 0;
}

#forgotForm p{
  text-align: center;
  font-size: 14px;

}

.forgot-password a{
  font-size:12px; 
  color:#007bff; 
  text-decoration:none;
}









:root {
    --primary-blue: #007bff;
}

/* --- Section Styling --- */
.earning-path-section, .about-section {
    padding: 100px 20px;
    background-color: #ffffff;
    margin-top: -50px; 
}

.path-title {
  text-align: center;
    font-size: 35px;
    color: #1a202c;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.path-subtitle {
  text-align: center;
    font-size: 1.15rem;
    color: #6b7280;
    margin-bottom: 4rem;
}

.steps-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    flex: 1;
    max-width: 300px;
    position: relative;
    background-color: #ffffff;
    border-radius: 12px;
    padding: 35px 20px 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); 
    transition: all 0.5s ease;
    text-align: center;
    border: 1px solid #e5e7eb;
    opacity: 0;
    transform: translateY(30px);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 123, 255, 0.2); 
}

.step-card.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.card-circle {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    line-height: 40px;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.6);
    z-index: 10;
    border: 4px solid #ffffff; 
}

/* Icon Box Styling */
.card-icon-box {
    font-size: 3.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.step-card:hover .card-icon-box {
    transform: scale(1.1); 
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.card-description {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -1rem; 
    width: 1.5rem;
    height: 2px;
    background-color: var(--primary-blue);
    opacity: 0.3;
}

.step-4 .step-connector {
    display: none;
}

.justify-center { 
    display: flex;
    justify-content: center; 
}

.cta-button {
    margin-top: -30px;
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-blue), #00bfff); 
    color: white;
    padding: 15px 25px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.4);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 123, 255, 0.6);
    background: linear-gradient(45deg, #0056b3, var(--primary-blue));
}








/* About Section */
.about {
  padding: 80px 20px;
  background: linear-gradient(135deg, #ffffff, #0086ff);
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: auto;
  gap: 50px;
  flex-wrap: wrap;
}

/* Image Styling */
.about-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* Content Styling */
.about-content {
  flex: 1;
  min-width: 280px;
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
  position: relative;
}

.about-content h2::after {
  content: "";
  width: 60px;
  height: 4px;
  background: #0086ff;
  position: absolute;
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

/* Button Styling */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: #0086ff;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(108,99,255,0.3);
}

.btn:hover {
  background: #257dca;
  transform: translateY(-3px);
}





/* Contact Section */
  .contact {
    padding: 0;
  }

  .contact-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }

  /* Left Side */
  .contact-info {
    background: linear-gradient(135deg, #0269d6, #024fa3);
    color: #fff;
    padding: 60px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .contact-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 400px;
  }

  .contact-info ul {
    list-style: none;
  }

  .contact-info ul li {
    margin-bottom: 15px;
    font-size: 1rem;
    display: flex;
    align-items: center;
  }

  .contact-info ul li i {
    margin-right: 10px;
    font-size: 1.2rem;
  }

  /* Right Side */
  .contact-form {
    background: #fff;
    padding: 60px 40px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .contact-form form {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #0269d6;
    box-shadow: 0 0 8px rgba(2,105,214,0.3);
    outline: none;
  }

  .contact-btn {
    padding: 14px;
    background: #0269d6;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .contact-btn:hover {
    background: #024fa3;
    transform: translateY(-2px);
  }




/* footer */
.footer {
  background: #fff;
  color: #333;
  border-top: 1px solid #eee;
  padding: 60px 20px 20px;
  font-family: "Poppins", sans-serif;
  margin-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* Logo */
.footer-logo img {
  max-width: 150px;
  margin-bottom: 10px;
}

.footer-logo .tagline {
  font-size: 0.95rem;
  color: #555;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  color: #0269d6;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #0269d6;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #555;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  text-decoration: none;
  background: #f5f5f5;
  border-radius: 50%;
  color: #333;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: #0269d6;
  color: #fff;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.85rem;
  color: #777;
  border-top: 1px solid #eee;
  padding-top: 15px;
}














/* --- Responsive Design (Mobile First) --- */
@media (max-width: 1280px) {
    .steps-grid {
        flex-wrap: wrap;
    }
    .step-card {
        width: 45%; 
        margin-bottom: 4rem;
    }
    .step-connector {
        right: 50%;
        bottom: -2rem;
        top: auto;
        width: 2px;
        height: 2rem;
        transform: translateX(50%);
    }
    .step-2 .step-connector, .step-4 .step-connector {
        display: none;
    }
}



@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}


@media (min-width: 992px) {
  .contact-wrapper {
    flex-direction: row;
  }

  .contact-info,
  .contact-form {
    flex: 1;
    min-height: 100vh;
  }
}


@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .main-nav {
        padding: 1rem 5%;
        position: relative; 
    }

    .nav-menu {
        display: flex;
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        
        flex-direction: column;
        background-color: var(--white-color);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1.5rem 0;
        max-height: 0;
        opacity: 0;
        z-index: 90;
        transform: translateY(-20px);
        transition: max-height 0.4s ease-in-out, opacity 0.3s ease, transform 0.4s ease;
        overflow: hidden; 
    }

    .nav-menu.active {
        max-height: 570px;
        opacity: 1;
        transform: translateY(0);
    }

    .nav-link,
    .nav-button {
        display: block;
        width: 90%;
        margin: 0.5rem auto;
        text-align: center;
        padding: 0.75rem 0;
    }

    .nav-button {
        margin-top: 1.5rem; 
    }

    .nav-toggle {
        display: flex;
    }



  .hero {
      min-height: 80vh; 
  }

  .hero-title {
      font-size: 2rem; 
  }

  .hero-subtitle {
      font-size: 1rem;
      margin-bottom: 1.5rem;
  }
  
  .hero-cta-button {
      padding: 0.8rem 2rem;
      font-size: 1rem;
  }




  .features-section {
        padding: 4rem 0;
    }
    .features-heading {
        font-size: 2rem;
    }
    /* Mobile View: 1 column */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-card {
        padding: 2rem 1rem;
    }




    



    .path-title{
      font-size: 25px;
    }
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    .step-card {
        width: 100%;
        max-width: 400px;
        margin-bottom: 3rem;
    }
    .step-1 .step-connector, .step-2 .step-connector, .step-3 .step-connector {
        display: block;
    }



    .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }



  .contact-info h2 {
    font-size: 2rem;
  }

  .contact-info p {
    font-size: 1rem;
  }


  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }



  /* signup/login */
  .auth-card {
    padding: 20px;
  }


}