body {
    margin: 0;
    font-family: kermit;
    background: rgb(156, 223, 200);
    color: #000000;
}

header {
    background: rgb(0, 109, 92);
    padding: 0.5rem 0;
    box-shadow: 0 2px 8px rgba(66,165,245,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: #ff8660;
}

.hero {
    text-align: center;
    padding: 3.5rem 2rem 2.5rem 2rem;
    background: transparent;
    border-radius: 0;
    margin-bottom: 1.5rem;
    box-shadow: none;
}

.hero h1 {
    font-size: 3rem;
    color: #1565c0;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    color: #000000;
}

footer {
    text-align: center;
    padding: 1rem 0;
    background: #004235;
    color: #000000;
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    font-size: 1rem;
    letter-spacing: 1px;
    opacity: 0.95;
}

main {
    min-height: 70vh;
}

.landing-main {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 2.5rem 2vw 5rem 2vw;
    box-sizing: border-box;
}

.hero-landing {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.8rem;
    position: relative;
    overflow: hidden;
}

.hero-landing::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 5% 10%, rgba(255,255,255,0.4) 0, transparent 50%),
                      radial-gradient(circle at 90% 20%, rgba(255,255,255,0.25) 0, transparent 55%),
                      radial-gradient(circle at 50% 90%, rgba(0,0,0,0.05) 0, transparent 55%);
    opacity: 0.8;
    pointer-events: none;
}

.hero-landing .hero-text {
    position: relative;
    z-index: 1;
    max-width: 640px;
    text-align: left;
}

.hero-landing h1 {
    font-size: 2.9rem;
    line-height: 1.1;
    font-weight: 800;
    color: #1565c0;
}

.hero-landing p {
    max-width: 36rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #000000;
}

.hero-meta {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-stats .stat {
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #e0f7ec;
}

.hero-stats-inline {
    margin-top: 2rem;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin-left: auto;
}

.hero-image {
    width: 100%;
    border-radius: 32px;
    object-fit: cover;
    box-shadow: 0 18px 60px rgba(0,0,0,0.35);
}

@media (min-width: 880px) {
    .hero-landing {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
}

.poem-slider-section {
    margin-top: 3rem;
}

.poem-slider-header h2 {
    font-size: 1.8rem;
    color: #1565c0;
    margin-bottom: 0.3rem;
}

.poem-slider-header p {
    margin: 0 0 1.5rem 0;
    max-width: 32rem;
}

.poem-slider {
    position: relative;
    max-width: 640px;
    padding: 1.75rem 1.75rem 2rem 1.75rem;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.poem-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.poem-slide.is-active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
}

.poem-slide h3 {
    margin: 0 0 0.4rem 0;
    font-size: 1.3rem;
    color: #000000;
}

.poem-author {
    margin: 0 0 0.6rem 0;
    font-weight: 600;
    color: #000000;
}

.poem-lines {
    margin: 0;
    line-height: 1.6;
    color: #000000;
}

.how-works {
    margin-top: 3.5rem;
}

.how-works h2 {
    text-align: left;
    color: #1565c0;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.how-item {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1.5rem 1.4rem;
}

.how-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 2px solid #0b3b2e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.how-item h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #1565c0;
}

.how-item p {
    margin: 0;
    font-size: 0.98rem;
}

.support-band {
    margin-top: 4rem;
    padding: 3rem 0 3.25rem 0;
    background: transparent;
    border-radius: 0;
    color: #ffffff;
}

.support-band h2 {
    text-align: center;
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
    color: #1565c0;
}

.support-intro {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 2rem auto;
    color: #000000;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.support-grid article h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.support-grid article p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.support-button {
    display: inline-block;
    margin: 0 auto;
    padding: 0.85rem 1.9rem;
    border-radius: 999px;
    background: #0b3b2e;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
}

.support-button:hover {
    background: #0f5140;
}

.partners-strip {
    margin-top: 3rem;
    padding: 1.4rem 0;
    background: transparent;
    border-radius: 0;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.teen-writing-section {
    margin-top: 4rem;
    margin-bottom: 5rem;
    background: transparent;
    border-radius: 0;
    padding: 3rem 0 3.5rem 0;
    color: #000000;
}

.teen-writing-inner {
    max-width: 980px;
    margin: 0 auto;
}

.teen-writing-section h2 {
    font-size: 1.9rem;
    margin-bottom: 0.5rem;
}

.teen-subtitle {
    margin: 0 0 2rem 0;
    max-width: 34rem;
    color: #dbeee6;
}

.teen-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.teen-card {
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.25);
}

.teen-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 4 / 5;
}

/* About page gallery */
.about-gallery {
    margin-top: 3.5rem;
}

.about-gallery h2 {
    color: #ffffff;
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.about-photo {
    margin: 0;
    max-width: 96vw;
}

.about-photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 14px 40px rgba(0,0,0,0.35);
    margin-bottom: 0.7rem;
}

.about-photo figcaption {
    font-size: 1.1rem;
    color: #000000;
    line-height: 1.6;
    font-weight: 500;
}

@media (max-width: 900px) {
  .gallery-images {
    display: block;
  }
  .about-photo {
    max-width: 100%;
    margin-bottom: 2rem;
  }
}

.poems-list, .user-poems, .submit-poem-cta {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.5rem 1rem;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border: none;
    backdrop-filter: none;
    position: relative;
    overflow: visible;
}

.poems-list::before, .user-poems::before, .submit-poem-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0b3b2e 0%, #0f5140 50%, #ff8660 100%);
}

.poems-list h2, .user-poems h2, .submit-poem-cta h2 {
    text-align: center;
    color: #1565c0;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
}

.poems-list h2::after, .user-poems h2::after, .submit-poem-cta h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #0b3b2e 0%, #ff8660 100%);
    border-radius: 2px;
}

.poem-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.poem-card {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    box-shadow: none;
    padding: 1.5rem;
    width: 280px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.poem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
}

.poem-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0,67,52,0.25), 0 4px 16px rgba(0,67,52,0.18);
}

.poem-card h3 {
    color: #1565c0;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.poem-card p {
    color: #000000;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.poem-card blockquote {
    font-style: italic;
    color: #000000;
    margin: 0;
    padding: 1.2rem;
    border-left: 4px solid #b721ff;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    line-height: 1.6;
    box-shadow: 0 2px 8px rgba(183,33,255,0.1);
}

.form-section {
    max-width: 400px;
    margin: 3rem auto;
    background: rgba(255,255,255,0.9);
    padding: 2.5rem 2rem 2rem 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(33,147,176,0.10);
    text-align: center;
}

.form-section h2 {
    color: #1565c0;
    margin-bottom: 1.5rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.auth-form label {
    text-align: left;
    color: #ffffff;
    font-weight: 500;
}

.auth-form input {
    padding: 0.7rem 1rem;
    border: 1px solid rgba(0,67,52,0.25);
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
}

.auth-form input:focus {
    border: 1.5px solid #0f5140;
}

.auth-form button {
    background: linear-gradient(90deg, #ff8660 0%, #f6c453 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s, color 0.2s;
}

.auth-form button:hover {
    background: linear-gradient(90deg, #f6c453 0%, #ff8660 100%);
    color: #fff;
}

.form-section p {
    margin-top: 1.5rem;
    color: #000000;
}

.form-section a {
    color: #ff8660;
    text-decoration: underline;
    transition: color 0.2s;
}

.form-section a:hover {
    color: #f6c453;
}

.why-poetry {
    max-width: 800px;
    margin: 2rem auto;
    background: rgba(255,255,255,0.08);
    border-radius: 0;
    padding: 1.5rem 1.5rem;
    box-shadow: none;
}
.why-poetry h2 {
    color: #1565c0;
    text-align: center;
    margin-bottom: 1rem;
}
.why-poetry ul {
    list-style: disc inside;
    color: #ffffff;
    font-size: 1.15rem;
    padding-left: 1.5rem;
}

.featured-poem {
    max-width: 600px;
    margin: 2rem auto;
    background: transparent;
    border-radius: 0;
    padding: 1.5rem 0;
    box-shadow: none;
    text-align: left;
}
.featured-poem h2 {
    color: #0b3b2e;
    margin-bottom: 0.75rem;
}
.featured-poem .poem-card {
    margin: 0 auto;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.08);
}

.join-us {
    max-width: 800px;
    margin: 2.5rem auto 4rem auto;
    background: transparent;
    border-radius: 0;
    padding: 1.5rem 0 0 0;
    box-shadow: none;
    text-align: center;
}
.join-us h2 {
    color: #0b3b2e;
    margin-bottom: 1rem;
}
.join-us p {
    color: #444;
    margin-bottom: 1.5rem;
}
.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #ff8660 0%, #f6c453 100%);
    color: #fff;
    font-weight: bold;
    padding: 0.9rem 2.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(183,33,255,0.08);
}
.cta-button {
    background: linear-gradient(90deg, #f6c453 0%, #ff8660 100%);
    color: #0b3b2e;
    transform: scale(1.05);
}

.poems-intro {
    max-width: 800px;
    margin: 2.5rem auto 1.5rem auto;
    background: transparent;
    border-radius: 0;
    padding: 1.5rem 1rem 0.5rem 1rem;
    box-shadow: none;
    text-align: center;
}
.poems-intro h1 {
    color: #ffffff;
    margin-bottom: 0.7rem;
    font-size: 2.3rem;
    font-weight: 800;
}
.poems-intro p {
    color: #000000;
    font-size: 1.2rem;
    font-weight: 600;
}

.user-animated {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: 1rem 0;
}

.animated {
    animation: slideInFromRight 8s ease-in-out infinite;
    position: relative;
    animation-delay: calc(var(--i) * 2s);
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%) scale(0.8);
        opacity: 0;
    }
    15% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    85% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%) scale(0.8);
        opacity: 0;
    }
}

.user-poems .poem-card.animated {
    background: rgba(0, 0, 0, 0.16);
    border: 2px solid rgba(243,255,249,0.5);
    box-shadow: 0 6px 24px rgba(0,67,52,0.25), 0 2px 12px rgba(0,67,52,0.18);
}

.user-poems .poem-card.animated:hover {
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: 0 16px 48px rgba(0,67,52,0.3), 0 6px 20px rgba(0,67,52,0.22);
    animation-play-state: paused;
}

.submit-poem-cta {
    max-width: 600px;
    margin: 2.5rem auto 5rem auto;
    background: transparent;
    border-radius: 0;
    padding: 1.5rem 1rem 0 1rem;
    box-shadow: none;
    text-align: center;
}
.submit-poem-cta h2 {
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-weight: 800;
}
.submit-poem-cta p {
    color: #000000;
    font-size: 1.05rem;
    font-weight: 600;
}
.submit-poem-cta a {
    color: #ff8660;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}
.submit-poem-cta a:hover {
    color: #f6c453;
}

.poems-flex-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
}
.poems-main-content {
    flex: 2 1 600px;
    min-width: 0;
}
.poem-gallery {
    flex: 1 1 320px;
    background: rgba(0, 0, 0, 0.16);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,67,52,0.28);
    padding: 1.5rem 1rem 2rem 1rem;
    margin-top: 1rem;
    text-align: center;
    min-width: 260px;
    max-width: 340px;
}
.poem-gallery h2 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}
.gallery-images {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: min(2vw, 1rem);
    margin-left: 0;
    margin-right: 0;
}
.gallery-images img {
    width: 320px;
    height: 220px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,67,52,0.26), 0 1.5px 8px rgba(0,0,0,0.22);
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}
.gallery-images img:hover {
    transform: scale(1.06) rotate(-1deg);
    box-shadow: 0 16px 64px rgba(0,67,52,0.32);
}
@media (max-width: 900px) {
    .gallery-images {
        flex-direction: column;
        gap: 0.7rem;
    }
    .gallery-images img {
        width: 96vw;
        max-width: 99vw;
        height: 38vw;
        min-height: 180px;
    }
}
@media (max-width: 1000px) {
    .poems-flex-container {
        flex-direction: column;
        align-items: stretch;
    }
    .poem-gallery {
        max-width: 100%;
        margin: 2rem 0 0 0;
    }
}

.main-flex-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
}
.main-content {
    flex: 1 1 auto;
    min-width: 0;
}
.notifications {
    flex: 1 1 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 1rem 0 0 0;
    margin-top: 0.5rem;
    min-width: 0;
    max-width: 100%;
    text-align: left;
}
.notifications h2 {
    color: #0b3b2e;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    text-align: center;
}
.notifications-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}
.notifications-list li {
    background: rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 0.5rem 0.8rem;
    color: #444;
    font-size: 1.05rem;
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.notifications-list strong {
    color: #0b3b2e;
}
.notif-time {
    color: #0f5140;
    font-size: 0.95em;
    margin-left: 1.2em;
    white-space: nowrap;
}
@media (max-width: 1000px) {
    .main-flex-container {
        flex-direction: column;
        align-items: stretch;
    }
    .notifications {
        max-width: 100%;
        margin: 2rem 0 0 0;
    }
}

.featured-flex-row {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: stretch;
    margin: 1.5rem 0;
}
.featured-poem {
    flex: 1 1 auto;
    min-width: 0;
}
.picture-notes {
    flex: 1 1 auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0.5rem 0;
    max-width: 100%;
    min-width: 0;
    text-align: center;
}
.picture-notes h3 {
    color: #0b3b2e;
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}
.picture-notes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.picture-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 0.4rem 0.3rem;
    box-shadow: none;
}
.picture-note img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.3rem;
    box-shadow: 0 1px 4px rgba(33,147,176,0.10);
}
.picture-note span {
    color: #0f5140;
    font-size: 0.92rem;
    font-style: italic;
    margin: 0;
    display: block;
    padding: 0 0.2rem;
}
@media (max-width: 800px) {
    .featured-flex-row {
        flex-direction: column;
        align-items: stretch;
    }
    .picture-notes {
        max-width: 100%;
        margin: 1.5rem 0 0 0;
    }
}

/* Animations */
.animate-fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(.4,0,.2,1), transform 1s cubic-bezier(.4,0,.2,1);
}
.animate-slideup {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
}
.animate-slideinright {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 1.1s cubic-bezier(.4,0,.2,1);
}
.animate-active {
    opacity: 1 !important;
    transform: none !important;
}

/* Section spacing and arrangement improvements */
.main-content > section,
.main-content > .featured-flex-row {
    margin-bottom: 2.5rem;
}
.featured-flex-row {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    margin: 2.5rem 0 2rem 0;
}
.featured-poem {
    flex: 2 1 350px;
    min-width: 0;
    margin-bottom: 0;
}
.picture-notes {
    flex: 1 1 120px;
    background: linear-gradient(135deg, #a1c4fd 0%, #fbc2eb 100%);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(33,147,176,0.10);
    padding: 1rem 0.7rem;
    max-width: 170px;
    min-width: 110px;
    text-align: center;
    margin-top: 0.5rem;
}
.picture-notes h3 {
    color: #b721ff;
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
}
.picture-notes-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}
.picture-note {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255,255,255,0.85);
    border-radius: 8px;
    padding: 0.5rem 0.3rem;
    box-shadow: 0 1px 4px rgba(183,33,255,0.06);
}
.picture-note img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 0.3rem;
    box-shadow: 0 1px 4px rgba(33,147,176,0.10);
}
.picture-note span {
    color: #2193b0;
    font-size: 0.92rem;
    font-style: italic;
    margin: 0;
    display: block;
    padding: 0 0.2rem;
}
@media (max-width: 1000px) {
    .main-flex-container {
        flex-direction: column;
        align-items: stretch;
    }
    .notifications {
        max-width: 100%;
        margin: 2rem 0 0 0;
    }
    .featured-flex-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .picture-notes {
        max-width: 100%;
        margin: 1.5rem 0 0 0;
    }
}

.poem-types {
    margin-top: 2.2rem;
    background: linear-gradient(135deg, #e0f7ec 0%, #fff9e6 100%);
    border-radius: 12px;
    box-shadow: 0 1px 6px rgba(33,147,176,0.08);
    padding: 1.1rem 0.7rem 1.3rem 0.7rem;
    text-align: center;
}
.poem-types h3 {
    color: #0b3b2e;
    font-size: 1.08rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}
.poem-types-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
}
.poem-types-list li {
    background: rgba(255,255,255,0.85);
    color: #0f5140;
    border-radius: 6px;
    padding: 0.4rem 1.1rem;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(183,33,255,0.06);
    transition: background 0.2s, color 0.2s;
}
.poem-types-list li:hover {
    background: #0b3b2e;
    color: #fff9e6;
}

/* Admin Panel Styles */
.admin-section {
    max-width: 1200px;
    margin: 2rem auto;
    background: rgba(255,255,255,0.9);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(33,147,176,0.10);
}

.admin-section h2 {
    color: #2193b0;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.admin-section p {
    color: #444;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.admin-actions h3 {
    color: #b721ff;
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
    border-bottom: 2px solid #fbc2eb;
    padding-bottom: 0.5rem;
}

.admin-actions table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(33,147,176,0.08);
}

.admin-actions th {
    background: linear-gradient(90deg, #2193b0 0%, #fbc2eb 100%);
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

.admin-actions td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
}

.admin-actions tr:hover {
    background: rgba(161, 196, 253, 0.1);
}

.admin-actions button {
    background: linear-gradient(90deg, #2193b0 0%, #fbc2eb 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.admin-actions button:hover {
    background: linear-gradient(90deg, #b721ff 0%, #2193b0 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(183,33,255,0.2);
}

/* Form enhancements for poem submission */
.submit-poem-cta form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
    margin: 2rem auto 0 auto;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(224,247,236,0.6) 100%);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,67,52,0.14);
    border: 1px solid rgba(0,67,52,0.25);
}

.submit-poem-cta label {
    text-align: left;
    color: #0b3b2e;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.submit-poem-cta input,
.submit-poem-cta textarea {
    padding: 1rem 1.2rem;
    border: 2px solid rgba(0,67,52,0.25);
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(0,67,52,0.14);
}

.submit-poem-cta input:focus,
.submit-poem-cta textarea:focus {
    border-color: #0f5140;
    box-shadow: 0 0 0 4px rgba(15,81,64,0.18), 0 4px 16px rgba(0,67,52,0.18);
    background: #fff;
    transform: scale(1.02);
}

.submit-poem-cta button {
    background: linear-gradient(90deg, #ff8660 0%, #f6c453 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    box-shadow: 0 4px 16px rgba(0,67,52,0.2);
    position: relative;
    overflow: hidden;
}

.submit-poem-cta button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-poem-cta button:hover::before {
    left: 100%;
}

.submit-poem-cta button:hover {
    background: linear-gradient(90deg, #f6c453 0%, #ff8660 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,67,52,0.28);
}

/* Enhanced navigation for admin */
.admin-section nav ul li a[href="admin.php"] {
    background: linear-gradient(90deg, #b721ff 0%, #2193b0 100%);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #fff;
}

.admin-section nav ul li a[href="admin.php"]:hover {
    background: linear-gradient(90deg, #2193b0 0%, #b721ff 100%);
}

/* Profile Page Styles */
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
}

.profile-header {
    text-align: center;
    background: linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(66,165,245,0.15);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.1) 100%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.profile-header {
    text-align: center;
    background: linear-gradient(135deg, #fbc2eb 0%, #a1c4fd 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 24px rgba(33,147,176,0.10);
}

.profile-header h1 {
    color: #1565c0;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.profile-header p {
    color: #1976d2;
    font-size: 1.2rem;
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.profile-info, .my-poems {
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(66,165,245,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-info:hover, .my-poems:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(66,165,245,0.2);
}

/* Remove duplicate styles */

.profile-info h2, .my-poems h2 {
    color: #1565c0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.profile-info h2::after, .my-poems h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #90caf9 0%, #e3f2fd 100%);
    border-radius: 2px;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #1976d2;
    font-weight: 600;
    font-size: 1rem;
}

.form-group input {
    padding: 0.8rem 1rem;
    border: 2px solid #90caf9;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 2px 8px rgba(66,165,245,0.1);
}

.form-group input:hover {
    border-color: #64b5f6;
    box-shadow: 0 4px 16px rgba(66,165,245,0.15);
}

.form-group input:focus {
    border-color: #1976d2;
    box-shadow: 0 0 0 4px rgba(66,165,245,0.15);
    background: #fff;
    transform: scale(1.02);
}

.form-group input:disabled {
    background: #f5f5f5;
    color: #666;
    cursor: not-allowed;
}

.profile-form button {
    background: linear-gradient(90deg, #42a5f5 0%, #90caf9 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 4px 16px rgba(66,165,245,0.2);
    position: relative;
    overflow: hidden;
}

.profile-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.profile-form button:hover::before {
    left: 100%;
}

.profile-form button:hover {
    background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(66,165,245,0.3);
}

.message {
    background: linear-gradient(90deg, #42a5f5 0%, #90caf9 100%);
    color: #fff;
    padding: 1.2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(66,165,245,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.my-poems .poem-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.my-poems .poem-card {
    background: linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%);
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(66,165,245,0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
}

.my-poems .poem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #90caf9 0%, #e3f2fd 100%);
}

.my-poems .poem-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 30px rgba(66,165,245,0.25);
}

.my-poems .poem-card h3 {
    color: #2193b0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.my-poems .poem-card .status {
    font-weight: 600;
    margin-bottom: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.my-poems .poem-card .status.approved {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9) 0%, rgba(76, 175, 80, 0.7) 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.my-poems .poem-card .status.pending {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.9) 0%, rgba(255, 152, 0, 0.7) 100%);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.my-poems .poem-card .date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.my-poems .poem-card blockquote {
    font-style: italic;
    color: #444;
    margin: 0;
    padding-left: 1rem;
    border-left: 3px solid #b721ff;
    background: rgba(255,255,255,0.5);
    border-radius: 8px;
    padding: 1rem;
}

/* Profile page additional enhancements */
.profile-stats {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(144, 202, 249, 0.1) 0%, rgba(227, 242, 253, 0.1) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.3);
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #1565c0;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #1976d2;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive design for profile page */
@media (max-width: 768px) {
    .profile-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .profile-header {
        padding: 2rem 1rem;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
    
    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Uploads section styles */
.my-uploads {
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(66,165,245,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 2rem;
}

.my-uploads:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(66,165,245,0.2);
}

.my-uploads h2 {
    color: #1565c0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.my-uploads h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #90caf9 0%, #e3f2fd 100%);
    border-radius: 2px;
}

.upload-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.upload-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(144, 202, 249, 0.1) 0%, rgba(227, 242, 253, 0.1) 100%);
    border-radius: 12px;
    padding: 1.2rem;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.upload-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(66,165,245,0.15);
}

.upload-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(66,165,245,0.2);
}

.file-icon {
    font-size: 1.5rem;
}

.upload-info {
    flex: 1;
}

.upload-info h4 {
    color: #1565c0;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
}

.upload-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.upload-meta span {
    background: rgba(255,255,255,0.8);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: #666;
    border: 1px solid rgba(66,165,245,0.2);
}

.file-type {
    color: #1976d2 !important;
    font-weight: 600;
}

.file-size {
    color: #1565c0 !important;
    font-weight: 600;
}

.upload-date {
    color: #666 !important;
}

.upload-description {
    color: #444;
    font-style: italic;
    margin: 0;
    font-size: 0.9rem;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem 1rem;
}

.dashboard-header {
    text-align: center;
    background: linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%);
    border-radius: 24px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(66,165,245,0.15);
}

.dashboard-header h1 {
    color: #1565c0;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.dashboard-header p {
    color: #1976d2;
    font-size: 1.2rem;
    margin: 0;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(66,165,245,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(66,165,245,0.2);
}

.stat-card h3 {
    color: #1976d2;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-number {
    color: #1565c0;
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.admin-section {
    background: rgba(255,255,255,0.95);
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(66,165,245,0.12);
    border: 1px solid rgba(255,255,255,0.2);
}

.admin-section h2 {
    color: #1565c0;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.admin-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #90caf9 0%, #e3f2fd 100%);
    border-radius: 2px;
}

.table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(66,165,245,0.08);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    overflow: hidden;
}

.admin-table th {
    background: linear-gradient(90deg, #42a5f5 0%, #90caf9 100%);
    color: #fff;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.admin-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    color: #444;
    font-size: 0.9rem;
}

.admin-table tr:hover {
    background: rgba(144, 202, 249, 0.1);
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.admin {
    background: linear-gradient(135deg, #1976d2 0%, #42a5f5 100%);
    color: #fff;
}

.status-badge.user {
    background: linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%);
    color: #fff;
}

.status-badge.approved {
    background: linear-gradient(135deg, rgba(66, 165, 245, 0.9) 0%, rgba(66, 165, 245, 0.7) 100%);
    color: #fff;
}

.status-badge.pending {
    background: linear-gradient(135deg, rgba(144, 202, 249, 0.9) 0%, rgba(144, 202, 249, 0.7) 100%);
    color: #fff;
}

.actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.actions form {
    margin: 0;
}

.actions button {
    padding: 0.4rem 0.8rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-approve {
    background: linear-gradient(90deg, #4caf50 0%, #45a049 100%);
    color: #fff;
}

.btn-approve:hover {
    background: linear-gradient(90deg, #45a049 0%, #4caf50 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-reject, .btn-delete {
    background: linear-gradient(90deg, #f44336 0%, #d32f2f 100%);
    color: #fff;
}

.btn-reject:hover, .btn-delete:hover {
    background: linear-gradient(90deg, #d32f2f 0%, #f44336 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.btn-toggle {
    background: linear-gradient(90deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
}

.btn-toggle:hover {
    background: linear-gradient(90deg, #f57c00 0%, #ff9800 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.current-user {
    color: #666;
    font-style: italic;
    font-size: 0.8rem;
}

.admin-message {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    animation: slideInDown 0.5s ease-out;
}

.admin-message.success {
    background: linear-gradient(90deg, #42a5f5 0%, #90caf9 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(66, 165, 245, 0.2);
}

.admin-message.error {
    background: linear-gradient(90deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.2);
}

/* Responsive design for admin dashboard */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
    }
    
    .stat-card .stat-number {
        font-size: 2rem;
    }
    
    .admin-table {
        font-size: 0.8rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.6rem 0.5rem;
    }
    
    .actions {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .actions button {
        width: 100%;
        padding: 0.5rem;
    }
}

/* Facebook-like Forum Styles */
.forum-main-flex {
    display: flex;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 2.5rem auto;
    align-items: flex-start;
}
.forum-sidebar {
    flex: 1 1 250px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(66,165,245,0.08);
    padding: 2rem 1.5rem;
    min-width: 220px;
    margin-right: 0.5rem;
    color: #1565c0;
}
.forum-sidebar h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #1976d2;
}
.forum-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.forum-sidebar ul li {
    margin-bottom: 1.1rem;
    font-size: 1.05rem;
    color: #1976d2;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.forum-sidebar .sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%);
    display: inline-block;
    text-align: center;
    line-height: 36px;
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
}

.forum-feed {
    flex: 3 1 700px;
}
.forum-container {
    background: none;
    box-shadow: none;
    padding: 0;
    max-width: 100%;
}
.forum-new-thread-form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(66,165,245,0.10);
    padding: 2rem 2rem 1.5rem 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.forum-new-thread-form input[type="text"],
.forum-new-thread-form textarea {
    border: 1.5px solid #e3f2fd;
    background: #f5f9ff;
    border-radius: 8px;
    font-size: 1.1rem;
    padding: 0.9rem 1.2rem;
    transition: border 0.2s;
}
.forum-new-thread-form input[type="text"]:focus,
.forum-new-thread-form textarea:focus {
    border: 1.5px solid #1976d2;
    background: #fff;
}
.forum-new-thread-form button {
    background: linear-gradient(90deg, #2193b0 0%, #fbc2eb 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 0;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 0.5rem;
}
.forum-new-thread-form button:hover {
    background: linear-gradient(90deg, #b721ff 0%, #2193b0 100%);
    color: #fff;
}
.forum-feed h2 {
    color: #1565c0;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
}
.forum-thread-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.forum-thread-list li {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(66,165,245,0.10);
    padding: 1.5rem 2rem 1.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}
.forum-thread-list li a {
    color: #1565c0;
    font-size: 1.18rem;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 0.2rem;
    transition: color 0.2s;
}
.forum-thread-list li a:hover {
    color: #b721ff;
}
.forum-thread-list small {
    color: #1976d2;
    font-size: 0.98rem;
}
.forum-thread-list .thread-meta {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.forum-thread-list .thread-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
}
@media (max-width: 1000px) {
    .forum-main-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
    .forum-sidebar {
        min-width: 0;
        margin-right: 0;
    }
    .forum-feed {
        min-width: 0;
    }
}

/* --- FORUM Q&A POLISHED STYLES --- */
.forum-header-bar {
    background: #1565c0;
    color: #fff;
    padding: 0.7rem 0;
    box-shadow: 0 2px 8px rgba(21,101,192,0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 10;
}
.forum-header-bar .logo {
    font-size: 1.7rem;
    font-weight: bold;
    margin-left: 2rem;
    color: #fff;
    letter-spacing: 1px;
}
.forum-header-bar nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: 2rem;
}
.forum-header-bar nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    transition: background 0.15s;
}
.forum-header-bar nav a:hover, .forum-header-bar nav .active {
    background: #1976d2;
}
.forum-header-bar .create-post-btn {
    background: #fff;
    color: #1565c0;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    margin-left: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(21,101,192,0.08);
    transition: background 0.15s, color 0.15s;
}
.forum-header-bar .create-post-btn:hover {
    background: #e3f2fd;
    color: #1976d2;
}

.forum-main-qna {
    display: flex;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 2.5rem auto 2rem auto;
    align-items: flex-start;
}
.forum-feed-qna {
    flex: 2 1 700px;
    min-width: 0;
}
.forum-sidebar-qna {
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.forum-card-thread {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(21,101,192,0.10);
    padding: 1.5rem 2rem 1.2rem 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    transition: box-shadow 0.15s, border 0.15s;
    border: 1px solid #e3f2fd;
}
.forum-card-thread:hover {
    box-shadow: 0 6px 32px rgba(21,101,192,0.13);
    border-color: #90caf9;
}
.forum-thread-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #90caf9 0%, #e3f2fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(21,101,192,0.10);
}
.forum-thread-content {
    flex: 1;
    min-width: 0;
}
.forum-thread-title {
    font-size: 1.18rem;
    font-weight: bold;
    color: #1565c0;
    margin-bottom: 0.2rem;
    text-decoration: none;
    display: inline-block;
    transition: color 0.15s;
}
.forum-thread-title:hover {
    color: #1976d2;
}
.forum-thread-summary {
    color: #444;
    font-size: 1.04rem;
    margin-bottom: 0.4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.forum-thread-meta {
    color: #1976d2;
    font-size: 0.97rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 0.2rem;
}
.forum-thread-meta .replies-count {
    background: #e3f2fd;
    color: #1565c0;
    border-radius: 12px;
    padding: 0.1rem 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.forum-new-thread-form {
    background: #f5f9ff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(21,101,192,0.07);
    padding: 1.5rem 2rem 1.2rem 2rem;
    margin-bottom: 2.2rem;
    border: 1px solid #e3f2fd;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.forum-new-thread-form input[type="text"],
.forum-new-thread-form textarea {
    border: 1.5px solid #e3f2fd;
    background: #fff;
    border-radius: 8px;
    font-size: 1.1rem;
    padding: 0.9rem 1.2rem;
    transition: border 0.2s;
}
.forum-new-thread-form input[type="text"]:focus,
.forum-new-thread-form textarea:focus {
    border: 1.5px solid #1976d2;
    background: #f5f9ff;
}
.forum-new-thread-form button {
    background: #1565c0;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    margin-top: 0.5rem;
    align-self: flex-end;
}
.forum-new-thread-form button:hover {
    background: #1976d2;
    color: #fff;
}

.forum-hey-box {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(21,101,192,0.08);
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e3f2fd;
}
.forum-hey-box h3 {
    color: #1565c0;
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
}
.forum-hey-box textarea {
    width: 100%;
    border-radius: 8px;
    border: 1.5px solid #e3f2fd;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    margin-bottom: 0.7rem;
    background: #f5f9ff;
    resize: vertical;
}
.forum-hey-box button {
    background: #1565c0;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    transition: background 0.15s;
}
.forum-hey-box button:hover {
    background: #1976d2;
}
.forum-hey-box button[disabled] {
    background: #e3f2fd;
    color: #90caf9;
    cursor: not-allowed;
}

.forum-top-creators {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(21,101,192,0.08);
    padding: 1.5rem 1.5rem 1.2rem 1.5rem;
    border: 1px solid #e3f2fd;
}
.forum-top-creators h3 {
    color: #1565c0;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.forum-top-creators ol {
    list-style: decimal inside;
    padding: 0;
    margin: 0;
}
.forum-top-creators li {
    color: #1976d2;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}
.forum-top-creators .creator-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e3f2fd;
    color: #1565c0;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

@media (max-width: 1000px) {
    .forum-main-qna {
        flex-direction: column;
        gap: 1.5rem;
    }
    .forum-sidebar-qna {
        min-width: 0;
        max-width: 100%;
    }
    .forum-feed-qna {
        min-width: 0;
    }
}

.contact-form {
    max-width: 420px;
    margin: 0;
    background: rgba(255,255,255,0.95);
    padding: 1.3rem 1.4rem 1.1rem 1.4rem;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(33,147,176,0.10);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.contact-form .form-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 0.7rem;
    gap: 0.15rem;
}
.contact-form label {
    color: #2193b0;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1.08rem;
}
.contact-form input,
.contact-form textarea {
    padding: 0.64rem 1rem;
    border: 2px solid #a1c4fd;
    border-radius: 10px;
    font-size: 1.08rem;
    outline: none;
    background: rgba(255,255,255,0.98);
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(66,165,245,0.07);
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #b721ff;
    box-shadow: 0 0 0 3px rgba(183,33,255,0.10);
    background: #fff;
}
.contact-form textarea {
    min-height: 84px;
    resize: vertical;
}
.contact-form select {
    padding: 0.8rem 1.1rem;
    border: 2px solid #a1c4fd;
    border-radius: 10px;
    font-size: 1.08rem;
    outline: none;
    background: rgba(255,255,255,0.98);
    transition: border 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(66,165,245,0.07);
    margin-top: 0.2rem;
}
.contact-form select:focus {
    border-color: #b721ff;
    box-shadow: 0 0 0 3px rgba(183,33,255,0.10);
    background: #fff;
}

.contact-flex {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    max-width: 1100px;
    margin: 1.5rem auto 0 auto;
}

.contact-section {
    flex: 1 1 420px;
}

.contact-side {
    flex: 1 1 360px;
    max-width: 420px;
}

.contact-side h2 {
    font-size: 1.6rem;
    color: #1565c0;
    margin-bottom: 0.75rem;
}

.contact-highlights {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-highlights li {
    background: rgba(255,255,255,0.9);
    border-radius: 14px;
    padding: 0.8rem 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.contact-highlights strong {
    display: block;
    font-size: 1.02rem;
}

.contact-highlights span {
    display: block;
    font-size: 0.95rem;
}

@media (max-width: 900px) {
    .contact-flex {
        flex-direction: column;
        gap: 1.5rem;
        padding-bottom: 1.5rem;
    }
}
.workshop-box {
    background: linear-gradient(135deg, #fbc2eb 0%, #a1c4fd 100%);
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(33,147,176,0.10);
    padding: 2rem 2rem 1.5rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    color: #1565c0;
    font-size: 1.13rem;
    line-height: 1.7;
    animation: slideInDown 0.5s ease-out;
}
.workshop-box h3 {
    color: #b721ff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
.workshop-box ul {
    margin: 0 0 0 1.2rem;
    padding: 0;
    color: #1976d2;
}
.workshop-box li {
    margin-bottom: 0.7rem;
    font-size: 1.08rem;
}
.success-message {
    background: linear-gradient(90deg, #42e695 0%, #3bb2b8 100%);
    color: #fff;
    padding: 1.1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(66, 230, 149, 0.15);
    border: 1px solid rgba(255,255,255,0.2);
    animation: slideInDown 0.5s ease-out;
    font-size: 1.1rem;
}
.error-message {
    background: linear-gradient(90deg, #ff9800 0%, #f57c00 100%);
    color: #fff;
    padding: 1.1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.15);
    border: 1px solid rgba(255,255,255,0.2);
    animation: slideInDown 0.5s ease-out;
    font-size: 1.1rem;
}

/* Responsive Navigation Bar */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 1rem;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
@media (max-width: 800px) {
  nav {
    padding: 0 1rem;
  }
  nav ul {
    position: absolute;
    top: 60px;
    right: 0;
    left: 0;
    background: linear-gradient(90deg, #004235 0%, #0b3b2e 50%, #0f5140 100%);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem 0;
    margin: 0;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 16px rgba(66,165,245,0.10);
  }
  nav ul.show {
    display: flex;
  }
  nav ul li {
    width: 100%;
    padding: 0.7rem 2rem;
  }
  nav ul li a {
    width: 100%;
    display: block;
    font-size: 1.15rem;
    padding: 0.5rem 0;
  }
  .nav-toggle {
    display: flex;
  }
}

.about-hero-bg {
    position: relative;
    background: linear-gradient(rgba(12, 120, 82, 0.85), rgba(12, 120, 82, 0.80)),
        url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?auto=format&fit=crop&w=900&q=80') center/cover no-repeat;
    color: #fff;
    overflow: hidden;
}

.about-hero-bg h1,
.about-hero-bg p {
    position: relative;
    z-index: 1;
}

@media (max-width: 700px) {
    .about-hero-bg {
        background-position: center 30%;
    }
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
}
