/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 50%, #1B5E20 100%);
  min-height: 100vh;
  color: #333;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Animated background particles */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(76, 175, 80, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 195, 74, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(165, 214, 167, 0.3) 0%, transparent 50%);
  animation: drift 20s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes drift {
  0% { transform: rotate(0deg) scale(1); }
  100% { transform: rotate(360deg) scale(1.1); }
}

/* Header styles */
#header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2E7D32;
  text-decoration: none;
  background: linear-gradient(45deg, #2E7D32, #4CAF50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Menu button hidden */
#header a[href="#menu"] {
  display: none;
}

/* Navigation */
#menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  transition: right 0.3s ease;
  z-index: 1001;
  padding: 80px 40px;
}

#menu.visible {
  right: 0;
}

#menu .links {
  list-style: none;
}

#menu .links li {
  margin: 20px 0;
}

#menu .links a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  padding: 15px 0;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#menu .links a:hover {
  color: #2E7D32;
  transform: translateX(10px);
}

/* Main content - flex grow to push footer down */
#main {
  margin-top: 100px;
  padding: 60px 20px;
  flex: 1;
}

.wrapper .inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Header section with glassmorphism */
header.align-center {
  text-align: center;
  margin-bottom: 60px;
  padding: 60px 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

header.align-center::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

header.align-center h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

header.align-center p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.98); /* darker for better contrast */
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* Content section */
.content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 44px; /* tightened */
  border-radius: 25px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.content p {
  font-size: 1.1rem;
  line-height: 1.55;   /* tighter leading */
  margin-bottom: 18px; /* tighter spacing */
  color: #111;         /* darker for readability */
  font-weight: 400;
}

.content p:last-child {
  margin-bottom: 0;
}

/* Ensure bold inherits the darker color */
.content strong {
  color: inherit;
}

/* Email section with icon */
.email-section {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 25px 0;
}

.email-icon {
  font-size: 1.2rem;
}

.thank-you {
  color: #1b5e20;  /* deep green accent */
  font-weight: 600;
  margin: 22px 0 14px;
}

.disclaimer {
  font-style: italic;
  font-size: 0.9rem;
  color: #4b5563;  /* secondary but readable */
  line-height: 1.45;
  margin-top: 12px;
}

.content a {
  color: #1f6f29;  /* slightly deeper green for contrast on white */
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  background: linear-gradient(45deg, rgba(46, 125, 50, 0.1), rgba(76, 175, 80, 0.1));
  border-radius: 20px;
  border: 1px solid rgba(46, 125, 50, 0.2);
  transition: all 0.3s ease;
  display: inline-block;
}

.content a:hover {
  background: linear-gradient(45deg, #2E7D32, #4CAF50);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(46, 125, 50, 0.3);
}

/* Footer - stick to bottom */
#footer {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  padding: 40px 20px;
  margin-top: auto;
}

#footer .inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

#footer .copyright {
  list-style: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
  #header {
    padding: 15px 20px;
  }
  
  .logo a {
    font-size: 1.3rem;
  }
  
  header.align-center {
    padding: 40px 20px;
  }
  
  header.align-center h2 {
    font-size: 2.5rem;
  }
  
  header.align-center p {
    font-size: 1.1rem;
  }
  
  .content {
    padding: 28px; /* tightened */
  }
  
  #main {
    padding: 40px 15px;
  }
  
  .content p {
    line-height: 1.6;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  header.align-center h2 {
    font-size: 2rem;
  }
  
  .content {
    padding: 25px 20px;
  }
  
  .content p {
    font-size: 1rem;
  }
}

/* Supporting company credit (subtle, thankful) */
.supporting-company {
  padding: 24px 0 10px;
  text-align: center;
}

.supporting-company::before {
  content: '';
  display: block;
  width: 140px;
  height: 2px;
  margin: 0 auto 16px;
  background: linear-gradient(45deg, #2E7D32, #4CAF50);
  opacity: 0.65;
  border-radius: 2px;
}

.supporting-company p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.supporting-company strong {
  color: #ffffff;
  font-weight: 600;
}