/* Modern CSS with Mobile-first Approach */
:root {
  --primary-color: #FF3366;
  --secondary-color: #7C3AED;
  --accent-color: #2563EB;
  --dark-color: #1F2937;
  --light-color: #F9FAFB;
  --gray-color: #6B7280;
  --text-color: #111827;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.8rem;
}

h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}

/* Header */
header {
  background-color: var(--dark-color);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--box-shadow);
}

header .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.logo-svg {
  margin-right: 0.5rem;
}

.logo h1 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

nav ul {
  list-style: none;
  display: flex;
}

nav ul li {
  margin: 0 0.5rem;
}

nav ul li a {
  color: white;
  padding: 0.5rem;
}

nav ul li a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.8rem 1.5rem;
  border-radius: var(--border-radius);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: var(--box-shadow);
}

.cta-button:hover {
  background-color: var(--text-color);
  color: white;
  transform: translateY(-3px);
}

/* Featured Section */
.featured {
  padding: 3rem 0;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.content-card {
  background-color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
}

.content-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  margin-bottom: 1rem;
}

.content-card h3 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.content-card p {
  color: var(--gray-color);
  margin-bottom: 0;
}

/* Categories Section */
.categories {
  background-color: var(--dark-color);
  padding: 3rem 0;
  color: white;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  color: white;
}

.category:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.category-icon {
  margin-bottom: 0.5rem;
}

.category span {
  font-weight: 600;
}

/* About Section */
.about {
  padding: 3rem 0;
  background-color: white;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 2rem 0 1rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo span {
  margin-left: 0.5rem;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links ul li {
  margin: 0 0.5rem 0.5rem;
}

.copyright {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: var(--gray-color);
}

/* Media Queries for Responsive Design */
@media (min-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  h3 {
    font-size: 1.4rem;
  }

  header .container {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .logo {
    margin-bottom: 0;
  }
  
  .content-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
  
  .hero h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 992px) {
  .container {
    width: 85%;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* Animation Effects */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero, .featured, .categories, .about {
  animation: fadeIn 1s ease-in;
}
