/* ProjectUnite Essay Competition 2026 - Styles */
/* Pale Yellow Theme with Advanced Animations */

:root {
    --main-bg: #2a2118;
    --secondary-bg: #3d3226;
    --card-bg: #faf8f4;
    --light-cream: #f7f4ef;
    --dark-text: #1a1208;
    --gray-text: #6b6358;
    --accent-dark: #2a2118;
    --accent-warm: #c9a96e;
    --accent-warm-light: #e8c99a;
    --white-card: rgba(255, 255, 255, 0.97);
    --soft-shadow: 0 8px 32px rgba(42, 33, 24, 0.07);
    --hover-shadow: 0 20px 60px rgba(42, 33, 24, 0.14);
}

/* School Autocomplete Styles */
.school-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ccc;
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 4px;
}

.school-suggestions.active {
    display: block;
}

.school-suggestion-item {
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 2px solid #ddd;
    transition: background 0.2s ease;
    background: white;
}

.school-suggestion-item:hover {
    background: #f5f5f0;
}

.school-suggestion-item:last-child {
    border-bottom: none;
}

.school-suggestion-name {
    font-weight: 700;
    color: #333;
    font-size: 15px;
    margin-bottom: 4px;
}

.school-suggestion-region {
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

/* FAQ Section Styles */
.faq-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f8f8, #f0f0f0);
}

.faq-question h3 {
    font-size: 16px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-question h3 i {
    color: #bcb592;
}

.faq-question .fa-chevron-down {
    color: #999;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hero Submit Button */
.hero-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #bcb592, #c0beb0);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(188, 181, 146, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(188, 181, 146, 0.6);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(160deg, #f5efe6 0%, #ede4d8 40%, #e0d5c8 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Floating Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.18) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) translateX(0) scale(1); 
        opacity: 0.3; 
    }
    25% { 
        transform: translateY(-100px) translateX(50px) scale(1.1); 
        opacity: 0.5; 
    }
    50% { 
        transform: translateY(-200px) translateX(-50px) scale(0.9); 
        opacity: 0.4; 
    }
    75% { 
        transform: translateY(-100px) translateX(100px) scale(1.05); 
        opacity: 0.6; 
    }
}

/* Hero Section */
.essay-hero {
    background: linear-gradient(150deg, #1a1208 0%, #2a2118 35%, #3d3226 65%, #5c4a34 100%);
    padding: 180px 20px 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.essay-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    background: radial-gradient(ellipse at 60% 40%, rgba(201, 169, 110, 0.12) 0%, transparent 60%);
    animation: rotate 40s linear infinite;
}

.essay-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(245, 239, 230, 0.3));
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.essay-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.essay-motto {
    font-size: 1.1rem;
    color: var(--accent-warm-light);
    font-weight: 400;
    margin-bottom: 20px;
    font-style: italic;
    opacity: 0;
    animation: fadeInDown 1s ease forwards 0.2s;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.essay-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.15;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.4s;
    letter-spacing: -0.02em;
}

.essay-theme {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 36px;
    font-style: italic;
    padding: 0 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
    font-weight: 400;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.essay-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 760px;
    margin: 0 auto 44px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.8s;
    background: rgba(255, 255, 255, 0.06);
    padding: 28px 32px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats Section */
.stats-section {
    max-width: 1200px;
    margin: -60px auto 80px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--soft-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.6s ease forwards;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--hover-shadow);
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-card.delay-1 {
    animation-delay: 0.2s;
}

.stat-card.delay-2 {
    animation-delay: 0.4s;
}

.stat-icon {
    font-size: 2.4rem;
    color: var(--accent-warm);
    margin-bottom: 15px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #676767;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Container */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 100px;
    position: relative;
    z-index: 1;
}

/* Section Styles */
.section {
    background: rgba(255, 255, 255, 0.95);
    margin-bottom: 60px;
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: var(--soft-shadow);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--accent-warm), var(--accent-dark));
    border-radius: 4px 0 0 4px;
}

.section.animate-slide-in {
    animation: slideInLeft 0.8s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-dark), var(--secondary-bg));
    border-radius: 16px;
    color: var(--accent-warm-light);
    font-size: 1.6rem;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(42, 33, 24, 0.2);
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 48px;
    height: 3px;
    background: var(--accent-warm);
    border-radius: 2px;
}

.section-text {
    font-size: 1.1rem;
    color: #676767;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Objectives Grid */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.objective-card {
    background: linear-gradient(135deg, #d8d6c7, #f5f5f0);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.objective-card:hover {
    transform: translateY(-10px);
    border-color: #676767;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.objective-card i {
    font-size: 3rem;
    color: #2d2d2d;
    margin-bottom: 20px;
    display: block;
}

.objective-card h3 {
    font-size: 1.3rem;
    color: #2d2d2d;
    margin-bottom: 10px;
}

.objective-card p {
    font-size: 1rem;
    color: #676767;
}

/* Requirements Grid */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f0, white);
    border-radius: 15px;
    border-left: 4px solid #676767;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.requirement-item i {
    font-size: 2rem;
    color: #2d2d2d;
    min-width: 40px;
}

.requirement-item strong {
    display: block;
    color: #2d2d2d;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.requirement-item p {
    color: #676767;
    font-size: 0.95rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #676767, #2d2d2d);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 40px;
}

.timeline-marker {
    position: absolute;
    left: 20px;
    top: 5px;
    width: 25px;
    height: 25px;
    background: white;
    border: 4px solid #676767;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-marker.highlight {
    background: #4a4a4a;
    border-color: #2d2d2d;
    width: 30px;
    height: 30px;
    left: 17px;
    box-shadow: 0 0 20px rgba(45, 45, 45, 0.5);
}

.timeline-marker.success {
    background: #4ade80;
    border-color: #4ade80;
}

.timeline-content {
    background: linear-gradient(135deg, #f5f5f0, white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.timeline-content h3 {
    color: #2d2d2d;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.timeline-content p {
    color: #676767;
    font-size: 1rem;
}

/* Criteria Grid */
.criteria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.criteria-card {
    background: linear-gradient(135deg, #1a1208, #2a2118);
    color: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.criteria-card::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 ease;
}

.criteria-card:hover::before {
    left: 100%;
}

.criteria-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(45, 45, 45, 0.3);
}

.criteria-score {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.criteria-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.criteria-card p {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* Prizes Section */
.prizes-section {
    background: linear-gradient(135deg, #d8d6c7, #f5f5f0) !important;
}

.prizes-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.prize-main {
    background: linear-gradient(145deg, #1a1208 0%, #2a2118 50%, #3d3226 100%);
    color: white;
    padding: 50px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(26, 18, 8, 0.35);
    transition: all 0.4s ease;
    border: 1px solid rgba(201, 169, 110, 0.2);
}

.prize-main:hover {
    transform: scale(1.05);
}

.prize-icon-large {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    filter: grayscale(100%);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.prize-main h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.prize-amount {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 20px 0;
    color: var(--accent-warm-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.prize-main ul {
    list-style: none;
    margin-top: 25px;
}

.prize-main ul li {
    padding: 10px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.prize-main ul li:last-child {
    border-bottom: none;
}

.additional-prizes {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prize-item {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #676767;
}

.prize-item:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.prize-item i {
    font-size: 2.5rem;
    color: #2d2d2d;
    margin-bottom: 15px;
    display: block;
}

.prize-item h4 {
    font-size: 1.4rem;
    color: #2d2d2d;
    margin-bottom: 10px;
}

.prize-item p {
    color: #676767;
    font-size: 1rem;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #f5f5f0, white);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item i {
    font-size: 2rem;
    color: #2d2d2d;
    min-width: 40px;
}

.contact-item a {
    color: #2d2d2d;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #676767;
}

/* Responsive Design */
@media (max-width: 768px) {
    .essay-hero {
        padding: 140px 20px 60px;
    }

    .essay-title {
        font-size: 2.2rem;
    }

    .essay-theme {
        font-size: 1.5rem;
    }

    .essay-motto {
        font-size: 1.3rem;
    }

    .section {
        padding: 40px 25px;
    }

    .section-title {
        font-size: 2rem;
    }

    .prizes-showcase {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        left: 5px;
    }

    .timeline-marker.highlight {
        left: 2px;
    }

    .objectives-grid,
    .requirements-grid,
    .criteria-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll animations trigger */
.animate-fade-in,
.animate-slide-up,
.animate-scale {
    opacity: 0;
}

.animate-fade-in.visible {
    animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up.visible {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-scale.visible {
    animation: scaleIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


/* Essay Structure Guide */
.structure-guide {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.structure-step {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    padding: 30px;
    background: linear-gradient(135deg, #f5f5f0, white);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.structure-step:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.structure-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2d2d2d, #4a4a4a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    flex-shrink: 0;
}

.structure-content h3 {
    color: #2d2d2d;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.structure-content p {
    color: #676767;
    margin-bottom: 15px;
    line-height: 1.8;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.topics-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #2d2d2d;
    transition: all 0.3s ease;
}

.topics-grid span:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.topics-grid span i {
    color: #676767;
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.process-card {
    background: linear-gradient(135deg, #f5f5f0, white);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid #676767;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.process-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2d2d2d, #4a4a4a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.process-card h3 {
    color: #2d2d2d;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.process-card p {
    color: #676767;
    line-height: 1.7;
}

.info-note {
    background: linear-gradient(135deg, #d8d6c7, #f5f5f0);
    padding: 20px 30px;
    border-radius: 15px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 4px solid #2d2d2d;
}

.info-note i {
    font-size: 1.5rem;
    color: #2d2d2d;
}

/* Warning Section */
.warning-section {
    background: linear-gradient(135deg, #fff5f5, white) !important;
}

.section-icon.warning {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.penalties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.penalty-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    border: 2px solid #fecaca;
    transition: all 0.4s ease;
    text-align: center;
}

.penalty-card:hover {
    transform: translateY(-10px);
    border-color: #ef4444;
    box-shadow: 0 20px 50px rgba(239, 68, 68, 0.2);
}

.penalty-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #fecaca, #fca5a5);
    color: #991b1b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
}

.penalty-card h3 {
    color: #2d2d2d;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.penalty-card p {
    color: #676767;
    margin-bottom: 15px;
    line-height: 1.7;
}

.penalty-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 15px 0;
}

.penalty-card ul li {
    padding: 8px 0;
    color: #676767;
    position: relative;
    padding-left: 20px;
}

.penalty-card ul li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.danger {
    background: #ef4444;
    color: white;
}

.badge.warning {
    background: #f59e0b;
    color: white;
}

/* Submission Checklist */
.submission-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f5f0, white);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.checklist-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.checklist-item i {
    color: #4ade80;
    font-size: 1.5rem;
}

.checklist-item span {
    color: #2d2d2d;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2d2d2d, #4a4a4a) !important;
    color: white;
    text-align: center;
    padding: 80px 50px !important;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: #2d2d2d;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-note {
    margin-top: 20px;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .structure-step {
        flex-direction: column;
        text-align: center;
    }

    .structure-number {
        margin: 0 auto 20px;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .process-steps,
    .penalties-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 60px 25px !important;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}


/* Beautiful Submission Form */
.form-section {
    background: linear-gradient(135deg, #f5f5f0, white) !important;
}

.essay-form {
    max-width: 800px;
    margin: 40px auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 10px;
    font-size: 1rem;
}

.form-group label i {
    color: #676767;
    font-size: 1.1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select {
    padding: 15px 20px;
    border: 2px solid #d8d6c7;
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #676767;
    box-shadow: 0 0 0 4px rgba(103, 103, 103, 0.1);
    transform: translateY(-2px);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23676767' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    padding-right: 50px;
}

/* File Upload Area */
.file-upload-area {
    border: 3px dashed #d8d6c7;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
    overflow: hidden;
}

.file-upload-area:hover {
    border-color: #676767;
    background: linear-gradient(135deg, #f5f5f0, white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.file-upload-area.dragover {
    border-color: #2d2d2d;
    background: linear-gradient(135deg, #d8d6c7, #f5f5f0);
    transform: scale(1.02);
}

.file-upload-content i {
    font-size: 4rem;
    color: #676767;
    margin-bottom: 20px;
    display: block;
}

.upload-text {
    font-size: 1.1rem;
    color: #2d2d2d;
    font-weight: 600;
    margin-bottom: 10px;
}

.upload-info {
    font-size: 0.9rem;
    color: #676767;
}

/* File Preview */
.file-preview {
    display: none;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #d8d6c7, #f5f5f0);
    border-radius: 15px;
}

.file-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2d2d2d, #4a4a4a);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.file-details {
    flex: 1;
    text-align: left;
}

.file-name {
    font-weight: 600;
    color: #2d2d2d;
    margin-bottom: 5px;
    word-break: break-word;
}

.file-size {
    font-size: 0.9rem;
    color: #676767;
}

.remove-file {
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.remove-file:hover {
    background: #ef4444;
    color: white;
    transform: rotate(90deg) scale(1.1);
}

/* Checkbox Group */
.checkbox-group {
    margin: 30px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #2d2d2d;
    flex-shrink: 0;
}

.checkbox-text {
    color: #2d2d2d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 40px;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #2d2d2d, #4a4a4a);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(45, 45, 45, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(45, 45, 45, 0.4);
}

.submit-button:active {
    transform: translateY(0) scale(0.98);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-button.loading .button-text::after {
    content: '...';
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

.submit-button i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.submit-button:hover i {
    transform: translateX(5px);
}

/* Form Message */
.form-message {
    display: none;
    padding: 20px 30px;
    border-radius: 15px;
    margin-top: 30px;
    text-align: center;
    font-weight: 600;
    animation: slideInUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-message.success {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
}

.form-message.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

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

/* Responsive Form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .file-upload-area {
        padding: 40px 20px;
    }

    .file-upload-content i {
        font-size: 3rem;
    }

    .submit-button {
        width: 100%;
        justify-content: center;
    }

    .file-preview {
        flex-direction: column;
        text-align: center;
    }

    .file-details {
        text-align: center;
    }
}

/* --- APPLE IMAC MINIMALIST OVERRIDES --- */
:root {
    --apple-bg: rgba(255, 255, 255, 0.78);
    --apple-blur: blur(24px);
    --apple-border: 1px solid rgba(255, 255, 255, 0.65);
    --apple-shadow: 0 8px 32px rgba(42, 33, 24, 0.05);
    --apple-hover-shadow: 0 20px 56px rgba(42, 33, 24, 0.10);
    --apple-radius: 24px;
    --apple-text: #1a1208;
    --apple-text-light: #6b6358;
    --apple-accent: #2a2118;
    --apple-accent-hover: #3d3226;
}

body {
    background: linear-gradient(160deg, #f5efe6 0%, #ede4d8 40%, #e0d5c8 100%) !important;
}

.particles { opacity: 0.15; }

.hero-submit-btn {
    background: linear-gradient(135deg, var(--accent-warm), #b8913a) !important;
    color: #1a1208 !important;
    border: none !important;
    padding: 16px 40px !important;
    border-radius: 980px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    letter-spacing: 0.01em !important;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
    box-shadow: 0 6px 24px rgba(201, 169, 110, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
}
.hero-submit-btn:hover {
    background: linear-gradient(135deg, #d4b47a, #c9a96e) !important;
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow: 0 10px 36px rgba(201, 169, 110, 0.60) !important;
}

.section {
    background: var(--apple-bg) !important;
    backdrop-filter: var(--apple-blur) !important;
    -webkit-backdrop-filter: var(--apple-blur) !important;
    border: var(--apple-border) !important;
    border-radius: 32px !important;
    box-shadow: var(--apple-shadow) !important;
    padding: 48px !important;
    margin-bottom: 40px !important;
}
.section::before { display: none !important; }

.section-title {
    font-size: 40px !important;
    font-weight: 600 !important;
    color: var(--apple-text) !important;
    letter-spacing: -0.01em !important;
    margin-bottom: 24px !important;
}
.section-title::after { display: none !important; }

.section-icon {
    background: transparent !important;
    color: var(--apple-text) !important;
    box-shadow: none !important;
    font-size: 32px !important;
    margin-bottom: 16px !important;
    width: auto !important;
    height: auto !important;
}

.stat-card {
    background: var(--apple-bg) !important;
    backdrop-filter: var(--apple-blur) !important;
    -webkit-backdrop-filter: var(--apple-blur) !important;
    border: var(--apple-border) !important;
    border-radius: var(--apple-radius) !important;
    padding: 32px 24px !important;
    box-shadow: var(--apple-shadow) !important;
}
.stat-card:hover {
    transform: scale(1.02) !important;
    box-shadow: var(--apple-hover-shadow) !important;
}

.objectives-grid { gap: 16px !important; }
.objective-card {
    background: rgba(255, 255, 255, 0.6) !important;
    border: var(--apple-border) !important;
    border-radius: var(--apple-radius) !important;
    padding: 24px !important;
    box-shadow: none !important;
}
.objective-card:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.02) !important;
    box-shadow: var(--apple-shadow) !important;
    border-color: transparent !important;
}
.objective-card i { color: var(--apple-text) !important; font-size: 28px !important; }

.requirements-grid { gap: 16px !important; }
.requirement-item {
    background: rgba(255, 255, 255, 0.6) !important;
    border: var(--apple-border) !important;
    border-radius: 20px !important;
    border-left: none !important;
    padding: 20px !important;
    box-shadow: none !important;
}
.requirement-item:hover {
    transform: scale(1.02) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: var(--apple-shadow) !important;
}

.timeline::before { background: #e5e5ea !important; }
.timeline-marker { border-color: #1d1d1f !important; }
.timeline-marker.highlight { background: var(--apple-blue) !important; border-color: var(--apple-blue) !important; box-shadow: 0 0 0 4px rgba(0,113,227,0.2) !important; }
.timeline-content {
    background: rgba(255, 255, 255, 0.7) !important;
    border: var(--apple-border) !important;
    border-radius: 20px !important;
    box-shadow: none !important;
    padding: 20px 24px !important;
}
.timeline-content:hover {
    transform: scale(1.02) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: var(--apple-shadow) !important;
}

.criteria-card {
    background: #1d1d1f !important;
    border-radius: var(--apple-radius) !important;
    padding: 32px 24px !important;
}
.criteria-card:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15) !important;
}
.criteria-card::before { display: none !important; }

.process-card, .penalty-card {
    background: rgba(255, 255, 255, 0.6) !important;
    border: var(--apple-border) !important;
    border-radius: var(--apple-radius) !important;
    box-shadow: none !important;
}
.process-card:hover, .penalty-card:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: scale(1.02) !important;
    box-shadow: var(--apple-shadow) !important;
}
.penalty-card { border-top: none !important; }

.prizes-section { background: transparent !important; }
.prize-main {
    background: linear-gradient(135deg, #1d1d1f, #333336) !important;
    border-radius: 32px !important;
}
.prize-item {
    background: rgba(255, 255, 255, 0.7) !important;
    border: var(--apple-border) !important;
    border-radius: var(--apple-radius) !important;
    border-left: none !important;
}

.faq-section { background: var(--apple-bg) !important; }
.faq-item {
    background: rgba(255, 255, 255, 0.5) !important;
    border: var(--apple-border) !important;
    border-radius: 16px !important;
    margin-bottom: 12px !important;
    box-shadow: none !important;
}
.faq-item:hover { background: rgba(255, 255, 255, 0.8) !important; }
.faq-question { background: transparent !important; padding: 24px !important; }
.faq-question h3 { font-weight: 500 !important; font-size: 17px !important; }
.faq-question h3 i { display: none !important; }
.faq-answer {
    padding: 0 24px !important;
    display: grid !important;
    grid-template-rows: 0fr !important;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
    max-height: unset !important;
}
.faq-answer p { overflow: hidden !important; margin: 0 !important; }
.faq-item.active .faq-answer {
    grid-template-rows: 1fr !important;
    padding: 0 24px 24px !important;
    max-height: unset !important;
}

.form-group input, .form-group select {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}
.form-group input:focus, .form-group select:focus {
    background: #fff !important;
    border-color: var(--accent-warm) !important;
    box-shadow: 0 0 0 4px rgba(201, 169, 110, 0.18) !important;
    outline: none !important;
}
.file-upload-area {
    background: rgba(255, 255, 255, 0.5) !important;
    border: 2px dashed rgba(0,0,0,0.15) !important;
    border-radius: 20px !important;
    transition: all 0.3s ease !important;
}
.file-upload-area:hover {
    background: rgba(255, 255, 255, 0.85) !important;
    border-color: var(--accent-warm) !important;
}

.submit-button {
    background: linear-gradient(135deg, #2a2118, #3d3226) !important;
    color: white !important;
    border-radius: 980px !important;
    padding: 16px 40px !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    box-shadow: 0 6px 20px rgba(42, 33, 24, 0.28) !important;
    border: none !important;
    letter-spacing: 0.01em !important;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}
.submit-button:hover {
    background: linear-gradient(135deg, #3d3226, #5c4a34) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 10px 30px rgba(42, 33, 24, 0.35) !important;
}

.form-message {
    border-radius: 16px !important;
}

/* Success Modal */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-modal {
    background: var(--card-bg);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.8) translateY(30px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-overlay.active .success-modal {
    transform: scale(1) translateY(0);
}

.success-icon-container {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--accent-warm), #b8913a);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 30px;
    position: relative;
}

.success-icon-container i {
    font-size: 50px;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s;
}

.success-overlay.active .success-icon-container i {
    opacity: 1;
    transform: scale(1);
}

.success-icon-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid var(--accent-warm);
    border-radius: 50%;
    opacity: 0;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0% { transform: scale(0.8); opacity: 0; }
    50% { opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 0; }
}

.success-modal h3 {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.success-modal p {
    color: var(--gray-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.success-close-btn {
    background: linear-gradient(135deg, #2a2118, #3d3226);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.success-close-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(42, 33, 24, 0.2);
}
