#snav_conteneur {
    margin: 0;
    padding: 0;
}

#snav_conteneur ul {
    list-style-type: none;
    padding-inline-start: 0px;
    padding-top: 10px;
}

#snav_conteneur li {
    line-height: 40px;
    padding: 5px 0px;
    font-size: 15px;
    height: 60px;
    color: #0088CC;
    background-color: #fafafa;
    font-weight: bold;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 6px;
    min-width: 220px;
    text-align: center;
}



#snav_conteneur li span.icon {
    display: inline-block;
    width: 100px;
    text-align: left;
}

#snav_conteneur li span.label {
    display: inline-block;
    width: 100px;
    text-align: left;
}

#snav_conteneur li span.nombre {
    display: inline-block;
    width: 30px;
    text-align: center;
}

.nombre {
    text-align: right;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #0088CC;
}


.detail a {
    color: #777 !important;
    display: none;
}



@media(min-width: 1024px) {
    .owl-carousel .owl-item .img-carou {
        display: block;
        width: 100%;
        height: 75vh;
    }
}


/*Sidebar Widget*/
aside.sidebar {
    padding: 20px !important;
}

/*.sidebar h4{
font-size: 18px;
border-bottom: 2px solid #0088CC;
padding-left: 0px;
padding-top: 5px;
padding-bottom: 5px;
text-align: center;
}*/




/*THUMB INFO*/
.custom-thumb-info-style-1:hover .thumb-info-wrapper {
    border-color: #1c5fa8 !important;
}

.custom-thumb-info-style-1:hover h3 {
    color: #1c5fa8 !important;
}

.custom-thumb-info-style-1 .thumb-info-wrapper {
    border-radius: 25px !important;
    border: 5px solid transparent !important;
    transition: ease border 300ms;
}

.custom-thumb-info-style-1 h3 {
    transition: ease color 300ms;
}

.custom-img-thumbnail-style-1.img-thumbnail.img-thumbnail-hover-icon:before {
    border-radius: 0 !important;
}

/*END THUMB INFO*/

#header.header-effect-shrink .header-container {
    min-height: 80px !important;
}



.vertical-center {
    vertical-align: middle !important;
}



/* NO HOVER ON TABLE*/
.table-hover>tbody>tr.no-hover:hover {
    background-color: #ffffff;
}





.featured-box .box-content {
    border-top-color: #0088CC !important;
}

#header .header-nav-main nav>ul>li>a {
    font-family: "Poppins";
    font-size: 15px;
    letter-spacing: -0.5px;
}

#header .header-nav-main nav>ul>li.dropdown .dropdown-menu li a {
    font-family: "Poppins";
    color: #3b3b3b;
}

#header .header-nav-top .nav>li>a {
    font-family: "Poppins";
    font-size: 14px;
    letter-spacing: 0px;
}

.sk_content p,
.sk_content ul,
.sk_content table {
    font-size: 16px;
    text-align: justify;
    margin-bottom: 0.7em;
    padding-bottom: 0.5em;
    line-height: 1.8em;
    color: #3b3b3b;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.sk_content label {
    font-size: 16px;
    font-weight: 500;
    color: #3b3b3b;
}

.sk_content h1,
.sk_content h2,
.sk_content h3,
.sk_content h4,
.sk_content h5,
.sk_content h6 {
    letter-spacing: 1px;
}

.partenaires li {
    text-align: start;
}

.featured-box h4 {
    font-size: 1.4rem;
}

#sk_p {
    color: #4A4A46;
}

aside ul.nav-list>li>a {
    font-size: 1.2em;
}

.clignote {
    color: #ffc107;
    animation: clignote 1s linear infinite;
}

.b-clignote {
    border-color: #ffc107 !important;
    animation: clignote 1s linear infinite;
}

@keyframes clignote {
    50% {
        opacity: 0;
    }
}

.modal-content img {
    margin: auto;
    display: block;
    width: 100%;
    max-width: 1200px;
}

#defaultModal {
    z-index: 10000;
    overflow: auto !important;
}

/* --- Clean Footer Utilities --- */
.hover-primary {
    transition: color 0.3s ease;
}

.hover-primary:hover {
    color: #b6c3ce !important;
    /* Ensure this uses the cyan color from header.css or define it */
    opacity: 1 !important;
    padding-left: 5px;
    /* Subtle movement */
}

.footer-copyright.bg-dark-2 {
    background-color: #08223d !important;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-slide-item {
    transition: transform 7s linear;
    /* Subtle zoom effect support if desired */
}

.hero-section .owl-carousel .owl-dots {
    bottom: 30px;
    position: absolute;
    width: 100%;
    text-align: center;
}

.hero-section .owl-carousel .owl-dot span {
    background: rgba(255, 255, 255, 0.5);
    width: 12px;
    height: 12px;
    margin: 5px;
}

.hero-section .owl-carousel .owl-dot.active span {
    background: #fff;
    width: 14px;
    height: 14px;
}

/* --- Service Cards --- */
.card-hover-effect .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover-effect:hover .card {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-hover-effect .card-body i {
    transition: transform 0.3s ease;
}

.card-hover-effect:hover .card-body i {
    transform: scale(1.1);
}

/* --- Inner Page Header --- */
.header-inner-page #header .header-body {
    background: #0b2c4e !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.header-inner-page .header-top {
    background: rgba(0, 0, 0, 0.2);
    /* Slightly lighter or different if needed */
}

/* --- Page Header Section --- */
/* --- Modern Page Header (Banner Style) --- */
.page-header-modern {
    position: relative;
    width: 100%;
    min-height: 400px;
    padding: 0;
    margin: 0;
    margin-top: 106px;
    /* User specified */
    padding-top: 19px;
    /* User specified */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /*background*/
    background-image: url('../img/ann/bannerAnnabaPort.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(84, 148, 215, 0.4) 0%, rgba(3, 26, 49, 0.29) 100%);
    /* Dark overlay */
    z-index: 1;
}

.page-header-modern .container {
    position: relative;
    z-index: 2;
}

.page-header-modern h1 {
    color: #fff;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 0.8s ease;
}

.page-header-modern .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.page-header-modern .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header-modern .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: opacity 0.3s;
}

.page-header-modern .breadcrumb-item a:hover {
    opacity: 0.8;
}

.page-header-modern .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.6);
}

.page-header-modern .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "/";
    padding: 0 10px;
}

/* Ensure body starts correctly after the banner */
.page-header-modern+.container {
    margin-top: 50px;
}

/* Orphaned code removed */

.page-header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 44, 78, 0.8);
    /* Overlay to make text readable */
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    color: #fff !important;
    font-weight: 700;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
}

.page-header .breadcrumb-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.page-header .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.5);
}

/* --- Nautical Info Styles --- */

/* Accordion Grid (North Sea Port style approximation) */
.accordion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.accordion-item-custom {
    background: #fff;
    border: 1px solid #eef0f2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.accordion-header-custom {
    padding: 25px;
    background: #f8f9fa;
    cursor: pointer;
    border-bottom: 1px solid #eef0f2;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header-custom h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #0b2c4e;
}

.accordion-header-custom i {
    color: #0088CC;
    transition: transform 0.3s ease;
}

.accordion-item-custom.active .accordion-header-custom i {
    transform: rotate(180deg);
}

.accordion-content-custom {
    padding: 25px;
    display: none;
    /* Hidden by default, toggled via JS */
    color: #555;
    line-height: 1.7;
}

.accordion-item-custom.active .accordion-content-custom {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Info Cards (for Signals, Winds, etc) */
.info-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    margin-bottom: 30px;
    border-left: 4px solid #0088CC;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.info-card:hover {
    background: #fcfcfc;
    border-left-width: 8px;
}

.info-card h4 {
    color: #0b2c4e;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.info-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #666;
}

.info-card ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #0088CC;
    font-size: 0.8rem;
}

/* Tide Cards (Replacing Table) */
.tide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

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

.tide-card:hover {
    transform: scale(1.05);
    background: #0088CC;
}

.tide-card .abbr {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
    opacity: 0.9;
}

.tide-card .val {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #00d2ff;
    /* Cyan accent */
}

.tide-card .desc {
    display: block;
    font-size: 0.85rem;
    margin-top: 10px;
    opacity: 0.7;
}

/* Weather Section */
.weather-section {
    background: linear-gradient(135deg, #0b2c4e 0%, #1c5fa8 100%);
    border-radius: 10px;
    padding: 40px;
    color: #fff;
    margin-top: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.weather-section h2 {
    color: #fff;
    margin-bottom: 30px;
}

/* --- Terminals & Equipment Cards --- */
.term-section {
    padding: 40px 0;
    border-bottom: 1px solid #eee;
}

.term-section:last-child {
    border-bottom: none;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.equipment-card {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 8px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #0088CC;
}

.equipment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #0088CC;
}

.equipment-card .eq-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0b2c4e;
    margin-bottom: 10px;
}

.equipment-card .eq-details {
    font-size: 0.9rem;
    color: #666;
}

.equipment-card .eq-details span {
    display: block;
    margin-bottom: 5px;
}

.equipment-card .eq-label {
    font-weight: 600;
    color: #444;
}

/* --- Assets (Atouts) Creative Styles --- */
.feature-box-creative {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
}

.feature-box-creative:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-bottom-color: #0088CC;
}

.feature-box-creative .icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(0, 136, 204, 0.1);
    color: #0088CC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: background 0.3s ease, color 0.3s ease;
}

.feature-box-creative:hover .icon-wrapper {
    background: #0088CC;
    color: #fff;
}

.feature-box-creative h4 {
    font-weight: 700;
    color: #0b2c4e;
    margin-bottom: 15px;
}

.feature-box-creative p {
    color: #666;
    margin-bottom: 0;
}

#atouts_equip .equip_card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 254px;
    max-width: none;
}

#atouts_equip .equip_card>div {
    height: 380px;
}

#atouts_equip .equip_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

#atouts_equip .equip_card img {
    max-width: 239px;
    height: 163px;
    border-radius: 5px 5px 0px 0;
}

/* --- RSMI Timeline Styles --- */
.timeline-section {
    position: relative;
    padding: 40px 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #eef0f2;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-container {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-container.left {
    left: 0;
    text-align: left;
}

.timeline-container.right {
    left: 50%;
    text-align: left;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    /* Adjust for left items */
    background-color: #fff;
    border: 4px solid #0088CC;
    top: 25px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-container.right::after {
    left: -10px;
    /* Adjust for right items */
}

.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-container {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-container.left,
    .timeline-container.right {
        left: 0;
        text-align: left;
    }

    .timeline-container.left::after,
    .timeline-container.right::after {
        left: 21px;
    }
}

/* --- Pagination Wrapper Fix --- */
.pagination-wrapper {
    margin-top: 30px;
    width: 100%;
}

.pagination-wrapper nav {
    display: flex;
    justify-content: center;
}

.pagination-wrapper ul.pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    margin-bottom: 0;
}

.pagination-wrapper .page-item .page-link {
    border: 1px solid #eef0f2;
    color: #0b2c4e;
    padding: 10px 18px;
    margin: 0 4px;
    border-radius: 4px !important;
    font-weight: 600;
    transition: all 0.3s ease;
    background: #fff;
}

.pagination-wrapper .page-item.active .page-link {
    background-color: #0088CC !important;
    border-color: #0088CC !important;
    color: #fff !important;
}

.pagination-wrapper .page-item:hover .page-link:not(.active) {
    background-color: #f8f9fa;
    border-color: #0088CC;
    color: #0088CC;
}

.pagination-wrapper .page-item.disabled .page-link {
    color: #ccc;
    pointer-events: none;
    background-color: #fff;
    border-color: #eef0f2;
}

/* Hide the "Showing X to Y of Z results" text if rendered by Laravel default */
.pagination-wrapper nav div:first-child p {
    display: none;
}

.pagination-wrapper nav div:first-child {
    display: none;
}

.pagination-wrapper nav>div:last-child {
    display: flex;
    justify-content: center;
}

/* --- Partner & Services Card Styles --- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.partner-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border-top: 3px solid #0088CC;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.partner-card h5 {
    color: #0b2c4e;
    font-weight: 700;
    margin-bottom: 15px;
    min-height: 48px;
    /* Alignment for 2 lines */
    text-transform: uppercase;
    font-size: 1rem;
}

.partner-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-card ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #555;
    word-break: break-word;
    /* Prevent overflow */
}

.partner-card ul li i {
    position: absolute;
    left: 0;
    top: 4px;
    color: #0088CC;
}

.partner-card ul li a {
    color: #0088CC;
    text-decoration: none;
}

.partner-card ul li a:hover {
    text-decoration: underline;
}