/* styles.css - Stylish Answer Sheet Theme (Enhanced & Readable) */

/* General Body Styling */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  padding: 20px;
  background: linear-gradient(135deg, #1e1e3f, #2a2a4d, #3a3a6b);
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease;
}

/* Headings */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #f1e0b5;
}

/* Header */
header {
  background: linear-gradient(90deg, #3a3a6b, #2a2a4d);
  padding: 40px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(58, 58, 107, 0.7), 0 0 10px rgba(42, 42, 77, 0.9) inset;
  margin-bottom: 50px;
  border: 3px solid #d4a017;
  animation: pulse 2s infinite alternate;
}

@keyframes pulse {
  from { box-shadow: 0 0 20px rgba(58, 58, 107, 0.7), 0 0 10px rgba(42, 42, 77, 0.9) inset; }
  to { box-shadow: 0 0 30px rgba(58, 58, 107, 0.9), 0 0 15px rgba(42, 42, 77, 0.95) inset; }
}

header h1 {
  font-size: 3.5rem;
  text-shadow: 0 0 15px #d4a017, 0 0 25px #3a3a6b;
}

header p {
  font-size: 1.3rem;
  text-shadow: 0 0 8px #d4a017;
}

/* Section Boxes */
.section-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  padding: 30px;
  margin-bottom: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-left: 8px solid #d4a017;
  transition: all 0.5s ease;
  position: relative;
}

.section-box:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(212, 160, 23, 0.5);
  border-left-color: #3a3a6b;
}

/* Answer Cards */
.answer-card {
  background: linear-gradient(135deg, #2a2a4d, #3a3a6b);
  padding: 20px;
  margin: 15px 0;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 90px; /* Increased padding for spacing */
}

.answer-card:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 25px rgba(212, 160, 23, 0.7);
}

.answer-card .question-number {
  position: absolute;
  left: 20px; /* Moved further left for spacing */
  top: 50%;
  transform: translateY(-50%);
  width: 50px; /* Increased size */
  height: 50px; /* Increased size */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.3em;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: linear-gradient(135deg, #d4af37, #d4a017); /* Gradient background */
  color: #2a2a4d;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4); /* Text shadow for depth */
}

.answer-card:hover .question-number {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
  background: linear-gradient(135deg, #f1e0b5, #d4af37); /* Lighter gradient on hover */
}

.answer-card .answer-text {
  color: #f1e0b5;
  flex-grow: 1;
  font-size: 1.1rem;
  margin-left: 15px; /* Added margin for spacing */
}

/* Headings Inside Sections */
h2 {
  font-size: 2.5rem;
  border-bottom: 5px solid #d4a017;
  padding-bottom: 12px;
  margin-top: 50px;
  background: linear-gradient(to right, #3a3a6b, #d4a017);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 0 10px #d4a017;
}

h3 {
  font-size: 1.8rem;
  margin-top: 30px;
  text-shadow: 0 0 5px #3a3a6b;
}

/* Content Container */
.content-container {
  max-width: 1100px;
  margin: auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

/* Footer */
footer {
  background: #2a2a4d;
  padding: 30px 0;
  text-align: center;
  color: #b3b3cc;
  border-top: 3px solid #d4a017;
  margin-top: 60px;
  box-shadow: 0 -6px 12px rgba(0, 0, 0, 0.35);
}

/* Responsive Design */
@media (max-width: 768px) {
  .content-container { padding: 20px; }
  h1 { font-size: 3rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }
  .section-box { padding: 25px; }
  .answer-card { padding: 15px 50px; } /* Adjusted padding for smaller screens */
}

.site-logo {
  height: 220px;
  width: auto;
  max-width: 1100px;
  filter: drop-shadow(0 0 10px #d4a017);
}