/* ===== CSS Variables - Green Theme Based on Logo ===== */
:root {
    /* Primary greens from logo */
    --primary-dark: #1a5c3a;
    --primary: #2d8c5a;
    --primary-light: #4aa873;
    --primary-pale: #8fcfaa;

    /* Secondary colors */
    --teal: #3a9a8c;
    --teal-light: #5bbfae;

    /* Accent colors from logo (blue/yellow) */
    --accent-blue: #2c6b9e;
    --accent-yellow: #f4c542;

    /* Backgrounds - More white */
    --bg-light: #fafcfa;
    --bg-pale: #f5f9f3;
    --bg-white: #ffffff;

    /* Text */
    --text-dark: #1a3328;
    --text-medium: #2d4a3d;
    --text-light: #5a7a6a;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 92, 58, 0.1);
    --shadow-md: 0 4px 20px rgba(26, 92, 58, 0.15);
    --shadow-lg: 0 8px 40px rgba(26, 92, 58, 0.2);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    background: linear-gradient(135deg, #f8fdf9 0%, #eef7f0 25%, #f5faf6 50%, #e8f5eb 75%, #f0f9f2 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(45, 140, 90, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(58, 154, 140, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(74, 168, 115, 0.02) 0%, transparent 40%),
        radial-gradient(circle at 60% 60%, rgba(91, 191, 174, 0.02) 0%, transparent 40%);
    animation: bgPulse 15s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes bgPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.02);
    }
}

h1, h2, h3, h4 {
    font-family: 'Frank Ruhl Libre', serif;
    font-weight: 700;
}

/* ===== Philosophy Floating Symbols ===== */
.philosophy-symbols {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.symbol {
    position: absolute;
    font-size: 2rem;
    color: var(--primary-pale);
    opacity: 0.15;
    animation: floatSymbol 20s infinite ease-in-out;
    animation-delay: var(--delay);
    left: var(--x);
    top: -50px;
}

@keyframes floatSymbol {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.15;
    }
    90% {
        opacity: 0.15;
    }
    100% {
        transform: translateY(110vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== Header ===== */
.main-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.main-header.scrolled {
    background: rgba(26, 92, 58, 0.95);
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    transition: var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-link:hover .logo {
    transform: scale(1.05);
}

.header-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.header-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.main-nav {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1.1rem;
    border-radius: 25px;
    transition: var(--transition-normal);
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 50%;
    width: 0;
    height: 3px;
    background: var(--accent-yellow);
    transition: var(--transition-normal);
    transform: translateX(50%);
    border-radius: 2px;
}

.main-nav a:hover {
    background: var(--accent-yellow);
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(244, 197, 66, 0.4);
    transform: translateY(-2px);
}

.main-nav a:hover::after {
    width: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    padding-top: calc(var(--header-height, 120px) + 1rem);
    max-width: 900px;
}

.thought-bubble {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 3s infinite ease-in-out;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.greek-letter {
    font-size: 4rem;
    color: var(--accent-yellow);
    font-family: serif;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(244, 197, 66, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 40px 20px rgba(244, 197, 66, 0);
    }
}

.hero-title {
    color: white;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: 3.5rem;
    line-height: 1.2;
    animation: slideUp 1s ease forwards;
    opacity: 0;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line.accent {
    color: var(--accent-yellow);
}

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

.hero-subtitle {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 300;
    animation: fadeIn 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-school {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

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

.hero-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    margin-bottom: 3rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 1s ease 0.8s forwards;
    opacity: 0;
}

.hero-quote blockquote {
    font-size: 1.3rem;
    color: white;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.hero-quote cite {
    color: var(--accent-yellow);
    font-size: 1rem;
}

.scroll-indicator {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: white;
    text-decoration: none;
    animation: fadeIn 1s ease 1s forwards, bounce 2s infinite 2s;
    opacity: 0;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    margin-top: 0.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

/* ===== Section Styles ===== */
.section {
    padding: 6rem 2rem;
    position: relative;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.section-tagline {
    color: var(--text-light);
    font-size: 1.2rem;
}

/* ===== About Section ===== */
.about-section {
    background:
        linear-gradient(135deg, rgba(45, 140, 90, 0.15) 0%, rgba(58, 154, 140, 0.08) 50%),
        linear-gradient(225deg, rgba(143, 207, 170, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 10% 90%, rgba(45, 140, 90, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, #e8f5eb 0%, #d4edda 50%, #e8f5eb 100%);
    position: relative;
}

.about-section::before {
    content: '?';
    position: absolute;
    top: 10%;
    left: 5%;
    font-size: 15rem;
    color: rgba(45, 140, 90, 0.03);
    font-family: serif;
    pointer-events: none;
}

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

.lead-text {
    font-size: 1.4rem;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.questions-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.question-tag {
    background: var(--bg-white);
    color: var(--primary-dark);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    animation: tagFloat 3s infinite ease-in-out;
    animation-delay: var(--delay);
    cursor: default;
    transition: var(--transition-normal);
    border: 1px solid var(--primary-pale);
    box-shadow: var(--shadow-sm);
}

.question-tag:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

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

/* Brain Animation */
.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-animation {
    position: relative;
    width: 250px;
    height: 250px;
}

.brain-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
    animation: brainPulse 4s infinite ease-in-out;
}

@keyframes brainPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(45, 140, 90, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 60px 30px rgba(45, 140, 90, 0);
    }
}

.brain-connections {
    position: absolute;
    inset: 0;
}

.connection {
    position: absolute;
    width: 60%;
    height: 3px;
    background: var(--accent-yellow);
    top: 50%;
    left: 20%;
    opacity: 0.6;
    animation: connectionPulse 2s infinite;
}

.connection.c1 { transform: rotate(0deg); animation-delay: 0s; }
.connection.c2 { transform: rotate(45deg); animation-delay: 0.5s; }
.connection.c3 { transform: rotate(90deg); animation-delay: 1s; }
.connection.c4 { transform: rotate(135deg); animation-delay: 1.5s; }

@keyframes connectionPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.thought-particles {
    position: absolute;
    inset: 0;
}

.thought-particles span {
    position: absolute;
    font-size: 1.5rem;
    color: white;
    animation: particleFloat 4s infinite ease-in-out;
}

.thought-particles span:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.thought-particles span:nth-child(2) { top: 20%; right: 15%; animation-delay: 1s; }
.thought-particles span:nth-child(3) { bottom: 15%; left: 25%; animation-delay: 2s; }
.thought-particles span:nth-child(4) { bottom: 25%; right: 20%; animation-delay: 3s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
}

/* ===== Why Section ===== */
.why-section {
    background:
        radial-gradient(circle at 90% 10%, rgba(244, 197, 66, 0.25) 0%, transparent 40%),
        radial-gradient(circle at 10% 80%, rgba(45, 140, 90, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(244, 197, 66, 0.1) 0%, rgba(255, 248, 220, 0.5) 50%),
        linear-gradient(180deg, #fff8dc 0%, #fef9e7 50%, #fffacd 100%);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(58, 154, 140, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-section::after {
    content: '!';
    position: absolute;
    bottom: 5%;
    right: 3%;
    font-size: 12rem;
    color: rgba(244, 197, 66, 0.06);
    font-family: serif;
    pointer-events: none;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.reason-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(26, 92, 58, 0.1);
}

.reason-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

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

.reason-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.reason-card p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Curriculum Section ===== */
.curriculum-section {
    background:
        radial-gradient(circle at 80% 20%, rgba(44, 107, 158, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 20% 80%, rgba(58, 154, 140, 0.12) 0%, transparent 40%),
        linear-gradient(135deg, rgba(44, 107, 158, 0.08) 0%, rgba(173, 216, 230, 0.2) 50%),
        linear-gradient(180deg, #e6f3ff 0%, #d4e6f1 50%, #e8f4f8 100%);
    position: relative;
    overflow: hidden;
}

.curriculum-section::before {
    content: '\03C6';
    position: absolute;
    top: 5%;
    left: 3%;
    font-size: 14rem;
    color: rgba(45, 140, 90, 0.04);
    font-family: serif;
    pointer-events: none;
}

.curriculum-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(58, 154, 140, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

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

.timeline::before {
    content: '';
    position: absolute;
    right: 50px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--teal) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-right: 100px;
    padding-bottom: 3rem;
}

.timeline-marker {
    position: absolute;
    right: 30px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
    z-index: 1;
}

.timeline-content {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(26, 92, 58, 0.1);
    box-shadow: var(--shadow-sm);
}

.timeline-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.philosophers-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.philosopher-tag {
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: var(--transition-normal);
}

.philosopher-tag:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.special-track {
    background: rgba(244, 197, 66, 0.2);
    padding: 1rem;
    border-radius: 10px;
    border-right: 4px solid var(--accent-yellow);
    margin-top: 1rem;
}

/* ===== Trips Section ===== */
.trips-section {
    background:
        linear-gradient(45deg, rgba(58, 154, 140, 0.2) 0%, transparent 50%),
        linear-gradient(315deg, rgba(91, 191, 174, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(58, 154, 140, 0.18) 0%, transparent 50%),
        linear-gradient(180deg, #d1f2eb 0%, #a3e4d7 50%, #d5f5e3 100%);
    position: relative;
    overflow: hidden;
}

.trips-section::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background:
        radial-gradient(circle, rgba(58, 154, 140, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.trips-section::after {
    content: '\2708';
    position: absolute;
    top: 8%;
    right: 5%;
    font-size: 8rem;
    color: rgba(58, 154, 140, 0.05);
    pointer-events: none;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 92, 58, 0.8) 0%, rgba(58, 154, 140, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-normal);
}

.zoom-icon {
    font-size: 3rem;
    color: white;
    transform: scale(0.5);
    transition: var(--transition-normal);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox.active .lightbox-image {
    transform: scale(1);
}

/* Lightbox slide transitions */
.lightbox-image.slide-out-left {
    animation: slideOutLeft 0.2s ease-out forwards;
}

.lightbox-image.slide-out-right {
    animation: slideOutRight 0.2s ease-out forwards;
}

.lightbox-image.slide-in-left {
    animation: slideInLeft 0.2s ease-out forwards;
}

.lightbox-image.slide-in-right {
    animation: slideInRight 0.2s ease-out forwards;
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-40px);
        opacity: 0.4;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(40px);
        opacity: 0.4;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-40px);
        opacity: 0.4;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(40px);
        opacity: 0.4;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    z-index: 10;
    background: rgba(26, 92, 58, 0.85);
    border: none;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-normal);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--primary);
}

.lightbox-close {
    top: 20px;
    left: 20px;
}

.lightbox-prev {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* ===== Requirements Section ===== */
.requirements-section {
    background:
        linear-gradient(180deg, rgba(155, 89, 182, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 10% 50%, rgba(244, 197, 66, 0.15) 0%, transparent 45%),
        radial-gradient(circle at 90% 70%, rgba(155, 89, 182, 0.1) 0%, transparent 40%),
        linear-gradient(180deg, #f5eef8 0%, #ebdef0 50%, #f4ecf7 100%);
    position: relative;
    overflow: hidden;
}

.requirements-section::before {
    content: '\2713';
    position: absolute;
    bottom: 10%;
    left: 5%;
    font-size: 12rem;
    color: rgba(45, 140, 90, 0.04);
    pointer-events: none;
}

.requirements-section::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--teal) 50%, var(--accent-yellow) 100%);
    opacity: 0.3;
}

.requirements-content {
    max-width: 700px;
    margin: 0 auto;
}

.requirement-card {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid var(--primary);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

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

.requirement-card h3 {
    text-align: center;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.requirement-card ul {
    list-style: none;
}

.requirement-card li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.check-icon {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-box {
    background: linear-gradient(135deg, rgba(244, 197, 66, 0.1) 0%, rgba(244, 197, 66, 0.2) 100%);
    padding: 2rem;
    border-radius: 15px;
    border-right: 4px solid var(--accent-yellow);
}

.info-box p {
    color: var(--text-medium);
    line-height: 1.8;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--teal) 100%);
    padding: 5rem 2rem;
    text-align: center;
}

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

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(5px);
}

.cta-quote blockquote {
    color: white;
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.cta-quote cite {
    color: var(--accent-yellow);
}

/* ===== Footer ===== */
.main-footer {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    text-align: center;
}

.footer-logo-link {
    display: inline-block;
    text-decoration: none;
    color: white;
    transition: var(--transition-normal);
}

.footer-logo-link:hover {
    transform: scale(1.03);
}

.footer-logo-link img {
    height: 80px;
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.footer-logo-link p {
    margin: 0.3rem 0;
    color: white;
}

.footer-logo p {
    margin: 0.3rem 0;
}

.footer-location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-logo-link p {
    color: white;
    font-weight: 600;
    transition: var(--transition-normal);
    text-decoration: underline;
}

.footer-logo-link p:hover {
    color: var(--accent-yellow);
    text-decoration: none;
}

.footer-info h4 {
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===== Reveal Animation ===== */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .header-content {
        display: flex;
        align-items: center;
        justify-content: center; /* שונה מ-space-between */
        padding: 0.8rem 2rem;
        max-width: 1400px;
        margin: 0 auto;
        gap: 2rem; /* הוספת רווח בין הלוגו לכותרת */
}

    .logo-link {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .logo {
        height: 38px;
    }

    .header-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    }

    .main-nav {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
    }

    .main-nav a {
        font-size: 0.7rem;
        padding: 0.3rem 0.55rem;
    }

    .title-line {
        font-size: 2.5rem;
    }

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

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

    .timeline::before {
        right: 20px;
    }

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

    .timeline-marker {
        right: 0;
        width: 40px;
        height: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-school {
        font-size: 1rem;
    }

    .hero-quote {
        padding: 1rem;
    }

    .hero-quote blockquote {
        font-size: 1rem;
    }

    .section {
        padding: 3rem 1rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

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

    .reason-card {
        padding: 1.5rem 1rem;
    }

    .card-icon {
        font-size: 2rem;
    }

    .reason-card h3 {
        font-size: 1.1rem;
    }

    .reason-card p {
        font-size: 0.9rem;
    }

    .timeline-content {
        padding: 1.2rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .philosopher-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }

    .requirement-card {
        padding: 1.5rem;
    }

    .requirement-card h3 {
        font-size: 1.2rem;
    }

    .requirement-card li {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

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

    .cta-quote blockquote {
        font-size: 1.1rem;
    }

    .question-tag {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
    }

    .lead-text {
        font-size: 1.1rem;
    }
}

/* ===== Small Screens ===== */
@media (max-width: 480px) {
    .header-content {
        padding: 0.35rem 0.6rem;
        gap: 0.3rem;
    }

    .logo {
        height: 32px;
    }

    .header-title {
        font-size: 0.9rem;
    }

    .main-nav a {
        font-size: 0.6rem;
        padding: 0.2rem 0.45rem;
    }

}

/* ===== Extra Small Screens ===== */
@media (max-width: 360px) {
    .title-line {
        font-size: 1.5rem;
    }

    .header-title {
        font-size: 0.8rem;
    }

    .main-nav a {
        font-size: 0.55rem;
        padding: 0.18rem 0.35rem;
    }

    .logo {
        height: 28px;
    }

    .section-header h2 {
        font-size: 1.4rem;
    }
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 85px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4c542 0%, #e6a700 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(244, 197, 66, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 197, 66, 0.5);
}

.back-to-top span {
    font-size: 1.5rem;
    color: #1a3328;
    font-weight: bold;
}

/* ===== Chatbot Styles ===== */
.chatbot {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1500;
    font-family: 'Heebo', sans-serif;
}

.chatbot-toggle {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
}

.chatbot-icon {
    font-size: 1.6rem;
    transition: var(--transition-normal);
}

.chatbot-window {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 360px;
    max-width: calc(100vw - 40px);
    height: 480px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 18px;
    box-shadow: 0 10px 50px rgba(37, 99, 235, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: var(--transition-normal);
}

.chatbot.active .chatbot-window {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
}

.chatbot-avatar {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.chatbot-title h4 {
    color: white;
    font-size: 1rem;
    margin: 0;
    font-family: 'Heebo', sans-serif;
}

.chatbot-title span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
}

.chatbot-close {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background: #f8fafc;
}

.chat-message {
    max-width: 85%;
    animation: messageSlide 0.3s ease;
}

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

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
}

.message-content {
    padding: 0.6rem 0.8rem;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.chat-message.bot .message-content {
    background: white;
    color: var(--text-dark);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-top-right-radius: 5px;
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-top-left-radius: 5px;
}

.chatbot-input {
    display: flex;
    padding: 0.6rem;
    gap: 0.4rem;
    border-top: 1px solid rgba(37, 99, 235, 0.1);
    background: white;
}

.chatbot-input input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: 'Heebo', sans-serif;
    outline: none;
    transition: var(--transition-normal);
}

.chatbot-input input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chatbot-input button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.chatbot-input button:hover {
    transform: scale(1.05);
}

.chatbot-input button span {
    font-size: 1rem;
    transform: rotate(180deg);
}

/* Typing indicator */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 0.6rem 0.8rem;
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    width: fit-content;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) { animation-delay: 0s; }
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-5px);
    }
}

/* Mobile Chatbot */
@media (max-width: 480px) {
    .chatbot {
        bottom: 15px;
        left: 15px;
    }

    .chatbot-toggle {
        width: 50px;
        height: 50px;
    }

    .chatbot-icon {
        font-size: 1.4rem;
    }

    .chatbot-window {
        width: calc(100vw - 30px);
        height: 420px;
        max-height: calc(100vh - 90px);
        bottom: 65px;
        left: -5px;
        border-radius: 14px;
    }

    .chatbot-header {
        padding: 0.6rem 0.8rem;
    }

    .chatbot-avatar {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .chatbot-title h4 {
        font-size: 0.9rem;
    }

    .chatbot-close {
        width: 24px;
        height: 24px;
        font-size: 1rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 75px;
        left: 15px;
    }
}

/* ===== Mobile Navigation Menu ===== */
@media (max-width: 768px) {
    .main-nav {
        gap: 0.3rem;
    }

    .main-nav a {
        font-size: 0.8rem;
        padding: 0.35rem 0.6rem;
    }
}

/* ===== Mobile Header Center Layout ===== */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        gap: 0.8rem;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .logo-link {
        position: static;
        order: 0;
    }

    .logo-link-left {
        order: 2;
    }

    .logo {
        height: 40px;
    }

    .main-nav {
        position: static;
        width: 100%;
        order: 3;
    }

    .header-title {
        order: 1;
        text-align: center;
        font-size: 1.6rem;
        flex: 1;
    }
    
    .hero {
        padding-top: 140px;
    }
}

/* ===== Improved Touch Targets for Mobile ===== */
@media (max-width: 768px) {
    .gallery-item {
        min-height: 200px;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        background: rgba(26, 92, 58, 0.85);
    }

    .lightbox-close {
        top: 10px;
        left: 10px;
    }

    .lightbox-prev {
        right: 5px;
    }

    .lightbox-next {
        left: 5px;
    }
}

/* ===== Safe Area for Mobile Devices ===== */
@supports (padding: max(0px)) {
    .main-header {
        padding-top: max(0.8rem, env(safe-area-inset-top));
    }

    .main-footer {
        padding-bottom: max(1rem, env(safe-area-inset-bottom));
    }

    .chatbot {
        bottom: max(20px, env(safe-area-inset-bottom));
        left: max(20px, env(safe-area-inset-left));
    }

    .back-to-top {
        bottom: max(85px, calc(65px + env(safe-area-inset-bottom)));
        left: max(20px, env(safe-area-inset-left));
    }
}

/* ===== Print Styles ===== */
@media print {
    .chatbot,
    .philosophy-symbols,
    .hero-overlay {
        display: none;
    }

    .main-header {
        position: relative;
    }

    body::before {
        display: none;
    }
}
