/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --primary-color: #2ecc71;
  --secondary-color: #27ae60;
  --dark-color: #333;
  --light-color: #f4f4f4;
  --white: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--dark-color);
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 5%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-color);
  text-decoration: none;
}

.logo span {
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-link {
  padding: 0.5rem 1rem;
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.contact-btn {
  padding: 0.5rem 1.5rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.contact-btn:hover {
  background: var(--secondary-color);
}

.nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

/* Hero Section */
.hero-section {
  padding: 8rem 5% 5rem;
  background: var(--light-color);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-text h4 {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero-text h1 span {
  color: var(--primary-color);
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-buttons {
  margin: 2rem 0;
}

.primary-btn, .secondary-btn {
  padding: 0.8rem 2rem;
  margin-right: 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all
}

/* Continuing from previous styles... */

.primary-btn, .secondary-btn {
  padding: 0.8rem 2rem;
  margin-right: 1rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.primary-btn {
  background: var(--primary-color);
  color: var(--white);
}

.primary-btn:hover {
  background: var(--secondary-color);
}

.secondary-btn {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.secondary-btn:hover {
  background: var(--primary-color);
  color: var(--white);
}

/* Social Links */
.social-links {
  margin-top: 2rem;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin-right: 1rem;
  text-align: center;
  line-height: 40px;
  border-radius: 50%;
  color: var(--dark-color);
  border: 1px solid var(--dark-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* About Section */
.about-section {
  padding: 5rem 5%;
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-color);
}

.section-title h2 span {
  color: var(--primary-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.about-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-details {
  margin-top: 2rem;
}

.detail-item {
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
}

.detail-item .label {
  font-weight: 600;
  min-width: 120px;
}

/* Services Section */
.services-section {
  padding: 5rem 5%;
  background: var(--light-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-card h3 {
  margin-bottom: 1rem;
}

/* Projects Section */
.projects-section {
  padding: 5rem 5%;
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  margin-bottom: 0.5rem;
}

.project-links {
  margin-top: 1rem;
}

.github-link {
  color: var(--dark-color);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.github-link:hover {
  color: var(--primary-color);
}

/* Contact Section */
.contact-section {
  padding: 5rem 5%;
  background: var(--light-color);
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-info {
  display: grid;
  gap: 2rem;
}

.info-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: var(--secondary-color);
}

/* Footer */
.footer {
  padding: 2rem 5%;
  background: var(--dark-color);
  color: var(--white);
  text-align: center;
  position: relative;
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  transition: background 0.3s ease;
  z-index: 999;
}

.scroll-top:hover {
  background: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
      position: fixed;
      top: 70px;
      left: -100%;
      width: 100%;
      padding: 2rem;
      background: var(--white);
      flex-direction: column;
      text-align: center;
      transition: 0.3s ease;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
      left: 0;
  }

  .nav-toggle {
      display: block;
  }

  .hero-text h1 {
      font-size: 2.5rem;
  }

  .hero-text h2 {
      font-size: 1.5rem;
  }

  .about-content {
      grid-template-columns: 1fr;
  }

  .about-image {
      max-width: 400px;
      margin: 0 auto;
  }

  .hero-buttons {
      display: flex;
      flex-direction: column;
      gap: 1rem;
  }

  .primary-btn, .secondary-btn {
      margin-right: 0;
      text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
      font-size: 2rem;
  }

  .section-title h2 {
      font-size: 2rem;
  }

  .services-grid,
  .projects-grid {
      grid-template-columns: 1fr;
  }
}