/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  }
  
  :root {
    --primary: #1e40af;
    --primary-light: #3b82f6;
    --secondary: #0f766e;
    --accent: #7c3aed;
    --light: #f8fafc;
    --dark: #1e293b;
    --gray: #64748b;
    --gray-light: #e2e8f0;
  }
  
  body {
    background-color: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    position: relative;
    overflow-x: hidden;
  }
  
  /* Background with logistics pattern */
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("/placeholder.svg?height=800&width=800");
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    z-index: -1;
  }
  
  /* Header with logo */
  .header {
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  }
  
  .header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
  }
  
  .logo img {
    height: 40px;
    width: auto;
  }
  
  .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
  }
  
  .logo-text span {
    color: var(--secondary);
  }
  
  /* Main container */
  .container {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    width: 100%;
    max-width: 700px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 100px;
    margin-bottom: 50px;
    border-top: 5px solid var(--primary);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  }
  
  /* Decorative elements */
  .container::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background-image: url("/placeholder.svg?height=150&width=150");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.07;
    z-index: 0;
  }
  
  .logistics-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: block;
  }
  
  h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
  }
  
  h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
  }
  
  p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
  }
  
  /* Role selection cards */
  .role-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
  }
  
  .role-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    border: 1px solid var(--gray-light);
  }
  
  .role-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: transparent;
  }
  
  .role-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }
  
  .role-card:hover .role-icon {
    transform: scale(1.1);
  }
  
  .role-title {
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  
  .role-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
  }
  
  .btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    margin-top: auto;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
  }
  
  .btn:active {
    transform: translateY(0);
  }
  
  .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
    transition: all 0.4s ease;
    z-index: -1;
  }
  
  .btn:hover::before {
    left: 100%;
  }
  
  /* Different colors for different roles */
  .customer-card {
    border-top: 4px solid var(--primary);
  }
  
  .customer-card .btn {
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
  }
  
  .transport-card {
    border-top: 4px solid var(--secondary);
  }
  
  .transport-card .btn {
    background: linear-gradient(90deg, var(--secondary), #0d9488);
  }
  
  .login-card {
    border-top: 4px solid var(--accent);
  }
  
  .login-card .btn {
    background: linear-gradient(90deg, var(--accent), #8b5cf6);
  }
  
  /* Features section */
  .features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    text-align: left;
  }
  
  .feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  
  .feature-content h3 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 8px;
  }
  
  .feature-content p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
  }
  
  /* Footer */
  .footer {
    width: 100%;
    background-color: white;
    padding: 20px 0;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid var(--gray-light);
  }
  
  .footer p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .container {
      padding: 30px 20px;
      margin-top: 80px;
    }
  
    h2 {
      font-size: 1.8rem;
    }
  
    p {
      font-size: 1rem;
    }
  
    .role-selection {
      grid-template-columns: 1fr;
    }
  
    .features {
      grid-template-columns: 1fr;
    }
  }
  
  /* Add animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(30px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .container {
    animation: fadeIn 0.8s ease-out forwards;
  }
  
  .role-card:nth-child(1) {
    animation: slideInRight 0.5s ease-out 0.2s forwards;
    opacity: 0;
  }
  
  .role-card:nth-child(2) {
    animation: slideInRight 0.5s ease-out 0.4s forwards;
    opacity: 0;
  }
  
  .role-card:nth-child(3) {
    animation: slideInRight 0.5s ease-out 0.6s forwards;
    opacity: 0;
  }
  
  .feature:nth-child(1) {
    animation: fadeIn 0.5s ease-out 0.8s forwards;
    opacity: 0;
  }
  
  .feature:nth-child(2) {
    animation: fadeIn 0.5s ease-out 1s forwards;
    opacity: 0;
  }
  
  .feature:nth-child(3) {
    animation: fadeIn 0.5s ease-out 1.2s forwards;
    opacity: 0;
  }
  
  /* Loading animation */
  .loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--secondary), var(--accent));
    background-size: 300% 100%;
    animation: gradient 2s ease infinite;
    z-index: 1000;
    width: 100%;
  }
  
  @keyframes gradient {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }
  
  /* Floating logistics elements */
  .floating-element {
    position: absolute;
    opacity: 0.1;
    z-index: -1;
  }
  
  .truck {
    top: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    animation: float 8s ease-in-out infinite;
  }
  
  .ship {
    bottom: 15%;
    right: 5%;
    width: 120px;
    height: 120px;
    animation: float 10s ease-in-out infinite 1s;
  }
  
  .plane {
    top: 10%;
    right: 10%;
    width: 80px;
    height: 80px;
    animation: float 7s ease-in-out infinite 0.5s;
  }
  
  @keyframes float {
    0% {
      transform: translateY(0) rotate(0deg);
    }
    50% {
      transform: translateY(-15px) rotate(2deg);
    }
    100% {
      transform: translateY(0) rotate(0deg);
    }
  }
  
  