/********** Template CSS **********/
:root {
    --primary: #000000;
    --secondary: #ffffff;
    --light: #FFFFFF;
    --dark: #35348d;
}

/* Enhanced white color focus */
body {
    background-color: var(--light);
    color: var(--dark);
}

/* Delmon Logo Styles */
.navbar-brand img {
    border-radius: 0;
    transition: all 0.3s ease;
    box-shadow: none;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}



/* Enhanced navbar styles */
.navbar {
    background-color: var(--light) !important;
    box-shadow: 0 2px 10px rgba(53, 52, 141, 0.1);
    border-top: 3px solid var(--secondary) !important;
}

/* Update text colors from black to appropriate colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--primary) !important;
}

.text-dark {
    color: var(--primary) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--primary) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary) !important;
    transform: translateY(-2px);
}

/* Service items and other sections */
.service-item h5,
.team-item h5,
.fact-item h5 {
    color: var(--primary) !important;
}

/* Companies section */
#companies h1,
#companies h5 {
    color: var(--primary) !important;
}

/* Partners section */
#partners h1,
#partners h5 {
    color: var(--primary) !important;
}

/* Contact section */
#contact h1,
#contact h5 {
    color: var(--primary) !important;
}

.navbar-brand {
    background: var(--light) !important;
    min-height: 75px;
    display: flex !important;
    align-items: center !important;
    border-radius: 0 8px 8px 0;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.navbar-brand img {
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand h2 {
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

/* Enhanced navigation links */
.navbar-light .navbar-nav .nav-link {
    color: var(--dark) !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
    transform: translateY(-2px);
}

/* Phone number styling */
.navbar .phone-number {
    color: var(--dark);
    font-weight: 700;
    font-size: 16px;
}

.navbar .phone-number i {
    color: var(--primary);
    margin-right: 8px;
}

/* Enhanced button styles */
.btn-primary {
    background: var(--primary) !important;
    border: none !important;
    color: var(--light) !important;
}

.btn-primary:hover {
    background: var(--secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(53, 52, 141, 0.3);
}

.btn-secondary {
    background: var(--secondary) !important;
    border: none !important;
    color: var(--light) !important;
}

.btn-secondary:hover {
    background: var(--primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(53, 52, 141, 0.3);
}

/* Enhanced card styles */
.service-item,
.price-item,
.team-item {
    background: var(--light);
    border: 1px solid rgba(35, 43, 59, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover,
.price-item:hover,
.team-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(35, 43, 59, 0.15);
}

/* Enhanced footer */
.footer {
    background: linear-gradient(rgba(35, 43, 59, 0.9), rgba(35, 43, 59, 0.9)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--light);
}

.footer .btn.btn-social:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

/* Enhanced text colors */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background: var(--primary) !important;
}

.bg-secondary {
    background: var(--secondary) !important;
}

/* Enhanced form elements */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(53, 52, 141, 0.25);
}

/* Enhanced page headers */
.page-header {
    background: linear-gradient(rgba(53, 52, 141, 0.8), rgba(53, 52, 141, 0.8)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

/* Delmon specific styles */
.delmon-primary {
    color: var(--primary) !important;
}

.delmon-secondary {
    color: var(--secondary) !important;
}

.delmon-bg-primary {
    background-color: var(--primary) !important;
}

.delmon-bg-secondary {
    background-color: var(--secondary) !important;
}

/* Enhanced footer */
.footer {
    background: linear-gradient(rgba(53, 52, 141, 0.9), rgba(53, 52, 141, 0.9)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    background: var(--light);
    color: var(--primary);
    border: 1px solid var(--light);
}

.footer .btn.btn-social:hover {
    background: var(--primary);
    color: var(--light);
    transform: translateY(-2px);
}

/* Copyright text color */
.copyright .text-primary {
    color: var(--primary) !important;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: var(--light);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: var(--light);
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--light);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        top: -6px;
        left: 50%;
        background: var(--light);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}




.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: var(--light);
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 14px 0;
    font-size: 14px;
    border-top: none !important;
}

.footer .copyright a {
    color: var(--light);
}

/* Partners Carousel Styles */
.partners-carousel {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.partner-item {
    flex: 0 0 200px;
    margin: 0 15px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.partner-logo {
    width: 100%;
    height: 120px;
    object-fit: contain;
    background: white;
    padding: 15px;
    transition: all 0.3s ease;
}

.partner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(53, 52, 141, 0.9));
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.partner-item:hover .partner-overlay {
    transform: translateY(0);
}

.partner-overlay h5 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}



/* Responsive design */
@media (max-width: 768px) {
    .partners-track {
        animation-duration: 20s;
    }
    
    .partner-item {
        flex: 0 0 150px;
        margin: 0 10px;
    }
    
    .partner-logo {
        height: 100px;
    }
}



.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    font-size: 22px;
    transition: .35s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: rgba(235, 45, 46, 0.9);
    border-color: rgba(235, 45, 46, 0.9);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        min-height: 70vh;
    }
    
    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

/* Enhanced carousel text styling */
.header-carousel .owl-carousel-item h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--secondary) !important;
}

.header-carousel .owl-carousel-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 800px;
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item h1 {
        font-size: 2.5rem;
    }
    
    .header-carousel .owl-carousel-item p {
        font-size: 1rem;
    }
}

/* Enhanced About Section Styles */
.about {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 20px;
}

.about-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(53, 52, 141, 0.9));
    padding: 30px;
    border-radius: 0 0 15px 15px;
}

.about-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon i {
    color: white !important;
}

.about-text h6 {
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.about-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--primary) !important;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-text .btn {
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.about-text .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(53, 52, 141, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .about {
        margin: 10px;
    }
    
    .about-text h1 {
        font-size: 2rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .feature-card {
        margin-bottom: 20px;
    }
}

/* Enhanced Dropdown Styles */
.dropdown-menu {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    margin-top: 10px;
    min-width: 200px;
}

.dropdown-item {
    color: var(--primary) !important;
    font-weight: 500;
    padding: 12px 20px;
    transition: all 0.3s ease;
    border-radius: 5px;
    margin: 2px 10px;
}

.dropdown-item:hover {
    background: var(--secondary) !important;
    color: white !important;
    transform: translateX(5px);
}

.dropdown-toggle::after {
    color: var(--primary);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Service items enhancement */
.service-item {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(53, 52, 141, 0.15);
}

.service-item .border-light {
    border-color: #f8f9fa !important;
}

.service-item h5 {
    color: var(--primary) !important;
    font-weight: 700;
}

.service-item p {
    color: #666;
    line-height: 1.6;
}

.service-item .text-decoration-none {
    color: var(--primary) !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-item .text-decoration-none:hover {
    color: var(--secondary) !important;
    transform: translateX(5px);
}

/* Loading Screen Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: #333;
}

.loading-logo {
    margin-bottom: 30px;
}

.logo-image {
    width: 150px;
    height: 110px;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(53, 52, 141, 0.18);
    animation: logoPulse 2.4s ease-in-out infinite;
    border: 2px solid rgba(53, 52, 141, 0.1);
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 5px 20px rgba(53, 52, 141, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(53, 52, 141, 0.3);
    }
}

.loading-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #35348d;
    animation: textFadeIn 1s ease-out 0.5s both;
}

.loading-text p {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 40px;
    animation: textFadeIn 1s ease-out 1s both;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-spinner {
    margin-top: 30px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(53, 52, 141, 0.2);
    border-top: 4px solid #35348d;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Hide main content during loading */
body.loading {
    overflow: hidden;
}

body.loading .container-fluid,
body.loading .container {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

body:not(.loading) .container-fluid,
body:not(.loading) .container {
    opacity: 1;
}

/* Responsive design for loading screen */
@media (max-width: 768px) {
    .logo-image {
        width: 135px;
        height: 100px;
        border: 2px solid rgba(53, 52, 141, 0.1);
    }
    
    .loading-text h2 {
        font-size: 2rem;
    }
    
    .loading-text p {
        font-size: 1rem;
    }
}

/* Smooth scrolling for in-page anchors */
html {
    scroll-behavior: smooth;
}

/* Hero Section with Transparent Navbar */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Transparent Navbar */
.navbar-transparent {
    background: rgba(255, 255, 255, 0.18) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 15px 0;
}

.navbar-transparent.scrolled {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(53, 52, 141, 0.15);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.navbar-transparent .navbar-brand {
    background: transparent !important;
    border: none;
}

.navbar-transparent .navbar-brand h2 {
    color: white !important;
    transition: all 0.3s ease;
}

/* Transparent logo inside transparent header */
.navbar-transparent .navbar-brand img {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.navbar-transparent.scrolled .navbar-brand h2 {
    color: var(--primary) !important;
}

.navbar-transparent .navbar-nav .nav-link {
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 10px 20px !important;
    border-radius: 25px;
    margin: 0 5px;
}

.navbar-transparent .navbar-nav .nav-link:hover,
.navbar-transparent .navbar-nav .nav-link.active {
    color: white !important;
    background: rgba(235, 45, 46, 0.8);
    transform: translateY(-2px);
}

.navbar-transparent.scrolled .navbar-nav .nav-link {
    color: var(--primary) !important;
}

.navbar-transparent.scrolled .navbar-nav .nav-link:hover,
.navbar-transparent.scrolled .navbar-nav .nav-link.active {
    color: white !important;
    background: var(--secondary);
}

.navbar-transparent .navbar-toggler {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    border-radius: 10px;
    padding: 4px 8px;
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(235, 45, 46, 0.15);
}

.navbar-transparent.scrolled .navbar-toggler {
    color: var(--secondary);
    border-color: var(--secondary);
    background: #ffffff;
    box-shadow: 0 0 0 2px rgba(235, 45, 46, 0.15);
}

/* Show hamburger icon clearly on transparent header */
.navbar-transparent .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(235,45,46,1)' stroke-width='3.2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h22M4 15h22M4 22h22'/%3E%3/svg>") !important;
    width: 1.6em;
    height: 1.6em;
    background-size: 1.6em 1.6em !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    filter: none !important;
}
.navbar-transparent.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(235,45,46,1)' stroke-width='3.2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h22M4 15h22M4 22h22'/%3E%3/svg>") !important;
    width: 1.6em;
    height: 1.6em;
    background-size: 1.6em 1.6em !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    filter: none !important;
}

/* Custom hamburger (three red lines) inside navbar toggler */
.navbar-toggler .hamburger {
    width: 30px;
    height: 22px;
    position: relative;
    display: inline-block;
}

.navbar-toggler .hamburger::before,
.navbar-toggler .hamburger::after,
.navbar-toggler .hamburger span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.navbar-toggler .hamburger::before { top: 0; }
.navbar-toggler .hamburger span { top: 8.5px; display: block; }
.navbar-toggler .hamburger::after { top: 17px; }

/* Hide default bootstrap icon if present */
.navbar-toggler .navbar-toggler-icon { display: none !important; }

/* Mobile menu styles */
@media (max-width: 991.98px) {
    .navbar-transparent {
        padding: 8px 0;
    }
    .navbar-transparent .navbar-brand h2 {
        color: var(--primary) !important;
        font-size: 1.25rem;
    }
    .navbar-transparent .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 12px;
        padding: 10px 12px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    }
    .navbar-transparent .navbar-nav .nav-link {
        color: var(--primary) !important;
        margin: 6px 0;
        padding: 10px 12px !important;
        border-radius: 8px;
    }
    .navbar-transparent .navbar-nav .nav-link:hover,
    .navbar-transparent .navbar-nav .nav-link.active {
        color: #fff !important;
        background: var(--secondary);
        transform: none;
    }
}

/* Enhanced Carousel */
.header-carousel {
    height: 100vh !important;
}

.owl-carousel-item {
    height: 100vh !important;
    position: relative;
}

.owl-carousel-item img {
    width: 100%;
    height: 100vh !important;
    object-fit: cover;
    object-position: center;
}

/* Carousel Content */
.owl-carousel-item .position-absolute {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
    padding-top: 100px;
}

.owl-carousel-item h1 {
    font-size: 4rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.owl-carousel-item p {
    font-size: 1.3rem;
    line-height: 1.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 800px;
}

/* Carousel Navigation */
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50%;
    margin: 10px 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: rgba(235, 45, 46, 0.8) !important;
    border-color: rgba(235, 45, 46, 0.8) !important;
    transform: scale(1.1);
}

.header-carousel .owl-nav .owl-prev i,
.header-carousel .owl-nav .owl-next i {
    color: white;
    font-size: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }
    
    .header-carousel,
    .owl-carousel-item,
    .owl-carousel-item img {
        height: 80vh !important;
    }
    
    .owl-carousel-item h1 {
        font-size: 2.5rem;
    }
    
    .owl-carousel-item p {
        font-size: 1rem;
    }
    
    .navbar-transparent {
        padding: 10px 0;
    }
    
    .navbar-transparent .navbar-brand h2 {
        font-size: 1.5rem;
    }

}
    /* الأساسيات فقط */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      -webkit-tap-highlight-color: transparent; /* إزالة اللون الأزرق عند النقر على الآيفون */
    }

    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%; /* منع تكبير النص تلقائياً في الآيفون */
    }

    body {
      font-family: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
      font-size: 16px;
      line-height: 1.6;
      color: #222;
      background: #fff;
      -webkit-font-smoothing: antialiased; /* تحسين وضوح الخطوط */
      -moz-osx-font-smoothing: grayscale;
    }

    /* Header */
    .header {
      position: fixed;
      top: 0;
      width: 100%;
      background: rgba(255,255,255,0.95);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px); /* دعم سفاري */
      padding: 15px 30px;
      z-index: 1000;
      transition: all 0.3s ease;
      /* دعم الآيفون X والأجهزة ذات الشق */
      padding-top: env(safe-area-inset-top);
      padding-top: constant(safe-area-inset-top); /* للدعم القديم */
    }

    .header.scrolled {
      background: #fff;
      box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    }

    .navbar-wrapper {
      display: flex;
      justify-content: space-between;
      align-items: center;
      max-width: 1200px;
      margin: 0 auto;
    }

    .navbar-logo-container img {
      height: 50px;
      width: auto;
    }

    .nav-menu-wrapper {
      display: flex;
      align-items: center;
      gap: 30px;
    }

    .nav-menu-two {
      display: flex;
      gap: 25px;
      list-style: none;
    }

    .nav-link {
      color: #333;
      text-decoration: none;
      font-weight: 600;
      padding: 8px 16px;
      border-radius: 6px;
      transition: all 0.3s ease;
      -webkit-user-select: none; /* منع التحديد في الآيفون */
      user-select: none;
    }

    .nav-link:hover {
      color: #1a3399;
      background: #f0f4ff;
    }

    .language-switcher {
      display: flex;
      align-items: center;
      gap: 8px;
      background: #f3f4f6;
      border-radius: 20px;
      padding: 4px 12px;
    }

    .language-btn {
      background: none;
      border: none;
      font-weight: 600;
      cursor: pointer;
      padding: 6px 12px;
      border-radius: 6px;
      transition: all 0.3s ease;
      -webkit-appearance: none; /* إزالة المظهر الافتراضي في سفاري */
      appearance: none;
    }

    .language-btn.active {
      background: #1a3399;
      color: #fff;
    }

    /* قائمة الهاتف المحمول */
    .mobile-menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      padding: 8px;
      -webkit-appearance: none;
      appearance: none;
    }

    /* Hero Section - تم التعديل لدعم السلايدر */
    .hero-section {
      margin-top: 80px;
      position: relative;
      overflow: hidden;
      /* دعم الآيفون  */
      padding-top: env(safe-area-inset-top);
    }

    /* Owl Carousel Custom Styles */
    .header-carousel {
      position: relative;
      height: 70vh;
      min-height: 500px;
    }

    .owl-carousel {
      width: 100%;
      height: 100%;
    }

    .owl-stage-outer, .owl-stage, .owl-item {
      height: 100%;
    }

    .owl-carousel-item {
      position: relative;
      height: 70vh;
      min-height: 500px;
    }

    .owl-carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .owl-carousel-item .position-absolute {
      background: rgba(0,0,0,0.4); /* طبقة شفافة لتحسين قراءة النص */
    }

    .carousel-content {
      color: white;
      text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    }

    .carousel-content h1 {
      font-size: 3.5rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      line-height: 1.2;
    }

    .carousel-content p {
      font-size: 1.3rem;
      line-height: 1.7;
      max-width: 700px;
      font-weight: 400;
    }

    /* تحسينات النصوص للغة العربية */
    body[dir="rtl"] .carousel-content h1 {
      font-size: 4rem;
      font-weight: 800;
      line-height: 1.3;
    }

    body[dir="rtl"] .carousel-content p {
      font-size: 1.4rem;
      line-height: 1.8;
      font-weight: 400;
    }

    /* تحكمات السلايدر */
    .owl-nav {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      pointer-events: none;
      padding: 0 20px;
    }

    .owl-prev, .owl-next {
      pointer-events: all;
      background: rgba(255,255,255,0.3) !important;
      width: 60px;
      height: 60px;
      border-radius: 50% !important;
      display: flex !important;
      align-items: center;
      justify-content: center;
      transition: all 0.3s ease;
      border: 2px solid rgba(255,255,255,0.5) !important;
    }

    .owl-prev:hover, .owl-next:hover {
      background: rgba(255,255,255,0.6) !important;
      transform: scale(1.1);
    }

    .owl-dots {
      position: absolute;
      bottom: 30px;
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 12px;
    }

    .owl-dot {
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: rgba(255,255,255,0.5) !important;
      transition: all 0.3s ease;
      border: 2px solid transparent;
    }

    .owl-dot.active {
      background: white !important;
      transform: scale(1.3);
      border-color: rgba(255,255,255,0.8);
    }

    /* Sections */
    .section {
      padding: 80px 20px;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
    }

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

    /* تحسين النصوص للغة العربية في كل الأقسام */
    body[dir="rtl"] .section-header h2 {
      font-size: 2.8rem;
      font-weight: 800;
    }

    body[dir="rtl"] .section-header p {
      font-size: 1.3rem;
    }

    body[dir="rtl"] .section p {
      font-size: 1.2rem;
      line-height: 1.8;
    }

    /* Products Grid */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-top: 40px;
    }

    .product-card {
      background: white;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
      transition: all 0.3s ease;
      text-decoration: none;
      color: inherit;
      -webkit-transform: translateZ(0); /* تحسين الأداء في الآيفون */
      transform: translateZ(0);
    }

    .product-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    }

    .product-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }

    .product-title {
      padding: 20px;
      text-align: center;
    }

    .product-title h3 {
      font-size: 1.3rem;
      font-weight: 700;
      margin: 0;
    }

    body[dir="rtl"] .product-title h3 {
      font-size: 1.4rem;
    }

    /* Stats */
    .stats-section {
      background: #f8fafc;
      text-align: center;
    }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 40px;
    }

    .stat-number {
      font-size: 3.5rem;
      font-weight: 800;
      color: #1a3399;
      margin-bottom: 10px;
    }

    body[dir="rtl"] .stat-number {
      font-size: 4rem;
    }

    .stat-item div:last-child {
      font-size: 1.2rem;
      font-weight: 600;
    }

    body[dir="rtl"] .stat-item div:last-child {
      font-size: 1.3rem;
    }

    /* Clients */
    .clients-section {
      background: #f8fafc;
    }

    .clients-marquee {
      overflow: hidden;
      position: relative;
    }

    .marquee-track {
      display: flex;
      animation: scroll-left 30s linear infinite;
      gap: 60px;
      /* تحسين الأداء في الآيفون */
      -webkit-transform: translate3d(0,0,0);
      transform: translate3d(0,0,0);
    }

    .client-logo {
      flex-shrink: 0;
      padding: 0 30px;
    }

    .client-logo img {
      height: 50px;
      transition: all 0.3s ease;
    }

    .client-logo img:hover {
      opacity: 0.7;
      filter: grayscale(100%);
     
    }

    @keyframes scroll-left {
      0% { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }

    /* Footer */
    .footer {
      background: #1a1a1a;
      color: white;
      padding: 60px 20px 20px;
      /* دعم الآيفون X */
      padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }

    .footer-content {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-section h3 {
      color: white;
      margin-bottom: 20px;
      font-size: 1.4rem;
      font-weight: 700;
    }

    body[dir="rtl"] .footer-section h3 {
      font-size: 1.5rem;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a, .footer-links li {
      color: #ccc;
      text-decoration: none;
      transition: color 0.3s ease;
      font-size: 1.1rem;
    }

    body[dir="rtl"] .footer-links a, 
    body[dir="rtl"] .footer-links li {
      font-size: 1.2rem;
    }

    .footer-links a:hover {
      color: white;
    }

    /* CSS للغة العربية */
    body[dir="rtl"] {
      font-family: 'Tajawal', sans-serif;
      text-align: right;
    }

    body[dir="rtl"] .nav-menu-two {
      padding-right: 0;
    }

    body[dir="rtl"] .footer-content {
      direction: rtl;
    }

    body[dir="rtl"] .footer-links {
      padding-right: 0;
    }

    body[dir="rtl"] .section-header {
      text-align: center;
    }

    body[dir="rtl"] .carousel-content {
      text-align: right;
    }

    body[dir="rtl"] .owl-nav {
      flex-direction: row-reverse;
    }

    /* إصلاح مشكلة السلايدر في RTL */
    body[dir="rtl"] .owl-carousel {
      direction: ltr;
    }

    body[dir="rtl"] .owl-carousel .owl-item {
      direction: rtl;
    }

    body[dir="rtl"] .owl-carousel .owl-stage-outer {
      direction: ltr;
    }

    /* تحسينات للهواتف المحمولة */
    @media (max-width: 768px) {
      .header {
        padding: 10px 15px;
        padding-top: calc(10px + env(safe-area-inset-top));
      }
      
      .navbar-wrapper {
        flex-direction: row;
        gap: 15px;
      }
      
      .nav-menu-wrapper {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
      }
      
      .nav-menu-wrapper.active {
        right: 0;
      }
      
      .nav-menu-two {
        flex-direction: column;
        gap: 20px;
        text-align: right;
        width: 100%;
        padding: 0 20px;
      }
      
      .nav-link {
        display: block;
        padding: 12px 16px;
        border-radius: 8px;
        font-size: 18px;
      }
      
      .mobile-menu-toggle {
        display: block;
        z-index: 1001;
      }
      
      .language-switcher {
        margin-top: 20px;
      }
      
      .hero-section {
        margin-top: 70px;
      }
      
      .header-carousel,
      .owl-carousel-item {
        height: 50vh;
        min-height: 400px;
      }
      
      .carousel-content h1 {
        font-size: 2.2rem;
      }
      
      .carousel-content p {
        font-size: 1.1rem;
      }
      
      body[dir="rtl"] .carousel-content h1 {
        font-size: 2.5rem;
      }
      
      body[dir="rtl"] .carousel-content p {
        font-size: 1.2rem;
      }
      
      .owl-nav {
        display: none;
      }
      
      .section {
        padding: 60px 15px;
      }
      
      .products-grid {
        grid-template-columns: 1fr;
      }
      
      /* إضافة طبقة شفافة عند فتح القائمة */
      .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
      }
      
      .overlay.active {
        display: block;
      }
    }

    @media (max-width: 480px) {
      .header-carousel,
      .owl-carousel-item {
        height: 40vh;
        min-height: 300px;
      }
      
      .carousel-content h1 {
        font-size: 1.8rem;
      }
      
      .carousel-content p {
        font-size: 1rem;
      }
      
      body[dir="rtl"] .carousel-content h1 {
        font-size: 2rem;
      }
      
      body[dir="rtl"] .carousel-content p {
        font-size: 1.1rem;
      }
      
      .stats-grid {
        grid-template-columns: 1fr;
      }
    }

    /* تحسينات خاصة بالآيفون */
    @supports (-webkit-touch-callout: none) {
      .header-carousel,
      .owl-carousel-item {
        min-height: -webkit-fill-available;
      }
      
      .footer {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
      }
    }

    /* منع التكبير في حقول الإدخال في الآيفون */
    @media screen and (max-width: 768px) {
      input, select, textarea {
        font-size: 16px !important;
      }
      /* تأثير إضافي للعناوين */
.hero-title-blue {
    position: relative;
    display: inline-block;
}

.hero-title-blue::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #1a3399, transparent);
    border-radius: 2px;
    opacity: 0.8;
    transform: scaleX(0);
    transition: transform 0.6s ease;
}
    }
    .projects-section {
    padding: 80px 0;
    background: #f8fafc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.project-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 500px;
}

.project-arrows-bar {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 20px;
}

.project-arrow-btn {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    width: 54px;
    height: 54px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    pointer-events: auto;
    transition: all 0.3s ease;
    color: #1a3399;
}

.project-arrow-btn:hover {
    background: #1a3399;
    color: white;
    transform: scale(1.1);
}

#project-slides {
    position: relative;
    height: 500px;
}

.project-slide {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
}

.project-slide.active {
    opacity: 1;
}

.project-thumbnail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.floating-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    height: 400px;
    transition: transform 0.3s ease;
}

.floating-image-wrapper:hover {
    transform: translateY(-5px);
}

.floating-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.floating-image-wrapper:hover .floating-image {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 51, 153, 0.1), rgba(26, 51, 153, 0.05));
    transition: opacity 0.3s ease;
}

.floating-image-wrapper:hover .image-overlay {
    opacity: 0.8;
}

.project-content-box {
    padding: 40px;
}

.project-description h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.project-label {
    background: #e6eeff;
    color: #1a3399;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-label:hover {
    background: #1a3399;
    color: white;
    transform: translateY(-2px);
}

.bullet-indicator {
    width: 6px;
    height: 6px;
    background: #1a3399;
    border-radius: 50%;
    opacity: 0.6;
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

/* تحسينات للغة العربية */
body[dir="rtl"] .project-arrow-btn svg {
    transform: rotate(180deg);
}

body[dir="rtl"] .section-header {
    text-align: center;
}

body[dir="rtl"] .project-description h3 {
    text-align: right;
}

body[dir="rtl"] .project-description p {
    text-align: right;
}

body[dir="rtl"] .project-meta {
    flex-direction: row-reverse;
}

/* تحسينات النصوص للغة العربية */
body[dir="rtl"] .section-header h2 {
    font-size: 3rem;
}

body[dir="rtl"] .section-header p {
    font-size: 1.3rem;
}

body[dir="rtl"] .project-description h3 {
    font-size: 2.4rem;
}

body[dir="rtl"] .project-description p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* تحسينات للهواتف المحمولة */
@media (max-width: 768px) {
    .projects-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .project-slider-wrapper {
        min-height: 400px;
    }
    
    #project-slides {
        height: 400px;
    }
    
    .project-thumbnail {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .project-content-box {
        padding: 20px;
    }
    
    .project-description h3 {
        font-size: 1.8rem;
    }
    
    .floating-image-wrapper {
        height: 250px;
    }
    
    .project-arrows-bar {
        padding: 0 10px;
    }
    
    .project-arrow-btn {
        width: 44px;
        height: 44px;
    }
    
    .project-meta {
        justify-content: center;
    }
    
    /* تحسينات للغة العربية في الهواتف */
    body[dir="rtl"] .section-header h2 {
        font-size: 2.4rem;
    }
    
    body[dir="rtl"] .project-description h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .project-description h3 {
        font-size: 1.5rem;
    }
    
    .project-description p {
        font-size: 1rem;
    }
    
    .project-label {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    /* تحسينات للغة العربية في الشاشات الصغيرة */
    body[dir="rtl"] .project-description h3 {
        font-size: 1.6rem;
    }
    
    body[dir="rtl"] .project-description p {
        font-size: 1.1rem;
    }
}

/* تأثيرات إضافية */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-slide.active .project-thumbnail {
    animation: fadeIn 0.6s ease;
}

.project-slide.active .project-content-box {
    animation: fadeIn 0.6s ease 0.2s both;
}

.contact-section {
    padding: 80px 0;
    background: #fff;
}

.contact-section .section-header {
    margin-bottom: 60px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-card {
    background: #f8fafc;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(26, 51, 153, 0.08);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(26, 51, 153, 0.15);
    background: #fff;
}

.contact-icon {
    font-size: 2.5rem;
    color: #1a3399;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
    color: #e92b2d;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.contact-card a {
    color: #1a3399;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-card a:hover {
    color: #e92b2d;
    text-decoration: underline;
}

.contact-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 51, 153, 0.15);
    margin-top: 20px;
}

.contact-map iframe {
    display: block;
    border: none;
}

/* تحسينات للغة العربية */
body[dir="rtl"] .contact-card {
    text-align: center;
}

body[dir="rtl"] .contact-card h3 {
    font-size: 1.4rem;
}

body[dir="rtl"] .contact-card a {
    font-size: 1.2rem;
}

/* تحسينات للهواتف المحمولة */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon {
        font-size: 2rem;
    }
    
    .contact-card h3 {
        font-size: 1.2rem;
    }
    
    .contact-card a {
        font-size: 1rem;
    }
    
    .contact-map {
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-card {
        padding: 25px 15px;
    }
    
    .contact-grid {
        gap: 15px;
        margin-bottom: 30px;
    }
}

/* تأثيرات إضافية */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-card {
    animation: fadeInUp 0.6s ease;
}

.contact-card:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-map {
    animation: fadeInUp 0.6s ease 0.4s both;
}