:root {
    --primary-color: #04aeeb;
    --primary-light: #e6f6fd;
    --primary-dark: #0388c1;
    --secondary-color: #949599;
    --secondary-light: #f3f3f4;
    --secondary-dark: #6e6e72;
    --dark-color: #222222;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
}

section {
    width: 100%;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary{
    color: var(--secondary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

/* start header */
.header-area {
  /* background-color:var(--dark-color); */
  max-width: 100%;
  font-size: 0.9rem;
}

.anchor span:first-child {
  color: var(--secondary-light);
  padding: 5px 10px;
  font-weight: bold;
  border-radius: 50%;
}

.header-area-content p {
  color: #fff;
  font-weight: bold;
}

.squre {
  height: 35px;
  width: 35px;
  border: 1px solid rgba(255, 255, 255, 0.151);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
}

.squre a i {
  color: var(--primary-color);
  transition: all var(--main-transition);
}

.squre:hover {
  box-shadow: 0px 0px 2px var(--secondary-light);
}

.squre:hover i {
  color: var(--secondary-light);
}

.anchor {
  margin-right: 5px;
}

.border-right {
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.anchor i {
  color: var(--primary-color);
}


.language-display {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.language-switcher .dropdown-item.active{
  background-color: var(--secBule);
}

/* End Header /// ---------------------------- */


.navbar {
    background-color: white;
    /* padding: 20px 0; */
    transition: all 0.3s ease-in-out;
    z-index: 999;
    position: sticky;
}

.navbar .nav-link {
    font-weight: 600;
    color: #1c1c1c;
    transition: 0.3s;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #04aeeb;
}


.navbar-brand span {
    font-size: 1.25rem;
}

.navbar.scrolled {
    /* padding: 10px 0; */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* Dropdown Menu Styles */
#our-work-menu {
    transition: all 0.3s ease;
    width: 600px;
}

#workList li .dropdown-item {
    transition: all 0.3s ease;
    border-radius: 4px;
    padding: 20px 12px !important;
    color: var(--dark-color);
}

#workList li .dropdown-item:hover {
    background-color: rgba(4, 174, 235, 0.1);
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

#workImagePreview img {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .dropdown-menu {
        position: relative !important;
        width: 100% !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    #workList li {
        margin-bottom: 4px;
    }
    
    #workImagePreview img {
        max-height: 200px !important;
    }
}

@media (max-width: 576px) {
    #workList li {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
    
    #workImagePreview img {
        max-height: 180px !important;
    }
}

#our-work-menu[data-bs-popper]{
    left: -200px !important;
}

@media (max-width:992px) {
    #our-work-menu{
        width:100%;
    }
    .navbar-nav{
        padding: 15px 0;
    }
    .nav-item .btn-outline-primary{
        width: fit-content;
    }

}
@media (max-width:768px) {
    #workImagePreview {
        display: none;
    }
    #our-work-menu[data-bs-popper]{
        left: 0 !important;
    }
    #workList li .dropdown-item{
        padding: 5px 12px !important;
    }
}   


.hero-slider {
    width: 100%;
    height: 100vh;
    min-height: 650px;
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-slider .slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transition: transform 8s ease-out;
}

.hero-slider .swiper-slide-active .slide-bg {
    transform: scale(1.1);
}

.gradient-overlay {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-slider .slide-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 30px;
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.8s ease;
}

.hero-slider .swiper-slide-active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-slider h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-slider .lead {
    font-size: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.hero-slider .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-slider .btn-outline-light {
    border-width: 2px;
}

.hero-slider .btn-outline-light:hover {
    color: var(--primary-color);
    background-color: white;
}

.hero-slider .swiper-pagination {
    bottom: 30px;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid white;
    opacity: 1;
    transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
    background: white;
    transform: scale(1.3);
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 1.5rem;
    font-weight: bold;
}

.hero-slider .swiper-button-next:hover,
.hero-slider .swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

@media (max-width: 991.98px) {
    .hero-slider h1 {
        font-size: 2.8rem;
    }

    .hero-slider .lead {
        font-size: 1.3rem;
    }
}

@media (max-width: 767px) {
    .hero-slider {
        min-height: 500px;
    }

    .hero-slider h1 {
        font-size: 2.2rem;
    }

    .hero-slider .lead {
        font-size: 1.1rem;
    }

    .hero-slider .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .hero-slider .swiper-button-next,
    .hero-slider .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
    }

    .hero-slider .swiper-button-next:after,
    .hero-slider .swiper-button-prev:after {
        font-size: 1rem;
    }
}






/* About Section Styling */
.about-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    padding: 80px 0;
    /* color: #fff; */
    /* background-color: #f8f9fa; */
    /* Fallback color */
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.842);
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.feature-item i {
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Statistics Cards Styling */
.stats-row {
    margin-top: 50px;
}

.stat-card {
    position: relative;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(4, 174, 235, 0.3);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
}

.stat-card:hover {
    transform: translateY(-10px);
    /* box-shadow: 0 15px 40px rgba(4, 174, 235, 0.15); */
    border-color: rgba(4, 174, 235, 0.6);
}

.stat-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: 1;
}

.stat-content {
    position: relative;
    z-index: 2;
    padding: 30px 20px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.stat-divider {
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    margin: 15px auto;
}

.stat-card p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .about-section {
        padding: 80px 0;
    }

    .stat-card {
        margin-bottom: 20px;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 60px 0;
    }

    .experience-badge {
        padding: 10px 15px;
    }

    .experience-badge strong {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

.our-work-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.work-card {
    position: relative;
    height: 330px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.work-img {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.5s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.work-img h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    margin: 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

.work-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    z-index: 1;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(72, 72, 72, 0.7) 0%,
            rgba(18, 18, 18, 0.95) 100%);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    padding: 20px;
}

.work-content {
    color: white;
    text-align: center;
    transform: translateY(20px);
    transition: all 0.5s ease;
    width: 100%;
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-card:hover .work-content {
    transform: translateY(0);
}

.work-card:hover .work-img {
    transform: scale(1.1);
}

.w-logo {
    width: 100px;
    height: 70px;
    border-radius: 10px;
    z-index: 2;
    background-color: white;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.work-features {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.work-features li {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.work-features i {
    margin-right: 5px;
}

@media (max-width: 767.98px) {
    .our-work-section {
        padding: 60px 0;
    }

    .work-card {
        height: 250px;
    }

    .work-img h3 {
        font-size: 1.5rem;
    }
}



footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 0;
}

.footer-links h5 {
    position: relative;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.footer-links h5:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 50px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    color: white;
}

/* Language Switch */
.language-switch {
    position: relative;
}

.language-switch .dropdown-menu {
    min-width: auto;
}

.language-switch .dropdown-item {
    padding: 5px 15px;
}

.language-switch .dropdown-item img {
    width: 20px;
    margin-right: 5px;
}

/* Hero Slider */
.hero-slider .swiper-slide {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider .swiper-slide:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.hero-slider .slide-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
    padding: 0 50px;
}

.hero-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent;
    border: 2px solid white;
    opacity: 1;
}

.hero-slider .swiper-pagination-bullet-active {
    background: white;
}

.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: white;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.hero-slider .swiper-button-next:after,
.hero-slider .swiper-button-prev:after {
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        /* background-color: white; */
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .hero-slider .swiper-slide {
        min-height: 500px;
    }

    .hero-slider .slide-content {
        padding: 0 30px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 120px 0 80px;
    }

    .section-title {
        margin-bottom: 30px;
    }

    .about-section,
    .services-section,
    .testimonials-section,
    .contact-section {
        padding: 60px 0;
    }

    .stat-item {
        margin-bottom: 20px;
    }

    .hero-slider .swiper-slide {
        min-height: 400px;
    }
}


/* Footer Styles */
.footer-section {
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-contact li span {
    font-size: 0.9rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 10px;
    text-decoration: none;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.Copyright {
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-section {
        text-align: center;
    }

    .footer-links {
        margin-bottom: 20px;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
    }
}