/* services.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(to bottom right, #0f172a, #1e293b);
    color: #fff;
    overflow-x: hidden;
  }
  
  header {
    background-color: rgba(35, 75, 102, 0.8);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .logo img {
    height: 40px;
  }
  
  nav a {
    color: #ffffffdd;
    margin-left: 1.5rem;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
  }
  
  nav a:hover {
    color: #ffffff;
  }
  
  .section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
  }
  
  .page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
  }
  
  .card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  }
  
  .card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
  }
  
  /* Prevent underline on hover */
  .card-link h3,
  .card-link p {
    text-decoration: none;
  }
  
  .card-link:hover h3,
  .card-link:hover p {
    text-decoration: none;
  }
  
  .card-image {
    position: relative;
    width: 100%;
    height: 280px; /* Increased from 200px */
    overflow: hidden;
  }
  
  .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .card:hover .card-image img {
    transform: scale(1.05);
  }
  
  .image-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .card:hover .image-caption {
    opacity: 1;
  }
  
  .card-content {
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    border-radius: 0.5rem 0.5rem 0 0;
    transition: all 0.3s ease;
  }
  
  .card h3 {
    margin: 1.5rem 0 1rem;
    color: #fff;
    font-size: 1.3rem;
  }
  
  .card p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
  }
  
  .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 280px; /* Match image height */
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
  }
  
  .card:hover .card-overlay {
    opacity: 1;
  }
  
  .request-btn {
    background: rgba(212, 175, 55, 0.9);
    color: #0f172a;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .request-btn:hover {
    background-color: #2563eb;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  }
  
  .fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease-out;
  }
  
  .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .card-link:hover h3,
.card-link:hover p {
  text-decoration: none;
}
