body {
  margin: 0;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  background: url('img/bg.png') repeat;
  color: #222;
}

/* Navigation Styles */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  position: relative;
  background: none;
  width: 85%;
}

.logo {
  display: flex;
  z-index: 1000;
}

.logo img {
  width: 200px;
  height: auto;
  margin-left: 200px;
}

/* Desktop Navigation */
.desktop-nav {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  font-weight: 500;
}

.desktop-nav li a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 1.2rem;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
}

.desktop-nav li a:hover {
  color: red;
 
}

/* Mobile Navigation Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
  flex-direction: column;
  gap: 4px;
}

.hamburger {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  margin: 0;
  flex-direction: column;
  gap: 0;
  transform: translateY(-10px);
  opacity: 0;
  transition: all 0.3s ease;
}

.mobile-nav.active {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav li {
  margin: 0;
  padding: 0;
}

.mobile-nav li a {
  display: block;
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-nav li a:hover {
  color: red;
  background: rgba(255, 0, 0, 0.1);
  padding-left: 2.5rem;
}

.mobile-nav li:last-child a {
  border-bottom: none;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0 1rem 0;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  max-width: 900px;
  margin: auto;
}

.intro {
  max-width: 400px;
}

.hello {
  color: red;
  font-weight: bold;
  font-size: 1.1rem;
}

.name {
  color: black;
  font-weight: bold;
}

.contact-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: red;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s;
}

.contact-btn:hover {
  background: #d1002d;
}

.socials {
  margin-top: 1rem;
  display: flex;
  gap: 0.7rem;
}

.socials a img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.2);
  transition: filter 0.2s;
}

.socials a:hover img {
  filter: none;
}

.section-title {
  text-align: center;
  color: red;
  font-weight: bold;
  margin-top: 2.8rem;
  margin-bottom: 1.4rem;
  font-size: 1.7rem;
}

.services-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  border: 2px solid #fce3e9;
  border-radius: 16px;
  padding: 1.2rem;
  width: 250px;
  box-shadow: 0 2px 16px rgba(217,0,45,0.04);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 6px 24px rgba(217,0,45,0.15);
  transform: translateY(-4px) scale(1.03);
}

.service-card img {
  width: 48px;
  margin-bottom: 0.6rem;
}

.about {
  max-width: 650px;
  margin: 2.2rem auto;
  text-align: center;
  border-radius: 14px;
  padding: 1.3rem 2rem;
}

.projects-cards {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.project-card {
  background: #fff;
  border: 2px solid #fce3e9;
  border-radius: 16px;
  width: 230px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 16px rgba(217,0,45,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.project-card img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(217,0,45,0.07);
  margin-bottom: 0.6rem;
}

.project-card:hover {
  box-shadow: 0 6px 24px rgba(217,0,45,0.12);
  transform: translateY(-4px) scale(1.04);
}

.contact {
  max-width: 500px;
  margin: 2.2rem auto;
  border-radius: 14px;
  padding: 1.3rem 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-form input,
.contact-form textarea {
  border: 1.5px solid #fce3e9;
  border-radius: 7px;
  padding: 0.7rem;
  font-size: 1rem;
  width: 100%;
  resize: vertical;
}

.contact-form textarea {
  min-height: 80px;
  max-height: 200px;
}

.contact-form button {
  background: red;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 0.8rem;
  font-size: 1.05rem;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.7rem;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #d1002d;
}

footer {
  text-align: center;
  padding: 2rem 1rem 1rem 1rem;
  margin-top: 2rem;
  font-size: 1rem;
  color: black;
}

.footer-socials {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.footer-socials a img {
  width: 28px;
  height: 28px;
  filter: grayscale(0.2);
  transition: filter 0.2s;
}

.footer-socials a:hover img {
  filter: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .mobile-nav {
    display: flex;
  }
  
  .navbar {
    padding: 1rem;
  }
  
  .logo img {
    width: 150px;
  }
  
  .hero-content {
    flex-direction: column-reverse;
    gap: 1.5rem;
    align-items: center;
    padding: 0 1rem;
  }
  
  .intro {
    text-align: center;
    max-width: 100%;
  }
  
  .hero-img img {
    width: 280px !important;
  }
  
  .services-cards,
  .projects-cards {
    flex-direction: column;
    align-items: center;
    gap: 1.1rem;
    padding: 0 1rem;
  }
  
  .service-card,
  .project-card {
    width: 100%;
    max-width: 300px;
  }
  
  .about,
  .contact {
    margin: 2.2rem 1rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.8rem;
  }
  
  .logo img {
    width: 120px;
  }
  
  .hero-img img {
    width: 250px !important;
  }
  
  .section-title {
    font-size: 1.5rem;
    margin-top: 2rem;
  }
  
  .service-card,
  .project-card {
    padding: 1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.6rem;
  }
}




