/* Base Styles */
:root {
    --primary-color: #eb6037;
    --secondary-color: #d9522b;
    --accent-color: #1e4b8c;
    --text-color: #333333;
    --light-text: #666666;
    --lighter-text: #999999;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --medium-gray: #dee2e6;
    --dark-gray: #495057;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Global container styles */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ensure content starts below header */
main, section:not(.hero):not(.services) {
    margin-top: 0;
    padding-top: 2rem;
}
section.services {
    position: relative;
    background-color: #fff;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-header p {
    color: var(--light-text);
    font-size: 1rem;
    max-width: 700px;
    margin: 0.5rem auto 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 0 0 4px rgba(235, 96, 55, 0.25), 0 15px 30px rgba(235, 96, 55, 0.18);
    animation: none;
}

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

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Header Styles */
.header {
    background-color: var(--white);
    box-shadow: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
    border-bottom: none;
    height: auto;
    min-height: 60px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    position: relative;
    max-height: 70px;
}

/* Logo styling is now handled with inline styles */

.logo h1 {
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--primary-color);
    letter-spacing: 2px;
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    line-height: 1.1;  /* Increased line height for better visibility */
}

.logo h2 {
    font-size: 0.9rem;
    color: var(--light-text);
    margin: 0;
    letter-spacing: 1px;
    font-weight: 400;
    line-height: 1.3;  /* Increased line height for better visibility */
}

.nav-menu {
    display: flex;
    align-items: center;
    margin-right: auto;
    margin-left: 2rem;
}

.nav-menu li {
    margin: 0 1rem;
}

.get-quote {
    margin-left: auto;
    padding-right: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* Portal Login-knop naast Get a Quote (omlijnd, zelfde formaat) */
.get-quote .btn.portal-login-btn {
    box-shadow: none;
    padding: calc(0.3rem - 2px) calc(0.8rem - 2px);
    white-space: nowrap;
}

.get-quote .btn.portal-login-btn:hover {
    box-shadow: 0 5px 15px rgba(235, 96, 55, 0.2);
}

.get-quote .btn {
    white-space: nowrap;
}

/* Portal Login in het mobiele menu: alleen zichtbaar als het hamburgermenu actief is */
.main-nav ul li.mobile-portal-item {
    display: none;
}

@media (max-width: 992px) {
    .main-nav ul li.mobile-portal-item {
        display: block;
        border-bottom: none !important;
        padding: 1rem 0 0.5rem;
    }
    .main-nav ul li.mobile-portal-item a.portal-login-btn {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.7rem 1rem;
        border: 2px solid var(--primary-color);
        color: var(--primary-color);
        border-radius: 4px;
    }
}

/* Op smallere desktopschermen iets minder ruimte tussen menu-items,
   zodat het menu en de twee knoppen op één regel passen */
@media (min-width: 993px) and (max-width: 1200px) {
    .main-nav ul li {
        margin-left: 0.5rem;
    }
    .main-nav ul li a {
        white-space: nowrap;
    }
}

.get-quote .btn {
    box-shadow: 0 5px 15px rgba(235, 96, 55, 0.2);
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.8rem;
}

.main-nav {
    display: flex;
    margin-left: auto;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav ul li {
    margin-left: 2rem;
}

.main-nav ul li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 0.2rem 0;
    position: relative;
    display: flex;
    align-items: center;
}

.main-nav ul li a:hover, 
.main-nav ul li a.active {
    color: var(--primary-color);
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav ul li a:hover:after, 
.main-nav ul li a.active:after {
    width: 100%;
}

/* Dropdown container styling */
.main-nav ul li.has-dropdown {
    display: flex;
    align-items: center;
    gap: 0.3rem; /* Reduced gap to bring arrow closer to text */
}

.main-nav ul li.has-dropdown .nav-text {
    flex: 1;
    padding: 0.2rem 0; /* Match padding of regular nav items */
}

.main-nav ul li.has-dropdown .dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem;
    transition: all 0.3s ease;
}

.main-nav ul li.has-dropdown .dropdown-toggle:hover {
    background-color: rgba(235, 96, 55, 0.1);
    border-radius: 3px;
}

/* Dropdown arrow styling */
.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: var(--text-color);
}

.main-nav ul li.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* Right arrow styling for nested dropdowns */
.dropdown-arrow-right {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
    color: var(--text-color);
}

/* Desktop only - transform to right arrow */
@media (min-width: 993px) {
    /* Fix vertical alignment of menu items */
    .main-nav ul {
        display: flex;
        align-items: center;
    }
    
    .main-nav ul li {
        display: flex;
        align-items: center;
    }
    
    .main-nav ul li.has-dropdown {
        align-items: center;
    }
    
    .main-nav ul li.has-dropdown .nav-text {
        display: flex;
        align-items: center;
        height: 100%;
    }
    
    /* DESKTOP: Arrow styling - more specific selectors to override mobile styles */
    .main-nav .dropdown li.has-dropdown .dropdown-toggle .dropdown-arrow-right {
        transform: rotate(-90deg) translateX(-3px) !important; /* Make down arrow into right arrow and move closer to text */
    }
    
    .main-nav .dropdown li.has-dropdown:hover .dropdown-toggle .dropdown-arrow-right {
        transform: rotate(-90deg) translateX(-1px) !important; /* Keep as right arrow but move slightly right on hover */
        color: var(--primary-color);
    }
    
    /* DESKTOP: When active on desktop, keep right arrow */
    .main-nav .dropdown li.has-dropdown.active .dropdown-toggle .dropdown-arrow-right {
        transform: rotate(-90deg) translateX(-1px) !important; /* Keep as right arrow when active */
    }
}

/* Mobile - keep as down arrow */
@media (max-width: 992px) {
    .main-nav ul li.has-dropdown:hover .dropdown-arrow-right {
        color: var(--primary-color);
    }
}

/* Dropdown Styles - Desktop only */
@media (min-width: 993px) {
    .main-nav ul li.has-dropdown {
        position: relative;
    }

    .main-nav ul li.has-dropdown .dropdown {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        min-width: 200px;
        box-shadow: var(--shadow);
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        z-index: 1000;
        padding: 0.5rem 0;
        border: 1px solid var(--light-gray);
        display: none;
    }

    /* JavaScript will handle the hover states */
    .main-nav ul li.has-dropdown::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 20px;
        background: transparent;
        z-index: 999;
    }

    .main-nav ul li.has-dropdown .dropdown li {
        margin: 0;
        width: 100%;
    }

    .main-nav ul li.has-dropdown .dropdown li a {
        display: block;
        padding: 0.75rem 1rem;
        color: var(--text-color);
        font-size: 0.9rem;
        border-bottom: none;
        transition: var(--transition);
    }

    .main-nav ul li.has-dropdown .dropdown li a:hover {
        background-color: var(--off-white);
        color: var(--primary-color);
    }

    .main-nav ul li.has-dropdown .dropdown li a:after {
        display: none;
    }

    /* Nested dropdown */
    .main-nav ul li.has-dropdown .dropdown li.has-dropdown .dropdown {
        left: 100%;
        top: 0;
        margin-left: 0.5rem;
    }

    .main-nav ul li.has-dropdown .dropdown li.has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

/* Enhanced Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
    padding: 0;
    background: transparent;
    border: none;
}

/* Hide burger menu on desktop */
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    background-color: var(--primary-color);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    width: 100%;
    padding: 2rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 700;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-weight: 500;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.cta-buttons .btn {
    padding: 1.2rem 2.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
}

.cta-buttons .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    animation: pulse-orange 2s infinite;
}

.cta-buttons .btn-primary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 0 0 4px rgba(235, 96, 55, 0.25), 0 15px 30px rgba(235, 96, 55, 0.18);
    animation: none;
}

/* Services Section */
.services {
    padding: 3rem 0 1.5rem 0;
    margin-top: -3rem; /* Negative margin to pull it up */
    background-color: var(--white);
    border-top: 1px solid #f0f0f0;
    position: relative;
    z-index: 5;
    border-radius: 20px 20px 0 0; /* Rounded top corners */
}

@media (max-width: 600px) {
    .services {
        display: none; /* Hide completely on mobile */
    }
}
.services-overview {
    padding: 2rem 0;
    background-color: var(--off-white);
}

.services-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    justify-content: center !important;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 0 0 calc(33.33% - 2rem);
    max-width: calc(33.33% - 2rem);
    min-height: 320px;  /* Changed from fixed height to minimum height */
    height: auto;  /* Allow height to expand based on content */
    overflow: visible;  /* Changed from hidden to visible */
}

/* Desktop grid layout for services - 3 cards in top row, 2 cards in bottom row */
.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) {
    flex: 0 0 calc(40% - 2rem);  /* Slightly wider for the bottom row */
    max-width: calc(40% - 2rem);
    margin-left: auto;
    margin-right: auto;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(30, 75, 140, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin: 0 auto 1.5rem;  /* Center the icon */
    flex-shrink: 0;  /* Prevent icon from shrinking */
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3.5rem;  /* Minimum height for title instead of fixed */
    height: auto;  /* Allow height to expand if needed */
    flex-shrink: 0;  /* Prevent title from shrinking */
}

.service-card p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    flex-grow: 1;
    overflow: visible;  /* Changed from hidden to visible */
    display: block;  /* Changed from -webkit-box to block */
}

.service-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

/* About Summary Section */
.about-summary {
    padding: 5rem 0;
    background-color: var(--primary-color);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.about-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    line-height: 1.9;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background-color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);  /* 2 columns */
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: 3rem 2rem;  /* Increased padding */
    transition: var(--transition);
    border-radius: 8px;
    background-color: var(--off-white);
    box-shadow: var(--shadow);
    height: 100%;  /* Ensure equal height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.feature h3 {
    font-size: 1.8rem;  /* Larger title */
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature p {
    color: var(--light-text);
    font-size: 1.1rem;  /* Slightly larger text */
    line-height: 1.7;
    max-width: 300px;  /* Control text width */
    margin: 0 auto;
}

/* Feature icons */
.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: rgba(235, 96, 55, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

/* Pricing Section */
.pricing-preview {
    padding: 5rem 0;
    background-color: var(--off-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
}

.pricing-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--light-gray);
}

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

/* Bronze card styling */
.pricing-card:first-child {
    border-top: 5px solid #cd7f32;
    transform: scale(1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card:first-child:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card:first-child .pricing-header h3 {
    color: #cd7f32;
}

.pricing-card:first-child .pricing-features ul li:before {
    color: #cd7f32;
}

/* Silver card styling */
.pricing-card.featured {
    background-color: var(--white);
    border-top: 5px solid #C0C0C0;
    transform: scale(1);
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pricing-card.featured .pricing-header h3 {
    color: #A9A9A9;
}

.pricing-card.featured .pricing-features ul li:before {
    color: #A9A9A9;
}

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

/* Gold card styling */
.pricing-card.gold {
    background: linear-gradient(145deg, #ffffff, #fffdf5);
    border-top: none;
    transform: scale(1.08);
    z-index: 2;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    position: relative;
    animation: subtle-pulse 3s infinite;
    overflow: visible;
}

.pricing-card.gold:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.5);
}

@keyframes subtle-pulse {
    0% {
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    }
    50% {
        box-shadow: 0 20px 40px rgba(212, 175, 55, 0.4);
    }
    100% {
        box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    }
}

.pricing-card.gold::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 10px;
    background: linear-gradient(145deg, #d4af37, #f5e5a3, #d4af37);
    z-index: -1;
}

.pricing-card.gold:before {
    content: "";
    position: absolute;
    top: 10px;
    right: -35px;
    background: none;
    color: transparent;
    padding: 0;
    font-size: 0;
    font-weight: normal;
    transform: none;
    box-shadow: none;
    z-index: 0;
}

.pricing-card.gold .pricing-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.pricing-card.gold .pricing-header h3 {
    color: #d4af37;
    font-size: 2.2rem;
    letter-spacing: 1px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.pricing-card.gold .price h4 {
    font-size: 2.5rem;
    color: #d4af37;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.pricing-card.gold .pricing-features ul li:before {
    color: #d4af37;
}

.pricing-card.gold .pricing-features ul li {
    font-weight: 500;
}

.pricing-card.gold .btn {
    background: linear-gradient(to right, #d4af37, #f5e5a3, #d4af37);
    color: #333;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.pricing-card.gold .btn:hover {
    background: linear-gradient(to right, #f5e5a3, #d4af37, #f5e5a3);
    color: #333;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-3px);
}

.pricing-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.pricing-card.gold .pricing-header h3 {
    color: #FFD700;
    font-size: 2rem;
}

.pricing-header p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.price {
    margin: 1.5rem 0;
}

.price h4 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.pricing-card:first-child .price h4 {
    color: #cd7f32;
}

.pricing-card.featured .price h4 {
    color: #A9A9A9;
}

.pricing-card.gold .price h4 {
    font-size: 2.4rem;
    color: #FFD700;
}

.price p {
    color: var(--light-text);
    font-size: 0.9rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
    text-align: left;
    color: var(--light-text);
}

.pricing-features ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-card.gold .pricing-features ul li:before {
    color: #FFD700;
}

.pricing-features ul li:last-child {
    margin-bottom: 0;
}

.pricing-card .btn {
    width: 100%;
}

.pricing-card:first-child .btn {
    background-color: #cd7f32;
}

.pricing-card.featured .btn {
    background-color: #A9A9A9;
}

.pricing-card.gold .btn {
    background-color: #FFD700;
    color: #333;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
    transition: all 0.3s ease;
}

.pricing-card:first-child .btn:hover,
.pricing-card.featured .btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.pricing-card.gold .btn:hover {
    background-color: #FFD700;
    color: #333;
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.3);
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--light-text);
    font-size: 0.9rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--off-white);
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Normalize select appearance across iOS/Android (previous working variant) */
.form-group select,
.hero-contact-form select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: #fff;
    /* Use native system arrows for consistency */
}

/* Hide IE/Edge default arrow */
select::-ms-expand {
    display: none;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 75, 140, 0.1);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .btn {
    margin-top: 1rem;
    width: 100%;
}

/* Footer */
.footer {
    background-color: #333333;
    color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 0 0; /* iets minder ruimte boven op desktop */
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0;
}

.footer-section h3 {
    position: relative;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    align-self: flex-start;
    text-align: left;
    width: 100%;
}

.footer-section h3:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    margin-top: -10px;
    text-align: left;
    max-width: 100%;
    line-height: 1.6;
}

.footer-section ul li {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

/* Quick Links in 2 columns */
.footer-section ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 320px;
}

/* Specifieke volgorde voor Quick Links - linker kolom */
.footer-section ul li:nth-child(1) { grid-column: 1; grid-row: 1; } /* Home */
.footer-section ul li:nth-child(2) { grid-column: 1; grid-row: 2; } /* Blogs */
.footer-section ul li:nth-child(3) { grid-column: 1; grid-row: 3; } /* About Us */
.footer-section ul li:nth-child(4) { grid-column: 1; grid-row: 4; } /* Contact */

/* Rechter kolom */
.footer-section ul li:nth-child(5) { grid-column: 2; grid-row: 1; } /* Services */
.footer-section ul li:nth-child(6) { grid-column: 2; grid-row: 2; } /* Accounting */
.footer-section ul li:nth-child(7) { grid-column: 2; grid-row: 3; } /* Company Formation */
.footer-section ul li:nth-child(8) { grid-column: 2; grid-row: 4; } /* Visa Services */
.footer-section ul li:nth-child(9) { grid-column: 2; grid-row: 5; } /* Tax Advice */

.footer-section ul li {
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-info li i {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
    margin-bottom: 2rem; /* Extra ruimte tussen social icons en Quick Links */
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: #eb6037;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(235, 96, 55, 0.3);
}

.footer-bottom {
    background-color: #262626;
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-logo {
    margin: 0;
    text-align: left;
}

.footer-logo img {
    width: 220px;
    height: auto;
    display: block;
    transition: var(--transition);
    background-color: transparent;
}

/* WhatsApp Button */
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    animation: pulse 2s infinite;
}

.whatsapp-button a {
    display: flex;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.whatsapp-button a:hover {
    background-color: #1da851;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    /* Fix header positioning */
    .header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        background-color: white;
        z-index: 1000;
    }
    
    /* Fix main navigation */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        padding-top: 80px;
        z-index: 99;
        transition: transform 0.35s ease-in-out;
        transform: translateY(-100%);
        opacity: 0;
    }
    
    /* Mobile dropdown styles - clickable dropdowns */
    .main-nav ul li.has-dropdown .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--off-white) !important;
        margin: 0.5rem 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        display: none !important; /* Hidden by default on mobile */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    /* Show dropdown when active */
    .main-nav ul li.has-dropdown.active .dropdown {
        display: block !important;
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    /* Add arrow to dropdown items - positioned before text */
    .main-nav ul li.has-dropdown > a {
        position: relative;
        padding-left: 30px;
    }
    
    .main-nav ul li.has-dropdown > a::before {
        content: '▼';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        transition: transform 0.3s ease;
        color: var(--text-color);
    }
    
    /* Rotate arrow when dropdown is open */
    .main-nav ul li.has-dropdown.active > a::before {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .main-nav ul li.has-dropdown .dropdown li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .main-nav ul li.has-dropdown .dropdown li:last-child {
        border-bottom: none !important;
    }
    
    .main-nav ul li.has-dropdown .dropdown li a {
        padding: 12px 20px 12px 40px !important;
        font-size: 14px !important;
        color: var(--text-color) !important;
        font-weight: 400 !important;
    }
    
    .main-nav ul li.has-dropdown .dropdown li a:hover {
        background-color: var(--light-gray) !important;
        color: var(--primary-color) !important;
    }
    
    /* Nested dropdown on mobile */
    .main-nav ul li.has-dropdown .dropdown li.has-dropdown .dropdown {
        position: static !important;
        margin: 0.5rem 0 0 0 !important;
        background: var(--light-gray) !important;
    }
    
    /* Nested dropdown items */
    .main-nav ul li.has-dropdown .dropdown li.has-dropdown .dropdown li a {
        padding: 10px 20px 10px 60px !important;
        font-size: 13px !important;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 20px;
        margin: 0;
    }
    
    .main-nav ul li {
        margin: 0;
        margin-bottom: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 20px;
        font-size: 16px;
        color: #333;
        font-weight: 400;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        transition: background-color 0.2s ease;
    }
    
    .main-nav ul li a:hover {
        background-color: var(--off-white);
    }
    
    .main-nav ul li:last-child a {
        border-bottom: none;
    }
    
    .main-nav ul li a.active {
        color: var(--primary-color);
    }
    
    /* Mobile dropdown styles - clickable dropdowns */
    .main-nav ul li.has-dropdown .dropdown {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        background: var(--off-white) !important;
        margin: 0.5rem 0 !important;
        border-radius: 0 !important;
        padding: 0 !important;
        display: none !important; /* Hidden by default on mobile */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
    }
    
    /* Show dropdown when active */
    .main-nav ul li.has-dropdown.active .dropdown {
        display: block !important;
        max-height: 500px;
        padding: 0.5rem 0;
    }
    
    /* Add arrow to dropdown items - positioned before text */
    .main-nav ul li.has-dropdown > a {
        position: relative;
        padding-left: 30px;
    }
    
    .main-nav ul li.has-dropdown > a::before {
        content: '▼';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 10px;
        transition: transform 0.3s ease;
        color: var(--text-color);
    }
    
    /* Rotate arrow when dropdown is open */
    .main-nav ul li.has-dropdown.active > a::before {
        transform: translateY(-50%) rotate(180deg);
    }
    
    .main-nav ul li.has-dropdown .dropdown li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    }
    
    .main-nav ul li.has-dropdown .dropdown li:last-child {
        border-bottom: none !important;
    }
    
    .main-nav ul li.has-dropdown .dropdown li a {
        padding: 12px 20px 12px 40px !important;
        font-size: 14px !important;
        color: var(--text-color) !important;
        font-weight: 400 !important;
    }
    
    .main-nav ul li.has-dropdown .dropdown li a:hover {
        background-color: var(--light-gray) !important;
        color: var(--primary-color) !important;
    }
    
    /* Nested dropdown on mobile */
    .main-nav ul li.has-dropdown .dropdown li.has-dropdown .dropdown {
        position: static !important;
        margin: 0.5rem 0 0 0 !important;
        background: var(--light-gray) !important;
    }
    
    /* Nested dropdown items */
    .main-nav ul li.has-dropdown .dropdown li.has-dropdown .dropdown li a {
        padding: 10px 20px 10px 60px !important;
        font-size: 13px !important;
    }
    
    /* Mobile header - veel compacter maken */
    .header {
        padding: 0 !important; /* Geen padding voor mobiel */
        min-height: 30px !important; /* Nog veel kleinere hoogte voor mobiel */
    }
    
    .header-content {
        padding: 0 !important; /* Geen padding voor mobiel */
        max-height: 35px !important; /* Nog veel kleinere hoogte voor mobiel */
        align-items: flex-start !important; /* Plaats items hoger in de header */
        padding-top: 2px !important; /* Klein duwtje naar boven */
    }
    
    /* Fix hamburger menu - better positioning with large logo */
    .mobile-menu-btn {
        display: flex;
        position: relative;
        right: 0;
        top: -8px; /* iets omhoog verplaatsen */
        z-index: 1001;
        margin: 0 !important;
        align-items: center;
        transform: none; /* geen transform nodig */
        align-self: flex-start; /* uitlijnen met bovenkant */
        flex-shrink: 0; /* voorkom krimpen */
    }
    
    /* Fix content padding for fixed header */
    body {
        padding-top: 50px !important; /* Nog verder verminderd voor compacte header */
    }
    
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }
    
    /* Mobile logo styling - consistent zonder transform scaling */
    .header-content > div:first-child {
        width: 100% !important; /* gebruik volledige breedte */
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        height: 50px !important; /* behoud header hoogte */
        display: flex !important;
        align-items: center !important; /* center verticaal */
        align-self: center !important; /* center in header */
        transform: none !important; /* geen transform */
        overflow: visible !important; /* Laat logo buiten container komen */
    }
    
    .header-content > div:first-child img {
        max-width: 100% !important;
        width: auto !important; /* natuurlijke breedte */
        margin: 0 !important;
        padding: 0 !important;
        height: 200px !important; /* nog grotere hoogte voor betere zichtbaarheid */
        object-fit: contain !important;
        object-position: left center !important;
    }
    
    /* SVG logo specifieke styling - geen transform scaling */
    .header-content > div:first-child img[src*="svg"] {
        max-width: none !important;
        width: auto !important; /* natuurlijke breedte */
        height: 200px !important; /* nog grotere hoogte */
        object-fit: contain !important;
        object-position: left center !important;
        transform: none !important; /* geen transform scaling */
    }
    
    .logo h1 {
        font-size: 1.6rem;
        line-height: 0.9;
    }
    
    .logo h2 {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    /* Hide quote button on mobile */
    .get-quote {
        display: none;
    }
    
    /* Hide FontAwesome dropdown arrows on mobile - use CSS arrows instead */
    .main-nav ul li.has-dropdown > a .dropdown-arrow,
    .main-nav ul li.has-dropdown > a .dropdown-arrow-right {
        display: none !important;
    }
    
    /* Override mobile dropdown arrows for different levels */
    /* Remove the ::before arrows completely on mobile */
    .main-nav ul li.has-dropdown > a::before {
        display: none !important;
    }
    
    /* Mobile dropdown styling */
    .main-nav ul {
        width: 100% !important;
    }
    
    .main-nav ul li {
        width: 100% !important;
        border-bottom: 1px solid rgba(0,0,0,0.1) !important;
    }
    
    .main-nav ul li.has-dropdown {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        position: relative !important;
        flex-wrap: wrap !important;
    }
    
    .main-nav ul li.has-dropdown .nav-text {
        flex: 1 !important;
    }
    
    .main-nav ul li.has-dropdown .dropdown-toggle {
        cursor: pointer !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.2rem !important;
    }
    
    /* Position dropdowns properly on mobile */
    .main-nav ul li.has-dropdown .dropdown {
        position: static !important;
        width: 100% !important;
        left: 0 !important;
        top: 100% !important;
        margin: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        order: 3 !important; /* Make sure dropdown appears below both text and toggle */
        flex-basis: 100% !important; /* Take full width */
    }
    
    /* Show FontAwesome arrows on mobile */
    .main-nav ul li.has-dropdown .dropdown-arrow,
    .main-nav ul li.has-dropdown .dropdown-arrow-right {
        display: inline !important;
    }
    
    /* Both main and nested dropdowns use down arrow on mobile - no need to rotate since we're using chevron-down now */
    .main-nav .dropdown li.has-dropdown .dropdown-arrow-right {
        /* No transform needed since we're using fa-chevron-down directly */
    }
    
    /* MOBILE: Reset all arrow transforms to ensure they point down by default */
    .main-nav ul li.has-dropdown .dropdown-toggle .dropdown-arrow,
    .main-nav ul li.has-dropdown .dropdown-toggle .dropdown-arrow-right,
    .main-nav .dropdown li.has-dropdown .dropdown-toggle .dropdown-arrow-right {
        transform: rotate(0deg) !important; /* Ensure ALL arrows point down */
    }
    
    /* MOBILE: When active, rotate arrows to point up */
    .main-nav ul li.has-dropdown.active .dropdown-toggle .dropdown-arrow,
    .main-nav .dropdown li.has-dropdown.active .dropdown-toggle .dropdown-arrow-right {
        transform: rotate(180deg) !important; /* Rotate to point up when active */
    }
    
    /* Ensure nested dropdowns are hidden by default on mobile */
    .main-nav .dropdown li.has-dropdown .dropdown {
        display: none !important;
        max-height: 0 !important;
        overflow: hidden !important;
        padding: 0 !important;
        background: rgba(0,0,0,0.03) !important;
    }
    
    /* Show nested dropdown when active on mobile */
    .main-nav .dropdown li.has-dropdown.active .dropdown {
        display: block !important;
        max-height: 300px !important;
        padding: 0.5rem 0 !important;
    }
    
    /* Style nested dropdown items on mobile */
    .main-nav .dropdown li.has-dropdown .dropdown li a {
        padding-left: 2rem !important; /* Indent nested items */
    }
    
    /* Fix page sections to avoid overlap */
    .hero {
        margin-top: 0;
        padding-top: 30px;
    }
    
    .services-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    
    /* Zorg dat hero-tekst altijd onder de vaste header valt */
    .hero {
        padding-top: calc(60px + env(safe-area-inset-top, 0px)) !important; /* ruimte voor header + notch */
    }
    
    /* Mobile Hero Section - Above the fold teaser design */
    .hero {
        padding: 1rem 0 0;
        min-height: 50vh;
        display: flex;
        align-items: flex-start;
        position: relative;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        width: 100%;
        height: 100%;
        justify-content: center;
    }
    
    .hero-content {
        width: 100%;
        padding: 0 1rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .hero-content h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }
    
    .hero-content p {
        font-size: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
        line-height: 1.4;
    }
    
    .hero-image {
        width: 100%;
        margin-top: 2rem;
    }
    
    /* Contact form teaser - only show top part */
    .contact-form-section {
        padding: 0;
        margin-top: -4rem;
        position: relative;
        z-index: 10;
    }
    
    .hero-right {
        position: relative;
        z-index: 5;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .hero-contact-form {
        padding: 2.2rem 1rem 2.4rem; /* meer ruimte: boven titel en onder knop */
        margin: 0;
        border-radius: 8px; /* mooie afgeronde hoeken zoals contact page */
        box-shadow: none; /* remove extra white card shadow under/over form */
        max-height: none; /* laat formulier volledig uitklappen */
        overflow: visible; /* geen interne scroll */
        position: relative;
        background-color: #fff;
        border: 1px solid var(--light-gray); /* subtiele rand zoals contact page */
    }
    
    .hero-contact-form::after {
        display: none; /* disable overlay that looked like extra white layer */
    }
    
    .hero-contact-form h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    /* Show all form elements with decreasing opacity */
    .hero-contact-form .form-group:nth-child(1),
    .hero-contact-form .form-group:nth-child(2) {
        opacity: 1;
        position: relative;
        z-index: 1;
    }
    
    .hero-contact-form .form-group:nth-child(3) {
        opacity: 0.95;
        position: relative;
        z-index: 1;
    }
    
    .hero-contact-form .form-group:nth-child(4) {
        opacity: 0.9;
        position: relative;
        z-index: 1;
    }
    
    .hero-contact-form .form-group:nth-child(5) {
        opacity: 0.85;
        position: relative;
        z-index: 1;
    }
    
    .hero-contact-form .form-group:nth-child(6) {
        opacity: 0.8;
        position: relative;
        z-index: 1;
    }
    
    .hero-contact-form .btn {
        margin-top: 0.8rem;
        margin-bottom: 0;
        opacity: 1;
        position: sticky;
        bottom: 0; /* altijd zichtbaar onderaan formulier */
        z-index: 3;
        background-color: var(--primary-color);
        color: var(--white);
        border: none;
        box-shadow: 0 4px 10px rgba(235, 96, 55, 0.2);
        padding: 12px;
        height: auto;
        border-radius: 4px;
        display: block;
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.7rem 1.2rem;
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    /* Grid adjustments */
    .services-grid,
    .features-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Footer adjustments */
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    
    .footer-section {
        margin-top: 0;
        padding: 0;
    }
    
    /* First footer section (logo section) - remove extra spacing */
    .footer-section:first-child {
        margin-top: 0;
        padding-top: 0;
    }
    
    .footer-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.5rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.6rem;
        font-size: 1rem;
    }
    
    .footer-section ul li a {
        font-size: 1rem;
        padding: 0.3rem 0;
        display: block;
    }
    
    .footer-contact-box {
        padding: 1.5rem;
        margin-top: 1rem;
    }
    
    .footer-contact-box .contact-info li {
        margin-bottom: 1rem;
        font-size: 1rem;
    }
    
    .footer-contact-box .contact-info li i {
        font-size: 1.1rem;
        margin-right: 0.8rem;
    }
    
    .footer-contact-box .contact-info li span {
        font-size: 1rem;
    }
    
    .whatsapp-button {
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-button a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .logo img {
        width: 180px;
    }
    
    .logo h1 {
        font-size: 1.8rem;
        line-height: 0.9;
    }
    
    .logo h2 {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .footer-logo img {
        width: 280px; /* Increased for mobile - much larger */
    }
    
    /* Footer logo spacing fix for mobile */
    .footer-logo {
        margin: 0;
        padding: 0;
    }

    /* Page header adjustments for mobile - volledig nieuwe consistente styling met !important */
    section.page-header,
    section.image-header {
        padding: 1.5rem 0 !important;
        min-height: 160px !important; /* Perfecte hoogte voor mobiel */
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        background: linear-gradient(to right, rgba(235, 96, 55, 0.95), rgba(217, 82, 43, 0.9)) !important;
    }
    
    /* Desert header krijgt zijn eigen mobiele styling met woestijnfoto */
    section.desert-header {
        padding: 2.5rem 0 !important;
        min-height: 250px !important;
        margin-top: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        background: url('images/dessert dubai.jpg') center center/cover no-repeat !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    
    .page-header h1,
    .desert-header h1,
    .image-header h1 {
        font-size: 2rem;
        margin-top: 0;
        margin-bottom: 0.75rem;
        font-weight: 600;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    .page-header p,
    .desert-header p,
    .image-header p {
        font-size: 1rem;
        padding: 0 1.5rem;
        line-height: 1.4;
        max-width: 90%;
        margin: 0 auto;
    }
    
    /* Mobile services grid adjustments */
    .services-grid {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .service-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
        margin-bottom: 1.5rem !important;
        padding: 1.5rem !important;
    }
    
    .services-grid .service-card:nth-child(4),
    .services-grid .service-card:nth-child(5) {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        margin-bottom: 1.5rem !important;
    }
    
    .service-card h3 {
        font-size: 1.3rem !important;
        min-height: auto !important;
        margin-bottom: 1rem !important;
    }
    
    .service-card p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }
    
    /* Enhanced mobile styles for the one-time services section */
    .one-time-services .service-price {
        padding: 1rem !important;
    }
    
    .one-time-services .service-price h4 {
        font-size: 1.2rem !important;
        white-space: normal !important;
        line-height: 1.4 !important;
        margin-bottom: 0 !important;
        color: white !important;
        font-weight: 600 !important;
    }
    
    .one-time-services .service-details {
        padding: 1.2rem !important;
    }
    
    .one-time-services .service-details h3 {
        font-size: 1.3rem !important;
        margin-bottom: 0.8rem !important;
        text-align: center !important;
        color: #333 !important;
        font-weight: 700 !important;
    }
    
    .one-time-services .service-details p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        min-height: auto !important;
    }
}

@media (max-width: 576px) {
    /* Small mobile hero adjustments */
    .hero {
        min-height: 40vh;
        padding: calc(56px + env(safe-area-inset-top, 0px)) 0 0 !important; /* extra top padding voor leesbaarheid */
    }
    
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.3rem;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
        line-height: 1.2;
        margin-bottom: 0.3rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        line-height: 1.3;
        margin-bottom: 0.7rem;
    }
    
    .hero-contact-form {
        padding: 2rem 1rem 2.2rem; /* extra ruimte op klein tablet/telefoon */
        margin: 0;
        max-height: none;
        overflow: visible;
        border-radius: 8px; /* hou afgerond op kleinere schermen */
        border: 1px solid var(--light-gray);
    }
    
    .hero-contact-form .btn {
        opacity: 1;
        background-color: var(--primary-color);
        color: var(--white);
        border: none;
        box-shadow: 0 4px 10px rgba(235, 96, 55, 0.2);
        z-index: 5; /* boven andere inhoud */
        padding: 12px;
        height: auto;
        border-radius: 4px;
        display: block;
        width: 100%;
    }
    
    .hero-contact-form h3 {
        font-size: 1.6rem;
    }
    
    .hero-contact-form p {
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-form-container {
        padding: 1.5rem 1rem;
    }
    
    .logo img {
        width: 160px;
    }
    
    .logo h1 {
        font-size: 1.6rem;
        line-height: 0.9;
    }
    
    .logo h2 {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .footer-logo img {
        width: 260px; /* Increased for smaller mobile - much larger */
    }
    
    /* Better mobile padding */
    .container {
        padding: 0 15px;
    }
    
    /* Smaller headings */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    /* Better spacing for sections */
    section {
        padding: 40px 0;
    }
    
    /* Reduce bottom padding on mobile menu items */
    .main-nav ul li a {
        padding: 12px 0;
    }
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes pulse-orange {
    0% {
        box-shadow: 0 0 0 0 rgba(235, 96, 55, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(235, 96, 55, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(235, 96, 55, 0);
    }
}

/* Page Header - Base styling voor alle headers */
section.page-header,
section.image-header {
    padding: 8rem 0 3rem;
    text-align: center;
    background: linear-gradient(to right, rgba(235, 96, 55, 0.9), rgba(217, 82, 43, 0.85));
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-top: 0;
    min-height: 180px; /* Desktop hoogte voor alle headers, consistent met service pagina */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Desert header krijgt zijn eigen styling met woestijnfoto */
section.desert-header {
    padding: 8rem 0 3rem;
    text-align: center;
    background: url('images/dessert dubai.jpg') center center/cover no-repeat !important;
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-top: 0;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-header h1,
.desert-header h1,
.image-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    padding: 0 1rem;
    margin-top: 4rem;
}

.page-header p,
.desert-header p,
.image-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    padding: 0 1rem;
}

/* Custom Solutions Section */
.custom-solutions {
    padding: 5rem 0;
    background-color: var(--white);
}

.custom-solutions-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.custom-solutions-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    position: relative;
}

.custom-solutions-content h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.custom-solutions-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.custom-solutions-list {
    margin: 2rem 0;
}

.custom-solutions-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-color);
}

.custom-solutions-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary-color);
    margin-right: 1rem;
}

.custom-solutions-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-solutions-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.custom-solutions-image:hover img {
    transform: scale(1.03);
}

.custom-solutions .btn {
    margin-top: 1rem;
    font-weight: 600;
    padding: 0.8rem 2rem;
}

@media (max-width: 992px) {
    .custom-solutions-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .custom-solutions-image {
        order: -1;
    }

    /* Process Steps Responsive Styles */
    .process-steps {
        padding: 3rem 1rem;
    }
    
    .process-container {
        flex-direction: column;
    }
    
    .step {
        width: 100%;
        margin-bottom: 2.5rem;
    }
    
    .step:last-child {
        margin-bottom: 0;
    }
    
    .step-number {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }
    
    .step-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Improve process steps on mobile */
    .process-steps {
        padding: 2rem 0.5rem;
    }
    
    .step-image {
        height: 180px;
    }
    
    .step-content h3 {
        font-size: 1.3rem;
    }
    
    .step-content p {
        font-size: 0.95rem;
    }
}

/* Standardized Contact Info Box */
.contact-info-box {
    padding: 2rem;
    border-radius: 8px;
    background-color: #4a3c30;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 2rem;
}

.contact-info-box h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.contact-info-box h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.contact-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-box ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.contact-info-box ul li i {
    margin-right: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
}

.contact-info-box ul li span {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.contact-info-box .contact-social {
    margin-top: 2rem;
}

.contact-info-box .contact-social h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-info-box .social-icons {
    display: flex;
    gap: 1rem;
}

.contact-info-box .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    transition: all 0.3s ease;
}

.contact-info-box .social-icons a:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(235, 96, 55, 0.3);
}

/* Contact links styling */
.contact-info li a,
.contact-info-box ul li a,
.footer-contact-box .contact-info li a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}

.contact-info li a:hover,
.contact-info-box ul li a:hover,
.footer-contact-box .contact-info li a:hover {
    color: var(--primary-color);
}

/* Footer contact box styling */
.footer-contact-box {
    background-color: #4a3c30;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    min-width: 320px;
    max-width: 100%;
}

.footer-contact-box h3 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
}

.footer-contact-box .contact-info li {
    margin-bottom: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-contact-box .contact-info li i {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.footer-contact-box .contact-info li span {
    color: rgba(255, 255, 255, 0.9);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Document titels */
title {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--primary-color);
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}

/* Touch optimization for mobile devices only */
@media (hover: none) and (pointer: coarse) {
    html, body {
        touch-action: manipulation;
    }
}

/* Remove the mobile menu overlay */
.main-nav.active::before {
    display: none;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
    background-color: var(--primary-color);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
    background-color: var(--primary-color);
}

/* Active menu item styling */
.main-nav ul li a.active {
    color: var(--primary-color);
    font-weight: 700;
}

/* Add space at top for the fixed header */
body {
    padding-top: 70px;
}

/* Mobile body padding - smaller for compact header */
@media (max-width: 992px) {
    body {
        padding-top: 50px !important; /* Nog verder verminderd voor compacte header */
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .service-card {
        flex: 0 0 calc(50% - 2rem);  /* Each card takes 1/2 of the grid on tablet */
        max-width: calc(50% - 2rem);  /* Maximum width for tablet */
        height: 320px;  /* Keep consistent height */
    }
    
    /* Reset specific positioning for tablet view */
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        margin: 0;
        flex: 0 0 calc(50% - 2rem);
        max-width: calc(50% - 2rem);
    }
}


@media (max-width: 768px) {
    .service-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        min-height: auto !important;
    }
    
    .service-card h3 {
        font-size: 1.3rem !important;
        min-height: auto !important;
    }
    
    .service-card p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
        -webkit-line-clamp: 4 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }
    
    .services-grid {
        gap: 1.5rem !important;
        padding: 1rem !important;
        margin: 0 auto !important;
        max-width: 600px !important;
    }
}

/* One-time Services Styling */
.one-time-services {
    padding: 3rem 0;
    background-color: var(--white);
}

.one-time-services .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem auto;
    max-width: 900px;
}

.one-time-services .service-item {
    display: flex;
    flex-direction: column;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 380px;
}

.one-time-services .service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.one-time-services .service-price {
    background-color: var(--primary-color);
    padding: 1.2rem;
    text-align: center;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.one-time-services .service-price h3 {
    color: var(--white);
    font-size: 1.4rem;
    margin: 0;
    line-height: 1.2;
}

.one-time-services .service-details {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background-color: var(--white);
}

.one-time-services .service-details h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    height: auto;
    min-height: 40px;
    display: flex;
    align-items: center;
}

.one-time-services .service-details p {
    color: var(--light-text);
    margin-bottom: 1.2rem;
    line-height: 1.5;
    flex-grow: 1;
    min-height: 80px;
    font-size: 0.95rem;
}

.one-time-services .service-details .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 0.8rem 1.5rem;
}

/* Mobile responsiveness for one-time services */
@media (max-width: 768px) {
    .one-time-services .services-grid {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
        padding: 0 1rem !important;
    }
    
    .one-time-services .service-item,
    .one-time-services .mobile-full-width {
        min-height: auto !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
        display: block !important;
        float: none !important;
    }
    
    .one-time-services .services-grid[style] {
        display: block !important;
        grid-template-columns: unset !important;
    }
    
    .one-time-services .service-price {
        padding: 1rem !important;
    }
    
    .one-time-services .service-price h3 {
        font-size: 1.2rem !important;
        white-space: normal !important;
        line-height: 1.4 !important;
    }
    
    .one-time-services .service-details {
        padding: 1.2rem !important;
    }
    
    .one-time-services .service-details h4 {
        font-size: 1.2rem !important;
        min-height: auto !important;
        margin-bottom: 0.8rem !important;
    }
    
    .one-time-services .service-details p {
        font-size: 0.95rem !important;
        margin-bottom: 1rem !important;
        min-height: auto !important;
    }
    
    .one-time-services .service-col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }
    
    /* New styles for rearranged service cards */
    .one-time-services .service-item {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .one-time-services .service-item .btn {
        width: 100% !important;
        margin-top: 0 !important;
    }
}

/* Mobile responsiveness for pricing grid */
@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-card:first-child,
    .pricing-card.featured,
    .pricing-card.gold {
        transform: scale(1);
    }
    
    .pricing-card:first-child:hover,
    .pricing-card.featured:hover,
    .pricing-card.gold:hover {
        transform: translateY(-10px);
    }
}

/* Values Grid Layout - 4 cards in a row */
.values-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
}

.value-card {
    background-color: var(--white);
    padding: 1.5rem !important;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

.value-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    height: 60px;
    width: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: rgba(235, 96, 55, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.value-card p {
    color: var(--light-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive adjustments for values grid */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* Process CTA section */
.process-cta {
    text-align: center;
    margin-top: 0;
    margin-bottom: 4rem;
    padding: 2.5rem;
    background-color: var(--off-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.process-cta h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.process-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(235, 96, 55, 0.2);
    letter-spacing: 0.5px;
}

.process-cta .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(235, 96, 55, 0.3);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem 0 1.5rem;  /* Added top padding of 1.5rem */
    color: var(--light-text);
}

/* About CTA section */
.about-cta {
    background-color: var(--off-white);
    padding: 5rem 0;
    text-align: center;
    margin-top: 2rem;
}

.about-cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-cta-content h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-cta-content p {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta-content .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(235, 96, 55, 0.2);
    letter-spacing: 0.5px;
}

.about-cta-content .btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(235, 96, 55, 0.3);
}

.footer-logo-image {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin-top: 0;
    margin-bottom: 0;
    background-color: transparent;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .footer-logo-image {
        max-width: 400px; /* Much larger for mobile */
        margin: 0 auto;
    }
    
    /* Footer logo image spacing fix for mobile */
    .footer-logo-image {
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .footer-logo-image {
        max-width: 350px; /* Much larger for smaller mobile */
        margin: 0 auto;
    }
    
    /* Footer logo image spacing fix for smaller mobile */
    .footer-logo-image {
        margin-top: 0;
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    /* Footer Quick Links - single column on mobile */
    .footer-section ul {
        grid-template-columns: 1fr !important;
        gap: 0.8rem 0 !important; /* meer ruimte tussen items */
    }
    
    /* Extra ruimte tussen social icons en Quick Links op mobiel */
    .social-links {
          margin-bottom: 3rem !important;
      }
     
      /* Extra ruimte tussen Tax Advice en Contact Us op mobiel */
      @media (max-width: 768px) {
          .footer-section:nth-child(3) h3 {
              margin-top: 2.5rem !important; /* Contact Us heading krijgt extra ruimte boven */
          }
      }
      
      /* Reset grid positioning for mobile - alles in één kolom */
    .footer-section ul li:nth-child(1),
    .footer-section ul li:nth-child(2),
    .footer-section ul li:nth-child(3),
    .footer-section ul li:nth-child(4),
    .footer-section ul li:nth-child(5),
    .footer-section ul li:nth-child(6),
    .footer-section ul li:nth-child(7),
    .footer-section ul li:nth-child(8),
    .footer-section ul li:nth-child(9) {
        grid-column: 1 !important;
        grid-row: auto !important;
    }
    
    /* Footer bottom text tablet optimization */
    .footer-bottom p {
        font-size: 0.85rem;
        padding: 0 1rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    /* Kleinere schermen krijgen een iets compactere header met !important */
    section.page-header,
    section.image-header {
        min-height: 150px !important;
        padding: 1.5rem 0 !important;
        background: linear-gradient(to right, rgba(235, 96, 55, 0.95), rgba(217, 82, 43, 0.9)) !important;
    }
    
    /* Desert header krijgt zijn eigen styling voor kleinere schermen */
    section.desert-header {
        min-height: 220px !important;
        padding: 2.5rem 0 !important;
        background: url('images/dessert dubai.jpg') center center/cover no-repeat !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
    .page-header p,
    .desert-header p,
    .image-header p {
        font-size: 0.95rem;
        word-break: break-word;
        white-space: normal;
        padding: 0 1rem;
        margin: 0 auto;
        max-width: 95%;
    }
    .page-header h1,
    .desert-header h1,
    .image-header h1 {
        font-size: 1.6rem;
        padding: 0 0.5rem;
        margin-top: 0;
        margin-bottom: 0.5rem;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    }
    
    /* Footer bottom text mobile optimization */
    .footer-bottom p {
        font-size: 0.8rem;
        padding: 0 1rem;
        line-height: 1.4;
        word-break: break-word;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .hero {
        min-height: 35vh;
        padding: 0.5rem 0 0;
    }
    
    .hero-content h1 {
        font-size: 1.7rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-content h2 {
        font-size: 1.1rem;
        margin-bottom: 0.2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-contact-form {
        max-height: none;
        overflow: visible;
        padding: 1.8rem 0.9rem 2rem; /* kleinste schermen: toch voldoende ruimte */
        margin: 0;
        border-radius: 8px;
        border: 1px solid var(--light-gray);
    }
    
    .hero-contact-form textarea {
        min-height: 60px;
    }
    
    .hero-contact-form .btn {
        opacity: 1;
        background-color: var(--primary-color);
        color: var(--white);
        border: none;
        box-shadow: 0 4px 10px rgba(235, 96, 55, 0.2);
        font-weight: 500;
        padding: 12px;
        z-index: 3;
        position: relative;
        margin-bottom: 10px;
        height: auto;
        border-radius: 4px;
        display: block;
        width: 100%;
    }
    
    .hero-contact-form h3 {
        font-size: 1.3rem;
        margin-bottom: 0.7rem;
    }
    
    .hero-contact-form p {
        font-size: 0.85rem;
    }
}

/* iPhone X, 11, 12, 13, 14 Pro with notch/dynamic island */
@media only screen 
and (device-width: 375px) 
and (device-height: 812px) 
and (-webkit-device-pixel-ratio: 3),
only screen 
and (device-width: 390px) 
and (device-height: 844px) 
and (-webkit-device-pixel-ratio: 3),
only screen 
and (device-width: 428px) 
and (device-height: 926px) 
and (-webkit-device-pixel-ratio: 3) {
    .hero {
        padding-top: env(safe-area-inset-top, 1rem);
        min-height: 30vh;
    }
    
    .hero-contact-form {
        max-height: 70vh; /* altijd binnen hero houden */
        padding-bottom: calc(env(safe-area-inset-bottom, 0.2rem) + 1rem);
        margin: 0;
        border-radius: 0;
        overflow: auto; /* intern scrollen, binnen hero blijven */
        -webkit-overflow-scrolling: touch; /* vloeiend scrollen op iOS */
    }
    
    /* Verberg teaser-overlay om knop niet te bedekken */
    .hero-contact-form::after {
        display: none;
    }
    
    .hero-contact-form textarea {
        min-height: 80px;
    }
    
    /* Show send button with full opacity */
    .hero-contact-form .btn {
        opacity: 1;
        background-color: var(--primary-color);
        color: var(--white);
        border: none;
        box-shadow: 0 4px 10px rgba(235, 96, 55, 0.2);
        z-index: 3;
        position: relative;
        padding: 12px;
        margin-bottom: 10px;
        height: auto;
        border-radius: 4px;
        display: block;
        width: 100%;
    }
} 

/* Fallback voor kleine schermen (universeel) om knop altijd zichtbaar te houden */
@media (max-width: 430px) {
    .hero-contact-form {
        overflow: auto; /* intern scrollen, binnen hero */
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    .hero-contact-form::after {
        display: none;
    }
}