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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
header {
  background-color: #333;
  padding: 20px 0;
  text-align: right;
}

nav ul {
  list-style: none;
  padding: 0;
}

nav ul li {
  display: inline;
  margin-right: 20px;
}

nav ul li a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #f39c12;
}

/* Hero Section */
.hero {
  background: linear-gradient(45deg, #6a1b9a, #d32f2f);
  color: white;
  padding: 80px 20px;
  text-align: center;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-button {
  padding: 10px 20px;
  background-color: #f39c12;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 25px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #d87b0f;
}

/* Projects Section */
.projects {
  padding: 50px 20px;
  text-align: center;
  background-color: white;
}

.projects h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
}

.project-category {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-items: center;
}

.category-card {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 30px;
  width: 250px;
  text-align: center;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.category-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.category-card p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Section */
.contact {
  background-color: #f9f9f9;
  padding: 50px 20px;
  text-align: center;
}

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

.contact p {
  font-size: 1.2rem;
  color: #555;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 15px 0;
  text-align: center;
  position: relative;
}

footer p {
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 8px 15px;
  }
}

.divider {
  width: 95%; /* Full width of the container */
  height: 4px; /* Height of the divider */
  background-color: #333; /* Color of the divider */
  margin: 40px auto;
  position: relative; /* This ensures the pseudo-elements can be positioned relative to the divider */
  border-radius: 10px; /* This rounds the edges */
}
body::-webkit-scrollbar {
  display: none;
}