body {
    font-family: system-ui, sans-serif;
    background: #f4f2ee;
    color: #222;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }


  .container {
    max-width: 75vw;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
  }
  .header {
    background: rgba(255,255,255,0.5);
    color: #222;
    border-bottom: 1px solid #eee;
    padding: 0.7rem 0.5rem 0.7rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(255,255,255,0.60);
    height: auto;
    backdrop-filter: blur(16px);
  }
  .header-content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 1rem;
  }
  .flex-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }
  .flex-middle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
  }
  .flex-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
  }
  .brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #111;
    text-decoration: none;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
  }

  .nav-link {
    color: #222;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.01em;
  }

  .nav-link:hover {
    color: #00818f;
    text-decoration: underline;
  }

  .dropdown {
    position: relative;
  }
  .dropdown-toggle {
    background: none;
    border: none;
    font: inherit;
    font-family: system-ui, sans-serif;
    color: #222;
    cursor: pointer;
    padding: 0;
  }
  .dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    z-index: 10;
  }
  .dropdown:hover .dropdown-menu,
  .dropdown:focus-within .dropdown-menu {
    display: block;
  }
  .dropdown-menu a {
    display: block;
    padding: 0.7em 1em;
    color: #222;
    text-decoration: none;
  }
  .dropdown-menu a:hover {
    background: #f4f2ee;
  }
  .btn,
  .btn-secondary,
  .cta-button {
    text-align: center;
    border-radius: 4px;
    padding: 0.5em 1em;
    font-size: 0.9rem;
    font-family: system-ui, sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 12px rgba(0,129,143,0.13);
    display: inline-block;
    min-width: 110px !important;
    min-height: 35px !important;
    box-sizing: border-box;
  }
  .btn,
  .cta-button  {
    background: #00818f;
    color: #fff;
    border: none;
  }
  .btn-secondary {
    background: #fff;
    color: #00818f;
    border: 1.5px solid #00818f;
  }
  .btn:hover,
  a.btn:hover,
  button.btn:hover,
  .cta-button:hover {
    background: #005e66;
    color: #fff;
  }
  .btn-secondary:hover,
  .btn-secondary:focus {
    background: #e9f7fb;
    color: #005e66;
    border-color: #005e66;
  }
  .btn-secondary:active {
    background: #b2e4ef;
    color: #005e66;
    border-color: #005e66;
  }
  
  /* Disabled button styling */
  .btn:disabled,
  .btn[disabled],
  .btn-secondary:disabled,
  .btn-secondary[disabled],
  .cta-button:disabled,
  .cta-button[disabled] {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.65;
    box-shadow: 0 2px 12px rgba(108, 117, 125, 0.13);
  }
  
  .btn:disabled:hover,
  .btn[disabled]:hover,
  .btn-secondary:disabled:hover,
  .btn-secondary[disabled]:hover,
  .cta-button:disabled:hover,
  .cta-button[disabled]:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #fff !important;
  }
  .hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 0.5em;
    z-index: 20;
    padding: 0;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 3px;
    margin: 3px 0;
    background: #111;
    border-radius: 2px;
    transition: all 0.35s ease-out;
    transform-origin: center;
  }
  .hamburger span:nth-child(1) {
    transform: translateY(0) rotate(0deg);
  }
  .hamburger span:nth-child(2) {
    opacity: 1;
    transform: translateX(0);
  }
  .hamburger span:nth-child(3) {
    transform: translateY(0) rotate(0deg);
  }
  .hamburger.collapsed span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .hamburger.collapsed span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  .hamburger.collapsed span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  .search-bar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 4px;
    padding: 0.2em 0.5em 0.2em 1em;
    width: 100%;
    max-width: 200px;
    border: 1px solid #e0e0e0;
    margin-left: 1rem;
  }
  .search-bar input[type="text"] {
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: system-ui, sans-serif;
    background: transparent;
    flex: 1;
    padding: 0.5em 0.5em 0.5em 0;
    color: #222;
  }
  .search-bar button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 0.3em;
    display: flex;
    align-items: center;
  }
  .search-bar svg {
    width: 1.2em;
    height: 1.2em;
    fill: #00818f;
    transition: fill 0.2s;
  }
  .search-bar button:hover svg {
    fill: #005e66;
  }

  .text-center {
    text-align: center;
  }

  .highlight-search {
    background: #ffe066;
    color: #222;
    border-radius: 3px;
    padding: 0 2px;
    box-shadow: 0 1px 4px rgba(255,224,102,0.18);
    transition: background 0.2s;
    cursor: pointer;
  }
  .highlight-search:hover {
    background: #ffd633;
  }
  .footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 2rem 0;
    margin-top: 2rem;
  }
  .footer-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }
  .footer-brand {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ecf0f1;
  }
  .footer-links {
    display: flex;
    gap: 2rem;
    align-items: center;
  }
  .footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover {
    color: #ecf0f1;
  }
  .footer-social {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .footer-social svg {
    width: 1.2em;
    height: 1.2em;
    fill: #bdc3c7;
    transition: fill 0.2s;
  }
  .footer-social:hover svg {
    fill: #ecf0f1;
  }

  .category-table {
    width: 100%;
    margin: 2.5rem 0 0 0;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 32px rgba(0,129,143,0.16);
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
  }
  .category-row {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding: 0.7rem 0;
  }
  .category-row:last-child {
    border-bottom: none;
  }
  .category-domain {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.08rem;
    padding: 1.1rem 1.2rem 1.1rem 1.5rem;
    min-height: 64px;
  }
  .category-domain img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 4px;
    background: #f4f2ee;
    box-shadow: 0 2px 8px rgba(255,255,255,0.60);
  }
  .category-domain svg {
    width: 36px;
    height: 36px;
    color: #00818f;
    flex-shrink: 0;
  }
  
  .category-link {
    color: #222;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.08rem;
    transition: color 0.2s;
  }
  
  .category-link:hover {
    color: #00818f;
  }
  
  .category-label-link {
    text-decoration: none;
    transition: transform 0.2s;
  }
  
  .category-label-link:hover {
    transform: translateY(-1px);
  }
  
  .category-label-link:hover .category-label {
    background: #d1f2f8;
    border-color: #00818f;
  }
  .category-examples {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 1.1rem 1.5rem 1.1rem 0.5rem;
  }
  .category-label {
    display: inline-block;
    background: #e9f7fb;
    color: #00818f;
    border-radius: 4px;
    padding: 0.35em 1em;
    font-size: 0.98em;
    font-weight: 500;
    margin: 0 0.2em 0.2em 0;
    border: 1px solid #b2e4ef;
    box-shadow: 0 1px 4px rgba(255,255,255,0.60);
    letter-spacing: 0.01em;
  }
  .feature-card,
  .hero,
  .feature-section {
    border-radius: 4px !important;
  }
  a:hover {
    text-decoration: underline;
  }
  .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    list-style: none;
    background: #f8f9fa;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0,129,143,0.06);
    font-size: 1rem;
    gap: 0.5rem;
  }
  .breadcrumb-item {
    color: #00818f;
    font-weight: 500;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
  }
  .breadcrumb-item + .breadcrumb-item:before {
    content: "/";
    color: #bbb;
    margin: 0 0.5em;
    font-weight: 400;
  }
  .breadcrumb-item.active {
    color: #222;
    font-weight: 700;
  }
  .breadcrumb a {
    color: #00818f;
    text-decoration: none;
    transition: color 0.2s;
  }
  .breadcrumb a:hover {
    color: #005e66;
    text-decoration: underline;
  }

  body.sticky-footer {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  body.sticky-footer main.container,
  body.sticky-footer .container-md,
  body.sticky-footer .container-xxl {
    flex: 1 0 auto;
  }
  body.sticky-footer .footer {
    margin-top: auto;
  }
  .form-container {
    background: #fff;
    max-width: 75vw;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  .form-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }
  .form-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 0.5rem;
  }
  .form-header p {
    color: #666;
    font-size: 1.1rem;
  }
  .form-section {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 32px rgba(255, 255, 255, 0.60);
    padding: 1rem;
  }
  .form-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
  }
  .section-explanation {
    margin-bottom: 1rem;
  }
  .input-wrap {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  .input-wrap label {
    pointer-events: none;
    position: absolute;
    color: #666;
    font-size: 14px;
    font-family: system-ui, sans-serif;
    left: 12px;
    top: 12px;
    background: #fff;
    padding: 0 4px;
    visibility: hidden;
    transition: visibility 0.2s ease;
  }
  .input-wrap input:focus + label,
  .input-wrap input + label,
  .input-wrap textarea:focus + label,
  .input-wrap textarea + label {
    visibility: visible;
    left: 8px;
    top: -8px;
    font-size: 12px;
    color: #00818f;
    font-weight: 500;
    transition: 200ms ease all;
  }
  .input-wrap input,
  .input-wrap textarea,
  .input-wrap select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: system-ui, sans-serif;
    transition: all 0.2s ease;
    background: #fff;
    box-sizing: border-box;
  }
  .input-wrap input:focus,
  .input-wrap textarea:focus,
  .input-wrap select:focus {
    outline: none;
    border-color: #00818f;
  }
  .input-wrap input.is-valid,
  .input-wrap textarea.is-valid,
  .input-wrap select.is-valid {
    border-color: #28a745;
  }
  .input-wrap input.is-invalid,
  .input-wrap textarea.is-invalid,
  .input-wrap select.is-invalid {
    border-color: #dc3545;
  }
  .invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 12px;
    font-family: system-ui, sans-serif;
    margin-top: 0.25rem;
  }
  .input-wrap input.is-invalid + .invalid-feedback,
  .input-wrap textarea.is-invalid + .invalid-feedback,
  .input-wrap select.is-invalid + .invalid-feedback {
    display: block;
  }
  .asterisk {
    color: #dc3545;
  }
  .alert {
    padding: 1rem;
    border-radius: 4px;
    margin: 2rem 0 0 0;
    display: none;
  }
  .alert.show {
    display: block;
  }
  .alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
  }
  .alert a {
    color: #00818f;
    text-decoration: underline;
  }
  .form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #f0f0f0;
  }
  .form-check-input {
    margin-right: 0.5rem;
  }

  /* Date dropdown specific styles */
  .date-dropdown {
    cursor: pointer;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.75rem center !important;
    background-size: 16px !important;
    padding-right: 2.5rem !important;
    border: 2px solid #00818f !important;
    background-color: #f8f9fa !important;
  }

  .date-dropdown:focus {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300818f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  }

  /* Remove default browser dropdown arrow */
  .date-dropdown::-ms-expand {
    display: none !important;
  }
  
  /* Additional browser-specific rules to hide default arrows */
  .date-dropdown::-webkit-select-placeholder {
    display: none;
  }
  
  .date-dropdown::-moz-focus-inner {
    border: 0;
  }
  
  .date-dropdown:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
  }

  .date-dropdown option {
    padding: 0.5rem;
    font-family: system-ui, sans-serif;
  }

  /* hero section */
  .hero {
    padding: 3rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 4px;
    box-shadow: 0 6px 32px rgba(255,255,255,0.60);
    background: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 320px;
  }
  .hero-content {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
    text-align: center;
  }
  .hero-title {
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.2;
  }
  .hero-subtitle {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.4;
  }
  .hero-image {
    flex: 1;
    min-width: 280px;
    max-width: 480px;
    text-align: center;
  }
  .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(255,255,255,0.60);
  }
  /* feature section */
  .feature-section {
    margin-bottom: 2rem;
  }
  .feature-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
  }
  .feature-card {
    border: none;
    background: #fff;
    box-shadow: 0 8px 32px rgba(255,255,255,0.60);
    border-radius: 4px;
    padding: 1.5rem 1rem;
    transition: box-shadow 0.2s;
    min-width: 180px;
    max-width: 320px;
    margin: 0 auto;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    flex: 1 1 180px;
  }
  .feature-card  p {
    text-align: center;
  }
  .feature-card:hover {
    box-shadow: 0 12px 36px rgba(255,255,255,0.60);
  }
  .feature-icon {
    font-size: 2rem;
    color: #00818f;
    margin-bottom: 0.8rem;
  }
  .cta-section {
    margin: 2rem 0 0 0;
    text-align: center;
    padding: 1.5rem;
  }

  .cta-question {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .page-dim-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .page-dim-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .highlighted-block {
    position: relative;
    z-index: 1001;
    box-shadow: 0 0 0 4px rgba(255,255,255,0.60), 0 8px 32px rgba(255,255,255,0.60);
    border-radius: 4px;
    transition: box-shadow 0.3s ease;
  }
  .offers-table {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 6px 32px rgba(255,255,255,0.60);
    overflow: hidden;
    border: 1px solid #f0f0f0;
  }
  .offer-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
  }
  .offer-title {
    flex: 1;
    padding: 1.5rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: #00818f;
    border-right: 1px solid #e9ecef;
  }
  .offer-title:last-child {
    border-right: none;
  }
  .offer-row {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
  }
  .offer-row:last-child {
    border-bottom: none;
  }
  .offer-cell {
    flex: 1;
    padding: 1.5rem;
    border-right: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
  }
  .offer-cell:last-child {
    border-right: none;
  }
  .offer-icon {
    font-size: 2rem;
    margin-right: 1rem;
    flex-shrink: 0;
  }
  .offer-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
  }
  .offer-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
  }
  .offer-step {
    display: flex;
    align-items: center;
    width: 100%;
  }
  .step-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
  }
  .step-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .category-table {
    width: 100%;
    margin: 2.5rem auto 0 auto;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 32px rgba(255,255,255,0.60);
    overflow-x: auto;
    border-collapse: separate;
    border-spacing: 0;
    max-width: 900px;
  }
  .section-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
  }
  
  /* Utility Classes */
  .d-none {
    display: none !important;
  }
  .d-block {
    display: block !important;
  }
  .d-inline {
    display: inline !important;
  }
  .d-inline-block {
    display: inline-block !important;
  }
  .d-flex {
    display: flex !important;
  }
  .d-inline-flex {
    display: inline-flex !important;
  }


/* Form Layout */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2.5rem;
  align-items: start;
}

/* Platform and Hosting Options */
.platform-options,
.hosting-options,
.type-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.platform-option,
.hosting-option,
.type-option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Form Help Text */
.form-help {
  font-size: 0.875rem;
  font-family: system-ui, sans-serif;
  color: #6c757d;
  margin-top: 0.5rem;
  line-height: 1.4;
}



/* Technology Filtered and Selected */
.technology-filtered,
.technology-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.375rem;
  min-height: 2.5rem;
}

.technology-filtered {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}

.technology-selected {
  background-color: #e7f3ff;
  border: 1px solid #b3d9ff;
  display: flex !important;
}

.technology-selected:empty {
  background-color: #f8f9fa;
  border: 1px dashed #dee2e6;
}

.technology-filtered:empty {
  display: none;
}

.technology-selected:empty::before {
  content: "Aucune technologie sélectionnée";
  display: block;
  width: 100%;
  font-size: 0.875rem;
  font-family: system-ui, sans-serif;
  font-weight: 500;
  color: #6c757d;
  font-style: italic;
  text-align: center;
  padding: 0.5rem 0;
}

.technology-filtered:not(:empty)::before {
  content: "";
  display: none;
}

.technology-selected:not(:empty)::before {
  content: "Technologies sélectionnées :";
  display: block;
  width: 100%;
  font-size: 0.875rem;
  font-family: system-ui, sans-serif;
  font-weight: 500;
  color: #0d6efd;
  margin-bottom: 0.5rem;
}

/* Category Filtered and Selected */
.category-filtered,
.category-selected {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.375rem;
  min-height: 2.5rem;
}

.category-filtered {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
}

.category-selected {
  background-color: #e7f3ff;
  border: 1px solid #b3d9ff;
  display: flex !important;
}

.category-selected:empty {
  background-color: #f8f9fa;
  border: 1px dashed #dee2e6;
}

.category-filtered:empty {
  display: none;
}

.category-selected:empty::before {
  content: "Aucune catégorie sélectionnée";
  display: block;
  width: 100%;
  font-size: 0.875rem;
  font-family: system-ui, sans-serif;
  font-weight: 500;
  color: #6c757d;
  font-style: italic;
  text-align: center;
  padding: 0.5rem 0;
}

.category-filtered:not(:empty)::before {
  content: "";
  display: none;
}

.category-selected:not(:empty)::before {
  content: "Catégories sélectionnées :";
  display: block;
  width: 100%;
  font-size: 0.875rem;
  font-family: system-ui, sans-serif;
  font-weight: 500;
  color: #0d6efd;
  margin-bottom: 0.5rem;
}

/* Preview Panel */
.preview-panel {
  background-color: #F4F2EE;
  position: sticky;
  top: 1rem;
  border-radius: 0.5rem;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem 1rem 0 1rem;
}

.preview-header h3 {
  font-size: 1.25rem;
  margin: 0;
  padding: 0.5rem 0;
}

.preview-close-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  background: #6c757d;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.preview-close-btn:hover {
  background: #5a6268;
}

.preview-close-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: white;
  border-radius: 1px;
  transition: all 0.35s ease-out;
  transform-origin: center;
}

.preview-close-btn span:nth-child(1) {
  transform: translateY(0) rotate(0deg);
}

.preview-close-btn span:nth-child(2) {
  transform: translateY(0) rotate(0deg);
}

.preview-close-btn.collapsed span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.preview-close-btn.collapsed span:nth-child(2) {
  transform: translateY(-2px) rotate(-45deg);
}

/* On small devices, always show X state since the button is only visible when drawer is open */
@media (max-width: 991px) {
  .preview-close-btn span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }
  
  .preview-close-btn span:nth-child(2) {
    transform: translateY(-2px) rotate(-45deg);
  }
  
  .preview-close-btn.collapsed span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
  }
  
  .preview-close-btn.collapsed span:nth-child(2) {
    transform: translateY(-2px) rotate(-45deg);
  }
}

.preview-content {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 1rem;
  background: white;
  margin: 0 1rem 1rem 1rem;
  overflow: hidden;
}

.preview-section {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f3f4;
}

.preview-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.preview-headline {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
  margin: 0 0 0.75rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.preview-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.preview-dates {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 0.75rem;
}

.preview-type {
  margin-bottom: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.preview-type .category-label {
  background: #f8f9fa;
  color: #495057;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.preview-type .category-label:hover {
  background: #e9ecef;
  color: #212529;
}

.preview-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #495057;
}

/* Submit Container */
.submit-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 100%;
  width: 100%;
}

/* Sticky Submit Button */
.sticky-submit {
  position: sticky;
  bottom: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(222, 226, 230, 0.3);
  padding: 1rem 0;
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Blend effect when at bottom of page */
.sticky-submit.at-bottom {
  background: rgba(255, 255, 255, 0.6);
  border-top-color: transparent;
}





/* Section Navigation Styles */
.section-nav {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  padding-top: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.section-progress {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  overflow: visible;
}

.progress-bar {
  background: #e9ecef;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.progress-fill {
  background: linear-gradient(90deg, #00818f, #00a3b3);
  height: 100%;
  width: 12.5%; /* 1/8 sections */
  transition: width 0.3s ease;
}

.section-indicators {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding-bottom: 0.5rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  white-space: nowrap;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.section-indicators::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.section-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 1.0rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  min-width: 80px;
  flex-shrink: 0;
  scroll-snap-align: center;
}

.section-indicator:hover {
  background: rgba(0, 129, 143, 0.1);
}

.section-indicator.active {
  background: rgba(0, 129, 143, 0.15);
}

.section-indicator.completed {
  background: rgba(0, 129, 143, 0.1);
}

.indicator-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e9ecef;
  color: #6c757d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s ease;
  min-width: 32px;
  min-height: 32px;
}

.section-indicator.active .indicator-number {
  background: #00818f;
  color: white;
}

.section-indicator.completed .indicator-number {
  background: #28a745;
  color: white;
}

.indicator-text {
  font-size: 1.0rem;
  font-weight: 500;
  color: #6c757d;
  text-align: center;
  line-height: 1.2;
}

.section-indicator.active .indicator-text {
  color: #00818f;
  font-weight: 600;
}

.section-indicator.completed .indicator-text {
  color: #28a745;
}

/* Form Section Styles */
.sections-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.form-section {
  animation: fadeIn 0.3s ease;
  min-height: 200px;
  width: 100%;
  max-width: 100%;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.form-section.active {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.section-header h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-header p {
  color: #6c757d;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.section-content {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  padding: 1rem 1rem;
  box-sizing: border-box;
  overflow: hidden;
}

.section-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e9ecef;
}

.section-navigation .btn {
  min-width: 120px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
}

.section-navigation #nextBtn {
  display: inline-block;
}

/* Show submit button when it should be visible */
.section-navigation #submit.show {
  display: inline-block !important;
}

/* ========================================
   RESPONSIVE DESIGN - ALL MEDIA QUERIES
   ======================================== */

/* Extra Large Screens (1400px and above) */
@media (min-width: 1400px) {
  .form-layout {
    grid-template-columns: 1fr 450px;
    gap: 3.5rem;
  }
}

/* Large Screens (1200px and above) */
@media (min-width: 1200px) {
  .container {
    max-width: 65vw;
  }
  
  .hero {
    margin-left: auto;
    margin-right: auto;
    padding: 4rem 3rem;
    min-height: 340px;
  }
  
  .feature-row {
    gap: 2.5rem;
  }
  
  .feature-card {
    max-width: 320px;
    min-width: 160px;
    padding: 1.5rem 1.2rem;
  }
  
  .category-table {
    margin-left: auto;
    margin-right: auto;
  }
  
  .form-layout {
    grid-template-columns: 1fr 400px;
    gap: 3rem;
  }
  
  .preview-panel {
    padding: 1rem;
  }
  
  .preview-content {
    padding: 1.5rem;
  }
}

/* Desktop and Large Tablets (992px and above) */
@media (min-width: 992px) {
  #project {
    margin-top: 2rem;
  }
  .preview-toggle-btn {
    display: none;
  }
  
  .preview-overlay {
    display: none;
  }

  .section-nav {
    margin-top: 2rem;
  }
}

/* Medium Screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  .preview-panel {
    width: 450px;
    border-left: 1px solid #dee2e6;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }
}

/* Tablets and Small Desktops (900px and below) */
@media (max-width: 900px) {
  .section-indicator {
    padding: 1.0rem;
  }
  
  .section-indicator:not(:first-child):not(:last-child) {
    margin-left: 5px;
    margin-right: 5px;
  }

  .section-content {
    padding-top: 2rem;
  }

  .container {
    max-width: 98vw;
  }
  
  .header-content {
    max-width: 100vw;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    min-height: auto;
    padding: 2rem 1.5rem;
  }
  
  .hero-content,
  .hero-image {
    max-width: 100%;
  }
  
  .feature-row {
    flex-direction: column;
    gap: 1rem;
  }
  
  .feature-card {
    max-width: 100%;
  }
  
  .offers-table {
    margin: 0 -0.5rem;
  }
  
  .offer-header {
    flex-direction: column;
  }
  
  .offer-title {
    border-right: none;
    border-bottom: 1px solid #e9ecef;
  }
  
  .offer-title:last-child {
    border-bottom: none;
  }
  
  .offer-row {
    flex-direction: column;
  }
  
  .offer-cell {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .offer-cell:last-child {
    border-bottom: none;
  }
}

/* Mobile and Small Tablets (768px and below) */
@media (max-width: 768px) {
  .technology-filtered,
  .technology-selected,
  .category-filtered,
  .category-selected {
    margin-top: 0.5rem;
    padding: 0.5rem;
    min-height: 2rem;
  }
  
  .technology-filtered::before,
  .technology-selected::before,
  .category-filtered::before,
  .category-selected::before {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }
  .section-nav {
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
  }

  .section-progress {
    padding: 0 0.75rem;
  }

  .section-indicators {
    justify-content: flex-start;
    gap: 0.25rem;
    padding-bottom: 0.25rem;
    scroll-snap-type: x proximity;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
  }

  .section-indicator {
    min-width: 70px;
    scroll-snap-align: center;
  }

  .indicator-number {
    width: 28px;
    height: 28px;
    font-size: 12px;
    min-width: 28px;
    min-height: 28px;
  }

  .indicator-text {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    text-align: center;
  }

  .section-header {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }

  .section-header h3 {
    font-size: 1.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .section-header p {
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  .section-navigation {
    flex-direction: column;
    gap: 1rem;
  }

  .section-navigation .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Small Tablets and Large Phones (700px and below) */
@media (max-width: 700px) {
  html, body {
    overflow-x: hidden;
  }
  .section-navigation {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1200 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    height: 56px !important;
    padding: 0.5rem 0.5rem !important;
    margin: 0 !important;
    border-top: 1px solid #e9ecef !important;
    background: #fff !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.5rem !important;
    transition: none !important;
    overflow: hidden !important;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1) !important;
    backdrop-filter: blur(8px) !important;
  }
  .section-navigation .btn {
    width: calc(50% - 0.25rem) !important;
    min-width: 70px !important;
    max-width: 180px !important;
    font-size: 0.98rem !important;
    padding: 0.6em 0.2em !important;
    height: 44px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    transition: all 0.2s ease !important;
  }
  
  .section-navigation .btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
  }
  
  .section-navigation #nextBtn {
    display: inline-block !important;
  }
  
  /* Hide section navigation when mobile menu is open */
  body.menu-open .section-navigation {
    display: none !important;
  }
  .form-section {
    padding-bottom: 64px !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  .footer {
    padding-bottom: 64px;
  }
  /* If the footer still appears above the nav at the very bottom, consider a JS helper to hide the nav when scrolled to the end. */

  .container {
    max-width: 100vw;
    padding: 1.2rem 0.2rem;
  }
  .header {
    padding: 0rem 1rem;
    width: 100vw;
    box-sizing: border-box;
  }
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    max-width: 100vw;
    min-height: 56px;
    align-items: center;
    position: relative;
    z-index: 1001;
    gap: 0.5rem;
  }
  .flex-left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
  }
  .flex-middle {
    display: none;
  }
  .flex-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 0 0 auto;
    margin-left: auto;
  }
  .brand {
    font-size: 1.1rem;
    padding: 0.5rem 0;
  }
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    box-shadow: none;
    padding: 0 !important;
    display: none;
    overflow-y: auto;
    margin-top: 0;
    z-index: 1050;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #eee;
    box-shadow: 0 8px 32px rgba(0,129,143,0.13);
    animation: slideDownNav 0.25s cubic-bezier(.4,0,.2,1);
    margin-top: 0;
    height: 100vh;
    max-width: 100vw;
  }
  .nav-links {
    width: 100%;
    padding: 1.2rem 2rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: center;
    font-size: 1.1rem;
    background: #fff;
  }
  .nav-links .btn {
    margin: 1.2rem 0 0 0;
    width: 80%;
    font-size: 1rem;
    padding: 0.8rem 0;
    min-width: 120px;
  }
  .hamburger {
    display: flex;
    position: relative;
    right: auto;
    top: auto;
    z-index: 1101;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-left: auto;
  }
  .search-bar {
    display: none;
    margin-left: 0;
    margin-top: 1rem;
    max-width: 300px;
    border-bottom: none;
  }
  .nav-links.open .search-bar {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 1rem;
  }
  .footer {
    display: none !important;
  }
}

/* Mobile Phones (600px and below) */
@media (max-width: 600px) {
  .form-container {
    padding: 1rem 0.5rem;
  }
  
  .form-section {
    padding: 1rem;
  }
  
  .form-header h1 {
    font-size: 1.6rem;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }
  
  #signup_alert.alert {
    margin: 1.2rem 0 0 0;
  }
  
  .hero {
    padding: 1.5rem 1rem;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .feature-card {
    padding: 1rem 0.8rem;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .feature-section {
    margin-bottom: 1.5rem;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .cta-section {
    margin-top: 1.5rem;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .category-table {
    margin: 1.5rem auto 0 auto;
    max-width: 98vw;
    min-width: 320px;
    overflow-x: auto;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 32px rgba(255,255,255,0.66);
    border-collapse: separate;
    border-spacing: 0;
  }
  
  .offer-cell {
    padding: 1rem;
  }
  
  .offer-title {
    padding: 1rem;
    font-size: 1.1rem;
  }
  
  .offer-icon {
    font-size: 1.5rem;
    margin-right: 0.8rem;
  }
  
  .step-icon {
    font-size: 1.2rem;
    margin-right: 0.8rem;
  }
}

/* Small Mobile Phones (480px and below) */
@media (max-width: 480px) {
  .section-header {
    margin-bottom: 1rem;
    padding: 0 0.25rem;
  }

  .section-header h3 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .section-header p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .section-nav {
    padding: 0.5rem 0;
    margin-bottom: 1rem;
  }

  .section-progress {
    padding: 0 0.5rem;
    overflow: visible;
  }

  .section-indicators {
    justify-content: flex-start;
    gap: 0.2rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
  }

  .section-indicator {
    min-width: 60px;
    scroll-snap-align: center;
  }

  .indicator-number {
    width: 24px;
    height: 24px;
    font-size: 12px;
    min-width: 24px;
    min-height: 24px;
  }

  .indicator-text {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    text-align: center;
  }
}

/* Very Small Mobile Phones (360px and below) */
@media (max-width: 360px) {
  .section-indicators {
    gap: 0.15rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
  }

  .section-indicator {
    min-width: 50px;
    scroll-snap-align: center;
  }

  .indicator-number {
    width: 20px;
    height: 20px;
    font-size: 12px;
    min-width: 20px;
    min-height: 20px;
  }

  .indicator-text {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    text-align: center;
  }
}

/* Mobile Form Layout (991px and below) */
@media (max-width: 991px) {
  .container {
    padding: 0.2rem;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }
  
  .preview-panel {
    position: fixed;
    top: 0;
    right: -110vw;
    width: 100%;
    height: 100vh;
    z-index: 1080;
    transition: right 0.3s ease-in-out;
    overflow: hidden;
    border-left: none;
    box-shadow: none;
  }
  
  .preview-panel.show {
    left: 0;
  }
  
  .preview-toggle-btn {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1090;
    background: rgba(0, 129, 143, 0.7);
    color: white;
    border: none;
    border-radius: 8px 0 0 8px;
    padding: 16px 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: -4px 0 12px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    min-width: 60px;
    text-align: center;
    backdrop-filter: blur(4px);
    height: 64px;
  }
  
  .preview-toggle-btn:hover {
    background: rgba(0, 109, 121, 0.95);
    padding-right: 16px;
    box-shadow: -6px 0 16px rgba(0,0,0,0.4);
  }
  
  .preview-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1070;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .preview-overlay.show {
    opacity: 1;
    visibility: visible;
  }
}

@keyframes slideDownNav {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .mobile-footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.98rem;
    align-items: center;
    width: 100%;
  }
}
@media (min-width: 701px) {
  .mobile-footer-links {
    display: none !important;
  }
}

.mobile-only { display: none !important; }
@media (max-width: 700px) {
  .mobile-only { display: block !important; }
}

/* Platform Page Styles */
.platform-section-header {
  margin-bottom: 2rem;
  padding: 1.5rem 0;
}

.platform-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.platform-header-text {
  flex: 1;
}

.platform-header-actions {
  flex-shrink: 0;
}

.platform-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00818f;
  margin-bottom: 0.5rem;
  letter-spacing: 0.01em;
  text-align: left;
}

.platform-section-description {
  font-size: 1.1rem;
  color: #6c757d;
  margin: 0;
  text-align: left;
}

.platform-projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.platform-project-card {
  transition: transform 0.2s ease;
}

.platform-project-card:hover {
  transform: translateY(-2px);
}

.platform-card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,129,143,0.08);
  transition: box-shadow 0.2s, transform 0.2s;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.platform-card:hover {
  box-shadow: 0 4px 20px rgba(0,129,143,0.15);
}

.platform-card-header {
  padding: 1rem 1.25rem;
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.platform-card-header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.platform-card-header-text {
  flex: 1;
}

.platform-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #00818f;
  margin: 0 0 0.25rem 0;
}

.platform-card-subtitle {
  font-size: 1rem;
  color: #6c757d;
  margin: 0;
  font-weight: 400;
}

.platform-card-body {
  padding: 0.75rem 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.platform-project-status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border: 1px solid;
  flex-shrink: 0;
}

.platform-project-status-badge.ongoing {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border-color: #28a745;
}

.platform-project-status-badge.upcoming {
  background: rgba(0, 123, 255, 0.1);
  color: #007bff;
  border-color: #007bff;
}

.platform-project-status-badge.completed {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
  border-color: #6c757d;
}

.platform-preview-sections {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.platform-preview-section {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f1f3f4;
}

.platform-preview-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.platform-preview-headline {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6c757d;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.platform-preview-dates {
  font-size: 0.9rem;
  color: #6c757d;
  margin-bottom: 0.5rem;
}

.platform-preview-type {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.platform-category-label {
  background: #f8f9fa;
  color: #495057;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #e9ecef;
  transition: all 0.2s ease;
}

.platform-category-label:hover {
  background: #e9ecef;
  color: #212529;
}

.platform-card-footer {
  background: #f8f9fa;
  border-top: 1px solid #eee;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 8px 8px;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

/* Platform Page Responsive Styles */
@media (max-width: 700px) {
  .platform-header-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  
  .platform-section-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .platform-section-description {
    font-size: 1rem;
    text-align: center;
  }
  
  .platform-projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .platform-card {
    min-height: 250px;
  }
  
  .platform-card-body {
    padding: 0.75rem 1rem;
  }
}

/* Blog Post Styles */
.blog-post {
  max-width: 75vw;
  margin: 0 auto;
  padding: 2rem;
}

.blog-header {
  text-align: center;
  margin-bottom: 2rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 32px rgba(255,255,255,0.60);
  padding: 2rem;
}

.blog-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  line-height: 1.2;
}

.blog-content {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 6px 32px rgba(255,255,255,0.60);
  padding: 2rem;
}

/* Simple CTA Section Styles */
.cta-section {
  margin: 2rem 0 0 0;
  text-align: center;
  padding: 1.5rem;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #00818f;
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,129,143,0.15);
  border: 1px solid #e9ecef;
}

/* Blog Post Responsive Styles */
@media (min-width: 1200px) {
  .blog-post {
    max-width: 65vw;
  }
}

@media (max-width: 900px) {
  .blog-post {
    max-width: 98vw;
    padding: 1.5rem;
  }
  
  .cta-section {
    margin: 1.5rem 0 0 0;
    padding: 1.25rem;
  }
}

@media (max-width: 700px) {
  .blog-post {
    max-width: 100vw;
    padding: 1rem;
  }
  
  .blog-header {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
  }
  
  .blog-header h1 {
    font-size: 2rem;
  }
  
  .blog-content {
    padding: 1.5rem;
  }
  
  .cta-section {
    margin: 1rem 0 0 0;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .blog-post {
    padding: 0.5rem;
  }
  
  .blog-header {
    margin-bottom: 1rem;
    padding: 1rem;
  }
  
  .blog-header h1 {
    font-size: 1.8rem;
  }
  
  .blog-content {
    padding: 1rem;
  }
  
  .cta-section {
    margin: 0.75rem 0 0 0;
    padding: 0.75rem;
  }
}

/* Mobile Footer Submenu Styles */
.mobile-footer-parent {
  margin-top: 2rem;
  border-top: 1px solid #e9ecef;
  padding-top: 1.5rem;
}

.mobile-footer-parent .nav-link {
  color: #00818f !important;
  font-weight: 600 !important;
  font-size: 1.1rem !important;
  text-decoration: underline !important;
  margin-bottom: 1rem !important;
  display: block !important;
}

.mobile-footer-sub {
  display: none;
  margin-top: 1rem;
  padding-left: 1rem;
  border-left: 2px solid #e9ecef;
}

.mobile-footer-sub.show {
  display: block;
}

.mobile-footer-sub a {
  display: block !important;
  padding: 0.75rem 1rem !important;
  margin: 0.5rem 0 !important;
  color: #6c757d !important;
  text-decoration: none !important;
  background: #f8f9fa !important;
  border-radius: 6px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  border: 1px solid #e9ecef !important;
}

.mobile-footer-sub a:hover {
  background: #e9ecef !important;
  color: #495057 !important;
  transform: translateX(4px) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.mobile-footer-sub a.footer-social {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: #fff !important;
  border: 1px solid #00818f !important;
  color: #00818f !important;
}

.mobile-footer-sub a.footer-social:hover {
  background: #00818f !important;
  color: #fff !important;
}

.mobile-footer-sub a.footer-social img {
  width: 20px !important;
  height: 20px !important;
  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(162deg) brightness(118%) contrast(119%) !important;
}

.mobile-footer-sub a.footer-social:hover img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(93deg) brightness(103%) contrast(103%) !important;
}

/* Preview close button: only visible on small devices */
#previewClose {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  #previewClose {
    display: none !important;
  }
}
