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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #f3f4f6;
}

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

/* Header / Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.nav-logo{
  display: flex;
  justify-content: center;
  align-items: center;
}
.nav-logo span{
  color: #0ea5e9;
}
.nav-logo .logo {
  max-width: 70px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-link {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0ea5e9;
}

.nav-cta {
  background: #0ea5e9;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover {
  background: #0284c7;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #1f2937;
  cursor: pointer;
}
.item{
    margin-bottom: 20px;
}
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px; /* Slightly wider for better spacing */
  height: 100%;
  background: #1f2937;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem; /* Reduced gap for tighter arrangement */
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 1001;
}

.mobile-menu.active {
  transform: translateX(0);
}

.close-menu {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  align-self: flex-end;
  cursor: pointer;
  margin-bottom: 1rem;
}

.mobile-nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.2rem;
  padding: 0.75rem 1rem;
  margin-top:0.75rem 1rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #0ea5e9;
}

.mobile-nav-cta {
  background: #0ea5e9;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
  transition: background 0.2s ease;
}

.mobile-nav-cta:hover {
  background: #0284c7;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8rem 1rem 4rem;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/hero.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  margin-top: 70px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.7), rgba(6, 182, 212, 0.7));
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease;
}

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

.hero-cta {
  display: inline-block;
  background: #0ea5e9;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta:hover {
  background: #0284c7;
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.ad-banner {
  margin: 2rem auto;
  max-width: 728px;
  height: 90px;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* Features Section */
.features {
  padding: 4rem 1rem;
  background: white;
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

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

.feature-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  font-size: 2.5rem;
  color: #0ea5e9;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 1rem;
  color: #6b7280;
}

/* Result Checker Section */
.result-checker {
  padding: 4rem 1rem;
  background: #f3f4f6;
}

.result-checker h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.result-form {
  max-width: 500px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: #0ea5e9;
  outline: none;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-button {
  background: #0ea5e9;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s ease;
}

.form-button:hover {
  background: #0284c7;
}

/* News Section */
.news {
  padding: 4rem 1rem;
  background: white;
}

.news h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background: #f9fafb;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.news-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.news-content p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.news-link {
  color: #0ea5e9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.news-link:hover {
  color: #0284c7;
}

/* Testimonials Section */
.testimonials {
  padding: 4rem 1rem;
  background: #f3f4f6;
}

.testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  object-fit: cover;
}

.testimonial-card p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-card h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1e3a8a, #0ea5e9);
  color: white;
  padding: 4rem 1rem 2rem;
}

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

.footer-column h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column a {
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 0.5rem;
}

.footer-column a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-column p i {
  margin-right: 0.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  color: #e5e7eb;
  font-size: 1.5rem;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #ffffff;
}

.footer-copy {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .hero {
    padding: 6rem 1rem 3rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .ad-banner {
    height: 60px;
  }

  .features h2,
  .result-checker h2,
  .news h2,
  .testimonials h2 {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .result-form {
    padding: 1.5rem;
  }

  .feature-card h3,
  .news-content h3,
  .testimonial-card h4 {
    font-size: 1.3rem;
  }

  .footer-column h3 {
    font-size: 1.4rem;
  }
}