/* Move down content because we have a fixed navbar that is 50px tall */

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

/* 1. Global Reset & Font Stack */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased; /* Makes fonts look crisper on Mac */
}

/* 2. Scale & Hierarchy for Headers */
h1, .h1 {
    font-size: 2.5rem; /* Larger "Välkommen!" */
    font-weight: 800;   /* Extra bold */
    letter-spacing: -0.02em; /* Tighter spacing for a modern look */
    margin-bottom: 1rem;
    color: #111827;
}

h2, .h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

h3, .h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #374151;
}

/* 3. Line Height & Body Text */
p, .description {
    font-size: 1.1rem;
    line-height: 1.6; /* Increased for better readability */
    color: #4b5563;   /* Slightly softer black for less eye strain */
    margin-bottom: 1.5rem;
}

/* 4. Fine-tuning the distinction */
small, .text-muted {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

.add-style {
  color: white;       /* Makes the text white */
  font-size: 20px;    /* Sets the font size to 20px */
}


body {
    font-family: 'Inter', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    padding-top: 50px;
    padding-bottom: 20px;
}

.col-md-4 { /* Replace with your actual card class */
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.col-md-4:hover {
    transform: translateY(-5px);
}


/* --- The Success Button (Beställ) --- */
.btn-success {
    background-color: #28a745; /* Clean Green */
    border: none;
    color: white;
    padding: 8px 24px;
    font-weight: 600;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.2);
    transition: all 0.2s ease;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-1px); /* Slight lift effect */
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

/* --- The Default Button (Cancel/Back/Sign In) --- */
.btn-default {
    background-color: #ffffff;
    border: 1px solid #d1d5db; /* Subtle grey border */
    color: #4b5563; /* Soft dark grey text */
    padding: 10px 24px;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-default:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}


______________





/* Container to keep content centered on big screens */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 0px;
}

/* The Grid: 3 columns on desktop, 1 on mobile */
/* 1. Default Mobile Style (1 Column) */
.services-grid {
    display: grid;
    grid-template-columns: 1fr; /* One full-width column */
    gap: 20px;
    padding: 20px 0;
}

/* 2. Desktop Style (3 Columns) */
/* This only activates when the screen is wider than 768px */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* Back to three columns */
        gap: 30px;
    }
}

/* The Card Styling */
.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden; /* Important: keeps image corners rounded */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px); /* Lift effect when hovering */
}

/* Image styling */
.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover; /* Prevents stretching */
}

/* Content inside the card */
.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    margin-top: 0;
    font-size: 1.4rem;
    color: #111;
}

.card-body p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes the button to the bottom even if text is short */
}

