:root {
    --indigo: #6c1444;
    --purple: #6c1444;
    --primary: #6c1444;
    --primary-light: rgba(108, 20, 68, 0.1);
    --primary-hover: #561036;
}

/* Prevent horizontal scrolling */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

/* Cookie Consent Styling */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px 0;
    z-index: 9999;
    display: none;
}

.cookie-consent .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-consent .buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-settings-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    display: none;
}

.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: none;
}

.cookie-settings-modal h3 {
    margin-bottom: 20px;
    color: #333;
}

.cookie-settings-modal .form-check {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

/* Job Card Styling */
.job-card {
    transition: all 0.3s ease;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08) !important;
}

.job-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e9ecef;
    padding: 1.5rem;
}

.job-title {
    color: #2d3436;
    font-weight: 600;
    margin-bottom: 1rem;
}

.job-location {
    color: #636e72;
    margin-bottom: 0;
}

.job-body {
    padding: 1.5rem;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.job-type, .job-date {
    color: #636e72;
    font-size: 0.9rem;
}

.job-excerpt {
    color: #636e72;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.shadow-custom {
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Feature Grid Styling */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-item {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    padding: 1.5rem;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-item h4 {
    color: #2d3436;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: #636e72;
    font-size: 0.95rem;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr !important;
    }
    
    .cookie-consent .container {
        flex-direction: column;
        text-align: center;
    }
}

/* Contact Page Specific Styles */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.opening-hours li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.opening-hours li:last-child {
    border-bottom: none;
}

.opening-hours li:hover {
    background-color: rgba(139, 22, 82, 0.03);
}

.opening-hours .text-danger {
    font-weight: 500;
}

.opening-hours {
    margin-top: 10px;
}

.opening-hours .badge {
    font-size: 10px;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 12px;
    cursor: help;
    transition: all 0.3s ease;
}

.opening-hours .badge:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Over Ons Page Specific Styles */
.animated-button {
    background: transparent;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(139, 22, 82, 0.15);
}

.animated-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: #8b1652;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: -1;
}

.animated-button:hover {
    color: white !important;
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 15px rgba(139, 22, 82, 0.25);
    letter-spacing: 0.5px;
    border-color: #8b1652;
}

.animated-button:hover::before {
    width: 100%;
}

.animated-button:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 5px 10px rgba(139, 22, 82, 0.2);
}

.service-card {
    transition: all 0.3s ease;
    height: 100%;
}

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

.service-info-container {
    opacity: 0;
    transition: opacity 0.3s ease;
    margin: 1rem 0;
}

.service-info-container.active {
    opacity: 1;
}

.service-detail {
    animation: fadeIn 0.3s ease;
}

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

@media (max-width: 768px) {
    .row.g-4 {
        display: flex;
        flex-direction: column;
    }
    .service-info-container {
        margin: 0;
        width: 100%;
    }
    .service-info {
        margin: 1rem 0;
        border-radius: 8px;
    }
    #valueInfo {
        order: -1;
        display: none;
    }
    .col-md-4.show-info + #valueInfo {
        display: block;
    }
}

/* Werkgevers Page Specific Styles */
@media (max-width: 768px) {
    .col-md-3.show-info + #serviceInfo {
        display: block;
    }
}

/* Index.html Page Specific Styles */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8b1652;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.loading-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.logo-container {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-loading {
    width: 200px;
    position: relative;
    z-index: 2;
}

.glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
    position: relative;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
}

.welcome-text {
    font-size: 2.5rem;
    color: #8b1652;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    background-image: url('assets/images/Rotterdam-skyline.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}


.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-top: 80px;
    z-index: 2;
    color: white;
}

.hero-content h1 {
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
    color: white;
}

.hero-content .lead {
    transform: translateY(40px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
    color: white;
}

.hero-content .hero-button {
    transform: translateY(50px);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

/* Hero Buttons Container */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Hero Button Base Styling */
.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 160px;
    background-color: var(--primary);
    color: white;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(108, 20, 68, 0.3);
}

.hero-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(108, 20, 68, 0.5);
    background-color: var(--primary-hover);
    color: white;
    text-decoration: none;
    filter: brightness(1.1);
}

.hero-button:active {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 4px 15px rgba(108, 20, 68, 0.4);
    transition: all 0.1s ease;
}

.hero-button:focus {
    outline: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(108, 20, 68, 0.4), 0 0 0 3px rgba(108, 20, 68, 0.3);
}

/* Hero Button Outline Variant */
.hero-button-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-button-outline:hover {
    background-color: white;
    color: var(--primary);
    border-color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-button {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
}

/* Vacatures Preview Section */
.vacatures-preview {
    background-color: #f8f9fa;
}

/* Werkgevers Section */
.werkgevers-section {
    background-color: #fff;
}

.werkgevers-content, .about-content {
    padding: 2rem 0;
}

.section-subtitle {
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.about-features .feature-item {
    font-size: 1rem;
    color: #666;
    align-items: center;
}

.about-features .feature-item i {
    font-size: 1.1rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-large {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(108, 20, 68, 0.3);
    transition: all 0.3s ease;
}

.feature-icon-large i {
    font-size: 4rem;
    color: white;
}

.feature-icon-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(108, 20, 68, 0.4);
}

/* About Section */
.about-section {
    background-color: #f8f9fa;
}

/* Mobile Responsive for new sections */
@media (max-width: 768px) {
    .werkgevers-content, .about-content {
        padding: 1rem 0;
        text-align: center;
    }
    
    .feature-icon-large {
        width: 150px;
        height: 150px;
        margin-bottom: 2rem;
    }
    
    .feature-icon-large i {
        font-size: 3rem;
    }
    
    .about-features .feature-item {
        justify-content: center;
        text-align: center;
        margin-bottom: 1rem;
    }
}

.scroll-indicator {
    display: none;
    text-align: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
    animation: fadeInOut 2s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 10;
    margin-top: 1rem;
}

.scroll-indicator .scroll-text {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-indicator .scroll-arrow {
    font-size: 1.2rem;
    animation: bounce 2s infinite;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Welcome Section Styles */
.welcome-section {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%238b1652" fill-opacity="0.03"%3E%3Ccircle cx="30" cy="30" r="2"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
    opacity: 0.6;
}

.welcome-badge {
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: #8b1652 !important;
}

.welcome-title {
    font-weight: 700;
    line-height: 1.2;
    color: #2d3436;
}

.welcome-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #636e72;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: #8b1652;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    color: white;
    font-size: 0.9rem;
}

.feature-text {
    font-weight: 500;
    color: #2d3436;
}

.welcome-btn {
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 22, 82, 0.3);
    background-color: #8b1652 !important;
    border-color: #8b1652 !important;
}

.visual-container {
    position: relative;
    display: inline-block;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(139, 22, 82, 0.15);
    z-index: 2;
    border: 2px solid #8b1652;
}

.floating-card:first-child {
    top: -20px;
    right: -30px;
    transform: rotate(5deg);
}

.floating-card:last-child {
    bottom: -20px;
    left: -30px;
    transform: rotate(-5deg);
}

.floating-card i {
    color: #8b1652;
    font-size: 2rem;
    margin-bottom: 10px;
}

.floating-card h5 {
    color: #2d3436;
    font-size: 0.9rem;
    margin: 0;
    font-weight: 600;
}

.main-card {
    background: linear-gradient(135deg, #8b1652 0%, #6c1444 100%);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(139, 22, 82, 0.2);
}

.main-card i {
    color: white;
    font-size: 4rem;
    margin-bottom: 20px;
}

.main-card h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 10px;
}

.main-card p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 0.9rem;
}

.about-preview {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-subtitle {
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-title {
    color: #2d3436;
    font-weight: 600;
}

.section-description {
    color: #636e72;
    font-size: 1.1rem;
    line-height: 1.8;
}

.welcome-actions .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 22, 82, 0.4);
}

.floating-card {
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(3) {
    animation: float2 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { 
        transform: rotate(5deg) translateY(0px); 
    }
    50% { 
        transform: rotate(5deg) translateY(-10px); 
    }
}

@keyframes float2 {
    0%, 100% { 
        transform: rotate(-5deg) translateY(0px); 
    }
    50% { 
        transform: rotate(-5deg) translateY(-10px); 
    }
}

/* Mobile optimization for hero image */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        background-position: center center;
    }
    
    .welcome-visual {
        margin-top: 3rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .display-4 {
        font-size: 2.5rem !important;
    }
    
    .lead {
        font-size: 1rem !important;
    }
    
    .welcome-features {
        margin-bottom: 3rem !important;
    }
    
    .feature-icon {
        width: 35px !important;
        height: 35px !important;
    }
    
    .feature-icon i {
        font-size: 0.8rem !important;
    }
    
    .welcome-section {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .welcome-content {
        text-align: center;
    }
    
    .display-4 {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .lead {
        font-size: 0.95rem !important;
        margin-bottom: 2rem !important;
    }
    
    .welcome-features {
        margin-bottom: 2rem !important;
    }
    
    .feature-item {
        justify-content: center;
        margin-bottom: 1rem !important;
    }
    
    .feature-icon {
        width: 30px !important;
        height: 30px !important;
        margin-right: 0.75rem !important;
    }
    
    .feature-icon i {
        font-size: 0.75rem !important;
    }
    
    .btn-lg {
        padding: 12px 30px !important;
        font-size: 1rem !important;
    }
    
    .welcome-visual {
        margin-top: 2rem;
    }
    
    .main-card {
        padding: 25px !important;
    }
    
    .main-card i {
        font-size: 3rem !important;
    }
    
    .main-card h4 {
        font-size: 1.2rem !important;
    }
    
    .main-card p {
        font-size: 0.8rem !important;
    }
}

@media (min-width: 992px) {
    .scroll-indicator {
        display: block;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .welcome-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
    
    .lead {
        font-size: 0.9rem !important;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .feature-icon {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
    
    .btn-lg {
        width: 100%;
        max-width: 280px;
    }
    
    .main-card {
        padding: 20px !important;
    }
    
    .main-card i {
        font-size: 2.5rem !important;
    }
}

/* Success Page Specific Styles */
.success-page-body {
    font-family: 'Montserrat', sans-serif;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

.success-page {
    padding: 4rem 0;
    position: relative;
    width: 100%;
}

.success-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.success-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(135deg, #8b1652 0%, #6c1444 100%);
}

.success-logo-container {
    margin-bottom: 2rem;
}

.success-logo {
    max-width: 300px;
    height: auto;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: #4CAF50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 40px;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    animation: scaleIn 0.5s ease-out;
}

.success-title {
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: slideUp 0.5s ease-out 0.2s both;
}

.success-message {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    animation: slideUp 0.5s ease-out 0.4s both;
}

.success-button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: slideUp 0.5s ease-out 0.6s both;
}

.btn-custom {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.success-btn-primary {
    background: linear-gradient(135deg, #8b1652 0%, #6c1444 100%);
    border: none;
    color: white;
}

.success-btn-outline {
    border: 2px solid #8b1652;
    color: #8b1652;
    background: transparent;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(108, 20, 68, 0.2);
}

.success-decoration {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(139, 22, 82, 0.1) 0%, rgba(108, 20, 68, 0.1) 100%);
    z-index: -1;
}

.success-decoration-1 {
    top: -150px;
    right: -150px;
}

.success-decoration-2 {
    bottom: -150px;
    left: -150px;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

@media (max-width: 768px) {
    .success-card {
        margin: 1rem;
        padding: 2rem;
    }

    .success-logo {
        max-width: 200px;
    }

    .success-title {
        font-size: 2rem;
    }

    .success-button-group {
        flex-direction: column;
    }

    .btn-custom {
        width: 100%;
        justify-content: center;
    }
}

/* Loading Page Specific Styles */
.loading-page-body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', sans-serif;
}

.loading-page #loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #8b1652;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-in-out;
}

.loading-page .logo {
    width: 200px;
    position: relative;
    z-index: 2;
    animation: logoPulse 3s ease-in-out infinite;
}

.loading-page .glow {
    animation: glowPulse 3s ease-in-out infinite;
}

.loading-page .dot {
    animation: dotWave 1.5s ease-in-out infinite;
    transform-origin: center bottom;
}

.loading-page .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-page .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes logoPulse {
    0%, 100% {
        transform: scale(0.95);
        filter: brightness(0.8);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.2);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes dotWave {
    0%, 100% {
        transform: translateY(0) scaleX(1);
    }
    25% {
        transform: translateY(-20px) scaleX(0.8);
    }
    50% {
        transform: translateY(0) scaleX(1.2);
    }
    75% {
        transform: translateY(10px) scaleX(0.9);
    }
}

body {
    font-family: "Montserrat", sans-serif;
}

/* Navigation Styling */
.navbar {
    transition: all 0.3s ease;
    background-color: transparent !important;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    background-color: #fff !important;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    position: relative;
}

.navbar-brand img {
    height: 60px;
    transition: all 0.3s ease;
}

.navbar-brand .logo-default {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.navbar-brand .logo-white {
    opacity: 1;
}

.navbar.scrolled .navbar-brand .logo-default {
    opacity: 1;
    height: 45px;
}

.navbar.scrolled .navbar-brand .logo-white {
    opacity: 0;
    height: 45px;
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    color: white !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: #000 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: white;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar.scrolled .nav-link::after {
    background-color: var(--indigo);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Social Media Icons in Navigation */
.navbar .social-icon {
    color: white;
    font-size: 1.2rem;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.navbar.scrolled .social-icon {
    color: #000;
}

.navbar .social-icon:hover {
    color: var(--indigo);
    transform: translateY(-2px);
}

/* Hamburger Menu Color */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar.scrolled .navbar-toggler {
    border-color: rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../images/Rotterdam-skyline.jpg') center/cover no-repeat;
    background-attachment: fixed;
    overflow: hidden;
    color: white;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
}

.hero-content {
    padding-top: 80px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.welcome-text {
    font-size: 1.5rem;
    color: #fff;
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-section .display-4 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.hero-section .lead {
    color: white;
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.hero-section .btn-primary {
    position: relative;
    z-index: 1;
    background-color: transparent;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out 0.9s;
    animation-fill-mode: both;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-primary:hover {
    background-color: white;
    color: var(--indigo);
    border-color: white;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

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

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    color: var(--indigo);
    margin-bottom: 1rem;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.feature-list li i {
    margin-right: 1rem;
    color: var(--primary);
}

/* Contact Preview */
.contact-preview {
    padding: 6rem 0;
    margin: 0;
}

.contact-link {
    color: var(--indigo);
    text-decoration: none;
    margin: 0 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--indigo);
}

.contact-link i {
    margin-right: 0.5rem;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    padding: 4rem 0 2rem;
    color: white;
    margin: 0;
}

.footer h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: white;
}

.footer p, 
.footer a, 
.footer span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
    transition: all 0.3s ease;
}

.footer a:hover {
    color: white !important;
    text-decoration: none;
    padding-left: 5px;
}

.footer .list-unstyled li {
    margin-bottom: 0.8rem;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer .social-links {
    display: flex;
    gap: 1rem;
}

.footer .social-icon-footer {
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin: 0;
}

.footer .social-icon-footer:hover {
    background: var(--indigo);
    color: white !important;
    transform: translateY(-3px);
}

.footer .certifications-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.footer .copyright {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

.footer strong {
    color: white;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer .col-lg-3 {
        margin-bottom: 2rem;
    }
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Animations */
[data-aos] {
    transition-duration: 800ms !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.95);
        padding: 2rem;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
    }

    .navbar-collapse.show {
        transform: translateY(0);
    }

    .navbar-nav {
        text-align: center;
        width: 100%;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-link {
        font-size: 1.5rem !important;
        color: white !important;
    }

    .navbar.scrolled .nav-link {
        color: white !important;
    }

    .navbar-toggler {
        z-index: 1001;
        position: relative;
    }

    .navbar .social-icon {
        font-size: 1.8rem;
        margin: 0 1rem;
    }

    .nav-item.d-flex {
        justify-content: center;
        margin-top: 2rem;
    }

    .navbar.scrolled .social-icon {
        color: white;
    }
}

/* Close Button Animation */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    position: relative;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: none !important;
}

.navbar-toggler[aria-expanded="true"]::before,
.navbar-toggler[aria-expanded="true"]::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: white;
    left: 0;
    transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"]::before {
    transform: rotate(45deg);
    top: 14px;
}

.navbar-toggler[aria-expanded="true"]::after {
    transform: rotate(-45deg);
    bottom: 14px;
}

/* Custom Shadows */
.shadow-custom {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
}

/* Section Spacing */
section {
    padding: 6rem 0;
    margin: 0;
}

section:first-of-type {
    margin-top: 0;
}


p, span, a, li, label, input, textarea, button {
    font-family: "Montserrat", sans-serif;
}

.display-4 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

/* Hover Effects */
.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.02);
}

/* Page Header */
.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../images/Detateam-ingang.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 9rem 0 6rem;
    margin: 0;
}

.min-vh-50 {
    min-height: 50vh;
}

/* Contact Section */
.contact-section {
    background-color: #f8f9fa;
}

.contact-info {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-item h5 {
    color: var(--indigo);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-item i {
    color: #000000;
}

.contact-form {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-form .form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(108, 20, 68, 0.25);
}

.contact-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Map Section */
.map-section {
    position: relative;
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.map-container::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    background-color: #000000;
    opacity: 0.1;
    border-radius: 1rem;
    z-index: -1;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: grayscale(0.6);
    transition: all 0.3s ease;
    border-radius: 1rem;
}

.map-container iframe:hover {
    filter: grayscale(0);
}

.map-info {
    background: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.map-info h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.map-info p {
    margin-bottom: 0.5rem;
}

.map-info i {
    color: var(--primary);
    margin-right: 0.5rem;
}

/* Social Icons Footer */
.social-icon-footer {
    color: white;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.social-icon-footer:hover {
    color: var(--indigo);
    transform: translateY(-2px);
}

/* Value Cards */
.value-card {
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.value-icon {
    color: var(--primary);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--indigo);
}

/* Team Section */
.team-card {
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.team-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-card:hover .team-image {
    transform: scale(1.05);
}

.team-content h4 {
    color: var(--indigo);
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('../images/Rotterdam-skyline.jpg') center/cover no-repeat;
    color: white;
    padding: 6rem 0;
    margin: 0;
    overflow: hidden;
}

.cta-section h2,
.cta-section .lead {
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-section .btn-primary {
    position: relative;
    z-index: 2;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 500;
    background: linear-gradient(135deg, #8b1652 0%, #6c1444 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Service Icon Wrapper */
.service-icon-wrapper {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.service-icon-wrapper i {
    color: var(--primary);
}

/* Benefits Section */
.benefit-item {
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-icon {
    flex-shrink: 0;
    font-size: 1.5rem;
    color: var(--primary);
}

.benefit-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.benefit-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--indigo);
}

.benefit-item .benefit-icon i {
    color: var(--primary);
}

/* Process Section */
.process-step {
    position: relative;
    padding: 2rem;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background-color: var(--primary);
    display: none;
}

@media (min-width: 768px) {
    .process-step::after {
        display: block;
    }
    
    .col-md-3:last-child .process-step::after {
        display: none;
    }
}

.process-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    transform: scale(1.1);
    background-color: rgba(108, 20, 68, 0.2);
}

.process-icon i {
    color: var(--primary);
}

/* Testimonials */
.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-content i {
    color: #000000;
    opacity: 0.3;
}

.testimonial-author h5 {
    color: var(--indigo);
    margin-bottom: 0.25rem;
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .benefit-item {
        text-align: left;
    }
    
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem;
    z-index: 9999;
    display: none;
    font-size: 0.9rem;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cookie-consent p {
    margin: 0;
    flex: 1;
    min-width: 280px;
    line-height: 1.2;
}

.cookie-consent .buttons {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.cookie-consent .btn {
    white-space: nowrap;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
}

.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    z-index: 10000;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.cookie-settings-modal.show {
    display: block;
}

.cookie-settings-modal h3 {
    margin-bottom: 1.5rem;
}

.cookie-settings-modal .form-check {
    margin-bottom: 1rem;
}

.cookie-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.cookie-overlay.show {
    display: block;
}

/* Hide scrollbar for Chrome, Safari and Opera */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
* {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Padding Utilities */
.py-6 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}

/* Section Title Spacing */
.section-title {
    margin-bottom: 3rem;
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .section-title {
        margin-bottom: 2rem;
    }
}

/* Make all rows equal height */
.row {
    display: flex;
    flex-wrap: wrap;
}

[class*="col-"] {
    display: flex;
    flex-direction: column;
}

/* Mission Section */
.mission-content {
    position: relative;
    background: white;
    border-radius: 1rem;
    transition: all 0.3s ease;
}

.mission-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.section-title {
    position: relative;
}

.title-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.rounded-lg {
    border-radius: 1rem !important;
}

.shadow-custom {
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

/* Text colors */
.text-primary {
    color: var(--primary) !important;
}

/* Icon colors */
.value-icon i,
.benefit-icon i,
.feature-list li i {
    color: var(--primary);
}

/* Image hover effects */
.img-hover-shadow {
    transition: all 0.3s ease;
}

.img-hover-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Image Decoration */
.bg-deta {
    background-color: var(--primary);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 6rem 0 3rem;
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
    }
    
    .hero-content {
        padding-top: 60px;
    }

    .welcome-text {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .hero-section .display-4 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-section .lead {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .btn-17 {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    /* Header Adjustments */
    .display-4 {
        font-size: 2.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
    }
    
    /* Navigation Adjustments */
    .navbar-brand img {
        height: 45px;
    }
    
    .navbar.scrolled .navbar-brand img {
        height: 35px;
    }

    /* Section Spacing */
    section {
        padding: 3rem 0;
    }

    .py-6 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }

    /* Service Cards */
    .service-card {
        margin-bottom: 1rem;
    }

    /* Benefits Section */
    .benefit-item {
        margin-bottom: 1.5rem;
    }

    /* Process Steps */
    .process-step {
        margin-bottom: 2rem;
    }
    
    .process-step::after {
        display: none;
    }

    /* Contact Info */
    .contact-link {
        display: block;
        margin: 0.5rem 0;
    }

    /* Footer */
    .footer {
        text-align: center;
    }

    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }

    .certifications-box {
        justify-content: center;
    }

    /* Cookie Consent */
    .cookie-consent .buttons {
        margin-top: 1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .cookie-consent .btn {
        width: 100%;
    }

    /* Hero Section */
    .hero-section {
        min-height: 80vh;
    }

    /* Mission Content */
    .mission-content {
        margin-top: 2rem;
    }

    /* Team Cards */
    .team-card {
        margin-bottom: 1.5rem;
    }

    /* Map Container */
    .map-container iframe {
        height: 350px;
    }

    /* Add this to improve hero image on all pages with parallax effect */
    .vacancy-header, 
    .page-header,
    [style*="background-attachment: fixed"] {
        background-attachment: scroll !important;
        background-position: center center !important;
        background-size: cover !important;
    }
}

/* Small Mobile Devices */
@media (max-width: 576px) {
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    .navbar-brand img {
        height: 40px;
    }

    .social-icon {
        font-size: 1.2rem;
        margin: 0 0.25rem;
    }

    .certifications-box {
        padding: 0.75rem;
    }

    .certifications-box img {
        height: 40px;
    }

    .certifications-box span {
        font-size: 0.9rem;
    }

    .hero-section {
        min-height: 100vh;
        padding: 4rem 0 2rem;
    }

    .hero-content {
        padding-top: 40px;
    }

    .welcome-text {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .hero-section .display-4 {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }

    .hero-section .lead {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
        padding: 0 0.5rem;
    }

    .btn-17 {
        padding: 0.7rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 991px) {
    .display-4 {
        font-size: 3rem;
    }

    section {
        padding: 4rem 0;
    }

    .service-card {
        margin-bottom: 2rem;
    }
}

/* Navigation Mobile Improvements */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(0, 0, 0, 0.95);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 2rem;
        z-index: 1000;
    }

    .navbar-nav {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .nav-item {
        margin: 0.75rem 0;
    }

    .nav-link {
        font-size: 1.25rem !important;
        color: white !important;
    }

    .navbar.scrolled .nav-link {
        color: white !important;
    }

    .social-icon {
        color: white !important;
        font-size: 1.5rem;
        margin: 0 0.75rem;
    }

    .navbar-toggler {
        z-index: 1001;
    }
}

/* Hero Section Button */
.btn-17,
.btn-17 *,
.btn-17 :after,
.btn-17 :before,
.btn-17:after,
.btn-17:before {
  border: 0 solid;
  box-sizing: border-box;
}

.btn-17 {
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
  color: #fff;
  cursor: pointer;
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  -webkit-mask-image: -webkit-radial-gradient(#000, #fff);
  padding: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease-out 0.9s;
  animation-fill-mode: both;
}

.btn-17:disabled {
  cursor: default;
}

.btn-17:-moz-focusring {
  outline: auto;
}

.btn-17 svg {
  display: block;
  vertical-align: middle;
}

.btn-17 [hidden] {
  display: none;
}

.btn-17 {
  border-radius: 99rem;
  border: 2px solid #fff;
  padding: 1rem 2.5rem;
  z-index: 0;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-17,
.btn-17 .text-container {
  overflow: hidden;
  position: relative;
}

.btn-17 .text-container {
  display: block;
  mix-blend-mode: difference;
}

.btn-17 .text {
  display: block;
  position: relative;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-17:hover .text {
  -webkit-animation: move-up-alternate 0.3s forwards;
  animation: move-up-alternate 0.3s forwards;
  color: var(--primary);
}

@keyframes move-up-alternate {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(80%);
  }
  51% {
    transform: translateY(-80%);
  }
  to {
    transform: translateY(0);
  }
}

.btn-17:after,
.btn-17:before {
  --skew: 0.2;
  background: #fff;
  content: "";
  display: block;
  height: 102%;
  left: calc(-50% - 50% * var(--skew));
  pointer-events: none;
  position: absolute;
  top: -104%;
  transform: skew(calc(150deg * var(--skew))) translateY(var(--progress, 0));
  transition: transform 0.3s ease;
  width: 100%;
}

.btn-17:after {
  --progress: 0%;
  left: calc(50% + 50% * var(--skew));
  top: 102%;
  z-index: -1;
}

.btn-17:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border-color: #fff;
}

.btn-17:hover:before {
  --progress: 100%;
}

.btn-17:hover:after {
  --progress: -102%;
}

.btn-17:hover {
  color: var(--primary);
}

/* File upload styling */
.form-control[type="file"] {
    padding: 0.75rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control[type="file"]:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(108, 20, 68, 0.25);
}

.form-text {
    color: #6c757d;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Smooth Scroll Animations */
.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Add animation classes to specific sections */
.hero-content,
.service-card,
.about-preview .col-lg-6,
.contact-preview .container > *,
.mission-content,
.value-card,
.team-card,
.contact-info,
.contact-form,
.map-container,
.benefit-item,
.process-step,
.testimonial-card,
.quality-section .col-lg-6 {
    opacity: 1;
    transform: translateY(0);
}

.hero-content.visible,
.service-card.visible,
.about-preview .col-lg-6.visible,
.contact-preview .container > *.visible,
.mission-content.visible,
.value-card.visible,
.team-card.visible,
.contact-info.visible,
.contact-form.visible,
.map-container.visible,
.benefit-item.visible,
.process-step.visible,
.testimonial-card.visible,
.quality-section .col-lg-6.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations for cards */
.service-card,
.value-card,
.team-card,
.process-step {
    transition-delay: 0s;
}

/* Vacancy Header */
.vacancy-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
                url('../images/Rotterdam-skyline.jpg') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 9rem 0 6rem;
    margin: 0;
}
