/* ===================== */
/* Global Styles */
/* ===================== */

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

:root {
    --color-saffron: #FF9933;
    --color-white: #FFFFFF;
    --color-green: #138808;
    --color-blue: #000080;
    --color-dark: #1a1a1a;
    --color-light-gray: #f5f5f5;
    --color-medium-gray: #e0e0e0;
    --color-text: #333333;
    --color-text-light: #666666;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===================== */
/* Navbar Styling */
/* ===================== */

.navbar {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--color-saffron), var(--color-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-saffron);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* ===================== */
/* Container & Layout */
/* ===================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

/* ===================== */
/* Hero Section */
/* ===================== */

.hero {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(19, 136, 8, 0.1));
    padding: 6rem 0;
    text-align: center;
    border-bottom: 3px solid var(--color-saffron);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.flag-visual {
    animation: wave 2s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 3.5rem;
    background: linear-gradient(90deg, var(--color-saffron), var(--color-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
    font-weight: 900;
}

.hero .tagline {
    font-size: 1.3rem;
    color: var(--color-blue);
    font-weight: 600;
}

.hero .description {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 600px;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-primary {
    background-color: var(--color-saffron);
    color: var(--color-white);
    border: 2px solid var(--color-saffron);
}

.cta-primary:hover {
    background-color: transparent;
    color: var(--color-saffron);
    transform: translateY(-2px);
}

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

.cta-secondary:hover {
    background-color: var(--color-green);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ===================== */
/* Page Hero */
/* ===================== */

.page-hero {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15), rgba(19, 136, 8, 0.15));
    padding: 3rem 0;
    text-align: center;
    border-bottom: 4px solid var(--color-blue);
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--color-text-light);
}

/* ===================== */
/* Features Section */
/* ===================== */

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--color-light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--color-saffron);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--color-text-light);
}

/* ===================== */
/* Quick Facts */
/* ===================== */

.quick-facts {
    background-color: var(--color-light-gray);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.fact {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.fact-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-saffron);
    margin-bottom: 0.5rem;
}

.fact-label {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================== */
/* Explore Section */
/* ===================== */

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

.explore-card {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(19, 136, 8, 0.1));
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.explore-card:hover {
    border-color: var(--color-saffron);
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 153, 51, 0.2);
}

.explore-card h3 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.explore-card p {
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===================== */
/* Content Section */
/* ===================== */

.content-section {
    background-color: var(--color-white);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    color: var(--color-blue);
    font-size: 2rem;
    margin: 2rem 0 1rem;
    border-bottom: 3px solid var(--color-saffron);
    padding-bottom: 0.5rem;
}

.article-content h3 {
    color: var(--color-green);
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.article-content h4 {
    color: var(--color-text);
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem;
}

.article-content p {
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1rem;
    text-align: justify;
}

.article-content ul {
    list-style-position: inside;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

/* ===================== */
/* Info Boxes */
/* ===================== */

.info-box {
    background-color: var(--color-light-gray);
    border-left: 4px solid var(--color-blue);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 4px;
}

.info-box.highlight {
    border-left-color: var(--color-saffron);
    background-color: rgba(255, 153, 51, 0.1);
}

.info-box.important {
    border-left-color: var(--color-green);
    background-color: rgba(19, 136, 8, 0.1);
}

.info-box strong {
    color: var(--color-blue);
}

/* ===================== */
/* Design Specs */
/* ===================== */

.design-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.spec-box {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(19, 136, 8, 0.1));
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--color-medium-gray);
}

.spec-box h3 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.spec-box p {
    color: var(--color-text-light);
    font-weight: 600;
}

/* ===================== */
/* Color Cards */
/* ===================== */

.color-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.color-card {
    background-color: var(--color-light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 4px solid var(--color-blue);
}

.color-swatch {
    width: 100%;
    height: 60px;
    border-radius: 4px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.color-card h3 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.color-card p {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

/* ===================== */
/* Chakra Info */
/* ===================== */

.chakra-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

.chakra-visual {
    text-align: center;
}

.chakra-meanings {
    list-style-position: inside;
    margin-top: 1rem;
}

.chakra-meanings li {
    margin-bottom: 0.8rem;
    text-align: left;
}

@media (max-width: 768px) {
    .chakra-info {
        grid-template-columns: 1fr;
    }
}

/* ===================== */
/* Timeline */
/* ===================== */

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-saffron), var(--color-green));
}

.timeline-item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 3rem;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--color-blue);
    border: 4px solid var(--color-white);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--color-saffron);
}

.timeline-date {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-saffron);
    margin-bottom: 0.5rem;
}

.timeline-content {
    background-color: var(--color-light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-blue);
}

.timeline-item:nth-child(even) .timeline-content {
    border-left: none;
    border-right: 4px solid var(--color-blue);
}

.timeline-content h3 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 0;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
        padding-left: 3rem;
        padding-right: 0;
        text-align: left;
    }

    .timeline-marker {
        left: 0;
        transform: translateX(-50%);
    }

    .timeline-content {
        border-left: 4px solid var(--color-blue);
        border-right: none;
    }
}

/* ===================== */
/* Timeline Summary */
/* ===================== */

.timeline-summary {
    background-color: var(--color-light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.milestones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.milestone {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    border-top: 3px solid var(--color-saffron);
    transition: transform 0.3s ease;
}

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

.milestone-year {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--color-saffron);
    margin-bottom: 0.5rem;
}

.milestone-event {
    display: block;
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===================== */
/* Facts Container */
/* ===================== */

.facts-container {
    display: grid;
    gap: 2rem;
}

.fact-item {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background-color: var(--color-light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--color-green);
    transition: all 0.3s ease;
}

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

.fact-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-saffron), var(--color-green));
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
}

.fact-detail h3 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.fact-detail p {
    color: var(--color-text);
    line-height: 1.6;
}

/* ===================== */
/* Quiz Section */
/* ===================== */

.facts-summary {
    margin-top: 3rem;
}

.quiz-section {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.quiz-item {
    background-color: var(--color-light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--color-blue);
}

.quiz-item h4 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.quiz-answer {
    color: var(--color-text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

/* ===================== */
/* Quote Box */
/* ===================== */

.quote-box {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(19, 136, 8, 0.1));
    padding: 2rem;
    border-left: 4px solid var(--color-saffron);
    border-radius: 8px;
    margin: 2rem 0;
    font-style: italic;
}

.quote-box p {
    color: var(--color-text);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.quote-box.large {
    padding: 3rem;
    font-size: 1.3rem;
    text-align: center;
}

.quote-author {
    text-align: right;
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-style: normal;
    margin-top: 1rem;
}

/* ===================== */
/* Technical Specs */
/* ===================== */

.technical-specs {
    margin: 2rem 0;
}

.spec-item {
    margin-bottom: 2rem;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: var(--color-light-gray);
    border-radius: 8px;
    overflow: hidden;
}

.specs-table tr {
    border-bottom: 1px solid var(--color-medium-gray);
}

.specs-table td {
    padding: 1rem;
}

.specs-table tr:first-child td {
    background-color: var(--color-saffron);
    color: var(--color-white);
    font-weight: 600;
}

/* ===================== */
/* Symbolism Grid */
/* ===================== */

.symbolism-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.symbol-card {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.1), rgba(19, 136, 8, 0.1));
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--color-medium-gray);
    transition: all 0.3s ease;
}

.symbol-card:hover {
    border-color: var(--color-blue);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.symbol-card h3 {
    color: var(--color-blue);
    margin-bottom: 0.5rem;
}

.symbol-card p {
    color: var(--color-text);
}

/* ===================== */
/* Navigation Links Section */
/* ===================== */

.nav-links-section {
    background-color: var(--color-light-gray);
    padding: 2rem 0;
}

.next-section {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--color-green);
    color: var(--color-white);
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.next-section:hover {
    background-color: var(--color-blue);
    transform: translateX(10px);
}

/* ===================== */
/* CTA Section */
/* ===================== */

.cta-section {
    background: linear-gradient(135deg, rgba(255, 153, 51, 0.15), rgba(19, 136, 8, 0.15));
    padding: 3rem 0;
    text-align: center;
}

.cta-section h2 {
    color: var(--color-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===================== */
/* Footer */
/* ===================== */

footer {
    background-color: var(--color-blue);
    color: var(--color-white);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 3px solid var(--color-saffron);
}

footer p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

/* ===================== */
/* Responsive Design */
/* ===================== */

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    section {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .color-section,
    .features,
    .facts-grid,
    .explore-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-primary, .cta-secondary {
        width: 100%;
    }

    .logo {
        font-size: 1.3rem;
    }

    .fact-item {
        flex-direction: column;
    }

    .fact-number {
        margin-bottom: 1rem;
    }
}