/* =======================
   Global Styles & Resets
   ======================= */

/* CSS Reset & Base */
:root {
  --primary-color: #4e67eb;
  --secondary-color: #34c759;
  --accent-color: #ff9500;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --gradient-1: linear-gradient(135deg, #4e67eb, #2043b5);
  --gradient-2: linear-gradient(135deg, #34c759, #28a745);
  --gradient-3: linear-gradient(135deg, #ff9500, #ff7d00);
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --secondary: #ec4899;
  --accent: #8b5cf6;
  --light: #f9fafb;
  --dark: #1f2937;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-800: #1f2937;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f8f9fa;
  background-image: linear-gradient(45deg, #e9ecef 25%, transparent 25%),
    linear-gradient(-45deg, #e9ecef 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e9ecef 75%),
    linear-gradient(-45deg, transparent 75%, #e9ecef 75%);
  background-size: 20px 20px;
  min-height: 100vh;
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

/* Utility Classes */
.hidden {
  display: none;
}

.fade-in-up {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Header */
.header {
  background: linear-gradient(90deg, #5e72e4 0%, #825ee4 100%);
  color: white;
  padding: 1.2rem 5%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 100;
}

.header h1 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo {
  width: 40px;
  height: 40px;
}

/* Navigation */
nav {
  display: flex;
  gap: 1rem;
}

.button {
  padding: 0.7rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.primary-button {
  background-color: #fff;
  color: #5e72e4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 7px 14px rgba(0, 0, 0, 0.15);
}

.secondary-button {
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  backdrop-filter: blur(10px);
}

.secondary-button:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

/* Section Titles */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  text-align: center;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  color: var(--gray-800);
  margin-bottom: 2rem;
}

/* Footer */
.footer {
  background-color: #1f2937;
  color: #d1d5db;
  padding: 3rem 5%;
  text-align: center;
  margin-top: auto;
  border-top: 4px solid #5e72e4;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: #9ca3af;
  font-weight: 600;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.8rem;
}

.footer-column a {
  color: #9ca3af;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: #e5e7eb;
}

.copyright {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #374151;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 5%;
  }
  nav {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: 2rem;
  }
  .main-content {
    padding: 2rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}
