/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f1f5f9;
  color: #1f2937;
  line-height: 1.6;
  padding-top: 70px; /* prevent sticky header overlap */
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header */
.header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar {
  max-width: 100%;
  margin: auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-img {
  height: auto;
  max-height: 40px;
  width: auto;
  margin-right: 10px;
  border-radius: 5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #4b5563;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #4f46e5;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* Hide menu button on desktop */
.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobile menu */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    position: absolute;
    top: 60px;   /* below navbar */
    right: 20px;
    background: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-btn {
    display: block;
    cursor: pointer;
  }
}

/* Container */
.container {
  max-width: 100%;
  margin: auto;
  padding: 3rem 2rem;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 5rem 2rem;
  background: #111827;
  border-radius: 20px;
  color: #fff;
  margin-bottom: 3rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
}

.hero .highlight {
  color: #818cf8;
}

.hero p {
  margin-top: 1rem;
  font-size: clamp(1rem, 3vw, 1.2rem);
  color: #d1d5db;
}

.btn-primary {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: #4f46e5;
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #4338ca;
  transform: scale(1.05);
}

/* Sections */
.section {
  margin: 3rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #4f46e5;
  border-radius: 9999px;
  margin: 0.5rem auto 0;
}

/* Grid Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card .icon {
  font-size: 3rem;
  color: #4f46e5;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* About */
.about {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text {
  flex: 1;
  font-size: 1.1rem;
  color: #374151;
}

.about-img img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {
  .about {
    flex-direction: row;
    align-items: center;
  }
}

/* Form */
.form-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 700px;
  margin: auto;
}

.form-card label {
  display: block;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 0.7rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  border-color: #4f46e5;
  outline: none;
}

/* Footer */
.footer {
  background: #1f2937;
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
}
