/*
Theme Name: Koptan El Khalig co
Theme URI: https://serv5.com/
Author: moamen abou alkahir
*/


/* --- General Styles --- */
body {
    font-family: sans-serif;
    margin: 0;
}
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;

}
img {
    max-width: 100%;
    height: auto;
}

.site-header {
    background-color: #fff;
}

.header-top {
    border-bottom: 1px solid #eaeaea;
    padding: 8px 0;
    font-size: 13px;
    color: #555;
}
.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.top-bar-nav li a {
    text-decoration: none;
    color: #555;
    padding: 0 12px;
}
.top-bar-nav li:not(:last-child) a {
    border-right: 1px solid #ccc;
}
.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
}
.language-switcher .fa-chevron-down {
    font-size: 10px;
}

.header-main {
    border-bottom: 1px solid #eaeaea;
    padding: 15px 0;
}
.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
    width: 100%;
}

.site-branding img {
    max-height: 60px;
    display: block;
}
.header-right-wrapper {
    display: contents;
    align-items: center; 
    gap: 25px;
}
.main-navigation {
    display: flex;
    align-items: center; 
    gap: 25px;
}

.main-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}
.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
}
.main-nav .menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 8px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}
.search-form {
    position: relative;
}
.search-field {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 35px 8px 15px;
    min-width: 200px;
}
.search-submit {
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #777;
    padding: 5px;
}
.button-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #007bff;
    color: #007bff;
    background-color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap; 
}
.button-primary:hover {
    background-color: #007bff;
    color: #fff;
}

.site-branding .site-title-wrap a {
    text-decoration: none;
}
.site-branding .site-title {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin: 0;
}
.site-branding .site-description {
    font-size: 14px;
    color: #777;
    margin: 0;
}



[dir="rtl"] .header-top .container {
    flex-direction: row-reverse; 
}
[dir="rtl"] .top-bar-nav li:not(:last-child) a {
    border-right: none;
    border-left: 1px solid #ccc;
}

[dir="rtl"] .header-main .container {
}
[dir="rtl"] .main-nav .menu-item-has-children > a::after {
    margin-left: 0;
    margin-right: 8px;
}
[dir="rtl"] .search-field {
    padding: 8px 15px 8px 35px;
}
[dir="rtl"] .search-submit {
    right: auto;
    left: 5px;
}
[dir="rtl"] .button-primary i {
    transform: scaleX(-1);
}



.hero-section {
    background-color: #f0f4f8;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/world-map-bg.webp');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0.2; 
    z-index: -1; 
}


.hero-section .container {
    display: flex; 
    align-items: center; 
    gap: 40px; 
}

.hero-content {
    flex: 1; 
    max-width: 50%;
    z-index: 2; 
}

.hero-title {
    font-size: 48px;
    color: #1d3557;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 800; 
}

.hero-subtitle {
    font-size: 24px;
    color: #457b9d;
    margin-top: 0;
    margin-bottom: 30px;
}

.hero-description strong {
    font-size: 18px;
    color: #1d3557;
    display: block;
    margin-bottom: 5px;
}

.hero-description p {
    color: #555;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 40px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #007bff;
    color: #007bff;
    background-color: transparent;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hero-button:hover {
    background-color: #007bff;
    color: #fff;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    background-color: #000; 
    
    animation: wrapper-animation 4s ease-in-out infinite;
    

}

.hero-image-wrapper::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50%;
    height: 60%;
    background: #f1c40f;
    z-index: -1;
}


.hero-image-wrapper img {
    display: block;
    width: 100%;
    position: relative; 
        position: absolute; 
    bottom: 0; 

    
    animation-name: truck-animation; 
    animation-duration: 4s; 
    animation-timing-function: ease-in-out; 
    animation-iteration-count: infinite; 
}
@keyframes truck-animation {
    0% {
        transform: translateX(0); 
    }
    50% {
        transform: translateX(-100px); 
    }
    100% {
        transform: translateX(0); 
    }
}




[dir="rtl"] .hero-section .container {
    flex-direction: row-reverse; 
    
}

[dir="rtl"] .hero-button i {
    transform: scaleX(-1);
}





.mobile-menu-toggle {
    display: none; 
    background: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 10px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}
.sr-only { 
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}


@media (max-width: 991px) {
    .header-top {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        padding: 5px;
        font-size: 26px;
        color: #1d3557;
        cursor: pointer;
    }

.header-right-wrapper {
    background-color: #ffffff; 
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;     
    gap: 35px;

    position: fixed;
    top: 0;
    right: 0;
    width: 100%; 
    height: 100%;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
    .mobile-menu-open .header-right-wrapper {
        transform: translateX(0);
    }
    
.close-menu-btn {
      display: block !important;

   position: absolute;

    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: #222;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
}

    .main-navigation {
        width: 100%;
    }
    .main-nav {
        flex-direction: column;
        gap: 15px; 
        width: 100%;
        align-items: center; 
    }
    .main-nav a {
        color: #222;
        padding: 10px 25px;
        font-size: 20px;
        font-weight: 500;
        text-align: center;
        width: fit-content; 
        

        
        transition: color 0.3s ease;
    }
    .main-nav a:hover {
        color: #007bff;
    }

    .header-actions {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center; 
        gap: 20px;
    }
    .search-form {
        max-width: 300px; 
        width: 100%;
    }
    .search-field {
        text-align: center;
        border-radius: 20px; 
        border: 1px solid #ccc;
        padding: 10px 20px;
    }
    .search-submit {
        display: none; 
    }

    .button-primary {
        border-radius: 20px;
        border-color: #222;
        color: #222;
        font-weight: bold;
    }
    .button-primary:hover {
        background-color: #222;
        color: #fff;
    }

    .menu-overlay {
        display: none;
    }
    
    [dir="rtl"] .header-right-wrapper {
        right: auto;
        left: 0;
        transform: translateX(-100%);
    }
[dir="rtl"] .mobile-menu-open .header-right-wrapper {
    transform: translateX(0);
}
    [dir="rtl"] .close-menu-btn {
        right: auto;
        left: 25px;
    }

[dir="rtl"] .hero-section .container {
    flex-direction: column;
}
    .hero-section {
        padding: 60px 10px;
    }
    .hero-section .container {
        flex-direction: column;
        text-align: center;
    }
    .hero-content, .hero-image-wrapper {
        max-width: 100%;
        width: 100%;
    }
    .hero-image-wrapper {
        transform: none !important;
        clip-path: none !important;
        min-height: 250px;
    }
    .hero-title {
        font-size: 36px;
    }
}



.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 999; 
    opacity: 0;
    visibility: hidden;  
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.mobile-menu-open .menu-overlay {
    opacity: 1;
    visibility: visible; 
}
.close-menu-btn {
    display: none;  
}



.cards-section {
    padding: 40px 0;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);  
    gap: 30px;
}

.card-item {
    background-color: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card-item:hover {
    transform: translateY(-10px);
    background-color: #FFC107; 
    color: #212529; 
}

.card-icon {
    max-height: 50px;
    margin-bottom: 20px;
}

.card-number {
    font-size: 36px;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.card-item:hover .card-number {
    color: inherit; 
}

.card-text {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    transition: color 0.3s ease;
}

.card-item:hover .card-text {
    color: inherit;
}

@media (max-width: 991px) {
    .cards-section {
        margin-top: 0;
        padding: 60px 0;
    }
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .cards-grid {
        grid-template-columns: 1fr; 
    }
}


.about-section {
    overflow: hidden;
}
.dotted-divider {
    border-top: 2px dotted #e0e0e0;
    margin: 40px 0;
}
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}
.about-content {
    flex: 1;
}
.about-image-wrapper {
    flex: 1;
    position: relative;
}
.about-small-heading {
    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}
.about-main-heading {
    font-size: 36px;
    color: #212529;
    margin-top: 0;
    margin-bottom: 5px;
}
.about-sub-heading {
    font-size: 24px;
    color: #212529;
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
}
.about-paragraph {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 30px;
}
.about-button {
    background-color: #ffc107;
    color: #212529;
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.about-button:hover {
    background-color: #e0a800;
}
.about-main-image {
    width: 100%;
    border-radius: 15px;
    display: block;
}
.about-badge {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
}
.badge-icon-wrapper {
    background-color: #ffc107;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.badge-icon {
    width: 30px;
    height: 30px;
}
.badge-number {
    font-size: 36px;
    font-weight: bold;
    color: #212529;
    line-height: 1;
}
.badge-text {
    background-color: #212529;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 5px;
    margin-left: -10px;
    align-self: flex-end;
}

[dir="rtl"] .about-wrapper {
    flex-direction: row-reverse;
}
[dir="rtl"] .about-badge {
    left: auto;
    right: -40px;
}
[dir="rtl"] .badge-text {
    margin-left: 0;
    margin-right: -10px;
}

@media (max-width: 991px) {
    .about-wrapper {
        flex-direction: column;
        padding: 10px;
    }
    .about-badge {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        box-sizing: border-box;
        justify-content: center;
    }
    [dir="rtl"] .about-badge {
        right: 50%;
        transform: translateX(50%);
    }
}


.testimonials-section {
    padding: 10px 0;
    background-color: #f8f9fa;
}
.section-header {
    margin-bottom: 20px;
}
.section-small-title {
    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    margin-bottom: 10px;
    display: block;
}
.section-main-title {
    font-size: 42px;
    color: #1d3557;
    margin: 0;
    line-height: 1.2;
}
.testimonials-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    padding: 10px;
}
.featured-testimonial {
    position: relative;
}
.featured-image-wrapper {
    position: relative;
    padding-top: 30px;
    padding-left: 30px;
}
.featured-image-wrapper .bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: #ffc107;
    border-radius: 20px 20px 0px 0px;
    z-index: 1;
}
.featured-image-wrapper img {
    position: relative;
    z-index: 2;
    border-radius: 20px;
}
.featured-text-box {
    background-color: #1d3557;
    color: #fff;
    padding: 30px;
    border-radius: 0px 0px 20px 20px;
    margin-top: -80px;
    position: relative;
    z-index: 3;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.stars {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 15px;
}
.featured-text-box p {
    margin: 0 0 20px 0;
    line-height: 1.6;
    opacity: 0.9;
}
.author {
    font-size: 14px;
    text-transform: uppercase;
}
.author span {
    opacity: 0.7;
}

.testimonial-slider-wrapper {
    position: relative;
    min-width: 0;
}

.quotes-icon {
    font-size: 120px;
    color: #007bff;
    position: absolute;
    top: -50px;
    left: -20px;
    line-height: 1;
    opacity: 0.8;
}

.testimonial-slider-container {
    padding-top: 30px;
    width: 100%;  
}

.testimonial-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 150px;
}
.swiper-pagination {
    position: static;
    margin-top: 30px;
}
.swiper-pagination-bullet {
    background-color: #007bff;
    opacity: 0.5;
    width: 10px;
    height: 10px;
}
.swiper-pagination-bullet-active {
    opacity: 1;
}


.testimonial-slider-wrapper .swiper-pagination {
    position: static; 
    margin-top: 30px;
    padding-bottom: 10px;
}

@media (max-width: 991px) {
    .testimonials-wrapper {
        grid-template-columns: 1fr;
    }
}




.featured-text-box p,
.testimonial-card p {
    overflow-wrap: break-word; 
    word-wrap: break-word; 
}

@media (max-width: 991px) {

    .quotes-icon {
        top: -20px;
        left: 10px; 
        font-size: 80px; 
    }
}


.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: #2D5AA9; 
    color: #fff;
}

.service-icon-wrapper {
    background-color: #e7f1ff; 
    border-radius: 10px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    transition: background-color 0.3s ease-in-out;
}

.service-card:hover .service-icon-wrapper {
    background-color: #007bff;
}

.service-icon {
    width: 32px;
    height: 32px;
    transition: filter 0.3s ease-in-out;
}

.service-card:hover .service-icon {
    filter: brightness(0) invert(1);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 15px;
    color: #212529;
    transition: color 0.3s ease-in-out;
}

.service-card:hover .service-title {
    color: #fff;
}

.service-description {
    font-size: 16px;
    line-height: 1.6;
    color: #6c757d;
    margin: 0;
    transition: color 0.3s ease-in-out;
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr; 
    }
}

[dir="rtl"] .service-card {
    text-align: right;
}

.process-section {
    padding: 80px 0;
    position: relative;
    background-color: #fff;
}

.process-section .container {
    border: 2px dotted #007bff;
    padding: 60px 40px; 
    border-radius: 15px;
    position: relative; 
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center; 
    position: relative;
    margin-top: 60px; 
}

.process-step {
    position: relative;
    text-align: center;
    padding-top: 150px; 
}

.step-bg-number {
    font-size: 120px;
    font-weight: 800;
    color: #f1f5f9; 
    position: absolute;
    top: 0; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    line-height: 1;
}

.step-box {
    background-color: #1d3557;
    width: 300px;
    height: 50px;
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.process-step:first-child .step-box {
    background-color: #4a47a3;
}

.step-number {
    font-size: 24px;
    font-weight: 700;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 15px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + 10px); 
    width: 80px;  
    height: 30px; 
    background-image: url('assets/images/arrow.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    transform: translateY(-100%); 
}

@media (max-width: 991px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 80px; 
        margin-top: 40px;
    }
    .process-step {
        padding-top: 60px; 
    }
    .step-bg-number {
        font-size: 120px; 
    }
    .process-step:not(:last-child)::after {
        width: 60px; 
        height: 60px;
        left: 50%;
        top: 100%;
        transform: translate(-50%, 10px) rotate(90deg);
    }
}

[dir="rtl"] .step-box {
    text-align: right;
    flex-direction: row-reverse;
}
[dir="rtl"] .step-number {
    border-right: none;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    padding-right: 0;
    padding-left: 15px;
}
[dir="rtl"] .process-step:not(:last-child)::after {
    left: auto;
    right: calc(100% + 10px); 
    transform: translateY(-100%) scaleX(-1); 
}
@media (max-width: 991px) {
    [dir="rtl"] .process-step:not(:last-child)::after {
        right: 50%;
        left: auto;
        transform: translate(50%, 10px) rotate(90deg); 
    }
}


.video-section {
}

.video-link-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
}

.video-link-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.play-button-icon {
    width: 90px;
    height: 90px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.play-button-icon i {
    font-size: 32px;
    color: #007bff;
    margin-left: 5px;
}

.video-link-wrapper:hover .play-button-icon {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .video-link-wrapper {
        min-height: 300px; 
    }
    .play-button-icon {
        width: 70px;
        height: 70px;
    }
    .play-button-icon i {
        font-size: 24px;
    }
}


.site-footer {
    background-color: #1d3557;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 10px 10px 10px;
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 50px;
}
.footer-column h3.footer-widget-title {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 25px;
}
.footer-logo .custom-logo-link {
    display: inline-block;
    margin-bottom: 20px;
}
.footer-logo img {
    max-height: 50px;
}
.footer-description {
    line-height: 1.7;
    margin-bottom: 25px;
}
.footer-socials {
    display: flex;
    gap: 15px;
}
.footer-socials a {
    color: #fff;
    font-size: 20px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.footer-socials a:hover {
    color: #ffc107;
    transform: translateY(-3px);
}
.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu-list li {
    margin-bottom: 12px;
}
.footer-menu-list a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-menu-list a:hover {
    color: #fff;
}
.subscribe-form input {
    width: 300px;
    background-color: #fff;
    border: none;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}
.subscribe-form button {
    width: 330px;
    background-color: #ffc107; 
    color: #1d3557;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.subscribe-form button:hover {
    background-color: #e0a800;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.copyright-text, .designer-text {
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}


.breadcrumb-area {
    background-color: #302BC9;
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0;
    position: relative; 
    overflow: hidden;
    
    background-image: radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.06), transparent 40%);
}

.breadcrumb-area::before {
    content: 'قبطان الخليج'; 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1; 
    white-space: nowrap; 
    user-select: none;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
    position: relative; 
    z-index: 2; 
}

.breadcrumb-content a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.breadcrumb-content a:hover {
    color: #ffc107;
}

.breadcrumb-separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb-current {
    color: #fff;
    font-weight: 600;
}

[dir="rtl"] .breadcrumb-area {
    background-image: radial-gradient(circle at 10% 50%, rgba(255, 255, 255, 0.06), transparent 40%);
}

.certified-section {
    padding: 80px 0;
}
.certified-wrapper {
    display: flex;
    align-items: center;
    box-shadow: 0 13px 19px 0 rgba(0, 0, 0, 0.07);
}
.certified-content {
    flex: 1;
    text-align: left;
    padding: 15px;
}
.certified-logo img {
    max-height: 80px;
    margin-bottom: 20px;
}
.certified-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d3557;
    text-transform: uppercase;
    line-height: 1.4;
}
.certified-images {
    flex: 1.5;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.certificate-item {
    background-color: #fff;
    padding: 15px;
    text-align: center;
    flex: 1;
    position: relative; 
    padding-bottom: 25px; 
    border-bottom: 4px solid transparent;
    box-shadow: 0 8px 9px 0 rgba(0, 0, 0, 0.07);
    
}

.certificate-item::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 25px;
    width: 60px;
    height: 10px;
}

.certificate-item--yellow {
    border-bottom-color: #ffc107;
}


.certificate-item--blue {
    border-bottom-color: #1d3557;
}


.certificate-item img {
    max-width: 100%;
    height: auto;
    border: 1px solid #eee;
    margin-bottom: 15px;
}
.certificate-caption {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    text-transform: uppercase;
}

[dir="rtl"] .certified-content {
    text-align: right;
}
[dir="rtl"] .certified-wrapper {
    flex-direction: row-reverse;
}

@media (max-width: 991px) {
    .certified-wrapper {
        flex-direction: column;
        text-align: center;
    }
    [dir="rtl"] .certified-wrapper {
        flex-direction: column;
    }
    [dir="rtl"] .certified-content {
        text-align: center;
    }
}
@media (max-width: 576px) {
    .certified-images {
        flex-direction: column;
    }
}

.mission-section {
    padding: 80px 0;
    background-color: #f8f9fa; 
}
.mission-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 10px;
}
.mission-content {
    flex: 1;
}
.mission-image {
    flex: 1;
}
.mission-title {
    font-size: 36px;
    font-weight: 700;
    color: #1d3557;
    margin-top: 0;
    margin-bottom: 25px;
}
.mission-content p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
}
.mission-image img {
    width: 100%;
    height: auto;
    display: block;
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 20% 100%, 0 80%);
    border-radius: 15px;
}

[dir="rtl"] .mission-wrapper {
    flex-direction: row-reverse;
}
[dir="rtl"] .mission-image img {
    transform: scaleX(-1);
}
[dir="rtl"] .mission-image {
    transform: scaleX(-1);
}

@media (max-width: 991px) {
    .mission-wrapper {
        flex-direction: column-reverse;
    }
    [dir="rtl"] .mission-wrapper {
        flex-direction: column-reverse;
    }
    .mission-image img {
        clip-path: none;
        border-radius: 15px;
    }
}


.services-details-section {
    padding: 40px 0;
}
.services-details-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
    padding: 10px;
}
.services-details-image {
    flex: 1;
    position: relative;
}

.services-details-image img {
    width: 100%;
    height: auto;
    display: block;
}
.services-details-content {
    flex: 1;
}
.services-details-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d3557;
    margin-top: 0;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.services-details-text p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 20px;
}

[dir="rtl"] .services-details-wrapper {
    flex-direction: row-reverse;
}
[dir="rtl"] .services-details-image::before {
    right: auto;
    left: -20px;
    transform: scaleX(-1);
}
[dir="rtl"] .services-details-image img {
    transform: scaleX(-1);
}

@media (max-width: 991px) {
    .services-details-wrapper {
        flex-direction: column;
    }
    [dir="rtl"] .services-details-wrapper {
        flex-direction: column;
    }
    .services-details-image {
        width: 100%;
        max-width: 500px;
    }
}

.values-section {
    padding: 80px 0;
}
.values-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    background-color: #fff;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    position: relative;
}
.values-content {
    flex: 1;
}
.values-image-wrapper {
    flex: 1;
    position: relative;
}
.values-icon-wrapper {
    background-color: #4a47a3; 
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}
.values-icon-wrapper img {
    width: 32px;
    height: 32px;
}
.values-title {
    font-size: 24px;
    font-weight: 700;
    color: #1d3557;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
}
.values-text p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
}
.values-main-image {
    width: 100%;
    border-radius: 15px;
}
.values-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: #1d3557;
    z-index: -1;
    border-radius: 15px;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 85%);
}

[dir="rtl"] .values-wrapper {
    flex-direction: row-reverse;
}
[dir="rtl"] .values-image-wrapper::before {
    right: auto;
    left: -20px;
    transform: scaleX(-1);
}
[dir="rtl"] .values-main-image {
    transform: scaleX(-1);
}

@media (max-width: 991px) {
    .values-wrapper {
        flex-direction: column;
        padding: 30px;
    }
    [dir="rtl"] .values-wrapper {
        flex-direction: column;
    }
    .values-image-wrapper {
        width: 100%;
    }
}


.contact-hero-section {
    padding: 40px 0;
    background-color: #ffffff;

}
.contact-hero-wrapper {
    display: flex;
    gap: 40px;
    align-items: stretch;
    padding: 10px;
}
.contact-details {
    flex: 1.1; 
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
   box-shadow: 0px 20px 19px 0 rgba(0, 0, 0, 0.07);
   
}
.contact-main-title-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    border-radius: 15px;
    padding: 0px 15px 0px 15px;
    background-size: cover;
    background-position: center;
    min-height: 400px;
}
.contact-main-title {
    color: #1d3557;
    font-size: 42px; 
    font-weight: 800;
    line-height: 1.3;
}
.contact-small-title {
    display: block;
    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
}
.contact-small-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ffc107;
}
.contact-group {
    margin: 30px 0;
    display: flex;
}
.contact-group-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.contact-group-header i {
    font-size: 20px;
    color: #007bff;
}
.contact-group-header h4 {
    margin: 0;
    font-size: 16px;
    color: #212529;
    font-weight: bold;
}
.contact-group-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-left: 35px; 
}
.number-pill {
    background-color: #e7f1ff;
    color: #1d3557;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.number-pill:hover {
    background-color: #007bff;
    color: #fff;
}
.dotted-separator {
    border: 0;
    border-top: 1px dashed #ccc;
    margin: 30px 0;
}

[dir="rtl"] .contact-small-title::after {
    left: auto;
    right: 0;
}
[dir="rtl"] .contact-group-numbers {
    padding-left: 0;
    padding-right: 35px;
}

@media (max-width: 991px) {
    .contact-hero-wrapper {
        flex-direction: column;
    }
    .contact-main-title {
        font-size: 36px;
        color: #fff; 
        text-shadow: 1px 1px 5px rgba(0,0,0,0.3);
    }
}


.info-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    background-image: url('assets/images/map-pattern.png'); 
    background-repeat: repeat;
}
.info-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.info-col-title {
    padding-right: 40px;
}
.info-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #1d3557;
    line-height: 1.3;
}
.info-main-title span {
    color: #007bff;
}
.info-col h4.info-col-title {
    font-size: 16px;
    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.info-col h4.info-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: #ffc107;
}
.info-col a,
.info-col p {
    color: #6c757d;
    text-decoration: none;
    line-height: 1.8;
}
.info-col a {
    color: #1d3557;
    font-weight: 500;
}
.info-hours, .info-location {
    margin-top: 15px;
}
.info-hours p, .info-location p {
    margin: 0 0 5px 0;
}

[dir="rtl"] .info-col-title {
    padding-right: 0;
    padding-left: 40px;
}
[dir="rtl"] .info-col h4.info-col-title::after {
    left: auto;
    right: 0;
}

@media (max-width: 991px) {
    .info-wrapper {
        grid-template-columns: 1fr;
    }
    .info-col-title {
        padding-right: 0;
        text-align: center;
    }
    [dir="rtl"] .info-col-title {
        padding-left: 0;
    }
    .info-col {
        text-align: center;
    }
    .info-col h4.info-col-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    [dir="rtl"] .info-col h4.info-col-title::after {
        right: 50%;
        transform: translateX(50%);
    }
}

.form-section {
    padding: 30px 10px;
}
.form-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}
.form-content {
    flex: 1;
}
.form-image {
    flex: 1;
    position: relative;
}
.form-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: #ffc107; 
    z-index: -1;
    border-radius: 15px;
}
.form-image img {
    width: 100%;
    border-radius: 15px;
    display: block;
}
.form-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d3557;
    margin-top: 0;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.form-container .wpcf7-form p {
    margin: 0 0 15px 0;
}
.form-container .wpcf7-form-control {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f8f9fa;
    font-size: 16px;
    color: #333;
}
.form-container .wpcf7-form-control:focus {
    outline: none;
    border-color: #007bff;
}
.form-container .wpcf7-submit {
    background-color: #ffc107;
    color: #1d3557;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.form-container .wpcf7-submit:hover {
    background-color: #e0a800;
}

[dir="rtl"] .form-wrapper {
    flex-direction: row-reverse;
}
[dir="rtl"] .form-image::before {
    right: auto;
    left: -20px;
}

@media (max-width: 991px) {
    .form-wrapper {
        flex-direction: column;
    }
}

.content-container {
    padding-top: 60px;
    padding-bottom: 60px;
}
.entry-header {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.entry-title {
    font-size: 36px;
    color: #1d3557;
    margin-top: 0;
    margin-bottom: 10px;
}
.entry-meta {
    font-size: 14px;
    color: #6c757d;
}
.entry-meta a {
    color: #1d3557;
    text-decoration: none;
    font-weight: bold;
}
.post-thumbnail {
    margin-bottom: 30px;
}
.post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
.entry-content {
    line-height: 1.8;
    font-size: 17px;
    color: #333;
}
.entry-content h2, .entry-content h3 {
    color: #1d3557;
}
.entry-content a {
    color: #007bff;
    text-decoration: none;
}
.entry-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.tag-links a {
    display: inline-block;
    background-color: #f1f1f1;
    color: #555;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

.page-header {
    margin-bottom: 40px;
    border-bottom: 2px solid #1d3557;
    padding-bottom: 20px;
}
.page-title {
    font-size: 32px;
    color: #1d3557;
}
.archive-description {
    margin-top: 10px;
    color: #555;
}
.archive-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.archive-post-summary {
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.archive-post-summary:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.archive-post-summary .post-summary-content {
    padding: 25px;
}
.archive-post-summary .entry-title {
    font-size: 22px;
}
.read-more-btn {
    display: inline-block;
    margin-top: 20px;
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
}
.pagination {
    margin-top: 60px;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}
.pagination .page-numbers {
    padding: 10px 15px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #1d3557;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background-color: #1d3557;
    color: #fff;
    border-color: #1d3557;
}

@media (max-width: 767px) {
    .archive-posts-grid {
        grid-template-columns: 1fr;
    }
}


.comments-area {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f1f1f1;
}

.comments-title,
.comment-reply-title {
    font-size: 28px;
    font-weight: 700;
    color: #1d3557;
    margin-bottom: 30px;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}
.comment-list .comment {
    margin-bottom: 25px;
}
.comment-body {
    background-color: #f8f9fa; 
    border: 1px solid #e9ecef;
    padding: 25px;
    border-radius: 10px;
    position: relative;
}
.comment-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.comment-author .avatar {
    border-radius: 50%;
}
.comment-author .fn {
    font-style: normal;
    font-weight: bold;
    color: #1d3557;
}
.comment-meta {
    font-size: 13px;
    color: #6c757d;
}
.comment-meta a {
    text-decoration: none;
    color: #6c757d;
}
.comment-content {
    color: #333;
    line-height: 1.7;
}
.reply {
    margin-top: 15px;
}
.comment-reply-link {
    font-size: 14px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.comment-reply-link:hover {
    color: #1d3557;
}
.comment-list .children {
    list-style: none;
    padding-left: 40px;
    margin-top: 25px;
}

.comment-form p {
    margin-bottom: 20px;
}
.comment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: #fff;
    font-size: 16px;
    transition: border-color 0.3s ease;
}
.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #007bff;
}
.comment-form .submit-btn {
    background-color: #ffc107; 
    color: #1d3557; 
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}
.comment-form .submit-btn:hover {
    background-color: #e0a800;
}
.form-allowed-tags {
    font-size: 13px;
    color: #6c757d;
}

.comments-navigation {
    margin-bottom: 30px;
}


.language-switcher a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    transition: color 0.2s ease-in-out;
}

.language-switcher a:hover {
    color: #007bff;
}

.mobile-language-switcher {
    display: none;
}

@media (max-width: 991px) {
    .mobile-language-switcher {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #dee2e6;
    }

    .mobile-language-switcher i {
        color: #6c757d;
        font-size: 18px;
    }

    .mobile-language-switcher a {
        text-decoration: none;
        color: #1d3557;
        font-size: 16px;
        font-weight: bold;
        transition: color 0.2s ease;
    }
    
    .mobile-language-switcher a:hover {
        color: #007bff;
    }
}