/* Font Import */
@font-face {
    font-family: 'HK Grotesk';
    src: url('fonts/hk-grotesk.light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'HK Grotesk';
    src: url('fonts/hk-grotesk.regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

/* Official Banner Styles */
.official-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #840000;
    z-index: 9999;
    font-family: Arial Narrow;
    ::-moz-selection {
    color: #FFFFFF;
    background: #3a3a3a5d;
    }

    ::selection {
    color: #FFFFFF;
    background: #3a3a3a5d;
}
}

.official-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.official-globe-icon {
    width: 20px;
    height: 20px;
    color: #f1f1f1;
    flex-shrink: 0;
}

.official-banner-text {
    font-size: 13px;
    color: #f1f1f1;
    font-weight: 400;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.banner-toggle {
    background: none;
    border: none;
    color: #fff1f1;
    text-decoration: underline;
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    padding-left: 5px;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.banner-toggle:hover {
    color: #f1f1f1;
}

.banner-toggle:focus {
    outline: 2px solid #ffec19;
    border-radius: 10px;
    outline-offset: 2px;
}

.banner-arrow {
    width: 16px;
    height: 16px;
    color: #f1f1f1;
    margin-left: 2px;
}

.banner-toggle.expanded .banner-arrow {
    transform: rotate(180deg);
}

.banner-expanded-content {
    display: none;
    background-color: #f1f1f1;
    animation: ease-in;
}

.banner-expanded-content.expanded {
    display: block;
}

.banner-info-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.banner-info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-icon {
    width: 40px;
    height: 40px;
    color: #840000;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
}

.info-text strong {
    display: block;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.info-text p {
    font-size: 13px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* Add padding to body to account for fixed banner */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

body {
    padding-top: 40px;
}

/* Powered By Branding */
.powered-by {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    padding: 12px 16px 16px;
    opacity: 0.6;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.powered-by-text {
    font-size: 9px;
    color: #666;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.powered-by-logo {
    height: 12px;
    width: auto;
}

/* Main Header Styles */
.main-header {
    background-color: #fff;
    padding: 0 20px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #000;
}

.header-logo {
    display: flex;
    align-items: center;
}

.header-logo:focus {
    outline: 2px solid #ffec19;
    outline-offset: 2px;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.header-link {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 300;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.header-link:hover {
    opacity: 0.7;
}

.header-link.arabic-link:hover {
    opacity: 1;
}

.header-link:focus {
    outline: 2px solid #ffec19;
    outline-offset: 2px;
}

.header-button {
    background-color: #840000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 300;
    padding: 10px 20px;
    border-radius: 6px;
}

.header-button:hover {
    background-color: #6b0000;
}

.header-button:focus {
    outline: 2px solid #ffec19;
    outline-offset: 2px;
}
.header-button {
    background-color: #840000;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 6px;
}

.header-button:hover {
    background-color: #6b0000;
}

.header-button:focus {
    outline: 2px solid #ffec19;
    outline-offset: 2px;
}
/* Page Title Section */
.page-title-section {
    padding: 30px 20px 60px 20px;
    background-color: #fff;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
}

.page-title-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.page-title-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-title {
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: #000;
    margin: 0;
    text-align: left;
    line-height: 1.2;
    text-shadow: 0 4px 4px rgba(56, 56, 56, 0.312);
}

.page-body-text {
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #333;
    margin: 0;
    text-align: left;
    line-height: 1.6;
    max-width: 500px;
}

.page-title-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.page-title-image img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 260px);
    object-fit: cover;
    border-radius: 20px;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-title-image {
        display: none;
    }
    
    .page-title-container {
        flex-direction: column;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .page-body-text {
        max-width: 100%;
    }
    
    .header-link.arabic-link {
        display: none;
    }
    
    .features-list {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        column-gap: 0 !important;
    }
    
    .features-section {
        padding: 60px 20px;
    }
    
    .features-heading {
        font-size: 28px;
        text-align: center;
    }
    
    .feature-item {
        align-items: flex-start;
    }
    
    .content-image-reverse {
        display: none;
    }
    
    .content-container-reverse {
        flex-direction: column;
    }
}

/* Features Section */
.features-section {
    padding: 80px 20px;
    background-color: #f9f9f9;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-heading {
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 400;
    font-size: 36px;
    color: #000;
    text-align: left;
    margin: 0 0 60px 0;
    text-shadow: 0 4px 4px rgba(56, 56, 56, 0.312);
}

.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    column-gap: 60px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #840000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: #fff;
    font-size: 24px;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #000;
    margin: 0 0 8px 0;
}

.feature-text p {
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* Second Content Section (Reversed) */
.content-section-reverse {
    padding: 30px 20px 60px 20px;
    background-color: #fff;
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
}

.content-container-reverse {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
}

.content-image-reverse {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    order: 1;
}

.content-image-reverse img {
    width: 100%;
    height: calc(100vh - 260px);
    max-height: calc(100vh - 260px);
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    pointer-events: none;
    -webkit-user-drag: none;
}

.content-text-reverse {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: 2;
}

.content-title-reverse {
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 400;
    font-size: 48px;
    color: #000;
    margin: 0;
    text-align: left;
    line-height: 1.2;
    text-shadow: 0 4px 4px rgba(56, 56, 56, 0.312);
}

.content-body-reverse {
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #333;
    margin: 0;
    text-align: left;
    line-height: 1.6;
    max-width: 500px;
}

/* Footer Styles */
.main-footer {
    background-color: #840000;
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.footer-logo {
    height: 30px;
    width: auto;
    opacity: 0.9;
    filter: brightness(0) invert(1);
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
}

.footer-logo-link:focus {
    outline: 2px solid #ffec19;
    outline-offset: 2px;
}

.footer-separator {
    width: 1px;
    height: 50px;
    background-color: rgba(241, 241, 241, 0.3);
    flex-shrink: 0;
}

.footer-text {
    flex: 1;
}

.footer-text p {
    font-family: 'HK Grotesk', Arial, sans-serif;
    font-weight: 300;
    font-size: 12px;
    color: #ffffff;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-logos {
        gap: 15px;
    }
    
    .footer-logo {
        height: 24px;
    }
}