/* General */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: #0d0d0d;
  color: white;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: #111;
  position: sticky;
  top: 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

/* Container for sections */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  text-align: center;
  padding: 80px 0;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #00c896;
}

/* About */
.about p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ccc;
}

/* Services */
.services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.service-card {
  background: #1a1a1a;
  padding: 25px;
  border-radius: 12px;
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  margin-bottom: 10px;
  color: white;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.portfolio-item {
  background: #1a1a1a;
  padding: 60px 20px;
  border-radius: 12px;
  font-weight: bold;
  color: #aaa;
  transition: background 0.3s;
}

.portfolio-item:hover {
  background: #00c896;
  color: black;
}

/* Contact */
.contact p {
  color: #ccc;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.contact-form button {
  background: #00c896;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.contact-form button:hover {
  background: #00a87a;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #00c896;
}

/* Burger menu for mobile */
.burger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.btn {
  background: #00c896;
  color: black;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.contact-section {
  padding: 60px 20px;
  text-align: center;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fff;
}

.contact-section p {
  color: #aaa;
  margin-bottom: 30px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #1e1e1e;
  color: #fff;
  font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form button {
  background: #00c896;
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #00a378;
}


.btn:hover {
  background: #00a87a;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #111;
    position: absolute;
    top: 70px;
    right: 0;
    padding: 20px;
  }

  .nav-links.active {
    display: flex;
  }

  .burger {
    display: block;
  }
}

.form-status {
  margin-top: 15px;
  font-weight: bold;
  display: none;
  text-align: center;
}

/* Sections General */
.section {
  padding: 80px 20px;
  text-align: center;
  color: #fff;
  background-color: #111;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.section p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  color: #ddd;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 4px 15px rgba(0,0,0,0.6);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Portfolio */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.portfolio-item {
  background: #1a1a1a;
  padding: 10px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 220px; /* Fixed height for all images */
  object-fit: cover; /* Crop images nicely instead of stretching */
  border-radius: 8px;
}

.portfolio-item:hover {
  transform: scale(1.03);
}

.portfolio-item h4 {
  margin-top: 10px;
  font-size: 1.2rem;
  color: #fff;
}
