/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f3f4f6;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #4f46e5;
}

.navbar nav a {
  margin-left: 2rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar nav a:hover {
  color: #4f46e5;
}

/* Hero */
.hero {
  background: url('https://source.unsplash.com/1600x600/?mumbai,city') center/cover no-repeat;
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .overlay {
  background-color: rgba(0,0,0,0.6);
  padding: 3rem;
  color: #fff;
  text-align: center;
  width: 100%;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: #4f46e5;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #3730a3;
}

.btn.light {
  background: #fff;
  color: #4f46e5;
}

.btn.light:hover {
  background: #e0e7ff;
}

/* Projects */
.projects-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  color: #111827;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
}

.card-body h4 {
  font-size: 1.2rem;
  color: #4f46e5;
  margin-bottom: 0.5rem;
}

.card-body p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.card-body span {
  font-weight: bold;
  font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
  background-color: #4f46e5;
  color: #ffffff;
  text-align: center;
  padding: 4rem 1rem;
}

.contact-section h4 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: #111827;
  color: #9ca3af;
  text-align: center;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .navbar .container {
    flex-direction: column;
    gap: 1rem;
  }

  .navbar nav a {
    margin-left: 0;
    margin-right: 1rem;
  }
}