@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');
:root {
    --primary-color: #353466;
    --secondary-color: #a67d59;
    --text-color: #333333;
    --background-color: #f8f9fa;
    --light-gray: #f8f9fa;
}
body {
    font-family: 'Cairo', sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    color: var(--text-color);

    background-color: #313666; 
    line-height: 1.7;
}
body.no-scroll {
    overflow: hidden;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}
main { 
    padding: 0;
}

.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-right-side {
    display: flex;
    align-items: center;
    gap: 35px;
}
.logo-link {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    flex-shrink: 0;
}
.header-logo {
    height: 40px;
    width: auto;
    display: block;
}
.main-nav {
    display: flex;
    gap: 35px;
}
.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    padding: 5px 0;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.main-nav a:hover, .main-nav a.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
    transform: translateY(-2px);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.btn {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 15px;
    white-space: nowrap;
}
.btn-primary {
    background-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(53, 52, 102, 0.2);
}
.btn-secondary {
    background-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(166, 125, 89, 0.2);
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.lang-switcher {
    margin-left: 15px;
}
html[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 15px;
}
.lang-switcher a {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    padding: 5px 10px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}
.lang-switcher a:hover {
    background-color: var(--primary-color);
    color: white;
}

.main-footer {
    background-color: var(--primary-color);
    color: #cccccc;
    padding: 80px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand {
    max-width: 450px;
}
.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 15px 0;
}
.footer-brand p {
    margin: 0;
    line-height: 1.8;
    color: #a0a0a0;
}
.scroll-to-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    color: var(--primary-color);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.scroll-to-top:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
    transform: translateY(-4px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}
.footer-title {
    font-size: 16px; 
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase; 
    letter-spacing: 0.5px;
}

.footer-title::after {
    display: none; 
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 12px;
    color: #a0a0a0;
}
.footer-links a {
    color: #a0a0a0;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}
html[dir="rtl"] .footer-links a:hover {
    padding-right: 0;
    padding-left: 5px;
}
.footer-col p {
    line-height: 1.8;
    color: #a0a0a0;
}

.newsletter-form {
    position: relative;
    max-width: 300px;
}
.newsletter-form input {
    width: 100%;
    padding: 15px 55px 15px 20px;
    border-radius: 50px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Cairo', sans-serif;
    font-size: 15px;
    box-sizing: border-box;
}
html[dir="rtl"] .newsletter-form input {
    padding: 15px 20px 15px 55px;
}
.newsletter-form input::placeholder {
    color: #a0a0a0;
}
.newsletter-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 44px;
    height: 44px;
    background: #ffffff;
    color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
html[dir="rtl"] .newsletter-form button {
    right: auto;
    left: 5px;
}
.newsletter-form button:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}
.newsletter-note {
    font-size: 12px;
    color: #a0a0a0;
    margin-top: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; 
    gap: 20px;
    font-size: 14px;
    color: #a0a0a0;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #a0a0a0;
    border: 1px solid #a0a0a0;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    color: #ffffff;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}
.footer-social svg {
    width: 18px;
    height: 18px;
}

#preloader.preloader-default {
    background-color: var(--primary-color);
}
.preloader-default .preloader-logo img{
    max-width: 150px;
}
.preloader-default .loading-bar::after {
    background-color: var(--secondary-color);
}
.hero-home {
    overflow: hidden;
}
.hero-bg-ken-burns {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    animation: kenburns 20s ease-out infinite;
}
@keyframes kenburns {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 1200px) {

}

.country-switcher a {
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 5px 10px;
    margin-left: 10px;
    transition: all 0.3s ease;
    display: inline-block;
}
html[dir="rtl"] .country-switcher a {
    margin-left: 0;
    margin-right: 10px;
}
.country-switcher a:hover {
    background-color: #f0f0f0;
    border-color: #ccc;
}

.scene-theme .country-switcher a {
    color: white;
    border-color: #555;
}
.scene-theme .country-switcher a:hover {
    background-color: white;
    color: black;
    border-color: white;
}

.country-switcher-dropdown {
    position: relative;
    margin-left: 15px;
}

.country-switcher-dropdown .dropdown-toggle {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-family: inherit; 
    font-size: 14px; 
}

.country-switcher-dropdown .dropdown-toggle .arrow-down {
    border: solid #333;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 0.2s ease-in-out;
}

.country-switcher-dropdown .dropdown-menu {
    display: none; 
    position: absolute;
    top: 110%; 
    right: 0;
    background-color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 160px;
    z-index: 1000;
    overflow: hidden;
    list-style: none;
    padding: 0;
    margin: 0;
}

.country-switcher-dropdown .dropdown-menu a {
    display: flex; 
    align-items: center; 
    gap: 8px; 
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

[dir="rtl"] .country-switcher-dropdown .dropdown-menu a {
    text-align: right;
}
[dir="rtl"] .country-switcher-dropdown .dropdown-toggle .arrow-down {
    margin-left: 0;
    margin-right: 8px;
}
[dir="rtl"] .country-switcher-dropdown {
    margin-left: 0;
    margin-right: 15px;
}

.country-switcher-dropdown .dropdown-menu a:hover {
    background-color: #f1f1f1;
}

.country-switcher-dropdown:hover .dropdown-menu,
.country-switcher-dropdown .dropdown-toggle:focus + .dropdown-menu {
    display: block;
}

.country-switcher-dropdown:hover .arrow-down {
    transform: rotate(-135deg); 
}

.logo-link {
    margin-inline-end: 2rem; 
}

.section-with-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #ffffff; 

    background-attachment: fixed; 
}

.section-with-bg .section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); 
  z-index: 1;
}

.section-with-bg .container {
  position: relative;
  z-index: 2;
}

.section-with-bg h2,
.section-with-bg p {
    color: #ffffff;
}

.section-with-bg {
  position: relative;
  background-size: cover;

  background-position: center center; 
  background-repeat: no-repeat;
  padding-top: 80px;
  padding-bottom: 80px;
  color: #2b2a58;
}

.section-with-bg .section-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.section-with-bg .container {
  position: relative;
  z-index: 2;
}

.section-with-bg h2,
.section-with-bg p {
    color: #2b2a58;
}

.hero-section .hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100; 
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    transition: 1s opacity;
    object-fit: cover; 
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.compact-stats-section {
    padding: 60px 0;
    background-color: #353466;
    position: relative;
    overflow: hidden;
}

.compact-stats-section .stats-header {
    margin-bottom: 40px;
    text-align: center;
}

.stats-circle-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.stat-circle-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0; 
}

.stat-circle {
    position: relative;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 2px solid #5a589a;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;

}

.stat-circle:hover {
    transform: translateY(-5px);
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.05);
}

.stat-circle-number,
.stat-circle-label {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.stat-circle-number {
    font-size: 2.3rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.stat-circle-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 5px 8px 0 8px;
    line-height: 1.3;
}

.repeating-dots {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 1;
    background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 1px, transparent 1.5px);
    background-size: 20px 20px;
    animation: moveDots 20s linear infinite;
    opacity: 0.7; 
}

@keyframes moveDots {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(25%, 25%);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6; 
    }
    100% {
        transform: scale(1.6); 
        opacity: 0; 
    }
}

.stat-circle::before,
.stat-circle::after {
    content: '';
    position: absolute;
    top: -2px; 
    left: -2px;
    width: 100%;
    height: 100%;
    border-radius: 50%;

    border: 2px solid rgba(90, 88, 154, 0.5);
    z-index: 0; 

    animation-name: pulse;
    animation-duration: 3s; 
    animation-iteration-count: infinite; 
    animation-timing-function: ease-out;
}

.stat-circle::after {
    animation-delay: 1.5s;
}

@media (max-width: 768px) {
    .stats-circle-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 160px;
    }
}

.services-section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}
.services-section-header h2 {
    font-size: 38px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 15px;
}
.services-section-header p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.services-panel-container {
    display: flex;
    width: 100%;
    height: 60vh; 
    min-height: 450px;
    max-height: 600px;

    justify-content: center;
}

.service-panel {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    margin: 0 10px;
    position: relative;
    overflow: hidden;
    flex: 0 0 220px; 
    transition: flex 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-panel:hover {

    flex: 0 0 500px; 
}

.panel-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.1) 100%);
    opacity: 0.8;
    transition: opacity 0.5s ease;
}
.service-panel:hover .panel-overlay {
    opacity: 1;
}

.panel-title {
    font-size: 28px;
    font-weight: 700;
    position: absolute;
    bottom: 30px;
    left: 30px;
    margin: 0;
    opacity: 1;
    transition: opacity 0.3s ease 0.4s, transform 0.4s ease;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
}
.service-panel:hover .panel-title {
    opacity: 0;
    transition: opacity 0.3s ease;
}
html[dir="ltr"] .panel-title {
    transform: none;
    writing-mode: vertical-lr;
}

.panel-details {
    position: absolute;
    bottom: 40px;
    left: 40px;
    right: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.4s ease-in-out 0.4s, transform 0.4s ease-in-out 0.4s;
}
.service-panel:hover .panel-details {
    opacity: 1;
    transform: translateY(0);
}

.panel-number {
    font-size: 80px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 20px;
    right: 30px;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.4s ease-in-out 0.4s;
}
.service-panel:hover .panel-number {
    opacity: 1;
}
html[dir="rtl"] .panel-number {
    right: auto;
    left: 30px;
}

.panel-details .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 20px;
}
.panel-details .icon svg {
    width: 28px;
    height: 28px;
}

.panel-details h3 {
    margin: 0 0 10px 0;
    font-size: 28px;
}
.panel-details p {
    margin: 0 0 20px 0;
    font-size: 16px;
    line-height: 1.7;
    max-width: 400px;
}
.panel-details .btn-read-more {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--secondary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s ease;
}
.panel-details .btn-read-more:hover {
    background-color: #ffffff;
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .services-panel-container {
        flex-direction: column;
        height: auto;
    }
    .service-panel,
    .service-panel:hover {
        flex: 1 1 auto; 
        width: auto;
        min-height: 250px;
        margin: 10px 0;
    }
    .panel-title {
        display: none;
    }
    .panel-details {
        opacity: 1;
        transform: translateY(0);
        position: relative;
        bottom: auto; left: auto; right: auto;
        padding: 30px;
    }
    .panel-number {
        display: none;
    }
}

#why-us {

    padding: 70px 0; 
    overflow: hidden;
    position: relative;
    background-color: var(--primary-color);
}

#why-us .section-header {
    margin-bottom: 50px;
    text-align: center;
}

#why-us .section-header h2 {
    color: #FFFFFF;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.why-us-card {
    position: relative;

    padding: 30px 25px; 
    text-align: center;
    color: #eee;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float-animation 6s ease-in-out infinite;
}

.why-us-card:nth-child(2) { animation-delay: -2s; }
.why-us-card:nth-child(3) { animation-delay: -4s; }
.why-us-card:nth-child(5) { animation-delay: -3s; }
.why-us-card:nth-child(6) { animation-delay: -1s; }

@keyframes float-animation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); } 
    100% { transform: translateY(0px); }
}

.why-us-card:hover {
    animation-play-state: paused;
    transform: scale(1.04) !important;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.why-us-card .icon {

    font-size: 2.8rem; 
    margin-bottom: 15px;
    color: var(--secondary-color);
    text-shadow: 0 0 20px rgba(166, 125, 89, 0.5);
}

.why-us-card h3 {

    font-size: 1.25rem; 
    color: #FFFFFF;
    margin-bottom: 10px;
}

.why-us-card p {

    font-size: 0.95rem; 
    line-height: 1.6;
    color: #ccc;
}

#particles-js {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; 
}

.parallax-element {

    will-change: transform;

    transition: transform 0.1s linear;
}

.stats-section-dark {
    padding: 80px 0;

    background-color: rgba(0, 0, 0, 0.2); 
}

.stats-grid-dark {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item-dark {
    position: relative;
}

.stat-item-dark:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 15%;
    right: -20px;
    height: 70%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

.stat-number-dark {
    display: block;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1;
    color: #FFFFFF; 
}

.stat-label-dark {
    font-size: 1rem;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #b0b0b0; 
}

@media (max-width: 768px) {
    .stats-grid-dark {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .stat-item-dark:not(:last-child)::after {
        display: none;
    }
}

.partners-section-dark {
    padding: 100px 0;

}

.partners-section-dark .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.partners-section-dark .section-header h2 {
    color: #FFFFFF;
}

.partners-section-dark .section-header p {
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

.logo-scroller-dark {
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.scroller__inner-dark {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: scroll 40s linear infinite;
}

@keyframes scroll {
    to {
        transform: translateX(-50%);
    }
}

.scroller__inner-dark img {
    height: 60px; 
    margin: 0 40px;
    filter: grayscale(1) brightness(1.5); 
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}

.logo-scroller-dark:hover .scroller__inner-dark {
    animation-play-state: paused;
}
.logo-scroller-dark:hover .scroller__inner-dark img {
    filter: grayscale(1) brightness(1);
    opacity: 0.4;
}
.logo-scroller-dark .scroller__inner-dark img:hover {
    filter: grayscale(0) brightness(1); 
    opacity: 1;
    transform: scale(1.1);
}