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

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    background-color: #3E5B74;
    background-image: url('assests/backgorund.png');
    background-position: 50%;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, #3E5B74 0.32%, rgba(255, 255, 255, 0.50) 105.13%);
    z-index: 0;
    pointer-events: none;
}

/* Header */
.header {
    padding: 15px 40px;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

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

.logo img {
    height: 48px;
    width: auto;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1;
    padding: 5px 20px;
    min-height: 0;
    overflow: hidden;
}

/* Center Illustration */
.center-illustration {
    position: relative;
    z-index: 3;
    text-align: center;
    margin-bottom: 10px;
}

.center-illustration img {
    max-width: 100%;
    max-height: 30vh;
    height: auto;
    object-fit: contain;
}

/* Info Section */
.info-section {
    text-align: center;
    margin-top: 10px;
    z-index: 5;
    position: relative;
}

.info-title {
    color: #263238;
    text-align: center;
    font-family: "Noto Kufi Arabic", "Inter", sans-serif;
    font-size: clamp(18px, 2.5vw, 30px);
    font-style: normal;
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    /* max-width: 1275px; */
    flex-direction: column;
    justify-content: center;
    margin: 0 auto 10px auto;
    /* padding: 0 20px; */
}

.info-text {
    color: #41535C;
    text-align: center;
    font-family: "Noto Kufi Arabic", "Inter", sans-serif;
    font-size: clamp(14px, 1.8vw, 21.632px);
    font-style: normal;
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    max-width: 757px;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto 15px auto;
    padding: 0 20px;
}

/* Portal Button */
.portal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #3E5B74;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(62, 91, 116, 0.3);
}

.portal-button svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.portal-button span {
    color: #FFF;
    font-family: "Noto Kufi Arabic", "Inter", sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.portal-button:hover {
    background-color: #2C4A5E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(62, 91, 116, 0.4);
}

/* Bottom Clouds */
.bottom-clouds {
    display: none;
}

.cloud {
    position: absolute;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 100px 100px 0 0;
}

.cloud-1 {
    left: -50px;
    width: 400px;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
}

.cloud-2 {
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 80px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.2));
}

.cloud-3 {
    right: -50px;
    width: 450px;
    height: 90px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.3));
}

/* Responsive */
/* Localization */
.lang-ar {
    display: none !important;
    direction: rtl;
}

.lang-en {
    display: inline !important;
}

body.rtl .lang-ar {
    display: inline !important;
}

body.rtl .lang-en {
    display: none !important;
}

body.rtl .info-title,
body.rtl .info-text {
    direction: rtl;
}

/* Language Switcher */
.lang-switcher {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lang-btn {
    background: none;
    border: none;
    color: #5A6C7D;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    font-family: "Inter", "Noto Kufi Arabic", sans-serif;
    transition: color 0.3s ease;
}

.lang-btn:hover {
    color: #3E5B74;
}

.lang-btn.active {
    color: #3E5B74;
    font-weight: 600;
}

.lang-divider {
    color: #9CA3AF;
}

/* Tablet */
@media (max-width: 768px) {
    .header {
        padding: 10px 20px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .center-illustration img {
        max-height: 25vh;
    }
    
    .info-title {
        font-size: 20px;
        line-height: 1.3;
        padding: 0 15px;
    }
    
    .info-text {
        font-size: 16px;
        line-height: 1.4;
        padding: 0 15px;
    }
    
    .portal-button {
        padding: 12px 24px;
    }
    
    .portal-button span {
        font-size: 16px;
    }
    
    .lang-switcher {
        margin-top: 10px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .header {
        padding: 8px 15px;
    }
    
    .logo img {
        height: 32px;
    }
    
    .main-content {
        padding: 5px 15px;
    }
    
    .center-illustration img {
        max-height: 22vh;
    }
    
    .info-section {
        margin-top: 5px;
    }
    
    .info-title {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 8px;
    }
    
    .info-text {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 12px;
    }
    
    .portal-button {
        padding: 10px 20px;
        gap: 8px;
    }
    
    .portal-button span {
        font-size: 14px;
    }
    
    .portal-button svg {
        width: 14px;
        height: 14px;
    }
    
    .lang-btn {
        font-size: 12px;
        padding: 4px 8px;
    }
}

/* Small Mobile */
@media (max-width: 360px) {
    .logo img {
        height: 28px;
    }
    
    .center-illustration img {
        max-height: 18vh;
    }
    
    .info-title {
        font-size: 14px;
    }
    
    .info-text {
        font-size: 12px;
    }
    
    .portal-button span {
        font-size: 12px;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) {
    .header {
        padding: 5px 20px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .center-illustration img {
        max-height: 20vh;
    }
    
    .center-illustration {
        margin-bottom: 5px;
    }
    
    .info-section {
        margin-top: 5px;
    }
    
    .info-title {
        font-size: 16px;
        margin-bottom: 5px;
    }
    
    .info-text {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .portal-button {
        padding: 8px 16px;
    }
    
    .lang-switcher {
        margin-top: 8px;
    }
}
