:root {
    --primary: #012676;
    --primary-light: #1a3a8a;
    --primary-dark: #001a4d;
    --white: #ffffff;
    --gray: #6c757d;
    --dark: #343a40;
    --light-gray: #f8f9fa;
    --accent: #ff6b35;
    --success: #28a745;
    --warning: #ffc107;
    --error: #dc3545;
}
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Open Sans', sans-serif;
            color: var(--text);
            line-height: 1.6;
            background-color: #f5f7f9;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Montserrat', sans-serif;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--dark);
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Header Styles */
        .top-bar {
            background-color: var(--dark);
            color: white;
            padding: 8px 0;
            font-size: 0.9rem;
        }
        
        .top-bar-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .top-links a {
            color: white;
            text-decoration: none;
            margin-right: 20px;
            transition: color 0.3s;
        }
        
        .top-links a:hover {
            color: var(--accent);
        }
        
        .language-switcher {
            display: flex;
            align-items: center;
        }
        
        .language-switcher a {
            color: white;
            text-decoration: none;
            margin-left: 15px;
            font-weight: 500;
        }
        
        .language-switcher a.active {
            color: var(--accent);
        }






        
        /* Hero Section */
.hero {
    padding: 0;
    background: none;
}
        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: white;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
        }
        
/* Add to your main CSS */


.hero .container {
    padding: 0;
    max-width: 100%;
}




        .btn {
            display: inline-block;
            padding: 12px 25px;
            background-color: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 500;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }
        
        .btn:hover {
            background-color: var(--dark);
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        
        .btn-secondary {
            background-color: var(--secondary);
        }
        
        .btn-accent {
            background-color: var(--accent);
        }
        
        /* Director Section */
    
        
        
        /* News Section */
        .news-section {
            padding: 60px 0;
            background-color: #f5f7f9;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .section-header h2 {
            font-size: 2.2rem;
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }
        
        .section-header h2:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary);
        }
        
   
        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .news-card {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s;
        }
        
        .news-card:hover {
            transform: translateY(-5px);
        }
        
        .news-image {
            height: 180px;
            overflow: hidden;
        }
        
        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .news-card:hover .news-image img {
            transform: scale(1.05);
        }
        
        .news-content {
            padding: 20px;
        }
        
        .news-date {
            color: var(--gray);
            font-size: 0.9rem;
            margin-bottom: 10px;
        }
        
        .news-content h3 {
            font-size: 1.2rem;
            margin-bottom: 10px;
        }
       
        
        /* Newsletter Section */
        .newsletter-section {
            padding: 60px 0;
            background-color: var(--dark);
            color: white;
            text-align: center;
        }
        
        .newsletter-section h2 {
            color: white;
        }
        
        .newsletter-form {
            max-width: 500px;
            margin: 30px auto 0;
            display: flex;
        }
        
        .newsletter-input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            border-radius: 4px 0 0 4px;
            font-family: 'Open Sans', sans-serif;
        }
        
        .newsletter-btn {
            padding: 0 25px;
            background-color: var(--accent);
            color: white;
            border: none;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            font-weight: 500;
            transition: background-color 0.3s;
        }
        
        .newsletter-btn:hover {
            background-color: #e58900;
        }
        
        /* Footer */
        .footer {
            background-color: #2d3748;
            color: white;
            padding: 60px 0 30px;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-col h3 {
            color: white;
            margin-bottom: 20px;
            font-size: 1.2rem;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 10px;
        }
        
        .footer-links a {
            color: #cbd5e0;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: white;
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #4a5568;
            color: #cbd5e0;
            font-size: 0.9rem;
        }


        
 
        
        @media (max-width: 768px) {
            .nav-toggle {
                display: block;
            }
            
            .main-nav {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background-color: white;
                box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
                transition: right 0.3s;
                z-index: 1000;
                padding: 80px 30px 30px;
            }
            
            .main-nav.active {
                right: 0;
            }
            
            .main-nav ul {
                flex-direction: column;
            }
            
            .main-nav li {
                margin: 0 0 20px 0;
            }
            
            .close-nav {
                position: absolute;
                top: 20px;
                right: 20px;
                background: none;
                border: none;
                font-size: 1.5rem;
                color: var(--dark);
                cursor: pointer;
            }
            
            .newsletter-form {
                flex-direction: column;
            }
            
            .newsletter-input {
                border-radius: 4px;
                margin-bottom: 10px;
            }
            
            .newsletter-btn {
                border-radius: 4px;
                padding: 12px;
            }
        }



.full-width .container {
  max-width: 100%;
  padding: 0 40px;
}

/* News Section Improvements */
.news-section {
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}



.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-image:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.news-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.news-content h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 20px;
  flex-grow: 1;
}






/* Director Section Enhancements */








.news-section.full-width .container {
  padding: 0;
}






/* Director Section with equal height */
/* Director Section with equal height and hover effects */
.director-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 60px 0;
}

.director-content {
  display: flex;
  align-items: stretch;
  gap: 50px;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.director-content:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 102, 179, 0.05), transparent);
  transition: left 0.6s ease;
}

.director-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.director-content:hover:before {
  left: 100%;
}

.director-image {
  flex: 0 0 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  position: relative;
}

.director-image:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 102, 179, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.director-content:hover .director-image {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.director-content:hover .director-image:before {
  opacity: 1;
}

.director-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.director-content:hover .director-image img {
  transform: scale(1.05);
}

.director-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.director-text h3 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 5px;
  position: relative;
  transition: color 0.3s ease;
}

.director-content:hover .director-text h3 {
  color: var(--dark);
}

.director-text h3:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.director-content:hover .director-text h3:after {
  width: 80px;
}

.director-text h4 {
  color: var(--gray);
  font-weight: 500;
  margin-bottom: 25px;
  font-style: italic;
  transition: color 0.3s ease;
}

.director-content:hover .director-text h4 {
  color: var(--primary);
}

.director-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  flex-grow: 1;
  position: relative;
  padding-left: 25px;
  border-left: 3px solid var(--secondary);
  transition: all 0.4s ease;
}

.director-content:hover .director-text p {
  border-left-color: var(--accent);
  padding-left: 30px;
}

.director-content .btn {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.director-content .btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.director-content .btn:hover:before {
  left: 100%;
}
/* Breaking News with equal height */
/* Breaking News with equal height and hover effects */
.breaking-news {
  background: linear-gradient(135deg, #ff9900 0%, #ffad33 100%);
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 15px 30px rgba(255, 153, 0, 0.2);
  color: white;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.breaking-news:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 25px 50px rgba(255, 153, 0, 0.3);
}

.breaking-news:before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.6s ease;
}

.breaking-news:hover:before {
  transform: scale(1.2);
  opacity: 0.8;
}

.breaking-news:after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: -30px;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.6s ease;
}

.breaking-news:hover:after {
  transform: scale(1.3);
  opacity: 0.8;
}

.breaking-news:before,
.breaking-news:after {
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.breaking-news h3 {
  color: white;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: inline-block;
  padding: 5px 15px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 30px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.breaking-news:hover h3 {
  background: rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
  letter-spacing: 3px;
}

.breaking-news h4 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.4;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.breaking-news:hover h4 {
  transform: translateY(-2px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.breaking-news p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.7;
  flex-grow: 1;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.breaking-news:hover p {
  color: white;
  transform: translateY(-2px);
}

.breaking-news .btn {
  background: white;
  color: var(--accent);
  font-weight: 600;
  align-self: flex-start;
  position: relative;
  z-index: 2;
  overflow: hidden;
  transition: all 0.3s ease;
}

.breaking-news .btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 153, 0, 0.2), transparent);
  transition: left 0.6s ease;
}

.breaking-news .btn:hover:before {
  left: 100%;
}

.breaking-news .btn:hover {
  background: var(--dark);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Glow effect on hover */
.breaking-news:hover {
  animation: glow 2s infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 25px 50px rgba(255, 153, 0, 0.3);
  }
  to {
    box-shadow: 0 25px 60px rgba(255, 153, 0, 0.4);
  }
}

/* Two column layout with hover coordination */
.director-news-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0 60px;
  align-items: stretch;
}

.director-news-container .director-section,
.director-news-container .news-section {
  margin-bottom: 0;
  padding: 0;
  transition: transform 0.3s ease;
}

.director-news-container .director-section:hover,
.director-news-container .news-section:hover {
  transform: translateY(-3px);
}

.director-news-container .container {
  height: 100%;
  padding: 0;
}

/* Responsive adjustments */
/* Responsive adjustments with hover effects */
@media (max-width: 992px) {
  .director-news-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .director-content {
    flex-direction: column;
  }
  
  .director-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .director-text h3:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .director-content:hover .director-text h3:after {
    width: 60px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .director-text p {
    padding-left: 0;
    border-left: none;
    padding-top: 15px;
    border-top: 3px solid var(--secondary);
  }
  
  .director-content:hover .director-text p {
    padding-left: 0;
    border-left: none;
    padding-top: 20px;
    border-top-color: var(--accent);
  }
}

@media (max-width: 576px) {
  .director-content {
    padding: 25px;
  }
  
  .breaking-news {
    padding: 25px;
  }
  
  .breaking-news h4 {
    font-size: 1.3rem;
  }
  
  /* Reduce hover effects on mobile for performance */
  .director-content:hover,
  .breaking-news:hover {
    transform: none !important;
  }
  
  .director-image:hover,
  .breaking-news:hover:before,
  .breaking-news:hover:after {
    transform: none !important;
  }
}




/* Actualités Section Header - Simplified */
.news-section-header {
  padding: 40px 0 20px;
  width: 100%;
}

.news-section-header .container {
  /* max-width: 1200px; */
  max-width: 90%;
  margin: 0 auto;
  padding: 0 15px;
}

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

.news-section-header .section-header h2 {
  font-size: 2rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.news-section-header .section-header h2:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 2px;
}

.news-section-header .news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .news-section-header {
    padding: 30px 0 15px;
  }
  
  .news-section-header .section-header h2 {
    font-size: 1.8rem;
  }
  
  .news-section-header .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* Enhanced News Grid Styles */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-category {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.news-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-date {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.news-content h3 {
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--dark);
  flex-grow: 1;
}

.news-content p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
}

.view-all-container {
  text-align: center;
  margin-top: 50px;
}

.view-all-container .btn {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-image {
    height: 180px;
  }
}




.footer-logo {
    margin-bottom: 15px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1); /* Makes logo white in footer */
}

/* Responsive adjustments for logos */
@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }
    
    .footer-logo img {
        height: 40px;
    }
}


.news-section-header .news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(520px, 1fr));
    gap: 36px;
    margin-top: 40px;
}
.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(.25,.8,.25,1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.news-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #eaeaea;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.25,.8,.25,1);
    border-bottom: 1px solid #f1f1f1;
}
.news-card:hover .news-image img {
    transform: scale(1.08);
}
.news-category {
    position: absolute;
    top: 18px;
    left: 18px;
    background: var(--primary, #e53935);
    color: white;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.news-content {
    padding: 24px 22px 20px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-date {
    color: var(--primary, #e53935);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    opacity: 0.85;
}
.news-date:before {
    content: "📅";
    margin-right: 8px;
}
.news-content h3 {
    font-size: 1.35rem;
    line-height: 1.45;
    margin-bottom: 22px;
    color: var(--dark, #222);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-content p {
    display: none;
}
.news-content .btn {
    align-self: flex-start;
    margin-top: auto;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 6px;
    padding: 10px 22px;
    background: var(--secondary, #1976d2);
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.08);
}
.news-content .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}
.news-content .btn:hover:before {
    left: 100%;
}
.view-all-container {
    text-align: center;
    margin-top: 60px;
}
.view-all-container .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
    background: var(--primary, #e53935);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.08);
}
.view-all-container .btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}
.view-all-container .btn:hover:before {
    left: 100%;
}
/* Responsive adjustments */
@media (max-width: 1200px) {
    .news-section-header .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 28px;
    }
    .news-image {
        height: 220px;
    }
}
@media (max-width: 992px) {
    .news-section-header .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 22px;
    }
    .news-image {
        height: 180px;
    }
}
@media (max-width: 768px) {
    .news-section-header {
        padding: 40px 0;
    }
    .news-section-header .news-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .news-image {
        height: 140px;
    }
    .news-section-header .section-header h2 {
        font-size: 2rem;
    }
}
@media (max-width: 480px) {
    .news-section-header .section-header h2 {
        font-size: 1.7rem;
    }
    .news-content h3 {
        font-size: 1.1rem;
    }
}





        /* Partners Section Styles */
        .partners-section {
            padding: 80px 0;
            background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
        }
        
        .partners-carousel {
            position: relative;
            overflow: hidden;
            margin: 40px 0;
            padding: 20px 0;
        }
        
        .partners-track {
            display: flex;
            animation: scroll 30s linear infinite;
            width: calc(250px * 15); /* 15 items (10 originals + 5 duplicates) */
        }
        
        .partners-track:hover {
            animation-play-state: paused;
        }
        
        .partner-item {
            flex: 0 0 auto;
            width: 200px;
            height: 120px;
            margin: 0 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            padding: 20px;
        }
        
        .partner-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .partner-item img {
            max-width: 100%;
            max-height: 120px;
            width: auto;
            height: auto;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s ease;
        }
        
        .partner-item:hover img {
            filter: grayscale(0%);
            opacity: 1;
        }
        
        .partners-controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
        }
        
        .partner-prev, .partner-next {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            background: var(--primary);
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 102, 179, 0.2);
        }
        
        .partner-prev:hover, .partner-next:hover {
            background: var(--dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(0, 102, 179, 0.3);
        }
        
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-250px * 10)); /* Move by 10 original items */
            }
        }
        
        /* Pause animation on reduced motion preference */
        @media (prefers-reduced-motion: reduce) {
            .partners-track {
                animation: none;
            }
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .partner-item {
                width: 180px;
                height: 110px;
                margin: 0 20px;
            }
            
            .partners-track {
                width: calc(220px * 15);
            }
            
            @keyframes scroll {
                100% {
                    transform: translateX(calc(-220px * 10));
                }
            }
        }
        
        @media (max-width: 768px) {
            .partners-section {
                padding: 60px 0;
            }
            
            .partner-item {
                width: 150px;
                height: 100px;
                margin: 0 15px;
            }
            
            .partners-track {
                width: calc(180px * 15);
            }
            
            @keyframes scroll {
                100% {
                    transform: translateX(calc(-180px * 10));
                }
            }
            
            .partners-controls {
                margin-top: 20px;
            }
            
            .partner-prev, .partner-next {
                width: 45px;
                height: 45px;
                font-size: 1.1rem;
            }
        }
        
        @media (max-width: 480px) {
            .partner-item {
                width: 130px;
                height: 90px;
                margin: 0 12px;
                padding: 15px;
            }
            
            .partners-track {
                width: calc(154px * 15);
            }
            
            @keyframes scroll {
                100% {
                    transform: translateX(calc(-154px * 10));
                }
            }
        }



    .footer-logo {
        margin-bottom: 15px;
    }
    
    .footer-logo img {
        height: 50px;
        /* Suppression du filtre qui rendait le logo blanc */
        /* filter: brightness(0) invert(1); */
        
        /* Alternative: ajouter une bordure blanche légère */
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 4px;
        padding: 5px;
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Si le logo est trop sombre, on peut ajuster la luminosité */
    .footer-logo img {
        filter: brightness(1.2) contrast(1.1);
    }
    
    /* Responsive adjustments for footer logo */
    @media (max-width: 768px) {
        .footer-logo img {
            height: 40px;
        }
    }

/* Header Top Styles */
.header-top {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 8px 0;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-top-one {
    font-family: 'Open Sans', sans-serif;
}

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

.inner.clearfix {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.top-right.clearfix {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.header-top .phone,
.header-top .hours {
    position: relative;
}

.header-top .phone a,
.header-top .hours-btn a {
    color: var(--white);
    text-decoration: none;
    padding: 5px 0;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    display: inline-block;
}

.header-top .phone a:hover,
.header-top .hours-btn a:hover {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
}

.header-top .phone a:after,
.header-top .hours-btn a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--white);
    transition: width 0.3s ease;
}

.header-top .phone a:hover:after,
.header-top .hours-btn a:hover:after {
    width: 100%;
}

.header-top .phone.callcenter a {
    font-weight: 600;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-top .phone.callcenter a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Social Links in Header Top */
.header-top .social-links {
    display: flex;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header-top .social-links li {
    margin: 0;
}

.header-top .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-top .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-top .social-links img {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.header-top .social-links a:hover img {
    transform: scale(1.1);
}

/* Language Switcher */
.header-top .phone a.current {
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 4px;
}

.header-top .phone a:not(.current) {
    opacity: 0.8;
}

.header-top .phone a:not(.current):hover {
    opacity: 1;
}

/* Header Top Responsive */
@media (max-width: 768px) {
    .header-top {
        padding: 10px 0;
        font-size: 0.8rem;
    }
    
    .inner.clearfix {
        justify-content: center;
        gap: 15px;
    }
    
    .top-right.clearfix {
        gap: 15px;
        justify-content: center;
    }
    
    .header-top .hidden-lg {
        display: flex !important;
    }
    
    .header-top .social-links {
        gap: 8px;
    }
    
    .header-top .social-links a {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 8px 0;
    }
    
    .top-right.clearfix {
        gap: 10px;
    }
    
    .header-top .phone,
    .header-top .hours {
        font-size: 0.75rem;
    }
    
    .auto-container {
        padding: 0 15px;
    }
}

/* Main Header Styles */
.header-main {
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(1, 38, 118, 0.1);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    min-height: 70px;
    gap: 20px;
}

/* Logo positioned at extreme left */
.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 0;
    position: relative;
    z-index: 1002;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    height: 65px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(1, 38, 118, 0.1);
    min-width: 60px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.logo:hover img {
    box-shadow: 0 4px 12px rgba(1, 38, 118, 0.2);
    border-color: rgba(1, 38, 118, 0.1);
}

/* Hamburger Button positioned at extreme right */
.sidebar-toggle {
    background: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 10px 12px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(1, 38, 118, 0.2);
    margin-right: 0;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
}

.sidebar-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 38, 118, 0.3);
}

.sidebar-toggle:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(1, 38, 118, 0.3);
}

/* Mobile menu toggle button */
.nav-toggle {
    display: none;
    background: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 1.3rem;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(1, 38, 118, 0.2);
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    flex-shrink: 0;
    min-width: 44px;
    min-height: 44px;
}

.nav-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-52%);
}

.nav-toggle:active {
    transform: translateY(-48%);
}

/* Main navigation - centered and flexible */
.main-nav {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    max-width: calc(100% - 200px);
}

.close-nav {
    display: none;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    color: var(--white);
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: all 0.3s ease;
    z-index: 1003;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.close-nav:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.main-nav li {
    position: relative;
    white-space: nowrap;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
    font-family: 'Montserrat', sans-serif;
}

.main-nav a:hover {
    color: var(--primary);
    background: rgba(1, 38, 118, 0.05);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(1, 38, 118, 0.1);
}

.main-nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 1px;
}

.main-nav a:hover:after {
    width: 70%;
}

.main-nav a.active {
    color: var(--primary);
    background: rgba(1, 38, 118, 0.08);
}

.main-nav a.active:after {
    width: 70%;
}

/* Mobile menu styles */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .sidebar-toggle {
        display: none;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--white);
        box-shadow: -5px 0 30px rgba(1, 38, 118, 0.2);
        transition: right 0.3s ease;
        z-index: 1001;
        padding: 80px 20px 30px;
        flex-grow: 0;
        justify-content: flex-start;
        max-width: none;
        overflow-y: auto;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .close-nav {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: none;
    }
    
    .main-nav li {
        margin-left: 0;
        border-bottom: 1px solid rgba(1, 38, 118, 0.1);
        width: 100%;
    }
    
    .main-nav a {
        padding: 15px 0;
        border-radius: 0;
        text-transform: none;
        letter-spacing: 0;
        font-size: 1rem;
        text-align: left;
        white-space: normal;
        font-weight: 500;
    }
    
    .main-nav a:after {
        display: none;
    }
    
    .main-nav a:hover {
        transform: none;
        background: rgba(1, 38, 118, 0.05);
        box-shadow: none;
    }
    
    .header-content {
        gap: 0;
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .logo img {
        height: 55px;
    }
}

/* Desktop styles */
@media (min-width: 769px) {
    .sidebar-toggle {
        display: flex;
    }
    
    .header-content {
        gap: 15px;
    }
    
    .main-nav {
        max-width: calc(100% - 180px);
    }
    
    .header-top .hidden-lg {
        display: none !important;
    }
}

/* Compact menu for medium screens */
@media (max-width: 1200px) {
    .main-nav a {
        padding: 8px 10px;
        font-size: 0.85rem;
    }
    
    .main-nav ul {
        gap: 3px;
    }
    
    .logo img {
        height: 55px;
    }
    
    .header-content {
        gap: 15px;
        padding: 0 15px;
    }
}

@media (max-width: 1024px) {
    .main-nav a {
        padding: 8px 8px;
        font-size: 0.82rem;
        letter-spacing: 0.2px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .header-content {
        gap: 10px;
        padding: 0 12px;
    }
    
    .main-nav ul {
        gap: 2px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .header-content {
        padding: 0 10px;
    }
    
    .logo img {
        height: 50px;
        min-width: 50px;
    }
    
    .nav-toggle {
        right: 10px;
        padding: 8px 12px;
    }
    
    .main-nav {
        width: 260px;
    }
}

/* Extreme zoom protection */
@media (max-width: 320px) {
    .logo img {
        height: 45px;
        min-width: 45px;
    }
    
    .header-content {
        padding: 0 5px;
    }
    
    .main-nav {
        width: 240px;
    }
}

/* Header scroll effect */
.header-main.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(1, 38, 118, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.header-main.scrolled .logo img {
    height: 50px;
}

.header-main.scrolled .main-nav a {
    padding: 8px 10px;
    font-size: 0.85rem;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .logo img {
        border: 2px solid var(--primary);
    }
    
    .sidebar-toggle {
        border: 2px solid var(--white);
    }
    
    .main-nav a {
        font-weight: 700;
    }
    
    .header-top {
        border-bottom: 2px solid var(--white);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .logo,
    .sidebar-toggle,
    .main-nav a,
    .header-main,
    .header-top a {
        transition: none;
    }
    
    .sidebar-menu,
    .main-nav {
        transition: right 0.2s ease;
    }
}

/* Sidebar styles */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-menu {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-menu.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sidebar-logo img {
    height: 50px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.sidebar-logo-text h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.sidebar-logo-text span {
    font-size: 0.8rem;
    opacity: 0.9;
    font-family: 'Open Sans', sans-serif;
}

.sidebar-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.sidebar-nav {
    flex: 1;
    padding: 20px 0;
    overflow-y: auto;
}

.sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-links li {
    margin: 0;
}

.sidebar-links a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}

.sidebar-links a:hover {
    background: rgba(1, 38, 118, 0.05);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 30px;
}

.sidebar-links i {
    width: 25px;
    margin-right: 15px;
    font-size: 1.1rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.sidebar-links a:hover i {
    transform: scale(1.1);
}

.sidebar-links span {
    font-weight: 500;
}

.sidebar-divider {
    height: 1px;
    background: rgba(1, 38, 118, 0.1);
    margin: 15px 25px;
}

.sidebar-language {
    padding: 0 25px 20px;
}

.sidebar-language span {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.language-buttons {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 8px 15px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(1, 38, 118, 0.2);
}

.sidebar-footer {
    padding: 15px 25px;
    background: var(--light-gray);
    text-align: center;
    border-top: 1px solid rgba(1, 38, 118, 0.1);
}

.sidebar-footer p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--gray);
    font-family: 'Open Sans', sans-serif;
}

@media (max-width: 768px) {
    .sidebar-menu {
        width: 300px;
    }
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: var(--light-gray);
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

/* Focus styles for accessibility */
.sidebar-toggle:focus,
.nav-toggle:focus,
.close-nav:focus,
.sidebar-close:focus,
.main-nav a:focus,
.lang-btn:focus,
.header-top a:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

/* Animation for menu items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sidebar-links li {
    animation: slideIn 0.3s ease forwards;
}

.sidebar-links li:nth-child(1) { animation-delay: 0.05s; }
.sidebar-links li:nth-child(2) { animation-delay: 0.1s; }
.sidebar-links li:nth-child(3) { animation-delay: 0.15s; }
.sidebar-links li:nth-child(4) { animation-delay: 0.2s; }
.sidebar-links li:nth-child(5) { animation-delay: 0.25s; }
.sidebar-links li:nth-child(6) { animation-delay: 0.3s; }




/* Enhanced Sidebar Styles */
.dynamic-menu-section {
    margin-bottom: 20px;
}

.menu-section-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 25px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
}

.dynamic-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dynamic-menu li {
    margin: 0;
    position: relative;
}

.dynamic-menu .menu-link {
    display: flex;
    align-items: center;
    padding: 12px 25px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
    position: relative;
}

.dynamic-menu .menu-link:hover {
    background: rgba(1, 38, 118, 0.05);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 30px;
}

.dynamic-menu .menu-link i:first-child {
    width: 20px;
    margin-right: 15px;
    font-size: 1rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.dynamic-menu .menu-link:hover i:first-child {
    transform: scale(1.1);
    color: var(--primary-dark);
}

.dynamic-menu .menu-link span {
    flex: 1;
    font-weight: 500;
    font-size: 0.9rem;
}

.dropdown-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--gray);
    transition: transform 0.3s ease;
}

/* Submenu Styles */
.dynamic-menu .submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: rgba(1, 38, 118, 0.02);
}

.dynamic-menu .submenu.expanded {
    max-height: 1000px;
}

.dynamic-menu .submenu li .menu-link {
    padding-left: 50px;
    font-size: 0.85rem;
    border-left-color: transparent;
}

.dynamic-menu .submenu li .menu-link:hover {
    padding-left: 55px;
    border-left-color: var(--primary-light);
}

.dynamic-menu .submenu .submenu li .menu-link {
    padding-left: 70px;
}

.dynamic-menu .submenu .submenu li .menu-link:hover {
    padding-left: 75px;
}

/* Dropdown active state */
.dynamic-menu li.dropdown.active > .menu-link {
    background: rgba(1, 38, 118, 0.08);
    color: var(--primary);
    border-left-color: var(--primary);
}

.dynamic-menu li.dropdown.active > .menu-link .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Menu empty state */
.menu-empty {
    display: flex;
    align-items: center;
    padding: 20px 25px;
    color: var(--gray);
    font-style: italic;
}

.menu-empty i {
    margin-right: 10px;
    color: var(--primary-light);
}

/* Enhanced language switcher */
.sidebar-language .lang-btn {
    padding: 8px 20px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    flex: 1;
}

.sidebar-language .lang-btn.active,
.sidebar-language .lang-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(1, 38, 118, 0.2);
}

.language-buttons {
    display: flex;
    gap: 10px;
}

/* Scrollbar styling for sidebar */
.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .dynamic-menu .menu-link {
        padding: 15px 20px;
    }
    
    .dynamic-menu .submenu li .menu-link {
        padding-left: 40px;
    }
    
    .dynamic-menu .submenu .submenu li .menu-link {
        padding-left: 60px;
    }
    
    .menu-section-title {
        margin: 0 20px 15px;
    }
}

/* Animation for menu items */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dynamic-menu li {
    animation: slideDown 0.3s ease forwards;
}

/* Staggered animation for menu items */
.dynamic-menu li:nth-child(1) { animation-delay: 0.05s; }
.dynamic-menu li:nth-child(2) { animation-delay: 0.1s; }
.dynamic-menu li:nth-child(3) { animation-delay: 0.15s; }
.dynamic-menu li:nth-child(4) { animation-delay: 0.2s; }
.dynamic-menu li:nth-child(5) { animation-delay: 0.25s; }
.dynamic-menu li:nth-child(6) { animation-delay: 0.3s; }

/* Enhanced Dropdown Styles */
.dynamic-menu .dropdown .submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(1, 38, 118, 0.02);
    padding-left: 0;
}

.dynamic-menu .dropdown .submenu.expanded {
    max-height: 1000px;
}

.dynamic-menu .dropdown.active > .menu-link {
    background: rgba(1, 38, 118, 0.08);
    color: var(--primary);
    border-left-color: var(--primary);
}

.dynamic-menu .dropdown.active > .menu-link .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Smooth transitions */
.dynamic-menu .menu-link {
    transition: all 0.3s ease;
    cursor: pointer;
}

.dynamic-menu .dropdown-arrow {
    transition: transform 0.3s ease;
}

/* Hover effects */
.dynamic-menu .menu-link:hover {
    background: rgba(1, 38, 118, 0.05);
    padding-left: 30px;
}

.dynamic-menu .dropdown.active > .menu-link:hover {
    background: rgba(1, 38, 118, 0.12);
}

/* Ensure submenu items are properly styled */
.dynamic-menu .submenu li {
    border-bottom: none;
}

.dynamic-menu .submenu .menu-link {
    padding: 10px 25px 10px 50px;
    font-size: 0.85rem;
}

.dynamic-menu .submenu .submenu .menu-link {
    padding-left: 70px;
}

/* Fix for dropdown trigger links */
.dynamic-menu .menu-link.dropdown-trigger {
    position: relative;
}


/* ===== VALUES SECTION - ENHANCED GRID LAYOUT ===== */
/* Features: Main hero card + responsive value cards grid */
/* Hover effects with smooth transitions and gradient accents */

.values-section.full-width {
  padding: 80px 0;
  background: white;
  width: 100%;
}

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

/* Main hero card spanning full width */
.main-value-card {
  grid-column: 1 / 4;
  text-align: center;
  padding: 40px;
  background: linear-gradient(135deg, var(--primary) 0%, #004e8a 100%);
  color: white;
  border-radius: 12px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 78, 138, 0.15);
  position: relative;
  overflow: hidden;
}

/* Subtle background animation on main card hover */
.main-value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.main-value-card:hover::before {
  left: 100%;
}

.main-value-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 78, 138, 0.25);
  background: linear-gradient(135deg, var(--primary) 0%, #005799 100%);
}

.main-value-card h2 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.main-value-card:hover h2 {
  transform: scale(1.02);
}

.main-value-card p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.6;
  transition: transform 0.3s ease 0.1s;
}

.main-value-card:hover p {
  transform: translateY(-2px);
}

.main-value-card .btn {
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.main-value-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 87, 153, 0.1), transparent);
  transition: left 0.5s ease;
}

.main-value-card .btn:hover::before {
  left: 100%;
}

.main-value-card .btn:hover {
  background-color: var(--light);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Individual value cards with hover effects */
.value-card {
  background: #f8fafc;
  border-radius: 12px;
  padding: 35px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
  border-top: 4px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
  background: white;
  border-top-color: var(--primary);
}

.value-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.value-card:hover .value-icon {
  transform: scale(1.1);
}

.value-card h3 {
  color: var(--dark);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.value-card p {
  margin-bottom: 20px;
  flex-grow: 1;
}

.value-card a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s ease;
}

.value-card a:hover {
  color: var(--accent);
}

.value-card a:after {
  content: '→';
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.value-card a:hover:after {
  transform: translateX(4px);
}

/* Clickable card enhancements */
.value-card.clickable-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
}

.value-card.clickable-card:hover {
    text-decoration: none;
    color: inherit;
}

/* Click indicator with eye icon */
.click-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.value-card:hover .click-indicator {
    opacity: 1;
    transform: translateY(0);
}

.click-indicator i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.value-card:hover .click-indicator i {
    transform: scale(1.2);
}

/* Ensure proper cursor for clickable areas */
.value-card.clickable-card,
.value-card.clickable-card * {
    cursor: pointer;
}

/* Remove old link styles since entire card is now clickable */
.value-card a {
    display: none; /* Hide old individual links */
}

/* Responsive design for tablets and mobile */
@media (max-width: 992px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .main-value-card {
    grid-column: 1 / 3;
  }
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .main-value-card {
    grid-column: 1 / 2;
    padding: 30px 20px;
  }
  
  .values-section.full-width {
    padding: 60px 0;
  }
  
  .main-value-card h2 {
    font-size: 1.8rem;
  }
  
  .main-value-card p {
    font-size: 1rem;
  }
}

/* ===== SERVICES SECTION - DOCUMENTS GRID ===== */
/* Features: Clickable document cards with hover effects */
/* Color scheme using blue variations with subtle hover enhancement */

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

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-header h2 {
    color: #1e3a8a; /* Deeper blue for better contrast */
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: #374151;
    opacity: 0.8;
}

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

.service-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.08);
    border-top: 4px solid #3b82f6; /* Default blue border */
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(30, 58, 138, 0.15);
    border-top-color: #1e3a8a; /* Darker blue on hover */
    background: #f0f7ff;
}

.service-icon {
    font-size: 3rem;
    color: #3b82f6; /* Standard blue */
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: #1e40af; /* Enhanced blue on hover */
}

.service-card h3 {
    color: #1e3a8a; /* Dark blue for titles */
    margin-bottom: 20px;
    font-size: 1.3rem;
    flex-grow: 1;
}

.service-card .click-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6; /* Standard blue */
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.service-card:hover .click-indicator {
    opacity: 1;
    transform: translateY(0);
    color: #1e40af; /* Enhanced blue on hover */
}

.service-card .click-indicator i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.service-card:hover .click-indicator i {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
}