/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    background: #f9fafc;
    color: #2c3e50;
    line-height: 1.7;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Header */
header {
    background: white;
    padding: 1.2rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 a {
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    color: #0d6efd;
}

header h1 span {
    color: #212529;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #212529;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #0d6efd;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    padding: 120px 0;
    text-align: center;
    border-radius: 0 0 50px 50px;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-inline: auto;
}

.btn {
    background: white;
    color: #0d6efd;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.btn:hover {
    background: #0d6efd;
    color: white;
}

/* About Section */
#about {
    padding: 100px 0;
    background: #f9fafc;
    text-align: center;
}

#about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #0d6efd;
}

#about p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: auto;
    color: #6c757d;
}

/* Features Section */
#features {
    padding: 100px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature-item {
    background: #f1f5f9;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.feature-item h3 {
    color: #0d6efd;
    margin-bottom: 15px;
}

.feature-item p {
    color: #6c757d;
    font-size: 1rem;
}

/* Companies Section */
#companies {
    padding: 100px 0;
    text-align: center;
}

#companies h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #0d6efd;
}

.company-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.company-buttons button {
    padding: 1rem 2rem;
    background: #202151;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

.company-buttons button:hover {
    background: #076877;
    transform: scale(1.05);
}
/*advantages*/
#advantages {
    padding: 80px 20px;
    background: #f9fafe;
  }
  
  #advantages h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #1c1c1c;
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
  
  .feature-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(50px);
    animation: fadeSlideUp 0.8s forwards;
  }
  
  /* Animation */
  @keyframes fadeSlideUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Add delay for each item */
  .feature-item:nth-child(1) {
    animation-delay: 0s;
  }
  .feature-item:nth-child(2) {
    animation-delay: 0.1s;
  }
  .feature-item:nth-child(3) {
    animation-delay: 0.2s;
  }
  .feature-item:nth-child(4) {
    animation-delay: 0.3s;
  }
  .feature-item:nth-child(5) {
    animation-delay: 0.4s;
  }
  .feature-item:nth-child(6) {
    animation-delay: 0.5s;
  }
  
  /* Optional hover effect for a more premium feel */
  .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 2px 32px rgba(101, 101, 255, 0.321);
  }
  

/* Testimonials Section */
#testimonials {
    padding: 100px 0;
    background: #f9fafc;
}

#testimonials h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #0d6efd;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: transform 0.3s;
}

.testimonial:hover {
    transform: translateY(-5px);
}

.testimonial p {
    color: #495057;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial h4 {
    color: #2f11f0;
    font-weight: 600;
}

/* Footer */
footer {
    border-top: #ffcc01 solid 5px;
    background: #171819;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-container a {
    color: #66ccff;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-container a:hover {
    color: #0dcaf0;
}

.contact-form {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    padding: 40px;
    max-width: 600px;
    margin: 60px auto;
}

.contact-form h2 {
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
    color: #1e1e2f;
}

.contact-form p {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
    color: #666;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
    font-size: 16px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6366f1;
    /* Indigo Accent */
    background: #fff;
}

.contact-form button {
    background: #6366f1;
    color: white;
    padding: 14px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #4f46e5;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 30px 20px;
    }
}


section.hidden {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(to right, #0127f9, #dd3131);
    position: relative;
}

.hero-illustration {
    max-width: 400px;
    margin-top: 30px;
}