*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    height: 100vh;
  }

/* Preloader styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #13111F;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
  }
  
  .preloader-content {
    text-align: center;
    color: white;
  }
  
  .logo {
    width: 320px;
    margin-bottom: 20px;
  }
  
  .loader-bar {
    width: 200px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto;
  }
  
  .loader-progress {
    height: 100%;
    width: 0%;
    background-color: white;
    animation: loadBar 5s linear forwards;
  }
  
  @keyframes loadBar {
    from {
      width: 0%;
    }
    to {
      width: 100%;
    }
  }
  
/* Navigation Bar */

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    padding: 0rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }

  .logo {
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 5%;
    color: #000;
  }


  .search-container {
    flex: 0 1 30%;
    position: relative;
  }

  .search-input-container {
    width: 100%;
    position: relative;
    cursor: pointer;
  }

  .search-input {
    width: 100%;
    padding: 0.6rem 1rem;
    padding-right: 2.5rem;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    outline: none;
    transition: all 0.3s;
    cursor: pointer;
  }

  .search-input:focus {
    border-color: #4a86e8;
    box-shadow: 0 0 0 2px rgba(74, 134, 232, 0.2);
  }

  .search-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #757575;
    pointer-events: none;
  }

  .mobile-search-icon {
    display: none;
    color: #757575;
    cursor: pointer;
    margin-right: 15px;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }

  .nav-link:hover {
    color: #4a86e8;
  }

  .login-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0e0e0;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }

  .login-btn:hover {
    border-color: #4a86e8;
    box-shadow: 0 0 5px rgba(74, 134, 232, 0.3);
  }

  .user-icon {
    color: #757575;
    width: 24px;
    height: 24px;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
  }

  .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: transform 0.3s, opacity 0.3s;
  }

  .mobile-icons {
    display: none;
    align-items: center;
    gap: 15px;
  }

  @media (max-width: 992px) {
    .search-container {
      flex: 0 1 25%;
    }
  }

  @media (max-width: 768px) {
    .navbar {
      padding: 1rem;
    }
    .logo-container {
      display: flex;
      align-items: center;
    }


    .search-container {
        display: none;
      }

      .mobile-search-icon {
        display: block;
      }

      .mobile-icons {
        display: flex;
      }

      .desktop-links {
        display: none;
      }

    .hamburger {
      display: flex;
      z-index: 101;
    }

    .hamburger.active .bar:nth-child(1) {
      transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
      transform: translateY(-9px) rotate(-45deg);
    }

    .nav-menu {
      position: fixed;
      right: -100%;
      top: 0;
      flex-direction: column;
      background-color: white;
      width: 80%;
      height: 100vh;
      z-index: 100;
      padding-top: 5rem;
      transition: right 0.4s;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
      right: 0;
    }

    .nav-links {
      flex-direction: column;
      align-items: center;
      width: 100%;
      padding: 2rem 0;
    }

    .nav-link {
      padding: 1rem 0;
      width: 100%;
      text-align: center;
      font-size: 1.2rem;
    }


    .login-btn-container {
        display: none;
      }
  }

  .content {
    margin-top: 80px;
    padding: 2rem;
    text-align: center;
  }

  /* Hero Section Styles */
  .hero-section {
    margin-top: 70px; /* To account for the fixed navbar */
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    color: white;
  }

  .hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  }

  .hero-tagline {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
  }

  .hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-button {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    border: none;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-chat {
    background-color: white;
    color: #6a11cb;
  }

  .btn-chat:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .btn-community {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
  }

  .btn-community:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .btn-dashboard {
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: 1px solid transparent;
  }

  .btn-dashboard:hover {
    background-color: rgba(0, 0, 0, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  @media (max-width: 768px) {
    .hero-title {
      font-size: 2.5rem;
    }

    .hero-tagline {
      font-size: 1.2rem;
    }

    .hero-buttons {
      flex-direction: column;
      width: 100%;
      max-width: 300px;
    }

    .hero-button {
      width: 100%;
    }
  }
/* Section */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-heading {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.5rem;
    color: #2d3748;
    font-weight: 700;
  }
  
  .feature-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 100px;
  }
  
  .feature-row:last-child {
    margin-bottom: 0;
  }
  
  .feature-content {
    flex: 1;
  }
  
  .feature-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease;
  }
  
  .feature-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 30px -5px rgba(0, 0, 0, 0.15), 0 15px 15px -5px rgba(0, 0, 0, 0.1);
  }
  
  .feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s ease;
  }
  
  .feature-image:hover img {
    transform: scale(1.05);
  }
  
  .feature-title {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: #2d3748;
    font-weight: 600;
  }
  
  .feature-text {
    font-size: 1.2rem;
    color: #4a5568;
    text-align:left;
    margin-bottom: 24px;
  }
  
  .additional-features {
    padding: 80px 0;
    background-color: #f1f5f9;
  }
  
  .features-list {
    max-width: 800px;
    margin: 0 auto;
    counter-reset: feature-counter;
  }
  
  .feature-item {
    display: flex;
    margin-bottom: 30px;
    padding: 20px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  }
  
  .feature-item::before {
    counter-increment: feature-counter;
    content: counter(feature-counter);
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    background: #f0f9ff;
    border-radius: 50%;
  }
  
  .feature-item-content {
    flex: 1;
  }
  
  .feature-item-title {
    font-weight: 600;
    margin-bottom: 5px;
    color: #1e293b;
    font-size: 1.1rem;
  }
  
  .feature-item-description {
    color: #64748b;
    font-size: 0.95rem;
  }
  
  /* Animation classes */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .section {
      padding: 60px 0;
    }
    
    .section-heading {
      font-size: 2rem;
      margin-bottom: 40px;
    }
    
    .feature-row {
      flex-direction: column;
      margin-bottom: 60px;
      gap: 30px;
    }
    
    /* Reverse sections for mobile to keep text order consistent */
    .feature-row.reverse-mobile {
      flex-direction: column-reverse;
    }
    
    .feature-content {
      text-align: center;
      padding: 0 20px;
    }
    
    .feature-title {
      font-size: 1.5rem;
      margin-bottom: 12px;
    }
    
    .feature-text {
      font-size: 0.95rem;
    }
    
    .feature-item {
      padding: 18px 20px;
    }
    
    .feature-item::before {
      min-width: 35px;
      height: 35px;
      font-size: 1.2rem;
    }
    
    .feature-item-title {
      font-size: 1rem;
    }
    
    .feature-item-description {
      font-size: 0.9rem;
    }
  }
  
  @media (max-width: 480px) {
    .section-heading {
      font-size: 1.75rem;
    }
    
    .feature-title {
      font-size: 1.35rem;
    }
    
    .feature-text {
      font-size: 0.9rem;
    }
    
    .feature-item {
      padding: 15px;
    }
  }

  /* Footer */

  .footer {
    background-color: #1e293b;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
  }
  
  .footer-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: all 0.3s ease;
  }
  
  .social-icon:hover {
    background-color: #fff;
    color: #1e293b;
    transform: translateY(-5px);
  }
  
  .footer-text {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #cbd5e1;
  }
  
  .footer-subtext {
    font-size: 0.9rem;
    color: #94a3b8;
  }
  
  @media (max-width: 768px) {
    .footer {
      padding: 40px 15px;
    }
    
    .social-icons {
      gap: 15px;
    }
    
    .social-icon {
      width: 35px;
      height: 35px;
      font-size: 18px;
    }
  }

  /* About page */

  .about-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    min-height: 50vh;
    color: #fff;
    padding: 80px 20px 120px;
    text-align: center;
    position: relative;
  }
  
  .about-header .logo-container {
    width: 160px;
    height: 160px;
    position: absolute;
    left: 50%;
    bottom: -80px;
    transform: translateX(-50%);
  }
  
  .about-header .logo {
    width: 100%;
    height: 100%;
    border-radius: 15%;
    object-fit: cover;
    border: 8px solid white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background-color: white;
  }
  
  .about-content {
    max-width: 800px;
    margin: 120px auto 60px;
    padding: 0 20px;
    text-align: center;
  }
  
  .about-heading {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 30px;
    font-weight: 700;
  }
  
  .about-text {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 20px;
  }
  
  @media (max-width: 768px) {
    .about-header {
      padding: 60px 20px 100px;
    }
    
   .about-header .logo-container {
      width: 140px;
      height: 140px;
      bottom: -70px;
    }
    
    .about-content {
      margin-top: 100px;
    }
    
    .about-heading {
      font-size: 2rem;
    }
    
    .about-text {
      font-size: 1rem;
    }
  }
  
  @media (max-width: 480px) {
   .about-header .logo-container {
      width: 120px;
      height: 120px;
      bottom: -60px;
    }
    
    .about-heading {
      font-size: 1.8rem;
    }
  }