@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
      --primary: #8b0000;
      --secondary: #d4af37;
      --accent: #0066cc;
      --light: #f8f9fa;
      --dark: #343a40;
    }

    body {
      font-family: 'Poppins', sans-serif;
    }


    .bg-diplomatie {
      background-color: #00660A;
    }


    .nav-link {
      position: relative;
      transition: all 0.3s ease;
    }


    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      width: 0;
      height: 3px;
      background: #fff;
      transition: all 0.3s ease;
      transform: translateX(-50%);
    }


    .nav-link:hover::after {
      width: 100%;
    }


    .dropdown-menu {
      background-color: #00660A;
      border: none;
      border-radius: 0;
    }


    .dropdown-item {
      color: #fff;
      transition: all 0.2s ease;
    }


    .dropdown-item:hover {
      background-color: #0a3669;
      color: #fff;
    }


    .flag-icon {
      transition: transform 0.3s ease;
    }


    .flag-icon:hover {
      transform: scale(1.05);
    }


	.result-card {
      border-left: 4px solid #00660A;
      transition: all 0.3s ease;
    }


    .result-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }


    .institution-card {
      transition: all 0.3s ease;
    }


    .institution-card:hover {
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }


    .tab-button {
      padding: 10px 20px;
      border: none;
      background-color: #f1f1f1;
      cursor: pointer;
      font-weight: 500;
      border-radius: 5px 5px 0 0;
      transition: all 0.3s ease;
    }


    .tab-button.active {
      background-color: #00660A;
      color: white;
    }


    /* .tab-content {
      display: none;
      padding: 20px;
      border: 1px solid #ddd;
      border-top: none;
      border-radius: 0 0 5px 5px;
      background-color: white;
    }


    .tab-content.active {
      display: block;
    } */


    .congrats-banner {
      background: linear-gradient(135deg, #00660A, #00a814);
      color: white;
      border-radius: 8px;
      overflow: hidden;
      position: relative;
    }


    .congrats-banner::before {
      content: "";
      position: absolute;
      top: -10px;
      right: -10px;
      width: 60px;
      height: 60px;
      background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" opacity="0.3"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"/></svg>');
      background-size: cover;
    }


    .result-badge {
      position: absolute;
      top: -15px;
      right: -15px;
      width: 60px;
      height: 60px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 30px;
      color: gold;
      transform: rotate(15deg);
      z-index: 10;
    }



    .form-header {
      color: #00660A;
      border-bottom: 2px solid #e9ecef;
      padding-bottom: 15px;
      margin-bottom: 20px;
      font-weight: 600;
      display: flex;
      align-items: center;
    }


    .form-header i {
      margin-right: 10px;
      font-size: 1.4rem;
    }


    .form-step {
      display: flex;
      align-items: center;
      margin-bottom: 30px;
      background-color: #f0fdf4;
      padding: 10px 15px;
      border-radius: 8px;
      border-left: 4px solid #00660A;
    }


    .step-number {
      background-color: #00660A;
      color: white;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      margin-right: 15px;
      flex-shrink: 0;
    }


    .step-content {
      font-size: 0.95rem;
      color: #495057;
    }


    .required-label::after {
      content: " *";
      color: #e53e3e;
    }


    .upload-area {
      border: 2px dashed #cbd5e0;
      border-radius: 8px;
      padding: 30px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
      background-color: #f8fafc;
    }


    .upload-area:hover {
      border-color: #00660A;
      background-color: #f0fdf4;
    }


    .upload-area i {
      font-size: 2.5rem;
      color: #00660A;
      margin-bottom: 15px;
    }


    .file-preview {
      background-color: #f1f5f9;
      border-radius: 6px;
      padding: 10px 15px;
      margin-top: 15px;
      display: flex;
      align-items: center;
    }


    .file-preview i {
      color: #00660A;
      margin-right: 10px;
      font-size: 1.2rem;
    }


    .conditional-field {
      transition: all 0.3s ease;
      max-height: 500px;
      overflow: hidden;
    }


    .conditional-field.hidden {
      max-height: 0;
      opacity: 0;
      padding: 0;
      margin: 0;
      overflow: hidden;
    }


    .progress-container {
      position: relative;
      height: 8px;
      background-color: #e2e8f0;
      border-radius: 4px;
      overflow: hidden;
      margin: 25px 0;
    }


    .progress-bar {
      height: 100%;
      background-color: #00660A;
      width: 16.666%;
      transition: width 0.5s ease;
    }


    .progress-text {
      text-align: center;
      font-weight: 500;
      color: #00660A;
      margin-bottom: 20px;
    }


    .submit-btn {
      background: linear-gradient(135deg, #00660A, #00a814);
      color: white;
      font-weight: 600;
      padding: 12px 30px;
      border-radius: 8px;
      transition: all 0.3s ease;
      border: none;
      font-size: 1.1rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }


    .submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 4px 15px rgba(0, 102, 10, 0.3);
    }


    .submit-btn i {
      margin-right: 8px;
    }


    .form-note {
      background-color: #f0fdf4;
      border-left: 4px solid #00660A;
      padding: 15px;
      border-radius: 0 8px 8px 0;
      margin-top: 25px;
      font-size: 0.9rem;
    }


    .form-note i {
      color: #00660A;
      margin-right: 8px;
    }
	.status-card {
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      padding: 25px;
      margin-bottom: 30px;
      border-left: 4px solid #00660A;
    }


    .timeline {
      position: relative;
      max-width: 1000px;
      margin: 40px auto;
    }


    .timeline::after {
      content: '';
      position: absolute;
      width: 6px;
      background-color: #e2e8f0;
      top: 0;
      bottom: 0;
      left: 50%;
      margin-left: -3px;
      border-radius: 3px;
    }


    .timeline-item {
      position: relative;
      width: 50%;
      padding: 10px 40px;
      box-sizing: border-box;
    }


    .timeline-item:nth-child(odd) {
      left: 0;
    }


    .timeline-item:nth-child(even) {
      left: 50%;
    }


    .timeline-item::after {
      content: '';
      position: absolute;
      width: 25px;
      height: 25px;
      background-color: white;
      border: 4px solid #00660A;
      top: 15px;
      border-radius: 50%;
      z-index: 1;
    }


    .timeline-item:nth-child(odd)::after {
      right: -12px;
    }


    .timeline-item:nth-child(even)::after {
      left: -12px;
    }


    .timeline-content {
      background: white;
      border-radius: 10px;
      padding: 20px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      position: relative;
      transition: all 0.3s ease;
      border: 1px solid #e2e8f0;
    }


    .timeline-content:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 16px rgba(0,0,0,0.1);
      border-color: #00660A;
    }


    .timeline-content.completed {
      border-left: 4px solid #00660A;
    }


    .timeline-content.in-progress {
      border-left: 4px solid #f59e0b;
    }


    .timeline-content.pending {
      border-left: 4px solid #e2e8f0;
    }


    .timeline-date {
      font-weight: 600;
      color: #00660A;
      margin-bottom: 10px;
      display: flex;
      align-items: center;
    }


    .timeline-date i {
      margin-right: 8px;
    }


    .status-badge {
      padding: 5px 12px;
      border-radius: 20px;
      font-size: 0.85rem;
      font-weight: 500;
      display: inline-block;
    }


    .status-completed {
      background-color: #f0fdf4;
      color: #00660A;
    }


    .status-in-progress {
      background-color: #fffbeb;
      color: #f59e0b;
    }


    .status-pending {
      background-color: #f1f5f9;
      color: #64748b;
    }


    .dossier-info {
      background: linear-gradient(135deg, #f0fdf4, #e2f0e8);
      border-radius: 10px;
      padding: 20px;
      margin-bottom: 30px;
    }


    .tab-button {
      padding: 10px 20px;
      border: none;
      background-color: #f1f1f1;
      cursor: pointer;
      font-weight: 500;
      border-radius: 5px 5px 0 0;
      transition: all 0.3s ease;
    }


    .tab-button.active {
      background-color: #00660A;
      color: white;
    }


    /* .tab-content {
      display: none;
      padding: 20px;
      border: 1px solid #ddd;
      border-top: none;
      border-radius: 0 0 5px 5px;
      background-color: white;
    }


    .tab-content.active {
      display: block;
    } */


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


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


      .timeline-item:nth-child(even) {
        left: 0;
      }


      .timeline-item::after {
        left: 25px;
      }


      .timeline-item:nth-child(odd)::after,
      .timeline-item:nth-child(even)::after {
        left: 25px;
      }
    }
	.contact-card {
      background: white;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
      overflow: hidden;
    }


    .contact-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.12);
    }


    .contact-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 24px;
      margin-bottom: 20px;
    }


	/* .form-section {
      background-color: white;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      padding: 25px;
      margin-bottom: 30px;
      border-left: 4px solid #00660A;
    } */

    .form-header {
      color: #00660A;
      border-bottom: 2px solid #e9ecef;
      padding-bottom: 20px;
      margin-bottom: 25px;
      font-weight: 600;
      display: flex;
      align-items: center;
      font-size: 1.5rem;
    }


    .form-header i {
      margin-right: 15px;
      font-size: 1.8rem;
    }


    .required-label::after {
      content: " *";
      color: #e53e3e;
    }


    .submit-btn {
      background: linear-gradient(135deg, #00660A, #00a814);
      color: white;
      font-weight: 600;
      padding: 14px 35px;
      border-radius: 8px;
      transition: all 0.3s ease;
      border: none;
      font-size: 1.1rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
    }


    .submit-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 102, 10, 0.3);
    }


    .submit-btn i {
      margin-right: 10px;
    }


    .contact-map {
      border-radius: 12px;
      overflow: hidden;
      height: 300px;
      background-color: #e9ecef;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #00660A;
      font-weight: 500;
    }


    .office-hours {
      background: linear-gradient(135deg, #f0fdf4, #e2f0e8);
      border-radius: 12px;
      padding: 25px;
    }


    .hour-item {
      display: flex;
      justify-content: space-between;
      padding: 10px 0;
      border-bottom: 1px dashed #cbd5e0;
    }


    .hour-item:last-child {
      border-bottom: none;
    }


    .social-icon {
      width: 45px;
      height: 45px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      transition: all 0.3s ease;
    }


    .social-icon:hover {
      transform: translateY(-5px);
    }

    /* Styles du carrousel */
    .hero-carousel {
      position: relative;
      overflow: hidden;
      height: 70vh;
      min-height: 500px;
    }

    .carousel-item {
      height: 70vh;
      min-height: 500px;
      background-size: cover;
      background-position: center;
    }

    .carousel-caption {
      position: absolute;
      bottom: 15%;
      left: 10%;
      right: 10%;
      text-align: left;
      padding: 30px;
      background: rgba(0, 0, 0, 0.4);
      backdrop-filter: blur(5px);
      border-radius: 10px;
      max-width: 70%;
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.8s ease;
    }

    .carousel-item.active .carousel-caption {
      opacity: 1;
      transform: translateY(0);
    }

    .carousel-title {
      font-size: 2.5rem;
      font-weight: 700;
      margin-bottom: 15px;
      color: white;
      text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

    .carousel-description {
      font-size: 1.2rem;
      color: rgba(255, 255, 255, 0.9);
      text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
      margin-bottom: 20px;
    }

    .carousel-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      width: 50px;
      height: 50px;
      background: rgba(0, 102, 10, 0.8);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 1.5rem;
      z-index: 10;
      transition: all 0.3s ease;
    }

    .carousel-control:hover {
      background: #00660A;
      transform: translateY(-50%) scale(1.1);
    }

    .carousel-control-prev {
      left: 30px;
    }

    .carousel-control-next {
      right: 30px;
    }

    .carousel-indicators {
      position: absolute;
      bottom: 20px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: center;
      gap: 10px;
      z-index: 10;
    }

    .carousel-indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .carousel-indicator.active {
      background: #00660A;
      transform: scale(1.2);
    }

    .service-card {
      border-left: 4px solid var(--primary);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .service-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .important-note {
      border: 2px solid var(--secondary);
      background-color: #fffcf0;
      border-radius: 8px;
      padding: 20px;
      margin: 20px 0;
    }

    .warning-note {
      background-color: #fff8e6;
      border-left: 4px solid #e6a700;
      padding: 15px;
      margin: 15px 0;
    }

    .section-title {
      position: relative;
      padding-bottom: 10px;
      margin-bottom: 20px;
      color: var(--primary);
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 80px;
      height: 3px;
      background-color: var(--secondary);
    }

    .timeline-item-service {
      position: relative;
      padding-left: 30px;
      margin-bottom: 20px;
    }

    .timeline-item-service::before {
      content: '';
      position: absolute;
      left: 0;
      top: 8px;
      width: 15px;
      height: 15px;
      border-radius: 50%;
      background-color: var(--primary);
    }

    .timeline-item-service::after {
      content: '';
      position: absolute;
      left: 7px;
      top: 23px;
      width: 1px;
      height: calc(100% - 15px);
      background-color: var(--primary);
    }

    .timeline-item-service:last-child::after {
      display: none;
    }

    .requirement-list li {
      margin-bottom: 10px;
      padding-left: 25px;
      position: relative;
    }

    .requirement-list li::before {
      content: '•';
      position: absolute;
      left: 0;
      color: var(--primary);
      font-weight: bold;
    }

    .service-icon {
      font-size: 2.5rem;
      color: var(--primary);
      margin-bottom: 15px;
    }

    .service-table {
      border-collapse: collapse;
      width: 100%;
      margin: 25px 0;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      overflow: hidden;
    }

    .service-table th {
      background-color: var(--primary);
      color: white;
      text-align: center;
      padding: 12px 15px;
      font-weight: 600;
    }

    .service-table td {
      padding: 12px 15px;
      border-bottom: 1px solid #eee;
      vertical-align: top;
    }

    .service-table tr:nth-child(even) {
      background-color: #f9f9f9;
    }

    .service-table tr:last-child td {
      border-bottom: none;
    }

    .service-table tr:hover {
      background-color: #f5f5f5;
    }

    .service-table .service-header {
      background-color: #d4af37;
      color: #000;
      font-weight: bold;
      text-align: center;
    }

    .contact-card {
      background: linear-gradient(135deg, #f8f9fa, #e9ecef);
      border-radius: 8px;
      padding: 15px;
      margin-top: 10px;
      border-left: 3px solid var(--primary);
    }

    .table-responsive {
      overflow-x: auto;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

     @media (max-width: 768px) {
      .section-title {
        font-size: 1.5rem;
      }

      .header-content {
        flex-direction: column;
        text-align: center;
      }

      .contact-box {
        margin-top: 15px;
      }



      .service-table th,
      .service-table td {
        padding: 8px 10px;
        font-size: 0.85rem;
      }
    }
