/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Prevent horizontal scroll */
html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  color: #333;
}

/* Header Section */
/* Header Section */
header {
  background-color: black;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  width: 100%;
}

.logo {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  border: 3px solid limegreen;
  transition: transform 0.3s, border-color 0.3s;
}

.logo:hover {
  transform: scale(1.05);
  border-color: #aaff00;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  z-index: 20;
  position: absolute;
  top: 30px;
  right: 40px;
}

nav {
  display: flex;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #f39c12;
}

/* Responsive Header */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #2c3e50;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    padding: 20px 0;
  }

  nav.show {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }
}

/* Home Section */
.home-section {
  background-color: #000;
  color: #fff;
  padding: 80px 20px;
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.home-content {
  flex: 1 1 500px;
}

.home-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.home-content h1 span {
  color: limegreen;
}

.home-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
  max-width: 600px;
}

.btn {
  display: inline-block;
  background-color: limegreen;
  color: #000;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 5px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #aaff00;
}

.home-image {
  flex: 1 1 350px;
  text-align: center;
}

.home-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 4px solid limegreen;
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.home-image img:hover {
  border-color: #aaff00;
  transform: scale(1.05);
}

/* Responsive - Home Section */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
    padding: 0 15px;
  }

  .home-content {
    flex: 1 1 100%;
    margin-bottom: 40px;
  }

  .home-content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  .home-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }

  .home-image {
    flex: 1 1 100%;
  }

  .home-image img {
    width: 140px;
    height: 140px;
    border-width: 3px;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: black;
  color: white;
  overflow-x: hidden;
}

.page-border {
  border: 5px solid limegreen;
  padding: 10px;
  min-height: 100vh;
}

/* Header */
header {
  background-color: black;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.logo {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  border: 3px solid limegreen;
  transition: transform 0.3s, border-color 0.3s;
}

.logo:hover {
  transform: scale(1.05);
  border-color: #aaff00;
}

.hamburger {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #aaff00;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  nav {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #2c3e50;
    width: 100%;
    display: none;
  }

  nav.show {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
  }
}

/* About Section */
.about-section {
  padding: 60px 20px;
  background-color: black;
}

.container {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.about-section h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.about-section h1 span {
  color: limegreen;
}

/* Typing animation */
.typing-text {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  border-right: 3px solid limegreen;
  width: 0;
  animation: typing 4s steps(70, end) forwards, blink 0.75s step-end infinite;
  font-size: 1.2rem;
  margin: 20px 0 40px;
  line-height: 1.6;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink {
  50% { border-color: transparent }
}

.about-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.card {
  background-color: #111;
  border: 2px solid limegreen;
  border-radius: 10px;
  padding: 20px;
  max-width: 300px;
  text-align: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h2 {
  color: limegreen;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  line-height: 1.5;
}
.deco{
  height: 4px;
  width: 700px;
  float: right;
  border: 2px solid limegreen;
}
/* Portfolio Section */
.portfolio-section {
  padding: 60px 20px;
  background-color: #000;
  color: white;
}

.portfolio-section h1 {
  font-size: 3rem;
  text-align: right; /* Shift heading to the right */
  float: right;
  margin-bottom: 40px;
  padding-right: 20px; /* Optional: adds some space from the edge */
}
.portfolio-section h1 span {
  color: limegreen;
}

.portfolio-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.portfolio-item {
  background-color: #111;
  border: 2px solid limegreen;
  border-radius: 10px;
  overflow: hidden;
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 2px solid limegreen;
}

.portfolio-item h3 {
  margin: 15px 0;
  font-size: 1.2rem;
  color: limegreen;
}

/* Responsive */
@media (max-width: 768px) {
  .portfolio-grid {
    flex-direction: column;
    align-items: center;
  }
   .portfolio-section h1 {
    text-align: center; /* Re-center on small screens */
    padding-right: 0;
  }
  .portfolio-item {
    width: 90%;
  }
}
.deco2{
  height: 4px;
  width: 700px;
  float: left;
  border: 2px solid limegreen;
}
.services-section {
  padding: 60px 20px;
  background-color: black;
  color: white;
}

.services-section h1 {
 font-size: 3rem;
  text-align: center;
  margin-bottom: 40px;
}

.services-section h1 span {
  color: limegreen;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.service-card {
  background-color: #111;
  border: 2px solid limegreen;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  width: 250px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 2.5rem;
  color: limegreen;
  margin-bottom: 15px;
}

.service-card h2 {
  font-size: 1.2rem;
  margin: 0;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .service-card {
    width: 90%;
  }
}
.deco3{
   height: 4px;
  width: 700px;
  float: right;
  border: 2px solid limegreen;
}
 html {
      scroll-behavior: smooth;
    }

    .footer {
      margin-top: 10px;
      background-color: black;
      border-top: 2px solid limegreen;
      color: #ecf0f1;
      padding: 40px 20px;
    }

    .footer-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      align-items: flex-start;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
      text-align: left;
    }

    .footer-logo {
      flex: 1 1 250px;
      text-align: center;
      margin-bottom: 20px;
    }

    .footer-logo img {
      border-radius: 50%;
      margin-bottom: 10px;
      max-width: 100px;
    }

    .footer-logo h3 {
      font-size: 24px;
      margin: 10px 0 5px;
    }

    .footer-logo p {
      font-size: 16px;
      font-style: italic;
    }

    .footer-links {
      flex: 1 1 250px;
      padding: 10px;
    }

    .footer-links h4 {
      font-size: 20px;
      margin-bottom: 10px;
      text-transform: uppercase;
      color: #f1f1f1;
    }

    .footer-links ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links li {
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
    }

    .footer-links a {
      color: #ecf0f1;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-links a:hover {
      color: #00aced;
    }

    .footer-social {
      flex: 1 1 250px;
      text-align: center;
      padding: 10px;
    }

    .footer-social h4 {
      font-size: 20px;
      margin-bottom: 10px;
      text-transform: uppercase;
      color: #f1f1f1;
    }

    .footer-social .social-icon {
      margin: 0 10px;
      font-size: 24px;
      color: #ecf0f1;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .footer-social .social-icon:hover {
      color: #3498db;
    }

    .footer-bottom {
      text-align: center;
      margin-top: 20px;
      padding-top: 10px;
      border-top: 1px solid #34495e;
      font-size: 14px;
    }

    .footer-bottom p {
      margin: 0;
    }