:root {
    --primary-color: #1a4b8c; /* More professional deep blue */
    --secondary-color: #e6b800; /* More subtle gold */
    --background-color: #f8f9fa; /* Cleaner background */
    --text-color: #2c3e50; /* Professional dark blue-gray */
    --card-background: #ffffff;
    --accent-color: #c41e3a; /* More subtle accent */
    --success-color: #2e7d32;
    --warning-color: #ed6c02;
    --error-color: #d32f2f;
    --border-radius: 8px; /* Slightly reduced for more professional look */
    --box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    --israel-blue: #0057b7;
    --navbar-bg: #1a4b8c;
    --navbar-text: #ffffff;
    --footer-bg: #1a3b5d;
    --footer-text: #e6e6e6;
}

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

body {
    font-family: 'Rubik', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: linear-gradient(120deg, #f5f9ff 0%, #e6f0ff 100%);
    background-attachment: fixed;
}

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

/* Top Navbar */
.top-navbar {
    background-color: var(--navbar-bg);
    color: var(--navbar-text);
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: var(--navbar-text);
    font-size: 1rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Header Styles */
.main-header {
    background-color: var(--card-background);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: relative;
}

.logo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.central-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo {
    max-height: 130px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-bottom: 0.5rem;
}

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

.site-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Main Navigation */
.main-navigation {
    background-color: var(--navbar-bg);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

.nav-item a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-item a:hover,
.nav-item.active a {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--secondary-color);
    border-radius: 1px;
}

/* Israel Flag and 76 styling */
.israel-flag-container {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.israel-flag {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.israel-flag img {
    height: 60px;
    width: auto;
    object-fit: contain;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.israel-flag img:hover {
    transform: scale(1.1);
}

.anniversary-number {
    position: absolute;
    bottom: -25px;
    left: 30%;
    transform: translateX(-50%);
    background-color: var(--israel-blue);
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

/* Solidarity ribbon styling */
.ribbon-container {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solidarity-ribbon {
    height: 80px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.solidarity-ribbon:hover {
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    padding-top: 2rem;
    padding-bottom: 3rem;
    background: linear-gradient(135deg, #1565c0, #0d47a1);
    color: white;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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.05'%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");
    opacity: 0.3;
}

.info-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.welcome-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 0.8s ease-out;
    line-height: 1.2;
}

.welcome-message {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 1s ease-out 0.3s both;
}

.primary-text {
    font-size: 1.4rem;
    font-weight: 500;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
}

.secondary-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.highlight-text {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 1rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    animation: pulse 2s infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Services Grid */
.services-grid {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
}

.services-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(228, 241, 254, 1) 0%, rgba(245, 249, 255, 0) 100%);
    z-index: -1;
}

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

.service-card {
    background-color: var(--card-background);
    padding: 0;
    border-radius: var(--border-radius);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.service-card h3 {
    color: var(--primary-color);
    margin: 0 0 0.8rem 0;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
}

.service-card h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.service-card p {
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    line-height: 1.5;
}

.benefit-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .benefit-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 1.8rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.location-info {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #666;
    font-size: 0.95rem;
}

.location-icon {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Add a ribbon for special offers */
.service-card.special-offer::before {
    content: 'המלצת היום';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    z-index: 10;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Footer */
.main-footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo-img {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--footer-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.2rem;
}

.footer-social .social-icon {
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Media Queries */
@media (max-width: 768px) {
    .logo-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0;
    }

    .israel-flag-container {
        order: 1;
        width: auto;
        display: flex;
        justify-content: center;
        padding: 0.3rem 0;
    }

    .israel-flag {
        transform: scale(0.7);
    }

    .israel-flag img {
        height: 35px;
    }

    .anniversary-number {
        font-size: 18px;
        width: 30px;
        height: 30px;
    }

    .central-logo {
        order: 2;
        width: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.3rem;
    }

    .logo {
        max-height: 60px;
        margin: 0;
    }

    .site-title {
        font-size: 1.3rem;
        margin: 0;
    }

    .ribbon-container {
        order: 3;
        width: auto;
        display: flex;
        justify-content: center;
        padding: 0.3rem 0;
    }

    .solidarity-ribbon {
        height: 40px;
    }

    .hero-section {
        padding: 1rem 0;
    }

    .info-box {
        padding: 1.2rem;
    }

    .welcome-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .welcome-message {
        gap: 0.8rem;
    }

    .primary-text {
        font-size: 1rem;
    }

    .secondary-text {
        font-size: 0.9rem;
    }

    .highlight-text {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }
}

@media (max-width: 480px) {
    .logo-banner {
        gap: 0.3rem;
    }

    .israel-flag {
        transform: scale(0.6);
    }

    .israel-flag img {
        height: 30px;
    }

    .anniversary-number {
        font-size: 16px;
        width: 25px;
        height: 25px;
    }

    .logo {
        max-height: 50px;
    }

    .site-title {
        font-size: 1.1rem;
    }

    .solidarity-ribbon {
        height: 35px;
    }

    .welcome-title {
        font-size: 1.3rem;
    }

    .primary-text {
        font-size: 0.95rem;
    }

    .secondary-text {
        font-size: 0.85rem;
    }

    .highlight-text {
        font-size: 0.9rem;
        padding: 0.3rem 1rem;
    }
}

/* Add all other existing styles from your CSS file below */

/* Benefits Section */
.benefits-section {
    padding: 3rem 0;
    background-color: var(--background-color);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

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

.benefit-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: default;
}

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

.benefit-image {
    height: 180px;
    overflow: hidden;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.benefit-card:hover .benefit-image img {
    transform: scale(1.1);
}

.benefit-content {
    padding: 1.2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.benefit-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.subtitle {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin-bottom: 0.8rem;
}

.benefit-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.card-btn {
    margin-top: auto;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    align-self: center;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    min-width: 120px;
}

.card-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #555;
}

.benefit-card.special-offer::before {
    content: 'המלצת היום';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--accent-color);
    color: white;
    padding: 5px 40px;
    transform: rotate(45deg);
    z-index: 10;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Verification Section */
.verification-section {
    padding: 2rem 0;
    background-color: #f8f9fa;
    margin-bottom: 3rem;
}

.verification-box {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    margin: 0 auto;
}

.verification-box h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.verification-box p {
    color: #666;
    margin-bottom: 1.5rem;
}

.verify-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.verify-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background-color: white;
    margin: 7% auto;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 550px;
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.close-btn {
    position: absolute;
    left: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: #aaa;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #333;
    background-color: #f0f0f0;
}

.modal-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.8rem;
    text-align: right;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background-color: #f9f9f9;
}

.form-group input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(21, 101, 192, 0.1);
    background-color: #fff;
}

.form-hint {
    display: block;
    color: #777;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    width: 100%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(21, 101, 192, 0.3);
}

.submit-btn:hover {
    background-color: #0d47a1;
    box-shadow: 0 6px 12px rgba(21, 101, 192, 0.4);
    transform: translateY(-2px);
}

/* Cinema Selection Modal */
.cinema-selection {
    text-align: center;
}

.cinema-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.cinema-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    width: 160px;
    background-color: #f8f9fa;
    padding: 1.5rem 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cinema-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.cinema-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cinema-btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cinema-btn span {
    font-weight: 500;
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fireworks Animation */
.fireworks-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    animation: fadeInOut 5s ease-in-out forwards;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    5% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; }
}

.firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 0 0 40px 20px #fff, 0 0 100px 50px #ff0;
    opacity: 0;
    transform-origin: center;
}

#firework1 {
    top: 30%;
    left: 20%;
    background: #0057b7;
    animation: firework1 2s ease-in-out 0.5s forwards;
}

#firework2 {
    top: 40%;
    left: 60%;
    background: #ff0;
    animation: firework2 2s ease-in-out 1s forwards;
}

#firework3 {
    top: 70%;
    left: 40%;
    background: #0057b7;
    animation: firework3 2s ease-in-out 1.5s forwards;
}

#firework4 {
    top: 20%;
    left: 80%;
    background: #ff0;
    animation: firework4 2s ease-in-out 2s forwards;
}

#firework5 {
    top: 50%;
    left: 10%;
    background: #0057b7;
    animation: firework5 2s ease-in-out 2.5s forwards;
}

#firework6 {
    top: 80%;
    left: 70%;
    background: #ff0;
    animation: firework6 2s ease-in-out 3s forwards;
}

#firework7 {
    top: 60%;
    left: 30%;
    background: #0057b7;
    animation: firework7 2s ease-in-out 3.5s forwards;
}

#firework8 {
    top: 10%;
    left: 50%;
    background: #ff0;
    animation: firework8 2s ease-in-out 4s forwards;
}

@keyframes firework1 {
    0% { transform: scale(0.1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

@keyframes firework2 {
    0% { transform: scale(0.1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes firework3 {
    0% { transform: scale(0.1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(2.2); opacity: 0; }
}

@keyframes firework4 {
    0% { transform: scale(0.1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

@keyframes firework5 {
    0% { transform: scale(0.1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes firework6 {
    0% { transform: scale(0.1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.7); opacity: 0; }
}

@keyframes firework7 {
    0% { transform: scale(0.1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(2.3); opacity: 0; }
}

@keyframes firework8 {
    0% { transform: scale(0.1); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1.9); opacity: 0; }
}

.random-firework {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 0 0 40px 20px #fff, 0 0 100px 50px #ff0;
    opacity: 0;
    transform-origin: center;
}

/* Confetti Animation */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.confetti {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    animation: fallAndFade 3s ease-out forwards;
    opacity: 0;
    user-select: none;
}

@keyframes fallAndFade {
    0% {
        transform: translateY(-10vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Contact Panel */
.contact-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-out;
}

.contact-panel-content {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.4s ease-out;
}

.contact-panel-header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-panel-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.close-contact-panel {
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-contact-panel:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.contact-panel-body {
    padding: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.contact-info-item:nth-child(1) { animation-delay: 0.1s; }
.contact-info-item:nth-child(2) { animation-delay: 0.2s; }
.contact-info-item:nth-child(3) { animation-delay: 0.3s; }

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: rgba(21, 101, 192, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.contact-info-text h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.contact-info-text p {
    margin: 0;
    color: var(--text-color);
}

.contact-info-text a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-text a:hover {
    color: var(--primary-color);
}

.social-contact {
    margin-top: 2rem;
    animation: fadeInUp 0.5s ease-out 0.4s forwards;
    opacity: 0;
    text-align: center;
}

.social-contact h4 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons .social-icon {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icons .social-icon:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-panel-content {
        width: 95%;
    }
    
    .contact-panel-body {
        padding: 1.5rem;
    }
}

/* About Panel Styling */
.about-content {
    max-width: 650px;
    padding: 2.5rem;
}

.about-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 0.8rem;
}

.about-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.about-body {
    text-align: right;
    line-height: 1.7;
}

.about-text {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease-out forwards;
}

.about-text:nth-child(1) { animation-delay: 0.1s; }
.about-text:nth-child(2) { animation-delay: 0.2s; }
.about-text:nth-child(3) { animation-delay: 0.3s; }
.about-text:nth-child(4) { animation-delay: 0.4s; }
.about-text:nth-child(5) { animation-delay: 0.5s; }

.about-text.emphasis {
    color: var(--primary-color);
    font-weight: 500;
    padding: 1rem;
    background-color: rgba(21, 101, 192, 0.05);
    border-right: 3px solid var(--primary-color);
    border-radius: 0 5px 5px 0;
}

.about-text.tagline {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .about-content {
        padding: 2rem 1.5rem;
    }
    
    .about-header h3 {
        font-size: 1.6rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .about-text.tagline {
        font-size: 1.2rem;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .primary-text {
        font-size: 1.2rem;
    }

    .secondary-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .top-navbar-content {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.5rem 0;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .logo-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .israel-flag-container,
    .ribbon-container {
        width: auto;
    }

    .central-logo {
        width: auto;
    }

    .logo {
        max-height: 100px;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-item a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 1.5rem 0;
    }

    .info-box {
        padding: 1.5rem;
    }

    .welcome-title {
        font-size: 1.8rem;
    }

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

    .highlight-text {
        font-size: 1.1rem;
        padding: 0.5rem 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .benefit-card {
        max-width: 100%;
    }

    .benefit-image {
        height: 160px;
    }

    .benefit-content {
        padding: 1rem;
    }

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

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

    .subtitle {
        font-size: 0.8rem;
    }

    .card-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
        min-width: 100px;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
        margin: 5% auto;
    }

    .form-group input {
        padding: 0.8rem;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-links ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .footer-contact p {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .top-navbar {
        font-size: 0.8rem;
    }

    .social-icon {
        width: 24px;
        height: 24px;
        font-size: 0.9rem;
    }

    .logo {
        max-height: 80px;
    }

    .site-title {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 0.3rem;
    }

    .nav-item a {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .primary-text {
        font-size: 1rem;
    }

    .highlight-text {
        font-size: 1rem;
        padding: 0.4rem 1.2rem;
    }

    .benefit-image {
        height: 140px;
    }

    .benefit-content {
        padding: 0.8rem;
    }

    .benefit-card h3 {
        font-size: 1rem;
    }

    .benefit-card p {
        font-size: 0.85rem;
    }

    .subtitle {
        font-size: 0.75rem;
    }

    .card-btn {
        padding: 0.3rem 0.7rem;
        font-size: 0.8rem;
        min-width: 90px;
    }

    .modal-content {
        padding: 1.2rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }

    .form-group input {
        padding: 0.7rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .footer-links h3,
    .footer-contact h3 {
        font-size: 1.1rem;
    }

    .footer-links ul li a {
        font-size: 0.9rem;
    }

    .footer-contact p {
        font-size: 0.9rem;
    }

    .footer-social .social-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    .hero-section,
    .modal,
    .contact-panel {
        min-height: -webkit-fill-available;
    }
}

/* Touch device optimizations */
@media (hover: none) {
    .benefit-card:hover {
        transform: none;
    }

    .card-btn:hover {
        transform: none;
    }

    .nav-item a:hover {
        background-color: transparent;
    }

    .social-icon:hover {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0000ff;
        --secondary-color: #ffff00;
        --text-color: #000000;
        --background-color: #ffffff;
    }

    .benefit-card,
    .modal-content,
    .contact-panel-content {
        border: 2px solid #000000;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
