/* Page-Specific Styles */

/* AI Page Specific Styles */
/* AI Tools Section */
.ai-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ai-tool-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    background: white;
}

.ai-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
}

.ai-tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ai-tool-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ai-tool-content h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.ai-tool-content p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

/* Brand-specific styling */
.ai-tool-card.chatgpt {
    border-color: #10a37f;
}

.ai-tool-card.chatgpt:hover {
    border-color: #0d8f6f;
    box-shadow: 0 8px 25px rgba(16, 163, 127, 0.2);
}

.ai-tool-card.gemini {
    border-color: #4285f4;
}

.ai-tool-card.gemini:hover {
    border-color: #3367d6;
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

.ai-tool-card.claude {
    border-color: #ff6b35;
}

.ai-tool-card.claude:hover {
    border-color: #e55a2b;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
}

.ai-tool-card.llama {
    border-color: #1877f2;
}

.ai-tool-card.llama:hover {
    border-color: #166fe5;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.2);
}

.ai-tool-card.perplexity {
    border-color: #20b2aa;
}

.ai-tool-card.perplexity:hover {
    border-color: #1a9b94;
    box-shadow: 0 8px 25px rgba(32, 178, 170, 0.2);
}

.ai-tool-card.manus {
    border-color: #8b5cf6;
}

.ai-tool-card.manus:hover {
    border-color: #7c3aed;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}


.ai-limitations-table {
    width: 100%;
    border-collapse: collapse;
}

.ai-limitations-table th,
.ai-limitations-table td {
    text-align: center;
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.ai-limitations-table th {
    background-color: var(--secondary-color);
    font-weight: 600;
    color: var(--accent-secondary);
}

.ai-limitations-table tbody tr:nth-child(odd) {
    background-color: var(--surface);
}

.ai-limitations-table tbody tr:hover {
    background-color: var(--primary-color);
}

.note-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 1rem;
}

.tip-item {
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--surface);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.tip-item:hover {
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.tip-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    cursor: pointer;
    background-color: var(--secondary-color);
    color: var(--text-primary);
    font-weight: 600;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.tip-header:hover {
    background-color: var(--border);
}

.tip-header.expanded {
    background-color: var(--accent-color);
    color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tip-header.expanded .expand-btn {
    color: white;
}

.tip-header .expand-btn {
    font-size: 1.2rem;
    padding: 0;
}

.prompt-content p em {
    font-family: 'Courier New', monospace;
    font-style: normal;
    display: block;
    background-color: var(--gemini-light-bg);
    padding: 0.5rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    color: var(--accent-secondary);
    overflow-wrap: break-word;
    font-size: 0.9rem;
}

.copy-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.prompt-content:hover .copy-btn {
    opacity: 1;
}

.copy-btn:hover {
    background-color: var(--accent-secondary);
}

/* Index Page specific styles */
/* Any CV-specific styles that are truly unique */
.job-header {
    cursor: pointer;
}

#careerContent.collapsed {
  display: none;
}

#careerBtn.expanded {
  transform: rotate(180deg);
  transition: transform 0.3s ease-in-out; /* Add a smooth transition */
}

/*
 * Consistent collapsible section styling
 * This block handles all collapsing and expanding logic.
 */

.skills-content,
.job-content,
.prompt-content,
.certs-content,
.career-history,
.guides-content,
.llmtools-content,
.section-links {
    transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out, margin 0.4s ease-out;
    overflow: hidden;
}

.skills-content.collapsed,
.job-content.collapsed,
.prompt-content.collapsed,
.certs-content,.collapsed,
.career-history.collapsed,
.guides-content.collapsed,
.llmtools-content.collapsed,
.section-links.collapsed
 {
    max-height: 0;
    opacity: 0;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
}

.skills-content:not(.collapsed),
.job-content:not(.collapsed),
.prompt-content:not(.collapsed),
.certs-content:not(.collapsed),
.career-history:not(.collapsed),
.guides-content:not(.collapsed),
.llmtools-content:not(.collapsed),
.section-links:not(.collapsed) {
    max-height: 10000px; /* A very large value to ensure the content is fully visible */
    opacity: 1;
    overflow: visible;
}

/* Styles for skills grid */
.skills-grid {
    display: grid;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

/* EDIT: Styles for skill categories and job entries to match gemini.html's card aesthetic */
.skill-category,
.certs-content,
.job {
    background: var(--surface); /* EDIT: Now white, matching gemini.html card background */
    border-radius: 0.75rem; /* EDIT: Matched gemini.html's card border-radius */
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1); /* EDIT: Added shadow from gemini.html's card */
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

/* Specific padding for skill-category and job as they had different original paddings */
.skill-category {
    padding: 1.5rem;
}

.section-skills {
    margin-bottom: 2.5rem;
}

.job {
    padding: 2rem;
    margin-bottom: 2rem; /* Kept existing margin-bottom */
    position: relative; /* Kept existing position */
}


.skill-category h4 {
    font-family: 'Montserrat', sans-serif; /* Explicitly use Montserrat */
    color: var(--accent-secondary); /* EDIT: Uses new accent-secondary color */
    font-size: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.skill-list {
    color: var(--text-secondary); /* EDIT: Uses new text-secondary color */
    font-size: 0.9rem;
    line-height: 1.5;
}


.job::before,
.certs-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: 0 8px 8px 0;
}

.job-header {
    margin-bottom: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.job-info, .cert-info {
    flex: 1;
}

.company {
    font-family: 'Montserrat', sans-serif; /* Explicitly use Montserrat */
    font-size: 1.3rem;
    color: var(--accent-secondary); /* EDIT: Uses new accent-secondary color */
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.job-title {
    font-family: 'Montserrat', sans-serif; /* Explicitly use Montserrat */
    color: var(--accent-color); /* EDIT: Uses new accent color */
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.certs-content {
    padding: 2rem;
    margin-bottom: 2rem; /* Kept existing margin-bottom */
    position: relative; /* Kept existing position */
}

.dates {
    color: var(--text-secondary); /* EDIT: Uses new text-secondary color */
    font-size: 0.9rem;
    font-style: italic;
}

/* ===== PROJECTS PAGE STYLES ===== */

/* Page Introduction */
.page-intro {
    text-align: center;
    margin: 40px 0 60px 0;
    padding: 0 20px;
}

.page-intro h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-text {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Projects Grid */
.projects-grid-section {
    margin: 20px 0;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Category Cards */
.project-category-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    position: relative;

}

.project-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Card Headers */
.card-header {
    padding: 30px 30px 20px 30px;
    text-align: center;
    position: relative;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.card-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

/* Card Content */
.card-content {
    padding: 0 30px 30px 30px;
}

.card-content-header {
    text-align: center;
}

.card-description {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

/* Skills Lists */
.skills-list {
    margin-bottom: 0px;
}

.skills-list h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.skills-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skills-list li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: #6b7280;
    position: relative;
    padding-left: 20px;
}

.skills-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 600;
}

/* Project Examples */
.project-examples {
    margin-bottom: 25px;
}

.project-examples h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 12px;
}

.example-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.example-item {
    font-family: 'Courier New', Courier, monospace;
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 4px solid var(--border);
    transition: all 0.2s ease;
}

.example-item:hover {
    background: #f3f4f6;
    border-left-color: #3b82f6;
}

.example-item strong {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.example-item span {
    font-size: 0.9rem;
    color: #6b7280;
}

/* Card Footers */
.card-footer {
    padding: 0 30px 30px 30px;
}

.cta-button {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-button:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* Category-specific styling */
.web-development .card-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.web-development .example-item:hover {
    border-left-color: #3b82f6;
}

.web-dev-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
}

.web-dev-cta:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    color: white;
}

.cyber-security .card-icon {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.cyber-security .example-item:hover {
    border-left-color: #ef4444;
}

.security-cta {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.security-cta:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.systems-admin .card-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.systems-admin .example-item:hover {
    border-left-color: #10b981;
}

.sysadmin-cta {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.sysadmin-cta:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
}

/* Certification Cards */
.project-cert-content {
    font-size: 0.9rem;
    display: flex;
    flex-direction: row;
    position: relative;
    gap: 0.6rem;
}

.project-cert-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    order: 1;
}

.project-cert-text {
    text-align: left;
    order: 2;
}

/* Call to Action Section */
.cta-section {
    text-align: center;
    transition: all 0.3s ease;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-container p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 10px;
}

/* Projects Page Specific Styles */
.projects-hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--surface) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 82, 155, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    gap: 1rem;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.project-category {
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.project-date {
    color: var(--text-secondary);
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-secondary);
}

.project-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.project-tech {
    margin-bottom: 1rem;
}

.project-metrics {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
}

.metric-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.principles-text {
    font-size: 1rem;
    color: white;
    padding-top: 10px;
    padding-bottom: 10px;
}

/* Recruit Me Page Specific Styles */
#attach-file {
    background-color: var(--primary-color);
}

.browse-input {
    border: none;
    font-size: 0.rem;
}

.form-upload {
    justify-content: space-evenly;
    white-space: nowrap;
    padding-bottom: 1rem;
}

.form-group-foot {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}


/* Contact Me Page & Book Session Specific Styles */
.contact-page {
    justify-content: center;
}

.contact-form-container {
    background-color: var(--container-bg-color);
    padding: 1.2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border);
    width: 100%;
}

.contact-form h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.session-type-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.book-session-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 2px solid var(--border-color);
    background-color: #f9fafb;
    font-weight: 500;
    color: var(--accent-secondary);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    text-align: center;
}

.book-session-button:hover {
    border-color: var(--primary-color);
    background-color: var(--secondary-bg-color);
}

.book-session-button.selected {
    border-color: var(--primary-color);
    background-color: var(--secondary-bg-color);
    color: var(--primary-hover-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.book-session-button i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--input-border-color);
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    outline: none;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-group label {
    display: none;
}

.upload-btn {
    background: white;
    color: var(--accent-secondary);
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    width: auto;
    white-space: nowrap;
}

.upload-btn:hover {
    background-color: var(--accent-secondary);
    color: white;
    opacity: 95%;
}

.btn-book-now {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    width: auto;
    white-space: nowrap;
}

.btn-book-now:hover {
    background-color: var(--primary-hover-color);
}

.form-actions {
    text-align: center;
}

/* Message box styling */
.message-box {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: #10b981;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.message-box.show {
    display: block;
    opacity: 1;
}


.radio-section label {
    display: inline-flex;
    margin-left: 5px;
}

.radio-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.radio-section label:hover {
    border-radius: 4px;
    transition: all ease 0.3s;
    transform: translateY(-1px);
    opacity: 95%;
}


.radio-section {
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0 0.5em 0;
}

.radio-section:hover {
    color: var(--accent-color);
    transition: all ease 0.3s;
}

#support-session {
    display: none;
}

.session-radio-box {
    font-size: 1rem;
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    justify-content: center;
}

.contact-hero {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    border-radius: 12px;
    background: var(--surface);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    text-align: center;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.contact-method i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.contact-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-detail {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-response {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.available {
    color:green; display: block;
}

.unavailable {
    color:red; display: none;
    opacity: 50%;
}

.availability-widget {
    padding: 0.75rem;
    text-align: center;
}

.availability-status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.status-text {
    font-weight: 500;
}

.next-available {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}


/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.trust-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.trust-item span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Download CV Page styles */

/* CV Preview on hover */
.cv-preview {
    display: none;
    width: 100%;
    border-radius: 4px;
}

.cv-preview + .cv-preview:hover{
    display: block;
    position: relative;
    z-index: 100;
}

.cv-list {
    padding: 2px;
    font-size: 1.1rem;
    position: relative; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    border: 1px solid black;
}

.cv-list-order {
    margin: 5px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
}

.cv-list-order:hover {
    background-color: var(--text-secondary);
    color: white;
    filter: opacity(75%);
}

/* Button Hover Effects */
.cv-actions {
    font-size: 1.8rem;
}

.cv-actions .btn:active {
    transform: translateY(0);
}

.dl-print-text {
    font-size: 0.8rem;
}

/* Print Document Button */
.btn-print-cv {
    color: var(--accent-secondary)
}

.btn-print-cv:hover {
    color: var(--accent-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Download PDF Button */
.btn-download {
    color: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.btn-download:hover {
    color: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* PDF CV iframe Preview */
.iframe #cv1:hover {
    display: block;
}

.iframe #cv2:hover {
    display: block;
}

iframe #cv3:hover {
    display: block;
}


/* Style for Articles Page */
.article-card-tags {
    display: none;
}

.search-container {
    padding: 0rem 0.8rem 0.8rem 0rem;
}

/* Custom CSS to hide the scrollbar for the sidebar on small screens,
    while still allowing scrolling. */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

/* Define a subtle animation for cards appearing */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.card-animate {
    animation: fadeIn 0.5s ease-out;
}

.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Main Application Layout */
#app-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0rem;
    gap: 1.5rem;
    overflow: hidden;
}

/* Sidebar and Main Content on larger screens */
@media (min-width: 1024px) {
    #app-container {
        flex-direction: row;
    }
}

/* Sidebar */
aside {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

@media (min-width: 1024px) {
    aside {
        width: 33.333333%;
    }
}

@media (min-width: 1280px) {
    aside {
        width: 25%;
    }
}

.search-container {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.search-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    line-height: 1.5rem;
}

.search-container i {
    padding-left: 0.3rem;
    font-size: 1.2rem;
}

/* Article List */
#article-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}

#loading-spinner {
    text-align: center;
    color: #6b7280;
}

.spinner {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    border-width: 2px;
    border-style: solid;
    border-radius: 9999px;
    border-color: #6b7280;
    border-bottom-color: transparent;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.no-articles-found {
    text-align: center;
    color: #6b7280;
    margin-top: 1rem;
}

/* Article Cards */
.article-card {
    cursor: pointer;
    padding: 1rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease-in-out;
    border: 1px solid var(--border);
}

.article-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px) 0.3s ease;
}

.article-title {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    text-align: left;
}

.article-summary {
    color: #4b5563;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-align: left;
}

.article-meta {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #9ca3af;
}

.article-meta span:nth-child(2) {
    margin: 0 0.5rem;
}

.tag-badge {
    background-color: #e5e7eb;
    color: #4b5563;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
    margin-right: 0.25rem;
}

/* Main Content */
#article-display {
    width: 100%;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0.375rem 0.5rem 0.375rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
}


@media (max-width: 768px) {
    #article-display {
        margin-bottom: 1rem;
    }
}

@media (min-width: 1024px) {
    #article-display {
        width: 66.666667%;
        padding: 0.5rem 1rem 0.5rem 1rem;
    }
}

@media (min-width: 1280px) {
    #article-display {
        width: 75%;
    }
}

#article-content-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.loading-article {
    text-align: center;
    color: #6b7280;
    margin-top: 2rem;
}

.loading-article .spinner {
    margin: 0 auto;
}

.loading-article p {
    margin-top: 0.5rem;
}

.error-message {
    text-align: center;
    color: #ef4444;
    margin-top: 1rem;
}



/* Style for Resources Page */

.resource-nav {
    display: flex;
    flex-direction: row;
    padding-bottom: 20px; 
    justify-content: space-evenly;
    text-align: center;
    white-space: nowrap;
}

@media (max-width: 500px) {
    .resource-nav {
        display: grid;
    }

}

.guides-list {
    padding: 2px;
    font-size: 1.1rem;
    position: relative; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between;
    border: 1px solid black;
    margin-bottom: 1rem;
}

.guide-name a {
    color: var(--text-primary);
}

.section-utilities {
    overflow-x: auto; padding-top: 10px;
}

.section-links {
    padding: 1rem 5px 0rem 5px ;
}

