*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
body[dir="rtl"]  .nav-links {
    text-align: right;
}
body {
    overflow-x: hidden;
}
h2 {
    font-size: 28px;
    color: #05579e;
    font-weight: 700; 
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
    color: #05579e;
    font-weight: 600;
    margin-bottom: 10px;
}

p {
    font-weight: 400;
}

.header {
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(Travaux-Public-Couverture_1.jpg);
    background-position: center;
    background-size: cover;
    position: relative;
}
#topbar {
    height: 40px;
    font-size: 14px;
    transition: all 0.5s;
    overflow: hidden;
    color: rgba(252, 252, 253, 0.8);
    color: rgba(145, 143, 171, 0.8);
    z-index: 996;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1% 3%;
}

#topbar.topbar-scrolled {
    top: -60px;
}
#topbar .contacte-info {
    display: flex;
    align-items: center;

}
#topbar .contacte-info a {
     line-height: 0;
    color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
    text-decoration: none;
}
#topbar .contacte-info a:hover {
    text-decoration: underline #f6b024;
}
#topbar .contacte-info i {
    color: #f6b024;
    line-height: 0;
    margin-right: 5px;
}
#topbar .contacte-info .phone-icon {
    margin-left: 15px;
}
#topbar .cta {
    background: transparent;
}

#topbar .cta a {
    color: #fff;
    background: #f6b024;
    padding: 6px 24px 8px 24px;
    display: inline-block;
    transition: 0.3s;
    border-radius: 50px;
}

#topbar .cta a:hover {
    background: #f1a40a;
}
#topbar .social-links {
    display: flex;
    align-items: center;
}

#topbar .social-links a {
    color: #f1a40a;
    padding: 0 12px;
    display: inline-block;
    line-height: 1;
    transition: 0.3s;
}
#topbar .social-links a:hover {
    color: #fff;
}
.language-buttons {
    position: fixed;
    top: 10px;
    right: 10px;
}
.language-buttons button {
    margin: 5px;
    padding: 5px 10px;
    cursor: pointer;
}
#topbar .social-links button {
    background-color: transparent;
    color: #f6b024;
    border: none;
    width: 100px;
    padding: 5px 15px;
    margin-left: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease;
}
#topbar .social-links button:hover {
        background-color: #0056b3; 
} 
nav {
    display: flex;
    padding: 1% 3%;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    top: 0;
    z-index: 100;
    direction: ltr;  
}
nav {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
nav img {
    border-radius: 50px;
    width:70px;
    margin:0;
    padding:0; 
}
.nav-links {
    flex: 1;
    text-align: right;
}
.nav-link_highlited {
    background: #f6b024;
    color: #fff; 
    padding: 0px 10px;
    border-radius: 4px; 
}
.nav-link_active::after {
    content: '';
    width: 100%;
    height: 2px;
    background: #f1a40a;
    display: block;
    margin: auto;
}
.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}
.nav-links ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
 }
.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f1a40a;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after {
     width: 100%;
}    
.ticker {
    height: 42px;
    overflow: hidden;
    line-height: 38px;
    border: 1px solid #f6b024;
    margin-left: 45px;
    margin-right: 45px;
    margin-bottom: 0px;
    margin-top: 30px;
}
.ticker:hover {
  
    background: #FF5656;
    transition: 1s;
}
ul.ticker li span {
    background-color: #FF5656;
    border-right: 1px solid #f6b024;
    color: #fff;
    margin-right: 6px;
    font-size: 17px;
    padding: 10px 25px;
}
ul.ticker li span:hover {
    background: #FF5656;
    transition: 1s;
}
.ticker a,
.ticker li {
    color: #fff;
    font-size: 14px;
    background: transparent;
    list-style: none;
}
.hero-container {
   
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.text-box {
    width: 100%;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}
.top-col {
    flex: 1 1 300px;
    background-color:#ffffff;
    padding: 20px;
    border-radius: 10px;
}
.text-box h1 {
    font-size: 62px;
}
.text-box p {
    margin: 10px 0 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}
.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 2px solid #f6b024;
    padding: 12px 34px;
    font-size: 16px;
    background: transparent;
    position: relative;
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    min-width: 180px;
}
.hero-btn:hover {
    border: 2px solid #f6b024;
    background: #f6b024;
    transition: 1s;
}
.top-col:nth-child(1) {
    animation-delay: 0.5s;
}
.top-col:nth-child(2) {
    animation-delay: 1.5s;
}
.top-col:nth-child(3) {
    animation-delay: 2.5s;
}
.top-col p {
    font-size: 14px;
    color: #777777;
    font-weight: 500;
}
.top-col i {
    font-size: 45px;
    margin-bottom: 15px;
    color: #f6b024;
}
.bottom a {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background:#f6b024;
    color: #138496;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    transition: background 0.3s;
}
.bottom a:hover {
    background: #f8f9fa;
}
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;  
}
.text-box {
    text-align: center;
   
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.top-col {
    flex: 1 1 300px;
 
    padding: 20px;
    border-radius: 10px;
}
.hero-container {
   flex-direction: column;
   align-items: center;
   text-align: center;
}
.text-box {
   width: 100%;
   color: #fff;
   text-align: center;
   margin-bottom: 20px;
}
.top-col {
   flex: 1 1 300px;
   background-color:#ffffff;
   padding: 20px;
   border-radius: 10px;
}
.on_the_top {
   
    width: 96%;
    text-align: center;
    margin: 0 auto;
    z-index: 2;
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s ease-out forwards;
    animation-delay: 0.3s;
    top: 225px;
}
.top-col {

    min-width: 250px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: translateY(50px);
    opacity: 0;
    animation: slideUp 1s ease-out forwards;
   
}
.facture-section {
    padding: 30px 20px;
    background: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.facture-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}
.accordion {
    margin-top: 20px;
}
.accordion-item {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
.accordion-header {
    width: 100%;
    text-align: right;
    background-color: #e0f2f1;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}
.accordion-header:hover {
    background-color: #b2dfdb;
}
.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}
.accordion-body.open {
    max-height: 1000px; /* enough to show full content */
}
.accordion-item.active .accordion-body {
    display: block;
}
.chevron {
    transition: transform 0.3s ease;
}
.accordion-item.active .chevron {
    transform: rotate(180deg);
}
.facture-content {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 30px;
    flex-wrap: nowrap;
}
.facture-text {
    flex: 1 50%;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}
.facture-image {
    flex: 1 50%;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.5s ease;
}
.facture-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, height 0.5s ease;
}

/* Expand image height on accordion open (JS adds .open class) */
.facture-content.expanded .facture-image img {
    transform: scale(1.02); /* subtle zoom */
}

/* Fade Animation */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@media (max-width: 768px) {
    .facture-content {
        flex-direction: column-reverse;
        align-items: center;
    }

    .accordion-header {
        font-size: 1rem;
    }
}
.modern-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background: linear-gradient(to bottom right, #f0f4ff, #e6f0ff);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.5s ease;
}
.info-box {
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}
.info-box:hover {
    transform: scale(1.03);
}

.info-box i {
    font-size: 30px;
    color: #0077cc;
    margin-bottom: 10px;
}
.info-box h4 {
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #003366;
}
.info-box p {
    font-size: 0.95em;
    color: #333;
}
.contact-us-section {
    padding: 50px 0;
    background: #f4f7fa;
}
.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
}
.section-title p {
    font-size: 1rem;
    color: #777;
}
.info-box {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    transition: all 0.3s ease-in-out;
}
.info-box:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}
.info-box i {
    font-size: 40px;
    color: #007bff;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}
.info-box:hover i {
    transform: scale(1.1);
}
.info-box p {
    font-size: 1rem;
    color: #777;
}
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: stretch;
}
.map-container {
    flex: 2; 
    min-width: 600px; 
    margin: 10px;
    display: flex; 
    flex-direction: column; 
}
.form-container {
    flex: 1; 
    min-width: 300px; 
    margin: 10px;
    display: flex;
    flex-direction: column; 
}
iframe {
    width: 100%;
    height: 100%; 
    border: 0;
    border-radius: 8px;
}
.contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%; 
    justify-content: space-between; 
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.contact-form button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}
.contact-form button:hover {
    background: #0056b3;
}
.container {
    width: 100%;
    margin: auto;
    padding-top: 40px;
}
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.course-col {
    flex: 1 1 20%;
    background: #f6b024;
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}
.course-col:hover {
    transform: translateY(-5px);
}
.course-col i {
    font-size: 90px;
    margin-bottom: 15px;
}
.course-col p {
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
    color: #fff;
}
.facture-section {
    padding: 60px 20px;
    background: #f9f9f9;
 
}
.p {
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}
.course-col {
    flex-basis: 31%;
    background: #f6b024;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

.course-col:hover {
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

.footer{
    background: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7));
     width: 100%;
     text-align: center;
     padding: 30px 0;
}
.footer h4{
    color:#fff;
      margin-bottom: 25px;
      margin-top: 20px;
      font-weight: 600%;
}
.footer p{
    color:#fff;
}
.icons .fa{
       color:#f44336;
       margin: 0 13px;
       cursor: pointer;
       padding: 18px 0;
}
.fa-heart-o{
    color:#f44336;
}

.center-block {
    width: 100%;
    margin-bottom: 75px;
    background: #ececec;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 30PX;
}
.index-marques {
    padding: 45px 94px;
}
.core-normal-width {
    max-width: 1270px;
    margin: 0 auto;
    box-sizing: border-box;
}
#index-marques table td {
    text-align: center;
    padding: 10px;
}
td {
    font-size: 13px;
}
table {
    border-collapse: separate;
    text-indent: initial;
    border-spacing: 2px;
}
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #007bff;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1000;
}
.back-to-top.show {
    opacity: 1;
}
@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .course-col {
        flex: 1 1 100%;
    }
}
@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}
@media (max-width: 768px) {
    @media (max-width: 768px) {
        #topbar {
            flex-direction: column;
            align-items: flex-start;
            text-align: left;
        }
    
        #topbar .contacte-info,
        #topbar .social-links {
            width: 100%;
            justify-content: flex-start;
            flex-wrap: wrap;
        }
    
        #topbar button {
            margin-top: 4px;
        }
    }
  
    nav {
      flex-direction: column;
      align-items: flex-start;
      padding: 10px 5%;
    }
  
    .nav-links {
      width: 100%;
      text-align: left;
      margin-top: 10px;
    }
  
    .nav-links ul {
      display: flex;
      flex-direction: column;
      width: 100%;
    }
  
    .nav-links ul li {
      width: 100%;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
  
    .text-box {
      width: 100%;
      top: 50%;
      padding: 0 10px;
    }
  
    .text-box h1 {
      font-size: 32px;
    }
  
    .text-box p {
      font-size: 14px;
      margin-bottom: 20px;
    }
  
    .hero-btn {
      padding: 10px 20px;
      font-size: 14px;
      min-width: auto;
    }
  
    .row {
      flex-direction: column;
      gap: 20px;
      margin-top: 20px;
    }
  
    .top-col {
      width: 100%;
    }
  
    .ticker {
      margin: 20px 10px;
      font-size: 12px;
      height: auto;
      line-height: 20px;
      
    
    }
    .ticker li {
        display: inline-block;
        margin-right: 20px; 
        padding-bottom: 20px;
    }
    
    .ticker li span {
      padding: 15px 15px;
      font-size: 14px;
      
    }
    .bottom a {
      width: 100%;
      text-align: center;
      font-size: 14px;
      padding: 10px;
    }
  
    .language-buttons {
      position: static;
      margin-top: 10px;
      text-align: center;
      width: 100%;
    }
  
    .language-buttons button {
      width: auto;
      font-size: 12px;
    }
  
    .facture-section {
      padding: 20px 10px;
    }
  
    .accordion-header {
      font-size: 14px;
    }
  }
  @media (max-width: 768px) {
    .form-container {
        padding: 10px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 14px;
    }

    .contact-form button {
        font-size: 14px;
    }
}

html, body {
        max-width: 100%;
		overflow-x: hidden;
    }