/* Hero Section */
.hero {
  background-color: var(--primary-light);
  padding: var(--space-xl) 0;
  text-align: center;
  margin-bottom: var(--space-lg);
}

.hero h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: var(--space-sm);
}

/* Main Content Layout */
.main-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--space-md);
}

.main-content-with-sidebar {
  display: flex;
  gap: var(--space-xl);
  align-items: flex-start;
}

/* Main Content Area */
.main-content {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.content-section {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--white);
}

.content-section:last-child {
  margin-bottom: 0;
}

.content-section h1 {
  font-size: 1.75rem;
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--primary-light);
}

.content-section h2 {
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--light-gray);
}

.content-section p {
  line-height: 1.7;
  color: var(--dark);
}

/* FAQ Styles */
.faq-container {
  margin-top: var(--space-md);
}

.faq-item {
  margin-bottom: var(--space-sm);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-md);
  text-align: left;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary-dark);
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: var(--light);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--white);
}

.faq-answer.show {
  padding: var(--space-md);
  max-height: 500px;
}

.faq-answer p {
  margin-bottom: 0;
}

.faq-answer ul {
  margin-top: var(--space-sm);
  padding-left: var(--space-md);
}

/* PDF Buttons */
.pdf-buttons {
  margin-bottom: 1.5rem;
}
.pdf-buttons .utility-btn {
  margin-right: 10px;
  margin-bottom: 6px;
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 7px 18px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.pdf-buttons .utility-btn:hover {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* PDF Viewer */
#pdf-viewer-container {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background: #f5f5f5;
  padding: 0;
}
#pdf-viewer-container iframe {
  width: 100%;
  min-height: 400px;
  height: 600px;
  border: none;
  border-radius: 0;
  background: #f5f5f5;
  display: block;
}
#pdf-viewer-container iframe + iframe {
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-wrapper {
    padding: 0 10px;
  }
  .content-section {
    padding: 1.5rem;
  }
  .hero {
    height: auto;
    padding: 30px 0;
  }
  .hero h2 {
    font-size: 1.3rem;
    padding: 10px 10px;
  }
  #pdf-viewer-container iframe {
    min-height: 250px;
    height: 350px;
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .main-content-with-sidebar {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    position: static;
    margin-bottom: var(--space-lg);
  }
  
  .content-section {
    padding: var(--space-lg);
  }
  
  .about-item {
    padding: var(--space-md);
  }
  
  .team-members {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .content-section {
    padding: var(--space-md);
  }
  
  .utility-bar .container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .utility-group {
    flex-wrap: wrap;
  }
  
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  
  nav li {
    margin: var(--space-xs) 0;
  }
}

/* PDF Viewer styles */
.pdf-viewer-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  z-index: 1000;
  overflow: auto;
}

.pdf-viewer-container {
  width: 90%;
  max-width: 1200px;
  height: 90vh;
  margin: 2% auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
}

.pdf-viewer-toolbar {
  padding: 10px 15px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 8px 8px 0 0;
}

.pdf-viewer {
  flex-grow: 1;
  border: none;
  border-radius: 0 0 8px 8px;
}

.pdf-controls {
  display: flex;
  gap: 10px;
}

.pdf-control-btn {
  background: #2c3e50;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.pdf-control-btn:hover {
  background: #1a252f;
}

/* Document Card Styles (copied and adapted from acts.css) */
.document-card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid #e2e8f0;
}

.document-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.document-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.document-size {
  color: #666;
  font-size: 0.9rem;
  flex: 1;
}

.document-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.load-pdf-btn, .download-btn {
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  min-width: 120px;
  justify-content: center;
  border: none;
  text-decoration: none;
  cursor: pointer;
}

.load-pdf-btn {
  background: #3498db;
  color: white;
}

.load-pdf-btn:hover,
.load-pdf-btn:focus {
  background: #2980b9;
  transform: translateY(-1px);
}

.download-btn {
  background: #27ae60;
  color: white;
}

.download-btn:hover,
.download-btn:focus {
  background: #219653;
  transform: translateY(-1px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .document-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .document-actions {
    width: 100%;
  }
  .load-pdf-btn, .download-btn {
    width: 100%;
  }
}

.btn.primary {
  background-color: #005aa7;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-weight: 500;
  transition: background 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn.primary:hover {
  background-color: #003366;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Apply Now Button Design (copied from index.css) */
.apply-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: 0.2s;
  text-align: center;
  border: none;
  background: var(--primary);
  color: var(--white);
  border: 1px solid var(--primary);
  font-size: 1rem;
  margin-top: 18px;
}

.apply-btn:hover,
.apply-btn:focus {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}