:root {
    --color-primary:rgb(14, 32, 73);
    --color-secondary: #6b7280;
    --color-accent: #3b82f6;
    --color-hover: #4b5563;
    --color-white: #ffffff;
    --color-bg-light: rgba(255, 255, 255, 0.9);
    --color-bg-dark: rgba(0, 91, 187, 0.2);

    --gradient-bg: linear-gradient(-135deg, rgba(177, 211, 239, .2), rgba(177, 211, 239, .8), rgba(177, 211, 239, 1));
    --gradient-icon: linear-gradient(135deg, #007bff, #0056b3);
    --gradient-icon2: linear-gradient(135deg, #007bffa4, #0057b39f);

    --shadow-light: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 15px rgba(0, 0, 0, 0.2);
    --shadow-icon: 0 4px 10px rgba(0, 123, 255, 0.4);
    --shadow-icon2: 0 4px 10px rgba(156, 200, 248, 0.603);

}
::-webkit-scrollbar{
    display: none;

  }
  /* html{
    zoom: 0.8;
  } */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto kufi Arabic', sans-serif;
    direction: rtl;
}

.beginPage {
    background: rgb(254, 244, 233);
    color: var(--color-primary);
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    line-height: 1.6;
    padding-bottom: 200px;
    padding-top: 100px;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    width: 100%;
    padding: 20px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: var(--color-primary);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    padding:50px;
    width: 100%;
    height: 100%;
    flex-direction: row;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2) {
    animation-delay: 0.4s;
}

.card:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* .card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    background: rgba(255, 255, 255, 0.95);
} */

.card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.card:hover::after {
    width: 100%;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 20px;
    background: var(--gradient-icon);
    box-shadow: var(--shadow-icon);
    transition: transform 0.3s ease;
}

.card:hover .icon {
    transform: scale(1.1);
}

.content {
    flex: 1;
    text-align: center;
}

.content h2 {
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    color: var(--color-white);
}

.content p {
    font-size: 16px;
    color: var(--color-white);
    margin-top: 12px;
    line-height: 1.5;
}

.arrow {
    width: 20px;
    height: 20px;
    color: var(--color-hover);
    transition: color 0.3s ease, transform 0.3s ease;
}

.card:hover .arrow {
    color: var(--color-accent);
    transform: translateX(5px);
}

/* .header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    Display-direction:row;
} */
.header {
    display: flex;
    flex-direction: row;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin:auto;
    padding-right: 20%;
    padding-left: 20%;
    padding-top : 10px;
    padding-bottom: 10px;
    position: fixed;
    z-index: 9999;
    align-items: center !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    justify-content: space-between !important;
    border-bottom: 1px solid rgba(149, 26, 73, 0.1);
    /* background: rgb(149, 26, 73); */
    background: rgb(14, 32, 73);
    backdrop-filter: blur(10px);
  }
.header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: var(--shadow-icon);
    transition: transform 0.3s ease;
}
.header h1 {
    font-size: 22px;
    font-weight: 300;
    color: var(--color-white);
    margin: 0;
    line-height: 1.2;

}

.header div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 1;
}

.header p {
    font-size: 18px;
    color: var(--color-secondary);
    margin-top: 12px;
}

.footerPage {
    position:fixed;
    bottom: 0;
    left: 0;
     z-index: 9999;
    width: 100%;
    text-align: center;
    padding: 20px;
    /* background: rgb(149, 26, 73); */
    background: rgb(14, 32, 73);
    border-top: 1px solid rgba(149, 26, 73, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.8s;

}

.las {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
}

.powerBy {
    font-size: 14px;
    color: var(--color-secondary);
    margin-top: 8px;
}

.powerBySpan1 {
    font-weight: 500;
}

.powerBySpan2 {
    font-weight: 600;
    color: var(--color-accent);
}
