/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  min-height: 200vh;
  background: linear-gradient(to bottom, #7db59d, #497b42);
}

header {
  padding: 20px;
  background: #329f5c;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  text-decoration: none;
  color: #fff;
}

nav {
  display: flex;
}

nav a {
  margin: 0 30px;
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

nav a:hover {
  color: #238b76;
}

/* Responsive Header */
@media (max-width: 800px) {
  header {
    flex-direction: column;
    text-align: center;
  }

  nav {
    margin-top: 20px;
  }
}

.home {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: center;
}

.home-img {
  margin-bottom: 30px;
}

.home-img img {
  max-width: 30%;
  height: auto;
  border-radius: 70%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  background: linear-gradient(white, white) padding-box,
              linear-gradient(45deg, #87eee2, #4dc77b, #1a4c20) border-box;
  border: 10px solid transparent;
}

.home-content h1 {
  font-size: 2.2em;
  color: #fff;
}

.home-content h3 {
  font-size: 1em;
  color: #e0f2e9;
}

.home-content h4 {
  font-size: 1.8em;
  color: #e0f2e9;
}

.home-content p {
  color: #d9f8d7;
  font-size: 1em;
}

/* Social Icons */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 10px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: #333;
  border-radius: 50%;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.social-icons a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.social-icons a:hover i.fa-facebook { color: #4267B2; }
.social-icons a:hover i.fa-twitter { color: #1DA1F2; }

.social-icons a:hover i.fa-instagram {
  background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: #4267B2;
  border-radius: 25px;
  color: #30d971;
  font-size: 16px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #333;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Section Styling */
section {
  background: #497b42;
  padding: 40px 20px;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

h2 {
  font-size: 2em;
  color: #8dddcd;
  border-bottom: 2px solid #72b17f;
  padding-bottom: 20px;
}

ul {
  list-style-type: none;
  margin-top: 20px;
}

li {
  padding: 20px;
  font-size: 1.2em;
  color: #d9f8d7;
  transition: background 0.3s ease;
}

p {
  color: #46fb85;
  font-size: 1.2em;
}

li:hover {
  background: #2fa75d;
  border-radius: 4px;
}

/* Portfolio Section */
#portfolio {
  padding: 80px 20px;
  background-color: linear-gradient(to bottom, #7db59d, #497b42);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.project {
  background-color: #238549;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.35s ease;
}

.project:hover {
  transform: translateY(10px);
}

.project img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project h3 {
  margin: 15px;
  font-size: 1.5em;
  color: #fff;
}

.project p {
  margin: 15px;
  color: #00e1ff;
}

.project a {
  display: inline-block;
  margin: 15px;
  padding: 10px 20px;
  background-color: #008a55;
  color: #46c860;
  text-decoration: none;
  border-radius: 8px;
}

.project a:hover {
  background-color: #00612a;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .home-content h1 {
    font-size: 2em;
  }
  .home-img img {
    max-width: 70%;
  }
  section {
    padding: 20px;
  }
}
