/* style.css */

/* =========================================
   1. Global Variables & Reset
   ========================================= */
:root {
    --primary-color: #0056b3;
    --accent-color: #0073e6;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', 'Roboto', Helvetica, Arial, sans-serif;
    color: #333;
    background-color: #f9f9f9;
    line-height: 1.6;
}

/* =========================================
   2. Navigation Bar
   ========================================= */
.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 0.8rem 0;
    background-color: #fff;
    position: relative;
    z-index: 1000;
    /* Ensures navbar stays on top of everything */
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    position: relative;
    /* Creates a reference point for the logo */

    /* Pushes the text to the right so it doesn't hide behind the logo */
    padding-left: 140px;
}

.navbar-brand img {
    /* Large Size */
    height: 100px;
    width: auto;

    /* The Overlay Magic: Takes the image out of the layout flow */
    position: absolute;
    top: -20px;
    /* Pulls it up to the top of the white bar */
    left: 0;

    /* Visual styling to make it look good overlapping the header */
    z-index: 1001;
    border-radius: 0 0 15px 15px;
    /* Rounds the bottom corners */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    /* Adds a shadow for depth */
    background: white;
    /* Ensures transparent logos don't look messy over the header */
}

.nav-link {
    font-weight: 600;
    color: #555 !important;
    margin: 0 8px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

.btn-donate {
    background-color: var(--primary-color);
    color: white !important;
    border-radius: 30px;
    padding: 0.5rem 1.5rem;
    transition: background-color 0.3s;
}

.btn-donate:hover {
    background-color: #004494;
}

/* =========================================
   3. Headers & Hero Sections
   ========================================= */
.page-header {
    /* CHANGED: Replaced black overlay with a light yellow/gold overlay */
    background: linear-gradient(rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.3)), url('image/chess_pieces.avif');

    background-size: cover;
    background-position: center center;
    color: white;
    /* You might want to change this to #333 (dark text) if the background is very light */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* Adds a small shadow so white text is still readable on yellow */
    text-align: center;

    /* Layout Settings */
    height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    margin-bottom: 0;
    padding: 0;
}

/* =========================================
   4. Cards & Components
   ========================================= */

/* --- The Shared Overlay Box (Use this on every page) --- */
.overlay-section {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-top: -100px;
    /* This creates the overlap effect */
    position: relative;
    z-index: 10;
    margin-bottom: 50px;
}

/* Common Card Styles */
.feature-card,
.news-card,
.event-card,
.impact-card,
.sidebar-box {
    background: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.feature-card:hover,
.news-card:hover,
.event-card:hover {
    transform: translateY(-8px);
}

.feature-card {
    padding: 2.5rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* News & Event Specifics */
.news-body,
.event-body,
.impact-body {
    padding: 30px;
}

.news-img,
.event-img,
.content-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
}

.news-meta {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Sidebar (News Page) */
.sidebar-box {
    padding: 30px;
    border-radius: 20px;
}

.archive-link {
    display: block;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: padding-left 0.3s;
}

.archive-link:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Article Box (Community Page) */
.article-box {
    background-color: #f8f9fa;
    border-left: 5px solid var(--primary-color);
    padding: 40px;
    border-radius: 0 15px 15px 0;
    height: 100%;
}

/* Video Container (Community Page) */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================
   5. Sections: Stats, Team, Images
   ========================================= */
/* Stats (Index) */
.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    font-weight: 600;
}

/* Team Section (About) */
.team-section {
    padding: 60px 0;
}

.team-category-title {
    color: var(--primary-color);
    margin-bottom: 40px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
    font-weight: 700;
}

.team-card {
    text-align: center;
    margin-bottom: 40px;
    box-shadow: none;
    background: transparent;
}

.team-card:hover {
    transform: none;
}

.team-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

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

.team-name {
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 5px;
    color: #222;
}

.team-role {
    color: #666;
    font-size: 0.95rem;
}

/* Community Images */
.community-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s;
}

.community-img:hover {
    transform: scale(1.02);
}

/* Content Section General */
.content-section {
    padding: 80px 0;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* =========================================
   6. Achievements / Bio Cards (achievements.html)
   ========================================= */
.bio-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    scroll-margin-top: 100px;
    /* Offset for sticky navbar when clicking links */
    transition: transform 0.3s;
}

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

.bio-img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =========================================
   7. Footer
   ========================================= */
footer {
    background-color: var(--dark-bg);
    color: #aaa;
    padding: 60px 0 30px;
    margin-top: 80px;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
}

footer a:hover {
    opacity: 0.8;
}

.social-links a {
    margin: 0 10px;
    font-size: 1.2rem;
}

/* INLINE STYLES to ensure layout elements work */


/* General Card and Image Styling */
.event-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s;
    min-height: 250px;
    /* Ensure a minimum height for the horizontal layout */
}

.event-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Custom Full-Width Event Card Styles */
.special-event-card {
    display: flex;
    flex-direction: column;
    /* Default for mobile */
}

@media (min-width: 768px) {
    .special-event-card {
        flex-direction: row;
        /* Horizontal layout for desktop */
        min-height: 350px;
    }
}

.flier-container {
    flex-shrink: 0;
    width: 100%;
    max-height: 350px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
}

@media (min-width: 768px) {
    .flier-container {
        width: 35%;
        border-radius: 15px 0 0 15px;
    }
}

.flier-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.special-event-card:hover .flier-image {
    transform: scale(1.05);
}

.event-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.meta-list li {
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.meta-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}


/* Archive/List Styling */
.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-weight: 500;
}

.archive-list li:last-child {
    border-bottom: none;
}

.archive-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Section Headings */
.section-heading {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
    margin-top: 50px;
}

/* Modal Style for Flier Popup */
.modal-flier .modal-content {
    background-color: transparent;
    border: none;
}

.modal-flier .modal-body {
    padding: 0;
    text-align: center;
}

.modal-flier img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* Card Styles */
.interview-card {
    padding: 15px 0;
    background: #fff;
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .interview-card {
        flex-direction: row;
        height: 320px;
        /* INCREASED HEIGHT */
    }

    .card-img-wrapper {
        width: 35%;
        flex-shrink: 0;
    }

    .card-img-wrapper img {
        height: 100%;
        width: 100%;
    }
}

.interview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.card-content {
    padding: 25px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.card-title {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.text-container {
    flex-grow: 1;
    min-height: 100px;
    margin-bottom: 0;
}

.meta-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.meta-label {
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.brief-text {
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.read-more-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    padding-top: 5px;
}

.read-more-link:hover {
    text-decoration: underline;
}

/* Modal Styles */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px 20px 0 0;
    padding: 20px 30px;
}

.btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body {
    padding: 40px;
    background-color: #fff;
    min-height: 300px;
}

/* Styles for loaded content */
.summary-box {
    background-color: #f0f8ff;
    border-left: 5px solid var(--primary-color);
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.transcript-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.transcript-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.avatar-host {
    background-color: #6c757d;
}

.avatar-guest {
    background-color: var(--primary-color);
}

.transcript-bubble {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 0 20px 20px 20px;
    flex-grow: 1;
}

.transcript-item.guest .transcript-bubble {
    background-color: #e3f2fd;
    border: 1px solid #bbdefb;
}

.speaker-name {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #888;
    margin-bottom: 8px;
    display: block;
}

.transcript-item.guest .speaker-name {
    color: var(--primary-color);
}

.pull-quote {
    margin: 40px 0;
    padding: 0 40px;
    text-align: center;
    font-size: 1.4rem;
    font-style: italic;
    font-weight: 600;
    color: #333;
    position: relative;
}

.pull-quote::before {
    content: "\201C";
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -30px;
    left: 0;
}

/* Video Embed Aspect Ratio */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Standard Block Quote */
.article-box {
    padding: 20px;
}

/* Community Project Card Styling (2-column grid) */
.project-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    /* Important for equal height rows */
    transition: box-shadow 0.3s;
}

.project-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.project-img-container {
    /* 640x480 aspect ratio container (4:3) */
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 480/640 * 100 = 75% */
    overflow: hidden;
}
.project-img-container-short {
    /* 640x480 aspect ratio container (4:3) */
    position: relative;
    width: 100%;
    padding-top: 35%;
    /* 480/640 * 100 = 75% */
    overflow: hidden;
}


.project-img {
    /* Image takes up the container space */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-details {
    padding: 20px;
}

.project-details h4 {
    font-size: 1.25rem;
    margin-top: 0;
}

.pulse-text {
  font-family: sans-serif;
  font-weight: bold;
  color: #333;
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.02); opacity: 0.8; text-shadow: 0 0 8px rgba(0,0,0,0.2); }
  100% { transform: scale(1); opacity: 1; }
}


/* Video Embed Aspect Ratio */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Standard Block Quote */
.article-box {
    padding: 20px;
}

/* Community Project Card Styling (Now 3-column grid) */
.project-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    /* Important for equal height rows */
    transition: box-shadow 0.3s;
}

.project-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.project-img-container {
    /* 640x480 aspect ratio container (4:3) */
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 480/640 * 100 = 75% */
    overflow: hidden;
}

.project-img {
    /* Image takes up the container space */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-details {
    padding: 20px;
}

.project-details h4 {
    font-size: 1.25rem;
    margin-top: 0;
}

/* Custom Full-Width Event Card Styles (From Interviews/Events) */
.special-event-card {
    display: flex;
    flex-direction: column;
    /* Default for mobile */
    min-height: 350px;
}

@media (min-width: 768px) {
    .special-event-card {
        flex-direction: row;
        /* Horizontal layout for desktop */
    }
}

.flier-container {
    flex-shrink: 0;
    width: 100%;
    max-height: 350px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    cursor: pointer;
}

@media (min-width: 768px) {
    .flier-container {
        width: 35%;
        border-radius: 15px 0 0 15px;
        min-height: 350px;
    }
}

.flier-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.special-event-card:hover .flier-image {
    transform: scale(1.05);
}

.event-details {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.meta-list {
    list-style: none;
    padding: 0;
    margin-bottom: 15px;
}

.meta-list li {
    font-size: 0.95rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.meta-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Archive/List Styling */
.archive-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archive-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-weight: 500;
}

.archive-list li:last-child {
    border-bottom: none;
}

.archive-list li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Section Headings */
.section-heading {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-bg);
    margin-top: 50px;
}

/* Modal Style for Flier Popup */
.modal-flier .modal-content {
    background-color: transparent;
    border: none;
}

.modal-flier .modal-body {
    padding: 0;
    text-align: center;
}

.modal-flier img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}



/* Video Embed Aspect Ratio */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Standard Block Quote */
.article-box {
    padding: 20px;
}

/* Community Project Card Styling (Now 3-column grid) */
.project-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    /* Important for equal height rows */
    transition: box-shadow 0.3s;
}

.project-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.project-img-container {
    /* 640x480 aspect ratio container (4:3) */
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 480/640 * 100 = 75% */
    overflow: hidden;
}

.project-img {
    /* Image takes up the container space */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-details {
    padding: 20px;
}

.project-details h4 {
    font-size: 1.25rem;
    margin-top: 0;
}

/* Impact Card Styles */
.impact-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
    transition: box-shadow 0.3s;
}

/* Image sizing for history block */
.history-img-container {
    position: relative;
    width: 100%;
    /* Using a 4:3 aspect ratio placeholder to match the original image size */
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
    /* Rounding only on one side for horizontal design */
}

@media (max-width: 767px) {
    .history-img-container {
        border-radius: 15px 15px 0 0;
        /* Reset rounding for mobile stack */
    }
}

.content-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impact-body {
    padding: 20px;
}

/* New Donation List Styling */
.donation-list a {
    text-decoration: none;
    color: var(--primary-color) !important;
    transition: color 0.2s;
}

.donation-list a:hover {
    text-decoration: underline;
    color: var(--accent-color) !important;
}

.donation-list i {
    color: var(--primary-color);
}

/* Styling for the Main Section Containers (Matching the Top Block) */
.section-container-style {
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    border: 1px solid #eee;
}

/* Ensures the base donation container matches the interview/events card style */
.donation-box-outer {
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: white;
    border: 1px solid #eee;
}

/* --- Achievement Content Styles --- */
.profile-section {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
    scroll-margin-top: 100px;
    /* For smooth anchor scrolling */
}

.profile-img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-name {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.profile-role {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}

.achievement-list {
    list-style: none;
    padding: 0;
}

.achievement-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #444;
}

.achievement-list li::before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1.4rem;
}

.flier-container {
    /* ... existing styles ... */
    padding-top: 10px; /* NEW: Adds 10 pixels of space above the image */
}

/* Also apply padding to the image container on mobile devices */
@media (max-width: 767px) { 
    .flier-container {
        padding-top: 10px;
        padding-bottom: 10px; /* Add some padding at the bottom for mobile */
        padding-left: 10px;
        padding-right: 10px;
        /* Reset border-radius to ensure padding is visible */
        border-radius: 15px 15px 0 0; 
    }
}

/* Update the image itself to fill the newly padded container */
.flier-image {
    width: 100%;
    height: 100%;
    /* ... existing styles ... */
    border-radius: 10px; /* Use smaller border-radius for image within padding */
}
.blink-congrats {
  /* Initial styling for the text */ 
  font-weight: bold;
  color: #ff0000; /* Red color */

  /* Apply the animation */
  animation: blinkMe 1s linear infinite;
}

@keyframes blinkMe {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
