* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #0e0e0e;
  color: white;
}

/* Navbar */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 4rem;
  background-color: #1a1a1a;
}

.logo span {
  color: #00bcd4;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00bcd4;
}

/* Hero Section */
.hero {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(120deg, #0e0e0e, #1a1a1a);
}

.hero h2 span {
  color: #00bcd4;
}

.hero p {
  margin-top: 1rem;
  font-size: 1.1rem;
  opacity: 0.8;
}

.btn {
  display: inline-block;
  margin-top: 2rem;
  background-color: #00bcd4;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background-color: #008c9e;
}

/* About Section */
.about {
  padding: 5rem 8%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background-color: #0e0e0e;
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.about-img img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #00bcd4;
}

.about-text {
  max-width: 600px;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #00bcd4;
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1.2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.hero {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 90vh;
  flex-wrap: wrap;
}

.hero-image img {
  width: 300px;
  border-radius: 50%;
  border: 4px solid #00bcd4;
}

/* Portfolio Section */
.portfolio {
  padding: 5rem 8%;
  text-align: center;
  background-color: #0e0e0e;
  color: white;
}

.section-title {
  font-size: 2.5rem;
  color: #00bcd4;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 3rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-card h3 {
  padding: 1rem;
  font-size: 1.1rem;
  color: #00bcd4;
}

/* Services Section */
.services {
  padding: 5rem 8%;
  background-color: #0e0e0e;
  color: white;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: #1a1a1a;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-8px);
  background-color: #111;
}

.service-card img {
  width: 60px;
  margin-bottom: 1.2rem;
}

.service-card h3 {
  color: #00bcd4;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
}

.service-card p {
  font-size: 0.95rem;
  opacity: 0.85;
  line-height: 1.6;
}

/* Contact Section */
.contact {
  padding: 5rem 8%;
  background-color: #0e0e0e;
  color: white;
  text-align: center;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem;
  border: none;
  border-radius: 8px;
  background-color: #1a1a1a;
  color: white;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #aaa;
}

.contact-form button {
  background-color: #00bcd4;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0.8rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #009cb0;
}

.contact-info {
  flex: 1;
  min-width: 250px;
  text-align: left;
}

.contact-info h3 {
  color: #00bcd4;
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.7rem;
  opacity: 0.9;
}

.social-links {
  margin-top: 1.5rem;
}

.social-links a {
  display: inline-block;
  margin-right: 1rem;
  text-decoration: none;
  color: #00bcd4;
  font-weight: 500;
  transition: 0.3s;
}

.social-links a:hover {
  color: #fff;
}

.contact-pic {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* NAVIGATION BAR */
header {
  background-color: #111;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

.logo span {
  color: #00bcd4;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #00bcd4;
}

/* RESPONSIVE NAVBAR */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: center;
  }
}

/* NAVBAR STYLING */
header {
  background-color: #111;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

.logo span {
  color: #00bcd4;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #00bcd4;
}

/* HAMBURGER MENU */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 25px;
  background-color: #fff;
  margin: 4px 0;
  border-radius: 3px;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #111;
    text-align: center;
    padding: 10px 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 10px 0;
  }
}

.menu-icon {
  display: block;
  cursor: pointer;
}
@media (min-width: 769px) {
  .menu-icon {
    display: none;
  }
}
