/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    background-color:#599c83;
  }
  h1, h2, h3, h4 {
    font-family: 'Merriweather', serif;
  }
  .nav-link {
    letter-spacing: 1px;
  }
  
  /* Navbar */
  .navbarScroll {
    background: linear-gradient(135deg, #000, #222);
    transition: background-color 0.3s ease;
  }
  .navbar-brand, .nav-link {
    color: white;
  }
  .nav-link:hover {
    color: #f1f1f1;
  }
  
  /* Hero Section */
  .hero {
    background: url('background.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color:black;
    text-align: center;
    background-attachment: fixed;
  }
  .hero-text {
    max-width: 600px;
  }
  .hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
  }
  .hero p {
    font-size: 24px;
  }
  .btn-primary {
    background-color:#599c83;
    color: black;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  .btn-primary:hover {
    background-color: #000;
    color: white;
  }
  
  /* Education Section */
  .education-section {
    padding: 50px 20px;
    background-color:#599c83;
    text-align: center;
  }
  .education-cards {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
  }
  .educationCard {
    background: linear-gradient(135deg, #fff, #f1f1f1);
    padding: 20px;
    border-radius: 8px;
    width: 30%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .educationCard:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  
  /* Contact Section */
  .contact-section {
    padding: 50px 20px;
    background-color: #599c83;
  }
  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  input, textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  button {
    background-color: black;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  button:hover {
    background-color: #444;
  }
  
  /* Footer */
  #footer {
    background: linear-gradient(135deg, #111, #333);
    padding: 40px 0;
    text-align: center;
    color: white;
  }
  #footer a {
    color: #aaa;
    transition: color 0.3s ease;
  }
  #footer a:hover {
    color: #fff;
  }
  /* Projects Section */
.projects-section {
    padding: 50px 20px;
    background-color:#599c83;
  }
  .project-cards {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .project-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  .project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  .project-card ul {
    list-style-type: disc;
    padding-left: 20px;
  }
  .project-card a {
    display: inline-block;
    margin-top: 15px;
    background-color: #000;
    color: #fff;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  .project-card a:hover {
    background-color: #444;
  }
  /* About Section Styling */
#about {
  padding: 50px 0;
  background-color: #f7f7f7;
}
.bubble-frame img {
  border-radius: 50%;
  max-width: 100%;
  border: 5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.card {
  margin-top: 20px;
}
@media (min-width: 768px) {
  .bubble-frame {
      margin-right: 30px;
  }
  .card {
      margin-top: 0;
  }
}
/* About Section Styling */
#about {
  padding: 50px 0;
  background-color:#599c83;
}

.bubble-frame img {
  border-radius: 50%;
  max-width: 100%;
  border: 5px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .row.align-items-center {
      display: flex;
      justify-content: center;
      align-items: center;
  }
  
  .bubble-frame {
      margin-right: 30px; /* Ensure space between image and card */
  }

  .card {
      margin-top: 0;
  }
  
  .bubble-frame img {
      width: 100%;
      max-width: 300px; /* Control image size on larger screens */
  }
}
.services-section {
  background-color:#599c83;
  padding: 60px 0;
}

.service-item {
  flex: 1 1 150px; /* Each item takes up equal space */
  margin: 20px; /* Adds space around each service */
  color: #333;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-item i,
.service-item img {
  color:black;
  margin-bottom: 15px;
}

.service-item h5 {
  font-size: 18px;
  font-weight: bold;
}

.service-item:hover {
  transform: scale(1.1);
}

.row {
  display: flex;
  justify-content: space-around; /* Distributes space between the services */
  flex-wrap: wrap; /* Wraps the services to a new line if screen size is small */
}

/* Responsive tweaks for smaller screens */
@media (max-width: 768px) {
  .service-item {
      flex: 1 1 100%; /* Each item takes up full width on smaller screens */
      margin: 10px 0; /* Smaller margin for better alignment */
  }
}
.contact-section {
  padding: 50px 0;
  background-color: #599c83;
}

.contact-section h2 {
  font-size: 30px;
  margin-bottom: 20px;
  color: #333;
}

.contact-section p {
  font-size: 16px;
  color: #333;
  margin: 10px 0;
}

.social-icons {
  margin-top: 20px;
}

.social-link {
  color: #333;
  font-size: 24px;
  margin-right: 15px;
  text-decoration: none;
}

.social-link:hover {
  color: green; /* Change to any hover color */
}
