@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap");

/* Reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Global Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  outline: none;
  background-color: #f7f7f7;
  color: #333;
}

h1,
h2,
h3,
h4 {
  color: #6c0086;
  font-weight: 700;
}

p {
  color: #555;
  font-weight: 400;
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  font-weight: 700;
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 25px;
  transition: 0.3s;
}

.btn-primary {
  color: #fff;
  background-color: #6c0086;
}

.btn-primary:hover {
  background-color: #5a007a;
}

.btn-secondary {
  color: #6c0086;
  background-color: #f2f2f2;
}

.btn-secondary:hover {
  background-color: #e0e0e0;
}

.container {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}

/* Header */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 16px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #6c0086;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #333;
  transition: all 0.3s ease-in-out;
}

/* Hero */
.hero {
  padding: 80px 0;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 16px;
}

.hero-content h1 span {
  color: #333;
}

.hero-content p {
  margin-bottom: 32px;
}

.hero-image {
  flex: 1;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Features */
.features {
  padding: 80px 0;
  background-color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.feature-card {
  background-color: #f2f2f2;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-icon {
  margin-bottom: 24px;
}

.feature-icon img {
  max-width: 80px;
}

.feature-card h3 {
  margin-bottom: 16px;
}

.feature-card p {
  margin-bottom: 24px;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 16px 0;
}

/* Media Queries */
@media only screen and (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 300px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 80px 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
  }

  .nav-links a {
    padding: 12px 0;
  }

  .mobile-menu {
    display: block;
    z-index: 999;
  }

  .mobile-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-links.active {
    transform: translateX(0);
  }
}

@media only screen and (max-width: 800px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-image {
    order: -1;
  }
}

.contact-buttons {
  display: flex;
  gap: 16px;
  margin-top: 32px;
}

.contact-buttons .btn {
  padding: 12px 24px;
}
