.content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* === Resources Hero Section === */
.hero-section {
  background-color: #f0f8f5;
  text-align: center;
  padding: 3rem 1rem 2rem;
  margin-top: 0;
}

.hero-section h1 {
  font-size: 2rem;
  color: #003b28;
  margin-bottom: 1rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.hero-section p {
  font-size: 1rem;
  color: #333;
  max-width: 600px;
  margin: auto;
}

/* === Resource Cards - SINGLE DEFINITION === */
.resource-card {
  background: white;
  border-left: 4px solid #007847;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  margin-bottom: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.resource-card h2 {
  color: #003b28;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}

.resource-card .intro-tip {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-style: italic;
}

.resource-card ul {
  max-width: 800px;
  margin: 1.5rem auto;
  padding-left: 2rem;
  list-style-type: disc;
}

.resource-card li {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 0.95rem;
}

.resource-card li strong {
  color: #007847;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.resource-card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
  max-width: none;
}

/* === Arrow Tips Styling === */
.arrow-tip {
  background: #f0f8f5;
  border-left: 4px solid #007847;
  padding: 1.25rem;
  margin: 1.5rem auto;
  border-radius: 0 8px 8px 0;
  max-width: 750px;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.arrow-icon {
  font-size: 1.2rem;
  color: #007847;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.arrow-text {
  margin: 0;
  line-height: 1.6;
  color: #333;
  font-size: 0.95rem;
}

.arrow-text strong {
  color: #003b28;
  font-weight: 600;
}

/* === Accordion Components === */
.accordion-toggle {
  background: linear-gradient(135deg, #007847, #005f37) !important;
  color: #fff;
  border: none;
  padding: 0.75rem 1rem;
  width: 100%;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  transition: background 0.3s;
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.accordion-toggle:hover {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 120, 71, 0.3);
}

.accordion-toggle::after {
  content: '+';
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-toggle.active::after {
  transform: rotate(45deg);
}

.accordion-content {
  display: none;
  background: #f0f8f5;
  padding: 1rem;
  border-left: 4px solid #007847;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.accordion-content.active {
  display: block;
}

/* === Resources Modals === */
.cv-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.6);
}

.cv-content {
  background: #fff;
  margin: 5vh auto;
  padding: 2rem;
  border-radius: 12px;
  max-width: 700px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 90vh;
  overflow-y: auto;
}

.cv-content h2 {
  color: #007847;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cv-close {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cv-close:hover {
  color: #000;
}

/* === Resources Buttons === */
.cv-expand-btn {
  background: #007847;
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: inherit;
}

.cv-expand-btn:hover {
  background: #005f37;
}

/* === UPDATED: Brand Yellow Pulsating Buttons === */
.cv-expand-btn.pulsate,
.cv-expand-btn.pulsate-button {
  background-color: #ffc107 !important; /* Brand yellow - override orange */
  color: #000 !important; /* Black text for better contrast */
  font-weight: 600;
  animation: resourcesPulse 1.5s infinite;
  border: 2px solid #e0a800; /* Darker yellow border */
}

.cv-expand-btn.pulsate:hover,
.cv-expand-btn.pulsate-button:hover {
  background-color: #e0a800 !important; /* Darker yellow on hover */
  color: #000 !important;
  border-color: #cc9a00;
}

/* === Video Grid === */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.video-card {
  background: #fff;
  border-left: 4px solid #007847;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.video-card:hover {
  transform: translateY(-5px);
}

.video-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.video-card h4 {
  font-size: 1rem;
  margin: 0;
  padding: 0.75rem;
  background-color: #f9f9f9;
  color: #003b28;
}

.video-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* === Quick Wins and Tips === */
.quick-wins-list {
  padding-left: 1.25rem;
  margin: 1rem 0;
}

.quick-wins-list li {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.quick-wins-tip,
.checklist-tip-box {
  background-color: #f0f8ff;
  border-left: 4px solid #007847;
  padding: 1rem;
  font-size: 0.95rem;
  color: #333;
  border-radius: 6px;
  line-height: 1.6;
  margin: 1rem auto;
  max-width: 700px;
}

/* === Forms === */
#uploadForm {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

#uploadForm input {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-family: inherit;
}

#uploadForm button[type="submit"] {
  background-color: #007BFF;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: inherit;
}

#uploadForm button[type="submit"]:hover {
  background-color: #0056b3;
}

/* === Enhanced Animations === */
@keyframes resourcesPulse {
  0% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  }
  50% { 
    transform: scale(1.05); 
    box-shadow: 0 0 0 10px rgba(255, 193, 7, 0.1);
  }
  100% { 
    transform: scale(1); 
    box-shadow: 0 0 0 0 rgba(255, 193, 7, 0);
  }
}

/* === Responsive Design === */
@media (max-width: 768px) {
  .content-wrapper {
    padding: 1rem 0.5rem;
  }

  .resource-card {
    padding: 1.5rem;
    margin: 0 1rem 2rem 1rem;
  }
  
  .resource-card h2 {
    font-size: 1.6rem;
  }
  
  .resource-card .intro-tip {
    font-size: 1rem;
  }
  
  .arrow-tip {
    padding: 1rem;
    margin: 1rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .arrow-icon {
    margin-top: 0;
  }

  .video-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }

  .cv-content {
    margin: 5vh auto;
    padding: 1.5rem;
    max-width: 95%;
  }
}



/* === Make FAQ Section Uniform with Other Resource Cards === */

.faq-section {
  /* Match the resource-card container styling */
  max-width: 900px;
  margin: 0 auto 2rem auto;
  padding: 2rem;
  background: white;
  border-left: 4px solid #007847;
  border-radius: 12px; /* Add rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-grid {
  /* Remove any extra margins/padding that make it wider */
  max-width: 100%;
  margin: 0;
}

.faq-card {
  /* Ensure FAQ cards don't override the container width */
  border-radius: 8px; /* Rounded corners for individual FAQ items */
}

@media (max-width: 768px) {
  /* Existing styles for content-wrapper, resource-card, etc. */
  
  /* ADD THESE NAVIGATION FIXES: */
  .navbar .container {
    position: relative !important;
  }
  
.nav-links {
  position: absolute !important;
  top: 100% !important;
  width: auto !important;
  margin: 0 30px !important;    /* Keep the 30px side margins */
  transform: none !important;
  left: auto !important;        /* Remove left/right constraints */
  right: auto !important;
}
  
  .menu-toggle {
    position: absolute !important;
    top: 1rem !important;
    right: 20px !important;
    z-index: 1001 !important;
  }
}
.cover-letter-section {
  margin-top: 40px;
}
/* === Enhanced File Upload + Compact Modal Styling === */
/* === Compact CV Review Modal - NO SCROLL BAR === */
.cv-content {
  background: #fff;
  margin: 5vh auto;
  padding: 1rem; /* Much smaller padding */
  border-radius: 12px;
  width: clamp(320px, 90vw, 450px); /* Slightly smaller max width */
  max-width: 95vw;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: none; /* Remove height constraint */
  overflow-y: visible; /* No forced scrolling */
}

.cv-content h2 {
  color: #007847;
  font-size: 1.2rem;
  margin-bottom: 0.5rem; /* Reduced spacing */
}

.cv-content p {
  margin-bottom: 0.75rem; /* Reduced spacing */
  font-size: 0.9rem;
}

/* Compact form */
#uploadForm {
  gap: 0.4rem; /* Smaller gaps between inputs */
}

#uploadForm input {
  padding: 0.4rem 0.6rem; /* Smaller input padding */
  font-size: 0.9rem;
  margin-bottom: 0; /* Remove extra margins */
}

/* Compact upload area */
.file-upload-area {
  padding: 1rem; /* Smaller padding */
  border: 2px dashed #007847;
  border-radius: 8px;
  margin: 0.5rem 0; /* Minimal margins */
}

.upload-icon {
  font-size: 1.5rem; /* Smaller icon */
  margin-bottom: 0.3rem;
}

.upload-text {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.upload-subtext {
  font-size: 0.8rem;
  margin: 0;
}

/* Compact submit button */
#uploadForm button[type="submit"] {
  margin-top: 0.5rem;
  padding: 0.6rem;
}

/* Bottom text */
.cv-content p:last-child {
  margin-bottom: 0;
  font-size: 0.85rem;
}

/* === Missing File Upload Styling === */
.upload-container {
  position: relative;
  margin: 0.5rem 0;
}

.file-upload-area {
  background: linear-gradient(135deg, #f0f8f5, #e8f5e8);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  text-align: center;
}

.file-upload-area:hover {
  border-color: #005f37;
  background: linear-gradient(135deg, #e8f5e8, #d4f4d4);
}

.file-upload-area.drag-over {
  border-color: #005f37;
  background: #e8f5e8;
  transform: scale(1.01);
}

.upload-icon {
  color: #007847;
}

.upload-text {
  color: #003b28;
  font-weight: 600;
}

.upload-subtext {
  color: #555;
}

.file-input-hidden {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* File Preview Container - THIS WAS MISSING */
.file-preview {
  display: none;
  background: #e8f5e8;
  border: 2px solid #007847;
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.5rem;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-icon {
  color: #007847;
  font-size: 1.2rem;
}

.file-details {
  flex-grow: 1;
}

.file-details h4 {
  color: #003b28;
  margin: 0;
  font-size: 0.9rem;
}

.file-details p {
  color: #555;
  margin: 0;
  font-size: 0.8rem;
}

.remove-file {
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.75rem;
  margin-left: auto;
}

.remove-file:hover {
  background: #dc2626;
}

<!-- CSS for fixing the CV Types table -->
<style>
.cv-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.9rem;
    background: white;
}

.cv-table th,
.cv-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid #ddd;
    vertical-align: top;
}

.cv-table th {
    background-color: #00c851;
    color: white;
    font-weight: 500; /* Reduced from bold to medium weight */
    font-size: 0.95rem;
    letter-spacing: 0.3px; /* Slight spacing for better readability */
}

.cv-table td {
    background-color: #fafafa;
}

.cv-table tr:nth-child(even) td {
    background-color: #f8f9fa;
}

.cv-table tr:hover td {
    background-color: #e8f5e9;
    transition: background-color 0.2s ease;
}

.cv-table td:first-child {
    font-weight: 600;
    color: #2c3e50;
}

.cv-table td:last-child {
    color: #555;
}

/* Responsive table */
@media (max-width: 768px) {
    .cv-table {
        font-size: 0.85rem;
    }
    
    .cv-table th,
    .cv-table td {
        padding: 0.5rem;
    }
}

/* More specific modal font forcing */
.cv-modal h1, .cv-modal h2, .cv-modal h3, .cv-modal h4,
.cv-modal p, .cv-modal li, .cv-modal span, .cv-modal div,
.cv-modal strong, .cv-modal em {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-weight: 400 !important;
}

.cv-modal strong {
  font-weight: 600 !important;
}


/* Add spacing between remote companies buttons */
.modal-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .modal-links {
    gap: 0.75rem;
  }
  
  .modal-links .cv-expand-btn {
    width: 100%;
    padding: 1rem;
  }
}


