/* Arabic Fonts */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;700&display=swap');

[v-cloak] {
    display: none;
}

* {
    box-sizing: border-box;
}

body {
    padding: 0;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Loading screen styles */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* HTML: <div class="loader"></div> */
.loader {
    position: relative;
    width:  48px;
    height: 48px;
    background: #09b7f6;
    transform: rotateX(65deg) rotate(45deg);
    color: #213868;
    animation: layers1 1s linear infinite alternate;
  }
  .loader:after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 26, 83, 0.7);
    animation: layerTr 1s linear infinite alternate;
  }

  @keyframes layers1 {
    0% { box-shadow: 0px 0px 0 0px  }
   90% , 100% { box-shadow: 20px 20px 0 -4px  }
  }
  @keyframes layerTr {
    0% { transform:  translate(0, 0) scale(1) }
    100% {  transform: translate(-25px, -25px) scale(1) }
  }
/* Hide loading screen when JavaScript is loaded */
.loaded .loading-screen {
    display: none;
}
  .loader-hidden {
    display: none;
} 
/* Hide loading screen when JavaScript is loaded */
.loaded .loading-screen {
  display: none;
}
.loader-hidden {
    display: none;
}


.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 60px;
    height: 60px;
    font-size: 32px;
    text-decoration: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
@keyframes bounce {
    0% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-5px);
    }
    100% {
      transform: translateY(0);
    }
}
.whatsapp-icon:hover {
    animation: bounce 1s infinite;
}


.top-bar {
    background: #fff;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    font-family: Arial, sans-serif;
}

.contact-info i {
    color: #666;
    font-size: 14px;
}

.contact-info a {
    font-size: 14px;
    color: inherit;
    text-decoration: none;
}

/* Media Query for Mobile Responsiveness */
@media (max-width: 600px) {
    .top-bar {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .contact-info {
        font-size: 12px;
    }
}


.vision-img {
    position: absolute;
    bottom: 20px;
    left: 30px;
    width: 150px;
    overflow: hidden;
}


.navbar {
    z-index: 99;
    position: absolute;
    top: 30px;
    right: 30px;
    overflow: hidden;
}

.hamburger-menu {
    z-index: 99;
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
    margin: 15px 0;
    max-width: 70px;
}

.bar {
    width: 100%;
    height: 4px;
    background-color: #fff;
    position: absolute;
    transition: all 0.3s ease-in-out;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 13px;
}

.bar:nth-child(3) {
    top: 26px;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.menu {
    background: #ffffff11;
    backdrop-filter: blur(15px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    width: 200px;
    margin-left: 20px;
}

.menu.active {
    max-height: 300px;
}

.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu li {
    padding: 15px;
    border-bottom: 1px solid #ddd;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.menu.active li {
    opacity: 1;
    transform: translateY(0);
}

.menu a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}

.menu li:hover {
    background: #283c68;
}

.menu.active li:nth-child(1) { transition-delay: 0.2s; }
.menu.active li:nth-child(2) { transition-delay: 0.3s; }
.menu.active li:nth-child(3) { transition-delay: 0.4s; }
.menu.active li:nth-child(4) { transition-delay: 0.5s; }

.overlay {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 24px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(8px);
    max-width: 90vw;
}

.hero {
    z-index: 1;
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    font-family: 'Cairo', sans-serif;
    background: url(img/bg1.jpg);
    background-size: cover;
    background-position: center;
}

.hero .content {
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    border-radius: 50px;
    backdrop-filter: blur(15px);
    box-shadow: rgba(255, 255, 255, 0.25) 0px 25px 50px -12px;
}

.hero img {
    max-width: 250px;
}

.hero p {
    color: #fff;
    text-align: center;
}

.hero p {
    font-size: 20px;
}

.hero .btn {
    padding: 5px 20px;
    margin-top: 50px;
    background: #fff;
    color: #000 !important;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    color: inherit;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    transition: ease-in 0.2s;
    animation: glow1 2s ease-in-out infinite alternate;
  }
  
  @keyframes glow1 {
    0% {
      box-shadow: 0 0 10px 0 rgba(255, 255, 255, 0.8);
    }
    100% {
      box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0);
    }
  }
.hero .btn:hover {
    background: #cecece;
    color: #000 !important;
}


@media screen and (max-width: 768px) {
    .navbar {
        top: 15px;
        right: 5px;
    }
    .hamburger-menu {
        width: 35px;
        height: 15px;
        margin: 15px 0;
    }
    .bar:nth-child(1) {
        top: 0;
    }
    
    .bar:nth-child(2) {
        top: 10px;
    }
    
    .bar:nth-child(3) {
        top: 20px;
    }
    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
    }
    
    
    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    .menu a {
        font-size: 14px;
    }
    .hero {
        height: 60vh;
    }

    .hero .content {
        width: 90%;
        padding: 15px;
        border-radius: 25px;
    }

    .hero .content img {
        width: 100%;
        max-width: 150px;
    }

    .hero .vision-img {
        width: 100px;
        left: 15px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero .btn {
        padding: 5px 15px;
        margin-top: 30px;
        font-size: 12px;
        border-radius: 8px;
    }
}











.about-section {
    padding: 80px 0;
    background: #fff;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #fff 10%, #1440a1 80%);
    opacity: 0.5;
    z-index: 0;
}
.about-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #fff 10%, #09b7f694 80%);
    opacity: 0.5;
    z-index: 0;
}

.about-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-content {
    text-align: center;
    margin-bottom: 60px;
}

.about-content h2 {
    font-size: 2.3rem;
    color: #213868;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 4px;
    background: #09b7f6;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    max-width: 900px;
    margin: 0 auto;
}

.sections-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 60px;
}

.section-box {
    background: #fff;
    border-radius: 20px;
    max-width: 800px;
    min-height: 300px;
    margin: 0 auto;
    padding: 40px;
    background: url(img/cardbg.jpg);
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.section-box:hover {
    transform: translateY(-5px);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.section-header i {
    font-size: 32px;
    color: #213868;
}

.section-header h3 {
    font-size: 1.8rem;
    color: #213868;
    margin: 0;
    position: relative;
    padding-bottom: 10px;
}

.section-header h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 3px;
    background: #09b7f6;
}

.section-box p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

@media (max-width: 768px) {
    .about-container {
        padding: 0 15px;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .about-content p {
        font-size: 1rem;
    }

    .section-box {
        padding: 25px;
    }

    .section-header h3 {
        font-size: 1.5rem;
    }

    .section-box p {
        font-size: 0.95rem;
    }
}


.container {
    padding: 100px 15px;
    background-color: #213868;
}

.container .content {
    max-width: 1400px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.container h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.icon {
    font-size: 2.5rem;
    color: #09b7f6;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}

.goal-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(15px);
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

.goal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #fff;
    transition: width 0.3s;
}

.goal-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.goal-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.goal-card p {
    line-height: 1.6;
    color: #f1f1f1;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .header h2 {
        font-size: 1.8rem;
    }

    .goal-card {
        padding: 1.5rem;
    }
    .goal-card p {
        font-size: 0.8rem;
    }
}





.team-container {
    background: #fff;
    padding: 80px 15px;
}

.service-team {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}


.service-title {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.title-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.line {
    height: 2px;
    width: 50px;
    background: #283c68;
    display: inline-block;
}

.service-title h2 {
    color: #343434;
    font-size: 28px;
    font-weight: 700;
    margin: 0;
}

.service-title p {
    color: #666;
    font-size: 18px;
    margin: 0;
}

@media (max-width: 768px) {
    .service-title h2 {
        font-size: 20px;
    }
    
    .service-title p {
        font-size: 14px;
    }
    
    .line {
        width: 30px;
    }
}

.team-card {
    background: url(img/cardbg2.png);
    background-size: cover;
    background-position: right;
    border-radius: 20px;
    padding: 20px;
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 4px solid #213868;
    transition: transform 0.3s ease;
}

.team-card:hover .profile-img {
    transform: scale(1.05);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-name {
    color: #343434;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.contact-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
}

.contact-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.whatsapp {
    background: #25D366;
    color: white;
}

.phone {
    background: #09b7f6;
    color: white;
}

.mobile-team {
    display: none;
}

@media (max-width: 768px) {
    .service-team {
        gap: 20px;
    }

    .service-team h3 {
        font-size: 16px;
    }

    .mobile-team {
        display: flex;
    }

    .team-card {
        width: 250px;
        padding: 15px;
    }

    .profile-img {
        width: 120px;
        height: 120px;
    }

    .agent-name {
        font-size: 16px;
    }

    .contact-btn {
        padding: 8px;
        font-size: 12px;
    }
}










.footer {
    background: #eee;
    padding: 50px 20px 10px;
    color: #333;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}

.footer-section {
    padding: 0 20px;
    max-width: 400px;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #192a3a;
    font-size: 1.4rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background: #192a3a;
}

.footer-section p {
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #192a3a;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    text-decoration: none;
    color: #ccc;
    background: #192a3a;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    background: #09b7f6;
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #192a3a;
}

.copyright {
    text-align: center;
    padding-top: 0px;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section {
        padding: 0 10px;
        text-align: center;
    }
    
    .footer-section h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-contact li {
        justify-content: center;
    }
}