/* Trivago-Inspired Design System - WeCargoS */
:root {
    /* Brand Colors - Trivago Style */
    --primary-color: #007FAD;
    --primary-dark: #005A80;
    --primary-light: #4DA6CC;
    --secondary-color: #6B7280;
    --accent-color: #FF6B35;
    --accent-hover: #E55A2B;
    --trivago-blue: #007FAD;
    --trivago-orange: #FF6B35;
    --trivago-green: #10B981;
    
    /* Status Colors */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --info-color: #06b6d4;
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    /* Typography */
    --font-family-primary: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-family-heading: 'Inter', 'Poppins', sans-serif;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
    
    /* Layout */
    --max-width-container: 1200px;
    --navbar-height: 80px;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-primary);
    color: var(--gray-800);
    line-height: 1.6;
    background-color: var(--gray-50);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
    margin-bottom: var(--space-md);
    color: var(--gray-700);
}

/* Layout Components */
.container-modern {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(4px);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--gray-200);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation */
.navbar-modern {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-nav .nav-link {
    color: var(--gray-700);
    font-weight: 500;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background-color: var(--gray-100);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background-color: rgba(30, 64, 175, 0.1);
}

/* Header / Brand adjustments */
.navbar-modern .navbar-brand img {
    height: 36px;
    width: auto;
}

.navbar-modern .container-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* CTA in navbar */
.nav-cta {
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
}

.nav-cta i { font-size: 0.95rem; }

/* Improve alignment of nav links */
.navbar-nav .nav-link {
    padding: 0.5rem 0.75rem;
}

/* Mobile tweaks */
@media (max-width: 992px) {
    .navbar-modern .container-modern {
        gap: 0.5rem;
    }
    .nav-cta {
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand img { height: 32px; }
    .navbar-modern { padding: 0.5rem 0; }
}

/* Navbar Toggler */
.navbar-toggler {
    border: none;
    padding: 0.5rem 0.75rem;
    color: var(--primary-color);
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.navbar-toggler i {
    color: var(--primary-color);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    animation: slideDown 0.3s ease;
}

.dropdown-item {
    color: var(--gray-700);
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--gray-50);
    color: var(--primary-color);
    padding-left: 1.75rem;
}

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

/* Buttons */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gray-200);
    color: var(--gray-800);
}

.btn-secondary:hover {
    background: var(--gray-300);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
}

.btn-accent:hover {
    background: var(--accent-hover);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Cards */
.card-modern {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    transition: all var(--transition-normal);
    border: none;
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card-header {
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.card-meta {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

/* Forms */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--gray-700);
}

.form-control {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-control.error {
    border-color: var(--error-color);
}

.form-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

/* Ad Cards */
.ad-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: none;
}

.ad-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.ad-card-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--gray-100);
}

.ad-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 var(--space-sm) 0;
}

.ad-card-route {
    display: flex;
    align-items: center;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.ad-card-body {
    padding: var(--space-lg);
}

.ad-card-description {
    color: var(--gray-700);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ad-card-footer {
    padding: var(--space-lg);
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ad-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.ad-card-meta {
    display: flex;
    gap: var(--space-md);
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Status Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.badge-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
}

.badge-info {
    background: rgba(6, 182, 212, 0.1);
    color: var(--info-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: var(--space-3xl) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

/* Search Section */
.search-section {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-xl);
    margin-top: -var(--space-3xl);
    position: relative;
    z-index: 10;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    align-items: end;
}

/* Modal Improvements */
.modal-modern .modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-modern .modal-header {
    border-bottom: 1px solid var(--gray-200);
    padding: var(--space-xl);
}

.modal-modern .modal-body {
    padding: var(--space-xl);
}

.modal-modern .modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: var(--space-xl);
}

/* Utility Classes */
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-warning { color: var(--warning-color); }
.text-error { color: var(--error-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }

.fade-in {
    animation: fadeIn var(--transition-slow) ease-in-out;
}

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

/* Trivago-Inspired Components */

/* Search Box - Trivago Style */
.trivago-search-box {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    padding: 24px;
    margin-top: -60px;
    position: relative;
    z-index: 100;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.trivago-search-box:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--trivago-blue);
}

.search-input-group {
    display: flex;
    gap: 16px;
    align-items: end;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 200px;
}

.search-field label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    font-size: 14px;
}

.search-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.search-input:focus {
    outline: none;
    border-color: var(--trivago-blue);
    box-shadow: 0 0 0 4px rgba(0, 127, 173, 0.1);
}

.search-btn {
    background: var(--trivago-blue);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.search-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 127, 173, 0.3);
}

/* Hero Section - Trivago Style */
.hero-trivago {
    background: linear-gradient(135deg, var(--trivago-blue) 0%, rgba(0, 90, 128, 0.9) 100%), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><rect fill="%23007FAD" width="1200" height="800"/><g fill="%23ffffff" opacity="0.1"><circle cx="100" cy="100" r="50"/><circle cx="300" cy="200" r="30"/><circle cx="500" cy="150" r="40"/><circle cx="800" cy="300" r="35"/><circle cx="1000" cy="200" r="25"/></g></svg>');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Components - Trivago Style */
.trivago-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-100);
}

.trivago-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.trivago-card-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid var(--gray-100);
}

.trivago-card-body {
    padding: 24px;
}

.trivago-card-footer {
    padding: 16px 24px 24px;
    background: var(--gray-50);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Route Display - Trivago Style */
.route-display {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.route-city {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 18px;
}

.route-arrow {
    color: var(--trivago-blue);
    font-size: 20px;
    font-weight: bold;
}

.route-date {
    color: var(--gray-600);
    font-size: 14px;
    margin-top: 4px;
}

/* Price Display - Trivago Style */
.price-display {
    text-align: right;
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: var(--trivago-blue);
    line-height: 1;
}

.price-label {
    font-size: 12px;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filter Sidebar - Trivago Style */
.filter-sidebar {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 24px;
    position: sticky;
    top: 24px;
}

.filter-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group {
    margin-bottom: 32px;
}

.filter-label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
    display: block;
}

.filter-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-input:focus {
    border-color: var(--trivago-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 127, 173, 0.1);
}

/* Results Header - Trivago Style */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.results-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.results-count {
    color: var(--gray-600);
    font-size: 14px;
}

.view-controls {
    display: flex;
    gap: 12px;
    align-items: center;
}

.sort-select {
    padding: 8px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 14px;
    min-width: 150px;
}

.view-toggle {
    display: flex;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.view-btn {
    padding: 8px 12px;
    border: none;
    background: white;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: var(--trivago-blue);
    color: white;
}

/* Features Section - Trivago Style */
.features-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--trivago-blue), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: white;
    font-size: 32px;
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.feature-description {
    color: var(--gray-600);
    line-height: 1.6;
}

/* Contact Form - Trivago Style */
.contact-section {
    padding: 80px 0;
    background: white;
}

.contact-card {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    padding: 48px;
    margin-bottom: 40px;
}

.contact-form-group {
    margin-bottom: 24px;
}

.contact-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.contact-input:focus {
    border-color: var(--trivago-blue);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 127, 173, 0.1);
}

.contact-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-btn {
    background: var(--trivago-blue);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.contact-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 127, 173, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .search-input-group {
        flex-direction: column;
        gap: 16px;
    }
    
    .search-field {
        min-width: 100%;
    }
    
    .trivago-search-box {
        margin: 20px;
        margin-top: -40px;
    }
    
    .results-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .view-controls {
        justify-content: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .navbar-modern {
        padding: var(--space-sm) 0;
    }
    
    .card-modern {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--space-xl) 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .container-modern {
        padding: 0 var(--space-sm);
    }
}

.ads-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.ads-item {
    display: flex;
    align-items: center;
    margin: 10px 0;
    padding: 8px;
    background: var(--light-gray);
    border-radius: var(--border-radius);
}

.ads-icon {
    margin-right: 10px;
    color: var(--primary-color);
}

/* Services */
.service-block {
    padding: 30px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.service-block:hover {
    transform: translateY(-5px);
}

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

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Boutons */
.btn {
    padding: 10px 25px;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    transform: translateY(-2px);
}

/* Modal */
.modal-content {
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

/* Formulaires */
/* .form-control {
    border-radius: var(--border-radius);
    border: 1px solid var(--light-gray);
    padding: 10px 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,70,88,0.25);
} */

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 300px;
    }
    
    .carousel-title {
        font-size: 1.8rem;
    }
    
    .service-block {
        margin-bottom: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
} 

/* Overlay Styling */
.overlay-caption {
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black background */
    padding: 20px; /* Reduced padding for better spacing */
    border-radius: 10px; /* Rounded corners */
    transform: translate(-50%, -50%); /* Ensure perfect centering */
    width: 80%; /* Adjust width as needed */
    max-width: 600px; /* Limit maximum width */
    position: absolute; /* Ensure it stays within the parent */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
}

/* Button Styling */
.btn-primary {
    background-color: #005B97;
    border: none;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #005B97;
}


