/* 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: #b67e32;
    transform: rotateX(65deg) rotate(45deg);
    color: #192a3a;
    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;
}




.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: 10px;
    }
}

/* --- */
.translate-btn {
    position: fixed;
    top: 50px;
    background-color: #ffffff;
    color: #192a3a;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 99;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    left: 30px;
  }
  .translate-btn:hover {
      background-color: #eee;
  }
  
  .translate-btn.scrolled {
    top: 10px;
  }
  
  @media (max-width: 768px) {
    /* Translate Button */
    .translate-btn {
      top: 70px;
      left: 5px !important;
      padding: 6px 10px;
      font-size: 12px;
    }
  }
  
  .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;
}


.vision-img {
    position: absolute;
    bottom: 20px;
    left: 30px;
    width: 150px;
    overflow: hidden;
}

.navbar {
    z-index: 99;
    position: absolute;
    top: 50px;
    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: #b67e32;
}

.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;
}





.services-hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.services-hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.services-hero img {
    max-width: 100px;
}


.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-family: 'Tajawal', sans-serif;
}

.services-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}


@media screen and (max-width: 768px) {
    .navbar {
        top: 60px;
        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;
    }
}


.services {
    background: #fff;
    margin: 0 auto;
    padding: 80px 15px;
    position: relative;
    overflow: hidden;
}
.ball {
    position: absolute;
    border-radius: 100%;
    opacity: 0.7;
  }
/* Decorative Elements */
.services::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #fff 10%, #192a3a 80%);
    opacity: 0.5;
    z-index: 0;
}
.services::after {
    content: '';
    position: absolute;
    bottom: -60%;
    left: -50%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, #fff 10%, #b67e32 80%);
    opacity: 0.5;
    z-index: 0;
}

.services-container {
    z-index: 9;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.phone-title {
    display: none;
    position: relative;
    color: #fff;
    font-size: 22px;
}

.phone-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 50px;
    height: 4px;
    background: #fff;
}

.services-title {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    white-space: nowrap;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-family: 'Tajawal', sans-serif;
}
.services-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.service-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #192a3a;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.service-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.service-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(182, 126, 50, 0.9), transparent);
    transition: bottom 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.service-overlay i {
    color: #b67e32;
    font-size: 1.5rem;
    padding: 10px;
    background: #ffffffb7;
    border-radius: 50px;
}

.service-item i:hover {
    background: #fff;
}
.service-item:hover .service-overlay {
    bottom: 0;
}

.dot-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}


.services .btn {
    padding: 5px 20px;
    background: #b67e32;
    color: #fff !important;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    color: inherit;
    font-family: 'Cairo', sans-serif;
    text-decoration: none;
    transition: ease-in 0.2s;
    animation: glow 2s ease-in-out infinite alternate;
    cursor: pointer;
  }
  
  @keyframes glow {
    0% {
      box-shadow: 0 0 10px 0 rgba(252, 143, 0, 0.8);
    }
    100% {
      box-shadow: 0 0 10px 10px rgba(255, 255, 255, 0);
    }
  }
.services .btn:hover {
    background: #fff;
    color: #000 !important;
}

@media (max-width: 576px) {
    .services-hero h1 {
        font-size: 1.5rem;
    }
    
    .services-hero p {
        font-size: 1rem;
    }
    .services-title {
        display: none;
    }
    .phone-title {
        display: inline;
    }
    .service-overlay i {
        font-size: 1rem;
        padding: 5px;
    }
    .dot-container {
        margin-top: 20px;
        gap: 15px;
    }
    
    .dot {
        width: 15px;
        height: 15px;
    }
}

@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-title {
        font-size: 2rem;
        right: -40px;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-title {
        font-size: 1.5rem;
        right: -30px;
    }
}




.contact-section {
    padding: 80px 20px;
    background: #fff;
    position: relative;
    overflow: hidden;
    font-family: 'Tajawal', sans-serif;
    background: linear-gradient(to top, #fff 80%, #b67e32 10%);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: url(img/cardbg.jpg);
    background-size: cover;
    padding: 40px;
    border-radius: 20px;
}

.contact-container i {
    font-size: 30px;
    color: #192a3a;
}

.contact-title {
    text-align: center;
    color: #192a3a;
    margin-bottom: 40px;
    font-size: 2rem;
    position: relative;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #b67e32;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Tajawal', sans-serif;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #b67e32;
    outline: none;
    box-shadow: 0 0 10px rgba(182, 126, 50, 0.1);
}

.form-group label {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #666;
    font-size: 16px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: #fff;
    padding: 0 5px;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -10px;
    font-size: 14px;
    color: #b67e32;
}

.submit-btn {
    background: #192a3a;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tajawal', sans-serif;
    justify-self: center;
    width: 200px;
}

.submit-btn:hover {
    background: #b67e32;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Decorative background elements */
.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

@media (max-width: 768px) {
    .contact-container {
        padding: 20px;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }

    .form-group label {
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px 25px;
        font-size: 16px;
        width: 160px;
    }
}


.footer {
    background: #192a3a;
    padding: 50px 20px 30px;
    color: #fff;
    font-family: 'Tajawal', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.footer-section {
    padding: 0 20px;
}

.footer-logo {
    max-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #b67e32;
    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: #b67e32;
}

.footer-section p {
    color: #fff;
    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: #b67e32;
    font-size: 18px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    text-decoration: none;
    color: #fff;
    background: #b67e32;
    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: #fff;
    color: #192a3a;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #b67e32;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    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;
    }
}