/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    min-height: 100vh;
    direction: rtl;
}

/* Container */
.container {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

/* Background and overlay */
.background {
    position: absolute;
    inset: 0;
    background-image: url("Images/background.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)); */
    /* backdrop-filter: blur(4px); */
}

/* Main content */
main {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Logo section */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.logo-box {
    /* background-color: #ffff; */
    /* backdrop-filter: blur(4px); */
    padding: 1rem;
    /* border-radius: 0.5rem; */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    text-align: center;
}

.logo-box svg {
    width: 64px;
    height: 64px;
    color: #1f2937;
}

.logo-box h1 {
    margin-top: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

/* Cards section */
.cards-container {
    max-width: 37rem;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Card styles */
.card {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 231px;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    width: 267px;;
}

.card:hover {
    border-color: #059669;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.card svg {
    width: 64px;
    height: 64px;
    color: #059669;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.card:hover svg {
    transform: scale(1.1);
}

.card-content {
    text-align: center;
}

.card-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #059669;
}