


:root {
  --primary: #1e40fa;
  --accent: #e7188c;
  --text: #333;
  --bg: #f9f9f9;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

header {
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2), 0 6px 10px #ec1a90;
}


.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}



header h1 {
  font-size: 1.8rem;
  margin: 0;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
  border-radius: 5px;
}

.menu li a:hover {
  background: white;
  color: var(--primary);
}



.section-title {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  padding: 1rem 2rem;
}

.card {
 
  padding: 1rem;
  border: 1px solid #ec1a90; /* Added border with color */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}


.card:hover {
  transform: translateY(-5px);
}

.button {
  text-decoration: none;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  display: inline-block;
  margin: 0.5rem;
  transition: background 0.3s;
}

.button:hover {
  background: #b40c64;
}

footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-content .socials a {
  color: white;
  font-size: 1.5rem;
  margin: 0 0.5rem;
}

.footer-content .socials a:hover {
  color: var(--accent);
}

/* -----------------------------------
   Responsive Design for Mobile Devices
------------------------------------ */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-left {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .menu {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 0.5rem;
  }

 
  .section-title {
    font-size: 1.5rem;
    padding: 0 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }

  .button {
    width: 90%;
    text-align: center;
  }

  .logo {
    width: 70px;
  }

  footer {
    padding: 1.5rem 1rem;
  }

  .footer-content {
    font-size: 0.9rem;
  }

  .footer-content .socials {
    margin-top: 1rem;
  }
}
