/* alumni.css - Alumni page specific styles */

/* --- Simplified Background --- */
body {
  background: #f8f9fa;
  position: relative;
}

[data-theme="dark"] body {
  background: #121212;
}

/* Content wrapper with semi-transparent background */
.content-wrapper {
  background: #ffffff;
  min-height: 100vh;
}

[data-theme="dark"] .content-wrapper {
  background: #1e1e1e;
}

/* Section backgrounds */
.section {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
}

[data-theme="dark"] .section {
  background: rgba(45, 45, 45, 0.9);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-right {
  transform: translateX(30px);
}

.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* Form Styles */
.alumni-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  flex: 1 1 calc(50% - 1.5rem);
  min-width: 250px;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--color3);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--color1);
  box-shadow: 0 0 0 3px rgba(82, 166, 117, 0.2);
}

/* Compact option groups */
.option-group {
  margin-bottom: 1.5rem;
}

.option-title {
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--color3);
}

.option-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.option-item {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
}

.option-item input {
  margin-right: 0.5rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.8rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
}

.checkbox-item input {
  margin-right: 0.5rem;
}

/* Button */
.submit-btn {
  background: var(--color1);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 2rem auto 0;
}

.submit-btn:hover {
  background: var(--color3);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Disclaimer */
.disclaimer {
  background: #fff8e1;
  padding: 1.5rem;
  border-radius: 6px;
  margin-top: 2rem;
  font-size: 0.9rem;
  border-left: 4px solid var(--secondary);
}

[data-theme="dark"] .disclaimer {
  background: rgba(255, 248, 225, 0.1);
  color: var(--text-light);
}

.disclaimer h3 {
  margin-bottom: 0.5rem;
  color: var(--color3);
}

/* Success Message */
.success-message {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 2rem 0;
  text-align: center;
  border-left: 4px solid #28a745;
}

[data-theme="dark"] .success-message {
  background: rgba(212, 237, 218, 0.2);
  color: #8fd19e;
}

/* Download button styles */
.download-btn {
  background: var(--color3);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  margin: 1rem 0;
}

.download-btn:hover {
  background: var(--color1);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .form-field {
    flex: 1 1 100%;
  }
  
  .option-row {
    flex-direction: column;
    gap: 0.8rem;
  }
  
  .option-item {
    margin-right: 0;
  }
  
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) { 
  .section {
    padding: 1.5rem;
  }
}