* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a1172;
    --secondary-color: #1565c0;
    --accent-color: #ffd700;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.15);
    --royal-blue-dark: #001a4d;
    --royal-blue: #003d99;
}

body {
    font-family: 'Heebo', sans-serif;
    direction: rtl;
    overflow-x: hidden;
    background: linear-gradient(180deg, #001a4d, #000d26);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 26, 77, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.logo {
    z-index: 10;
}

.nav-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.donate-btn-nav {
    z-index: 10;
}

.logo img {
    height: 60px;
    width: 60px;
    object-fit: cover;
    border-radius: 50%;
    clip-path: circle(43% at 50% 48%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6),
                0 0 35px rgba(255, 215, 0, 0.4),
                0 0 50px rgba(255, 215, 0, 0.2);
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6),
                    0 0 35px rgba(255, 215, 0, 0.4),
                    0 0 50px rgba(255, 215, 0, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.9),
                    0 0 50px rgba(255, 215, 0, 0.7),
                    0 0 70px rgba(255, 215, 0, 0.5);
        transform: scale(1.05);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.donate-btn-nav {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(21, 101, 192, 0.4);
}

.donate-btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.6);
    background: linear-gradient(135deg, #1976d2, #1565c0);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 26, 77, 0.9), rgba(0, 61, 153, 0.85));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-light);
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(28px, 8vw, 80px);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
    animation: slideDown 1s ease-out;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(16px, 4vw, 32px);
    font-weight: 400;
    margin-bottom: 15px;
    animation: slideDown 1.2s ease-out;
    line-height: 1.3;
}

.hero-description {
    font-size: clamp(14px, 3vw, 24px);
    margin-bottom: 40px;
    opacity: 0.95;
    animation: slideDown 1.4s ease-out;
    line-height: 1.4;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.donate-btn-hero {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    padding: 22px 80px;
    border-radius: 60px;
    font-size: 26px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.5);
    display: inline-block;
    white-space: nowrap;
    text-align: center;
    min-width: 350px;
    animation: pulse 2s infinite;
}

.donate-btn-hero:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.7);
    background: linear-gradient(135deg, #1976d2, #1565c0);
    border-color: rgba(255, 255, 255, 0.5);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(21, 101, 192, 0.5);
    }
    50% {
        box-shadow: 0 10px 40px rgba(21, 101, 192, 0.7);
    }
}

/* Hero Video */
.hero-video {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    width: 280px;
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.video-wrapper {
    position: relative;
}

.video-wrapper video {
    width: 100%;
    display: block;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: all 0.3s;
}

.video-wrapper video:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #001a4d, #000d26);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 180px 180px 280px;
    grid-template-rows: 180px 180px;
    gap: 15px;
    margin-top: 50px;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 215, 0, 0.4);
}

.gallery-item-tall {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.gallery-item-regular {
    /* תמונות רגילות תופסות תא אחד */
}

.gallery-item:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}

.gallery-item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.gallery-item:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}

.gallery-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

.gallery-item:nth-child(5) {
    grid-column: 3;
    grid-row: 1 / 3;
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 26, 77, 0.95) 0%, rgba(0, 61, 153, 0.8) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent-color);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.gallery-content p {
    font-size: 14px;
    line-height: 1.5;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Donation Modal */
.donation-modal {
    display: none;
    position: fixed;
    z-index: 2001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 13, 38, 0.95);
    backdrop-filter: blur(10px);
    overflow-y: scroll;
    overflow-x: hidden;
}

.donation-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.donation-modal-content {
    background: linear-gradient(135deg, #001a4d, #000d26);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 40px 30px 30px 30px;
    max-width: 950px;
    width: 95%;
    max-height: none;
    position: relative;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.4s ease-out;
    overflow: visible;
}

.donation-mini-title {
    position: absolute;
    top: 20px;
    right: 70px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
}

.donation-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 36px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

.donation-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.5);
}

.donation-iframe-container {
    width: 100%;
    height: auto;
    min-height: 2000px;
    border-radius: 15px;
    overflow: visible;
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    margin: 20px 0;
}

.donation-iframe-container iframe {
    width: 100%;
    height: 4000px;
    border: none;
    display: block;
    overflow: hidden;
    pointer-events: auto;
}

.donation-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.donation-footer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Prayer Modal */
.prayer-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 13, 38, 0.95);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.prayer-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s;
}

.prayer-modal-content {
    background: linear-gradient(135deg, #001a4d, #000d26);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    padding: 50px;
    max-width: 1200px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.prayer-modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.prayer-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
    border-color: rgba(255, 255, 255, 0.5);
}

.modal-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.modal-subtitle {
    text-align: center;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.prayer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
}

.prayer-video {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s;
}

.prayer-video:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.prayer-video video {
    width: 100%;
    display: block;
}

.prayer-gallery {
    display: flex;
    justify-content: center;
}

.prayer-slideshow {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.prayer-slide {
    display: none;
    width: 100%;
}

.prayer-slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.prayer-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.prayer-prev,
.prayer-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 26, 77, 0.8);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s;
    z-index: 10;
}

.prayer-prev:hover,
.prayer-next:hover {
    background: rgba(21, 101, 192, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.prayer-prev {
    right: 15px;
}

.prayer-next {
    left: 15px;
}

.prayer-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.prayer-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s;
}

.prayer-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.prayer-dot.active {
    background: #1565c0;
    border-color: white;
    transform: scale(1.3);
}

/* Stats Section */
.stats-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #000d26, #001a4d, #003d99);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    font-weight: 500;
}

/* About Section */
.about-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #000d26, #001a4d);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: white;
    margin-bottom: 40px;
    position: relative;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #1565c0, #0d47a1);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(21, 101, 192, 0.5);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    margin-top: -20px;
}

.about-content {
    display: block;
    max-width: 900px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 28px;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.about-preview {
    position: relative;
    max-height: 150px;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}

.about-preview.expanded {
    max-height: none;
}

.fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(0, 26, 77, 0.95) 70%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 10px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.about-preview.expanded .fade-overlay {
    display: none;
}

.read-more-inline {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
    display: inline-block;
}

.read-more-inline:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(21, 101, 192, 0.5);
}

.about-full {
    display: none;
    animation: fadeIn 0.5s;
}

.about-full.expanded {
    display: block;
}

.quote {
    font-size: 24px;
    font-weight: 600;
    color: white;
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.3), rgba(13, 71, 161, 0.2));
    border-radius: 15px;
    border-right: 5px solid #1565c0;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.read-more-btn {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(21, 101, 192, 0.4);
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.6);
    background: linear-gradient(135deg, #1976d2, #1565c0);
    border-color: rgba(255, 255, 255, 0.5);
}

.about-images {
    position: sticky;
    top: 120px;
}

.image-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.image-card img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

/* Donation Section */
.donation-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #001a4d, #000d26);
}

.donation-card {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.2), rgba(13, 71, 161, 0.15));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.donation-card h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.donation-card > p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

.donation-amounts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.amount-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 20px;
    border-radius: 15px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.amount-btn:hover,
.amount-btn.selected {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(21, 101, 192, 0.5);
}

.custom-amount {
    grid-column: 1 / -1;
    padding: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 15px;
    font-size: 20px;
    text-align: center;
    font-family: 'Heebo', sans-serif;
}

.custom-amount::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.donate-btn-main {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    padding: 25px 60px;
    border-radius: 50px;
    font-size: 28px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.5);
    margin-top: 30px;
    width: 100%;
}

.donate-btn-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.7);
    background: linear-gradient(135deg, #1976d2, #1565c0);
    border-color: rgba(255, 255, 255, 0.5);
}

.tax-note {
    margin-top: 30px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: linear-gradient(180deg, #000d26, #001a4d);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.2), rgba(13, 71, 161, 0.15));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-icon {
    font-size: 40px;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
}

.contact-item h4 {
    font-size: 20px;
    color: white;
    margin-bottom: 5px;
}

.contact-item p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.3), rgba(13, 71, 161, 0.2));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.5);
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 18px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Heebo', sans-serif;
    background: rgba(255, 255, 255, 0.95);
}

.contact-form button {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 18px;
    border-radius: 10px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.6);
    background: linear-gradient(135deg, #1976d2, #1565c0);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #001a4d, #000d26);
    color: white;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-logo img {
    height: 100px;
    width: 100px;
    object-fit: cover;
    border-radius: 50%;
    clip-path: circle(43% at 50% 48%);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.7),
                0 0 40px rgba(255, 215, 0, 0.5),
                0 0 60px rgba(255, 215, 0, 0.3);
    animation: logoGlow 3s ease-in-out infinite;
}

.footer-logo > p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
}

.footer-text p {
    font-size: 16px;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: nowrap;
        padding: 8px 10px;
        gap: 8px;
        justify-content: space-between;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo img {
        height: 45px;
        max-width: 120px;
    }
    
    .donate-btn-nav {
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    .nav-menu {
        position: static;
        transform: none;
        flex: 1;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu li {
        flex-shrink: 0;
    }
    
    .nav-menu li a {
        padding: 5px 8px;
        font-size: 11px;
        white-space: nowrap;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-item {
        padding: 20px;
    }
    
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .navbar {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .logo img {
        height: 45px;
        max-width: 120px;
    }
    
    .donate-btn-nav {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-menu li a {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    .footer-logo img {
        height: 80px;
        max-width: 200px;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .contact-info,
    .contact-form {
        width: 100%;
    }
    
    .contact-item {
        padding: 15px;
        gap: 15px;
        flex-direction: row;
        align-items: center;
    }
    
    .contact-icon {
        font-size: 28px;
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    
    .contact-item h4 {
        font-size: 16px;
    }
    
    .contact-item p {
        font-size: 14px;
        word-break: break-word;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .contact-form button {
        padding: 14px;
        font-size: 16px;
    }
    
    .hero-video {
        position: static;
        width: 100%;
        max-width: 280px;
        margin: 30px auto 0;
        display: block;
    }
    
    .hero-content {
        position: relative;
        margin-bottom: 0;
        padding-top: 80px;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 20px 0;
    }
}
    
    .video-wrapper {
        padding: 10px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item-tall,
    .gallery-item-regular {
        grid-column: 1;
        grid-row: auto;
        border-radius: 25px 10px 25px 10px;
    }
    
    .gallery-image {
        min-height: 220px;
    }
    
    .gallery-item-tall .gallery-image {
        min-height: 220px;
    }
    
    .gallery-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 26, 77, 0.9) 0%, rgba(0, 61, 153, 0.6) 40%, transparent 100%);
    }
    
    .gallery-content {
        transform: translateY(0);
        padding: 20px;
    }
    
    .gallery-content h3 {
        font-size: 22px;
    }
    
    .gallery-content p {
        font-size: 14px;
    }
    
    .donation-modal-content {
        padding: 60px 15px 20px 15px;
        width: 95%;
        max-height: 95vh;
        overflow-y: auto;
        border-radius: 20px;
    }
    
    .donation-iframe-container {
        min-height: 700px;
        border-radius: 10px;
    }
    
    .donation-iframe-container iframe {
        height: 1000px;
    }
    
    .donation-footer p {
        font-size: 12px;
    }
    
    .donation-modal-close {
        top: 10px;
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
    
    .donation-iframe-container {
        height: 60vh;
        max-height: 450px;
    }
    
    .prayer-modal-content {
        padding: 30px 20px;
        width: 95%;
        max-height: 95vh;
    }
    
    .prayer-modal-close {
        top: 10px;
        left: 10px;
        width: 45px;
        height: 45px;
        font-size: 30px;
    }
    
    .modal-title {
        font-size: 28px;
        margin-top: 40px;
    }
    
    .modal-subtitle {
        font-size: 16px;
    }
    
    .prayer-slide img {
        height: 250px;
    }
    
    .prayer-content-single {
        max-width: 100%;
    }
    
    .prayer-prev,
    .prayer-next {
        padding: 10px 15px;
        font-size: 18px;
    }
    
    .prayer-prev {
        right: 10px;
    }
    
    .prayer-next {
        left: 10px;
    }
    
    .prayer-dots {
        bottom: 15px;
    }
    
    .prayer-dot {
        width: 12px;
        height: 12px;
    }
    
    .donation-amounts {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}


/* Floating Donate Button */
.floating-donate-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(21, 101, 192, 0.5);
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-donate-btn:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 35px rgba(21, 101, 192, 0.8);
    background: linear-gradient(135deg, #0d47a1, #1565c0);
}

.floating-btn-icon {
    font-size: 24px;
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 25px rgba(21, 101, 192, 0.5);
    }
    50% {
        box-shadow: 0 8px 35px rgba(21, 101, 192, 0.8);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Donation Options Grid */
.donation-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.donation-option-card {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.1), rgba(13, 71, 161, 0.05));
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: popIn 0.6s ease-out forwards;
}

.donation-option-card:nth-child(1) {
    animation-delay: 0.1s;
}

.donation-option-card:nth-child(2) {
    animation-delay: 0.3s;
}

.donation-option-card:nth-child(3) {
    animation-delay: 0.5s;
}

.donation-option-card:nth-child(4) {
    animation-delay: 0.7s;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    60% {
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.donation-option-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.5);
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.2), rgba(13, 71, 161, 0.1));
}

.donation-icon {
    font-size: 45px;
    margin-bottom: 15px;
}

/* Candle Animation */
.candle-container {
    position: relative;
    width: 60px;
    height: 80px;
    margin: 0 auto 20px;
}

.candle-flame {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    background: linear-gradient(to top, 
        rgba(255, 165, 0, 1) 0%,
        rgba(255, 200, 0, 1) 30%,
        rgba(255, 220, 100, 0.9) 60%,
        rgba(255, 255, 200, 0.7) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    box-shadow: 
        0 0 20px rgba(255, 165, 0, 0.8),
        0 0 40px rgba(255, 165, 0, 0.6),
        0 0 60px rgba(255, 165, 0, 0.4);
    animation: flameFlicker 2s infinite, flameSway 3s infinite;
}

.candle-flame::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 15px;
    background: linear-gradient(to top, 
        rgba(255, 255, 100, 0.9) 0%,
        rgba(255, 255, 200, 0.7) 50%,
        rgba(255, 255, 255, 0.5) 100%);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.candle-body {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.9) 0%,
        rgba(240, 240, 240, 0.9) 50%,
        rgba(220, 220, 220, 0.9) 100%);
    border-radius: 5px 5px 3px 3px;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.1),
        0 2px 10px rgba(0, 0, 0, 0.2);
}

.candle-body::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: linear-gradient(to bottom, 
        rgba(50, 50, 50, 0.8) 0%,
        rgba(100, 100, 100, 0.6) 100%);
    border-radius: 1px;
}

.candle-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 10px;
    background: linear-gradient(to bottom, 
        rgba(200, 200, 200, 0.9) 0%,
        rgba(180, 180, 180, 0.9) 100%);
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

@keyframes flameFlicker {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        opacity: 1;
    }
    25% {
        transform: translateX(-50%) scale(1.05, 0.95);
        opacity: 0.95;
    }
    50% {
        transform: translateX(-50%) scale(0.95, 1.05);
        opacity: 1;
    }
    75% {
        transform: translateX(-50%) scale(1.02, 0.98);
        opacity: 0.97;
    }
}

@keyframes flameSway {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
    }
    25% {
        transform: translateX(-48%) rotate(-2deg);
    }
    75% {
        transform: translateX(-52%) rotate(2deg);
    }
}

.donation-option-card h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.donation-price {
    font-size: 36px;
    font-weight: 800;
    color: #ffd700;
    margin: 15px 0;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
}

.donation-option-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.donation-select-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.donation-select-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* Donation Details Modal Form */
.donation-details-form {
    padding: 20px 0;
}

.donation-details-form .form-group {
    margin-bottom: 20px;
}

.donation-details-form label {
    display: block;
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.donation-details-form input[type="text"],
.donation-details-form input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
}

.donation-details-form input[type="text"]:focus,
.donation-details-form input[type="number"]:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.donation-details-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.other-amount-options {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.amount-option-btn {
    flex: 1;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.amount-option-btn:hover,
.amount-option-btn.active {
    background: #ffd700;
    color: #001a4d;
    border-color: #ffd700;
    transform: scale(1.05);
}

.donation-summary {
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
    text-align: center;
}

.donation-summary p {
    color: white;
    font-size: 20px;
    margin: 0;
}

.donation-summary span {
    color: #ffd700;
    font-size: 28px;
    font-weight: 800;
}

/* Gemara Classes Section */
.gemara-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #001a4d, #000d26);
}

.gemara-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gemara-card {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.15), rgba(13, 71, 161, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.gemara-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.gemara-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.gemara-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gemara-card:hover .gemara-image img {
    transform: scale(1.1);
}

.gemara-content {
    padding: 25px;
}

.gemara-content h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.gemara-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.gemara-time {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Events Section */
.events-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #000d26, #001a4d);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.event-card {
    background: linear-gradient(135deg, rgba(21, 101, 192, 0.15), rgba(13, 71, 161, 0.1));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(21, 101, 192, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 700;
}

.event-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.event-date {
    display: inline-block;
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
    border: 1px solid rgba(255, 215, 0, 0.4);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Mobile Responsive for new sections */
@media (max-width: 768px) {
    .floating-donate-btn {
        padding: 12px 20px;
        font-size: 16px;
        bottom: 15px;
    }
    
    .floating-btn-icon {
        font-size: 20px;
    }
    
    .donation-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .donation-option-card {
        padding: 20px 15px;
    }
    
    .donation-option-card h3 {
        font-size: 18px;
    }
    
    .donation-price {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .donation-options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .donation-icon {
        font-size: 50px;
    }
    
    .donation-price {
        font-size: 28px;
    }
    
    .gemara-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* Compact Form Styles */
.form-group-compact {
    margin-bottom: 12px;
}

.form-group-compact input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
}

.form-group-compact input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.form-group-compact input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-row-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.form-row-compact input {
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s;
}

.form-row-compact input:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.form-row-compact input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.other-amount-options-compact {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.amount-option-btn-compact {
    flex: 1;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.amount-option-btn-compact:hover,
.amount-option-btn-compact.active {
    background: #ffd700;
    color: #001a4d;
    border-color: #ffd700;
}

.other-amount-options-compact input[type="number"] {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
}

.other-amount-options-compact input[type="number"]:focus {
    outline: none;
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.15);
}

.other-amount-options-compact input[type="number"]::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.donation-summary-compact {
    background: rgba(255, 215, 0, 0.15);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 10px;
    padding: 12px 20px;
    margin: 15px 0;
    text-align: center;
    font-size: 18px;
    color: white;
}

.donation-summary-compact .amount-display {
    color: #ffd700;
    font-size: 24px;
    font-weight: 800;
    margin-right: 8px;
}

.donate-btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
}

.donate-btn-submit:hover {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(21, 101, 192, 0.5);
}

.donation-details-form {
    padding: 15px 0;
}

/* Mobile adjustments for compact form */
@media (max-width: 768px) {
    .form-row-compact {
        grid-template-columns: 1fr;
    }
    
    .other-amount-options-compact {
        flex-direction: column;
    }
    
    .donation-summary-compact {
        font-size: 16px;
    }
    
    .donation-summary-compact .amount-display {
        font-size: 20px;
    }
}


/* Mobile adjustments for candle */
@media (max-width: 768px) {
    .candle-container {
        width: 50px;
        height: 70px;
    }
    
    .candle-flame {
        width: 18px;
        height: 25px;
        top: -18px;
    }
    
    .candle-body {
        width: 25px;
        height: 45px;
    }
    
    .candle-base {
        width: 35px;
        height: 8px;
    }
}


/* Donation Form Styles */
.donation-modal-wide {
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-subtitle {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin: -10px 0 25px 0;
}

.form-section {
    background: #f0f4f8;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-right: 5px solid #1565c0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.form-section-title {
    color: #1565c0;
    font-size: 19px;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.form-note {
    color: #666;
    font-size: 13px;
    margin: 5px 0 15px 0;
    font-style: italic;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 14px;
}

/* הדגשה חזותית לשדות ריקים */
.form-group input:invalid:not(:placeholder-shown) {
    border-color: #ff9800;
}

.form-group input:valid:not(:placeholder-shown) {
    border-color: #4caf50;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #bbb;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    font-family: inherit;
    background: white;
    color: #333;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
    opacity: 1;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1565c0;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.15), inset 0 1px 3px rgba(0,0,0,0.1);
    background: #fff;
}

.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: #4caf50;
    background: #f0fff4;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* שיפור נראות התוויות */
.form-group label {
    font-weight: 600;
    color: #1565c0;
    margin-bottom: 8px;
    font-size: 15px;
    display: block;
}

.amount-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.amount-option-btn {
    padding: 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s;
}

.amount-option-btn:hover {
    border-color: #1565c0;
    background: #f0f7ff;
    transform: translateY(-2px);
}

.amount-option-btn.active {
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border-color: #1565c0;
}

.donation-summary {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 18px;
    margin-top: 15px;
}

.donation-summary .amount-display {
    font-size: 32px;
    font-weight: bold;
    display: block;
    margin-top: 5px;
}

.donate-btn-submit {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.donate-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(21, 101, 192, 0.4);
}

.form-note {
    text-align: center;
    color: #666;
    font-size: 13px;
    margin-top: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .donation-modal-wide {
        max-width: 95%;
        margin: 20px auto;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .amount-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-section {
        padding: 15px;
    }
}
