:root {
    --primary-color: #0d6efd;
    --dark-color: #212529;
}

section {
    padding: 6rem 0;
}

.card: {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.experience-badge {
    transform: rotate(-5deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.d-grid.gap-3 > div {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header {
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.95) 0%, rgba(12, 84, 196, 0.95) 100%);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.navbar-brand svg {
    transition: transform 0.3s ease;
}

.navbar-brand:hover svg {
    transform: rotate(15deg);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

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

.btn-outline-light {
    border: 2px solid;
    transition: all 0.3s ease;
}

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

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(255,255,255,0.95);
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 10px;
    }
    
    .nav-link {
        color: var(--dark-color) !important;
        margin: 0.5rem 0;
    }
    
    .nav-link::after {
        background: var(--primary-color);
    }
    
    .btn-outline-light {
        width: 100%;
        margin-top: 1rem;
    }
}

.contact-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 15px;
    padding: 2rem;
    background: white;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-control {
    border: 2px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

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

.footer {
    position: relative;
}

.footer-widget {
    padding: 1.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.footer-widget:hover {
    transform: translateY(-5px);
}

.social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .footer-widget {
        margin-bottom: 1.5rem;
    }
}

.contact-section {
    background: linear-gradient(45deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-info-overlay {
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.9), rgba(41, 143, 204, 0.9)),
                url('../images/contact-bg.jpg') center/cover;
    position: relative;
}

.contact-info-item {
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border-radius: 1rem;
    backdrop-filter: blur(5px);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateX(10px);
}

.icon-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-form .form-control {
    border-radius: 0;
    padding: 0.5rem 0;
    background: transparent;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.contact-form label {
    font-weight: 500;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(45deg, #0d6efd, #0b5ed7);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer {
    position: relative;
    font-size: 0.95rem;
}

.footer h4 {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255,255,255,0.1);
}

.footer .badge {
    font-weight: 400;
    padding: 0.5em 1em;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
}

.contact-section {
    background-color: #f8f9fa;
}

.contact-info-item {
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.contact-info-item:hover {
    border-color: #0d6efd;
}

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

.contact-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

.btn-primary {
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: transform 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.contact-section {
    background-color: #f8f9fa;
}

.bg-white {
    background: #fff !important;
}

.shadow-sm {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05) !important;
}

.form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
}

.btn-primary {
    font-weight: 500;
    transition: none;

}

.contact-info-box {
    transition: transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.contact-info-box {
    transform: translateY(-3px);
}

.icon-box {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.contact-form .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), 
                url('../images/hero-bg-industrial.jpg') center/cover;
    min-height: 90vh;
    margin-top: 76px; /* Compenseer fixed header */
    color: white;
    position: relative;
}

.hero-content {
    padding: 2rem;
    background: rgba(0,0,0,0.4);
    border-radius: 1rem;
    backdrop-filter: blur(5px);
}

.btn-outline-light {
    border-width: 2px;
    transition: all 0.3s ease;
}

.btn-outline-light: {
    background: white;
    color: var(--dark) !important;
}

.trust-badges {
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.trust-badges: {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        text-align: center;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .hero-content {
        backdrop-filter: none;
    }
}

.slogan .badge {
    font-weight: 400;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.slogan .badge: {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .slogan .badge {
        font-size: 1rem !important;
        padding: 0.5rem 1rem !important;
    }
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-section {
    position: relative;
    overflow: hidden;
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.service-card: {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bg-primary-light {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

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

@media (max-width: 768px) {
    .service-card {
        margin-bottom: 1.5rem;
    }
}

.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.alert-danger {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.navbar-toggler {
  position: relative;
  padding: 0.5rem;
  border: none;
}

.navbar-toggler i {
  font-size: 1.5rem;
  transition: opacity 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] .fa-bars {
  opacity: 0;
}

.navbar-toggler[aria-expanded="false"] .fa-times {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .fa-times {
  opacity: 1;
}

.navbar-toggler[aria-expanded="false"] .fa-bars {
  opacity: 1;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
}
.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Stijl voor de navbar toggler */
.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
}

.navbar-toggler .fa-bars {
    font-size: 1.5rem;
    color: white;
}

/* Verberg het standaard Bootstrap-toggler icoon */
.navbar-toggler .navbar-toggler-icon {
    display: none;
}

/* Styling for the logo in the logo section */
.logo-footer {
    max-width: 120px; /* Adjust logo size */
    height: auto;
    margin-top: 10px;
}

/* Ensuring the layout remains responsive */
@media (max-width: 768px) {
    .col-lg-2 {
        margin-top: 20px; /* Add space on top for smaller screens */
    }

    .logo-footer {
        margin-top: 0; /* Remove extra space for small screens */
        max-width: 60px; /* Resize logo for smaller screens */
    }
}

/* Custom CSS for Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/hero-bg-industrial.jpg');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  color: white;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

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

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
}

/* Custom CSS for About Section */
.about-section {
  padding: 2rem 0; /* Default padding */
}

@media (max-width: 767.98px) {
  .about-section {
    padding: 1.5rem 0; /* Reduced padding for mobile */
  }

  .about-image img {
    margin-bottom: 1.5rem; /* Add space below image on mobile */
  }

  .ps-lg-4 {
    padding-left: 0 !important; /* Remove left padding on mobile */
  }

  .display-5 {
    font-size: 2rem; /* Smaller heading for mobile */
  }

  .lead {
    font-size: 1rem; /* Smaller lead text for mobile */
  }

  .badge {
    font-size: 1rem !important; /* Smaller badge text for mobile */
    padding: 0.5rem 1rem !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .about-section {
    padding: 1.75rem 0; /* Adjusted padding for tablet */
  }

  .display-5 {
    font-size: 2.25rem; /* Adjusted heading size for tablet */
  }

  .lead {
    font-size: 1.1rem; /* Adjusted lead text size for tablet */
  }
}

/* From contact.php */
.copy-email {
    padding: 0.25rem 0.5rem;
    line-height: 1;
    transition: all 0.2s ease;
}
.copy-email:hover {
    transform: scale(1.1);
}
.toast {
    z-index: 1050;
}
.hover-scale {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-scale:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}
.custom-alert {
    opacity: 0;
    transform: translateY(-20px);
    animation: alertSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
@keyframes alertSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.form-control:focus {
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}