@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  /* Core Color Palette (Preserved) */
  --color-bg-cornsilk: #FFF8DC;
  --color-bg-white: #FFFFFF;
  --color-accent-gold: #FFD700;
  --color-accent-gold-hover: #FFC700;
  --color-text-dark: #000000;
  --color-text-charcoal: #333333;
  --color-text-light: #FFFFFF;
  --color-success-green: #4CAF50;
  --color-error-red: #dc3545;
  --color-border-subtle: rgba(0, 0, 0, 0.08);
  
  /* Modern styling variables */
  --font-primary: 'Outfit', 'Roboto', sans-serif;
  --font-secondary: 'Roboto', sans-serif;
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 50px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  background-color: var(--color-bg-cornsilk);
  color: var(--color-text-dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

/* Base Layout Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Custom Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-accent-gold);
  color: var(--color-text-dark);
  box-shadow: 0 4px 14px rgba(255, 215, 0, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.35);
}

.btn-secondary {
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-text-dark);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Sub-page Section Styling */
.section {
  padding: 100px 0;
  position: relative;
}

.section-alt {
  background-color: var(--color-bg-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  background-color: var(--color-accent-gold);
  color: var(--color-text-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.15rem;
  color: var(--color-text-charcoal);
  line-height: 1.7;
}

/* Custom Grid Component */
.grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Custom cards */
.card {
  background-color: var(--color-bg-white);
  border-radius: var(--radius-md);
  padding: 36px;
  border: 1px solid var(--color-border-subtle);
  transition: var(--transition-smooth);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
