/* ENHANCED GUIDELINES PAGE STYLES */
:root {
    --guideline-primary: #38bdf8;
    --guideline-secondary: #8b5cf6;
    --guideline-success: #10b981;
    --guideline-warning: #f59e0b;
    --guideline-error: #ef4444;
    --guideline-bg: rgba(30, 41, 59, 0.8);
}

.guidelines-container {
    position: relative;
    overflow: hidden;
}

/* Floating decorative elements */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--guideline-primary) 0%, transparent 70%);
    opacity: 0.1;
    border-radius: 50%;
    animation: float 20s infinite linear;
    z-index: -1;
}

.floating-element:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    width: 80px;
    height: 80px;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: -5s;
    background: radial-gradient(circle, var(--guideline-secondary) 0%, transparent 70%);
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: -10s;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, var(--guideline-success) 0%, transparent 70%);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-20px) rotate(90deg);
    }

    50% {
        transform: translateY(0) rotate(180deg);
    }

    75% {
        transform: translateY(20px) rotate(270deg);
    }
}

/* Enhanced header */
.projects-header {
    position: relative;
    padding: 60px 20px;
    margin-bottom: 40px;
    background: linear-gradient(135deg,
            rgba(56, 189, 248, 0.1) 0%,
            rgba(139, 92, 246, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid var(--border-primary);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.projects-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            var(--guideline-primary),
            var(--guideline-secondary),
            var(--guideline-success));
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.projects-header h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    background: linear-gradient(135deg,
            var(--guideline-primary) 0%,
            var(--guideline-secondary) 50%,
            var(--guideline-success) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Enhanced overview card */
.guideline-card.overview {
    background: linear-gradient(145deg,
            rgba(56, 189, 248, 0.1) 0%,
            rgba(139, 92, 246, 0.05) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.guideline-card.overview:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--guideline-primary);
}

.guideline-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg,
            var(--guideline-primary),
            var(--guideline-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.8rem;
    color: white;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.guideline-card.overview h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.guideline-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Enhanced guideline items */
.guideline-item {
    background: linear-gradient(145deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(56, 189, 248, 0.02) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.guideline-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--guideline-primary);
}

.guideline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom,
            var(--guideline-primary),
            var(--guideline-secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guideline-item:hover::before {
    opacity: 1;
}

.guideline-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.guideline-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg,
            var(--guideline-primary),
            var(--guideline-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.3);
    flex-shrink: 0;
}

.guideline-item h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 700;
}

/* Enhanced example boxes */
.example-box {
    background: linear-gradient(135deg,
            rgba(56, 189, 248, 0.1) 0%,
            rgba(56, 189, 248, 0.05) 100%);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 15px 20px;
    margin: 15px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    overflow: hidden;
}

.example-box::before {
    content: '✓';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--guideline-success);
    font-weight: bold;
    opacity: 0.3;
    font-size: 1.5rem;
}

.example-box.bad {
    background: linear-gradient(135deg,
            rgba(239, 68, 68, 0.1) 0%,
            rgba(239, 68, 68, 0.05) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.example-box.bad::before {
    content: '✗';
    color: var(--guideline-error);
}

/* Enhanced tags */
.tags-example {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.tech-tag {
    font-size: 0.85rem;
    padding: 8px 16px;
    background: linear-gradient(135deg,
            rgba(56, 189, 248, 0.15) 0%,
            rgba(56, 189, 248, 0.1) 100%);
    color: var(--guideline-primary);
    border-radius: 25px;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.2);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(56, 189, 248, 0.2);
    background: linear-gradient(135deg,
            var(--guideline-primary) 0%,
            var(--guideline-secondary) 100%);
    color: white;
}

/* Template card enhancement */
.template-card {
    background: linear-gradient(145deg,
            rgba(30, 41, 59, 0.9) 0%,
            rgba(15, 23, 42, 0.9) 100%);
    border: 2px dashed var(--border-primary);
    border-radius: 24px;
    padding: 40px;
    max-width: 650px;
    margin: 0 auto 40px;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.template-card:hover {
    border-color: var(--guideline-primary);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.15);
    transform: translateY(-5px);
}

.template-card h2 {
    color: var(--guideline-primary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

/* Enhanced section titles */
.section-title {
    font-size: 2.2rem;
    margin: 80px 0 40px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg,
            var(--guideline-primary),
            var(--guideline-secondary));
    border-radius: 2px;
}

.section-title i {
    color: var(--guideline-primary);
    font-size: 2rem;
}

/* Progress indicator */
.progress-indicator {
    position: fixed;
    top: 120px;
    right: 30px;
    width: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 25px;
    padding: 10px 5px;
    backdrop-filter: blur(10px);
    z-index: 100;
    display: none;
}

.progress-dot {
    width: 10px;
    height: 10px;
    background: var(--border-primary);
    border-radius: 50%;
    margin: 15px auto;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.progress-dot.active {
    background: var(--guideline-primary);
    transform: scale(1.5);
    box-shadow: 0 0 10px var(--guideline-primary);
}

.progress-dot::before {
    content: attr(data-title);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    border: 1px solid var(--border-primary);
}

.progress-dot:hover::before {
    opacity: 1;
}

/* Interactive checklist */
.checklist {
    background: var(--bg-card);
    border: 1px solid var(--border-primary);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--border-secondary);
    transition: all 0.3s ease;
}

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

.checklist-item:hover {
    background: rgba(56, 189, 248, 0.05);
    border-radius: 10px;
}

.checklist-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-primary);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checklist-checkbox.checked {
    background: var(--guideline-success);
    border-color: var(--guideline-success);
}

.checklist-checkbox.checked::after {
    content: '✓';
    color: white;
    font-weight: bold;
}

.checklist-label {
    flex: 1;
    color: var(--text-primary);
    font-size: 0.95rem;
}

/* Enhanced CTA section */
.cta-section {
    background: linear-gradient(135deg,
            rgba(56, 189, 248, 0.1) 0%,
            rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
    backdrop-filter: blur(20px);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle,
            rgba(56, 189, 248, 0.05) 0%,
            transparent 70%);
    animation: rotate 20s linear infinite;
}

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

    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg,
            var(--guideline-primary) 0%,
            var(--guideline-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cta-btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::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;
    z-index: -1;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn.primary {
    background: linear-gradient(135deg,
            var(--guideline-primary) 0%,
            var(--guideline-secondary) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.3);
}

.cta-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(56, 189, 248, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    border: 2px solid var(--guideline-primary);
    color: var(--guideline-primary);
}

.cta-btn.secondary:hover {
    background: rgba(56, 189, 248, 0.1);
    transform: translateY(-3px);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .projects-header {
        padding: 40px 20px;
    }

    .projects-header h1 {
        font-size: 2.2rem;
    }

    .guideline-card.overview {
        padding: 30px 20px;
    }

    .guideline-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin: 50px 0 30px;
    }

    .guideline-item {
        padding: 20px;
    }

    .guideline-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .cta-section {
        padding: 40px 20px;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .progress-indicator {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .projects-header h1 {
        font-size: 1.8rem;
    }

    .guideline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .template-card {
        padding: 25px 15px;
    }

    .template-card h2 {
        font-size: 1.6rem;
    }
}

/* Print-friendly styles */
@media print {

    .progress-indicator,
    .cta-section,
    .floating-element {
        display: none;
    }

    .guideline-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
}

.projects-header {
    font-size: 80px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 0 2px #ffffff;
    animation: glow 1.8s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow:
            0 0 2px #ffffff,
            0 0 8px #431ee8,
            0 0 16px #4a5fe4,
            0 0 24px #c91971;
    }

    to {
        text-shadow:
            0 0 2px #ffffff,
            0 0 12px #249aae,
            0 0 20px #7b31c9,
            0 0 30px #1425c2;
    }
}

/* Fix: Submission checklist text visibility */
.checklist {
  color: #e5e7eb !important;
}

.checklist-label {
  color: #e5e7eb !important;
  opacity: 1 !important;
}

.checklist-item {
  opacity: 1 !important;
}

        /* Fix for cursor trail effect - NO SHADOW */
        .circle-container {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: 9999999;
        }

        .circle {
            position: absolute;
            border-radius: 50%;
            pointer-events: none;
            z-index: 9999999;
            transform: translate(-50%, -50%);
            background: rgba(59, 130, 246, 0.3); /* Light blue for visibility */
        }

        /* Dark theme cursor trail */
        [data-theme="dark"] .circle {
            background: rgba(96, 165, 250, 0.4); /* Brighter blue for dark theme */
        }

        /* Ensure other elements don't create stacking issues */
        body {
            position: relative;
            margin: 0;
            padding: 0;
            min-height: 100vh;
        }

        /* NAVBAR - CENTERED WITH BETTER VISIBILITY */
       

        /* Theme variables for light and dark mode - VISIBLE IN BOTH */
        :root {
            --primary: #2563eb;
            --secondary: #3b82f6;
            --bg-primary: #ffffff;
            --text-primary: #1e293b;
            --glass-bg: rgba(255, 255, 255, 0.98);
            --glass-border: rgba(59, 130, 246, 0.2);
        }

        [data-theme="dark"] {
            --primary: #60a5fa;
            --secondary: #3b82f6;
            --bg-primary: #0f172a;
            --text-primary: #f1f5f9;
            --glass-bg: rgba(30, 41, 59, 0.95);
            --glass-border: rgba(96, 165, 250, 0.3);
        }

        /* Apply theme colors to body */
        body {
            background-color: var(--bg-primary);
            color: var(--text-primary);
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        /* Remove shadow effects from elements */
        .guideline-card,
        .guideline-item,
        .template-card,
        .reference-card {
            box-shadow: none !important;
            border: 1px solid var(--glass-border) !important;
        }

        /* Make floating elements visible in both themes */
        .floating-element {
            background: rgba(59, 130, 246, 0.1);
        }

        [data-theme="dark"] .floating-element {
            background: rgba(96, 165, 250, 0.15);
        }

        /* Progress indicator visible in both themes */
        .progress-indicator {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
        }

        .progress-dot {
            background: var(--glass-border);
        }

        .progress-dot.active {
            background: var(--primary-color);
        }

        /* Add this to your style section to remove glow effects from h1 */
.projects-header h1 {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: #60a5fa !important;
    text-shadow: none !important;
    animation: none !important;
}

.projects-header h1::after {
    display: none !important;
}

/* Remove glow effects from h1 and subtitle */
.projects-header h1 {
    color: var(--primary-color) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: none !important;
    animation: none !important;
}

.projects-header h1::after {
    display: none !important;
}

.projects-header .subtitle {
    color: var(--text-secondary) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: none !important;
    animation: none !important;
    opacity: 1 !important;
}

/* Also ensure no other h1 elements have glow */
h1 {
    color: var(--primary-color) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: none !important;
    animation: none !important;
}

h1::after {
    display: none !important;
}

.subtitle {
    color: var(--text-secondary) !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    text-shadow: none !important;
    animation: none !important;
    opacity: 1 !important;
}
