/* Zoroastrian Ancient Persia - Academic Presentation Styles */

:root {
    --primary-gold: #FFD700;
    --primary-blue: #4169E1;
    --dark-blue: #191970;
    --persian-red: #DC143C;
    --sacred-fire: #FF4500;
    --ancient-bronze: #CD7F32;
    --text-dark: #2C3E50;
    --text-light: #FFFFFF;
    --background-light: #FAFAFA;
    --background-dark: #1A1A2E;
    --accent-cream: #F5F5DC;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background-light);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; color: #fff; }
h2 { font-size: 2.5rem; color: #2c3e50; }
h3 { font-size: 1.8rem; color: #34495e; }
h4 { font-size: 1.4rem; color: #2c3e50; }
h5 { font-size: 1.2rem; color: #34495e; }

p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

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

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    background: linear-gradient(135deg, var(--primary-gold), var(--primary-blue));
    color: var(--text-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--dark-blue) 50%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="0.5" fill="%23FFD700" opacity="0.3"/></pattern></defs><rect width="100%" height="100%" fill="url(%23stars)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    color: var(--text-light);
    z-index: 2;
    position: relative;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-gold), var(--text-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 5px var(--primary-gold)); }
    to { filter: drop-shadow(0 0 20px var(--primary-gold)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-gold);
    font-weight: 300;
}

.hero-description p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-gold), var(--sacred-fire));
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faravahar-large {
    width: 400px;
    height: 300px;
}

.faravahar-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px var(--primary-gold));
    animation: float 6s ease-in-out infinite;
}

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

/* Section Styles */
section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Timeline Section */
.timeline-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3498db, #9b59b6);
    border-radius: 2px;
}

.timeline-item {
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
}

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

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

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
    z-index: 2;
}

.timeline-marker::before {
    content: attr(data-year);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.timeline-content {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    min-height: 600px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-gold);
    padding-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.timeline-image {
    margin-top: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: var(--background-light);
    padding: 15px;
}

.timeline-image img {
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: 450px;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 10px;
    background: white;
}

.timeline-image:hover img {
    transform: scale(1.05);
}

/* Impact Section */
.impact-section {
    background: white;
}

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

.impact-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.impact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.impact-card:hover::before {
    opacity: 1;
}

.impact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.king-portrait {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.king-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.impact-card h3 {
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.impact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.achievements {
    list-style: none;
    text-align: left;
    position: relative;
    z-index: 2;
}

.achievements li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.achievements li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #f1c40f;
}

/* Philosophy Section */
.philosophy-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.principle-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    background: linear-gradient(white, white), linear-gradient(45deg, #3498db, #9b59b6);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.principle-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.principle-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.concept-section {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.spenta-list {
    list-style: none;
    padding-left: 0;
}

.spenta-list li {
    background: #f8f9fa;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

/* Threefold Path Section */
.threefold-path-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--background-light) 0%, var(--accent-cream) 50%, var(--background-light) 100%);
}

.threefold-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 4rem;
    margin-bottom: 6rem;
}

.threefold-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.threefold-symbol {
    width: 600px;
    height: 600px;
}

.threefold-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px var(--primary-gold));
    /* Removed rotation animation */
}

.threefold-explanation h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.avestan-text {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-gold);
}

.avestan-text h4 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.avestan {
    font-family: 'Times New Roman', serif;
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.translation {
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.8;
}

.threefold-detailed {
    margin: 6rem 0;
}

.path-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.path-card {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-blue));
}

.path-card.thoughts::before {
    background: linear-gradient(90deg, var(--primary-blue), var(--dark-blue));
}

.path-card.words::before {
    background: linear-gradient(90deg, var(--primary-gold), var(--sacred-fire));
}

.path-card.deeds::before {
    background: linear-gradient(90deg, var(--sacred-fire), var(--persian-red));
}

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

.path-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.path-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.path-description {
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
    opacity: 0.8;
}

.path-details h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-family: 'Playfair Display', serif;
}

.path-details ul {
    list-style: none;
    padding-left: 0;
}

.path-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(65, 105, 225, 0.1);
    position: relative;
    padding-left: 1.5rem;
}

.path-details li::before {
    content: '✦';
    color: var(--primary-gold);
    position: absolute;
    left: 0;
    top: 0.5rem;
}

.threefold-integration {
    background: var(--background-dark);
    color: var(--text-light);
    padding: 4rem;
    border-radius: 20px;
    margin: 6rem 0;
}

.threefold-integration h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.integration-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.integration-flow {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.flow-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-gold);
}

.flow-item h4 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.integration-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sacred-flame {
    width: 200px;
    height: 300px;
}

.flame-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px var(--sacred-fire));
    animation: flicker 2s ease-in-out infinite alternate;
}

@keyframes flicker {
    from { opacity: 0.8; transform: scale(1); }
    to { opacity: 1; transform: scale(1.05); }
}

.historical-influence {
    margin-top: 6rem;
}

.historical-influence h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
}

.influence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.influence-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-gold);
}

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

.influence-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
}

/* Faravahar Section */
.faravahar-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.faravahar-section .section-title,
.faravahar-section h3,
.faravahar-section h4 {
    color: white;
}

.faravahar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.faravahar-visual-large {
    display: flex;
    justify-content: center;
    align-items: center;
}

.detailed-faravahar {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: slowRotate 20s linear infinite;
}

@keyframes slowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.faravahar-explanation {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.intro-text {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.part-explanation {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.part-explanation h4 {
    color: #f1c40f;
    margin-bottom: 0.5rem;
}

.part-explanation p {
    color: rgba(255, 255, 255, 0.8);
}

.historical-context,
.modern-significance {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
}

/* Religion Section */
.religion-section {
    background: white;
}

.religion-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tab-navigation {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
}

.tab-btn.active {
    background: linear-gradient(45deg, #3498db, #9b59b6);
    color: white;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

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

.belief-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #3498db;
}

.practice-sections {
    display: grid;
    gap: 3rem;
}

.practice-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.practice-detail {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.text-categories {
    display: grid;
    gap: 3rem;
}

.text-category {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

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

.avesta-section {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 4px solid #3498db;
}

.calendar-system {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

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

.month-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border-top: 3px solid #9b59b6;
}

.festivals {
    background: white;
    padding: 2rem;
    border-radius: 15px;
}

.festival-detail {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #f1c40f;
}

.legacy-sections {
    display: grid;
    gap: 3rem;
}

.legacy-section {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.influence-detail {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

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

.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-faravahar {
    display: flex;
    justify-content: center;
}

.footer-symbol {
    width: 80px;
    height: 50px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 70px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 1rem;
        text-align: left;
    }
    
    .timeline-marker {
        left: 30px;
    }
    
    .philosophy-content,
    .faravahar-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .tab-navigation {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tab-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .belief-categories,
    .avesta-sections,
    .months-grid,
    .community-stats {
        grid-template-columns: 1fr;
    }
}

/* Animations and Interactions */
.timeline-item {
    opacity: 0;
    transform: translateY(50px);
    animation: slideInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #9b59b6);
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Loading Animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tooltip */
.tooltip {
    position: relative;
    cursor: help;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #2c3e50;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .cta-button {
        display: none;
    }
    
    .hero {
        background: white;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-title {
        color: black;
    }
    
    section {
        padding: 2rem 0;
        break-inside: avoid;
    }
    
    .timeline-item {
        break-inside: avoid;
        margin-bottom: 2rem;
    }
}