/* MaxMobiel Custom Styles - Extracted from original HTML */

:root {
    --primary-blue: #268BBD;
    --primary-orange: #EF781A;
    --dark-blue: #246ec2;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --white: #ffffff;
}

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

/* Noto Sans Font Styles */
.noto-sans-regular {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.noto-sans-medium {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.noto-sans-semibold {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

.noto-sans-bold {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

body {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 9999;
    height: 80px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-contact {
    display: flex;
    align-items: center;
    margin-left: 30px;
    font-weight: 600;
}

.header-contact a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-orange);
    transition: color 0.3s;
    font-size: 16px;
}

.header-contact a:hover {
    opacity: 0.9;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

/* Header button specific styles */
.header-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    text-align: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-image {
    height: 45px;
    width: auto;
    display: block;
}

/* Navigation Styles */
nav {
    margin-left: auto;
    margin-right: 30px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
    font-family: "Noto Sans", sans-serif;
}

nav ul li a:hover {
    color: var(--primary-blue);
}

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

nav ul li a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    margin-left: auto;
    margin-right: 15px;
    z-index: 1000;
    background: none;
    border: none;
    padding: 0;
}

.hamburger-icon {
    font-size: 24px;
    color: var(--dark-gray);
    margin-right: 6px;
    vertical-align: middle;
}

.menu-text {
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 16px;
    vertical-align: middle;
    position: relative;
    top: 1px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    padding: 20px 0;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    padding: 10px 30px;
    border-bottom: 1px solid #eee;
}

.mobile-nav ul li:last-child {
    border-bottom: none;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-family: "Noto Sans", sans-serif;
    display: block;
}

.mobile-nav.active {
    display: block;
}

/* Button Styles - Volkswagen Inspired */
.contact-button, .cta-button, .popup-submit, .thank-you-close, .video-link {
    /* Orange Button - Style 1 */
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary-orange);
    box-shadow: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    font-family: "Noto Sans", sans-serif;
}

.contact-button:hover, .cta-button:hover, .popup-submit:hover, .thank-you-close:hover, .video-link:hover {
    background-color: var(--white);
    color: var(--primary-orange);
    box-shadow: none;
    transform: none;
}

.test-drive-button, .proefrit-button {
    /* Blue Button - Style 2 */
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 12px 24px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary-blue);
    box-shadow: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-right: 5px;
    font-family: "Noto Sans", sans-serif;
}

.test-drive-button:hover, .proefrit-button:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: none;
    transform: none;
}

/* Phone icon style - simplified */
.phone-icon {
    display: inline-block;
    font-size: 0.9em;
    margin-right: 5px;
}

/* Call button style - now using the blue button style */
.call-button {
    background-color: var(--white);
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    margin-right: 5px;
    position: relative;
    z-index: 1;
}

.call-button:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Occasions button style - now using the orange button style */
.occasions-button {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary-orange);
    box-shadow: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-right: 10px;
}

.occasions-button:hover {
    background-color: var(--white);
    color: var(--primary-orange);
    box-shadow: none;
    transform: none;
}

/* Footer link style */
.footer-link {
    color: var(--primary-orange) !important;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: inline-block;
    transform: scale(1);
    margin: 0 5px;
}

.footer-link:hover {
    background-color: rgba(239, 120, 26, 0.1);
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Social Media Icons */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    transform: scale(1);
}

.social-icon:hover {
    transform: scale(1.2);
    background-color: rgba(255, 255, 255, 0.2);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-text-container {
    max-width: 500px;
}

.hero-logo {
    width: 250px;
    height: auto;
    margin-bottom: 30px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.hero p {
    font-size: 22px;
    margin-bottom: 10px;
    font-weight: 500;
}

.hero p.hero-subtitle {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: "Noto Sans", sans-serif;
}

/* Promo Video Button - now using the standard button style */
.promo-video-button {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
    box-shadow: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.promo-video-button:hover {
    background-color: var(--white);
    color: var(--primary-orange);
    box-shadow: none;
    transform: none;
}

/* USP Section */
.usp-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
}

.section-title p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}


.usp-card {
    background-color: var(--light-gray);
    border-radius: 0;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.usp-icon {
    font-size: 48px;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.usp-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.usp-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}

/* About Section */
.about-section {
    padding: 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.about-image {
    overflow: hidden;
    height: 100%;
    margin: 0;
    padding: 2% 0 2% 2%;
}

.about-content {
    padding: 80px 50px;
}

/* Simple Slider Styles */
.simple-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 0;
}

#slider-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.5s ease;
    max-height: 500px;
    border-radius: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--dark-gray);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d3d3d3;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background-color: rgba(239, 108, 0, 0.5);
    transform: scale(1.2);
}

.about-content h2 {
    font-size: 36px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
}

.about-content p {
    margin-bottom: 20px;
}

/* Combined Background Section */
.combined-bg-section {
    position: relative;
    background-color: transparent;
    padding: 0;
}

.combined-bg-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://maxmobiel.nl/images/Hero_Max.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: -2;
}

.combined-bg-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: -1;
}

/* Enhance text legibility in combined section */
.combined-bg-section h2 {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
}

.combined-bg-section p {
    font-weight: 500;
}

.combined-bg-section .spec-item {
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background-color: transparent;
}

/* Specs Section */
.specs-section {
    padding: 80px 0;
    background-color: transparent;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.spec-item {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.spec-item h3 {
    font-size: 20px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}

.spec-item p {
    font-size: 18px;
    font-weight: 600;
}

/* Acquisition Section */
.acquisition-section {
    padding: 80px 0;
    background-color: var(--white);
}

.combined-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.grid-card {
    background-color: var(--light-gray);
    border-radius: 0;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.grid-card h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background-color: var(--white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background-size: cover;
    background-position: center;
    border-radius: 0;
    padding: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateY(0);
    cursor: pointer;
    position: relative;
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.video-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 0;
    z-index: 1;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.video-card h3 {
    font-size: 22px;
    color: var(--white);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}

.video-card p {
    color: var(--white);
    position: relative;
    z-index: 2;
}

.video-link {
    display: inline-block;
    margin-top: 15px;
    position: relative;
    z-index: 2;
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 28px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
    box-shadow: none;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.video-link:hover {
    background-color: var(--white);
    color: var(--primary-orange);
    box-shadow: none;
    transform: none;
}

/* Video Popup */
.video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.video-popup-container {
    position: relative;
    width: 90%;
    max-width: 800px;
    background-color: black;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2001;
    transition: all 0.3s ease;
}

.video-popup-close:hover {
    background-color: var(--primary-orange);
    transform: scale(1.1);
}

.video-player {
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonial Section */
.testimonial-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 0;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-blue);
}

/* Price Section Styles */
.price-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.price-table {
    max-width: 800px;
    margin: 40px auto;
    background-color: white;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.price-row {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:nth-child(odd) {
    background-color: #f5f9ff;
}

.price-item {
    flex: 2;
    font-weight: 600;
    color: var(--dark-gray);
}

.price-value {
    flex: 1;
    font-weight: 700;
    font-size: 20px;
    color: var(--primary-blue);
    text-align: left;
    font-variant-numeric: tabular-nums;
    position: relative;
    padding-left: 10px;
}

/* Style for aligning Euro signs */
.price-currency {
    display: inline-block;
    width: 15px;
    text-align: left;
    margin-right: 2px;
}

.price-note {
    flex: 1;
    color: var(--dark-gray);
    text-align: right;
    font-size: 14px;
    font-weight: 500;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--primary-blue);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 700;
}

.contact-item {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-icon {
    margin-right: 15px;
    font-size: 24px;
}

.contact-text h3 {
    font-size: 20px;
    margin-bottom: 5px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

.footer-content p {
    margin-bottom: 10px;
}

/* Pop-up Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-container {
    background-color: white;
    padding: 30px;
    border-radius: 0;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-gray);
}

.popup-title {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    text-align: center;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}

.popup-form-group {
    margin-bottom: 15px;
}

.popup-form-group input {
    width: 100%;
    padding: 12px;
    border-radius: 0;
    border: 1px solid #ddd;
}

.popup-submit {
    background-color: var(--primary-blue);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
}

.popup-submit:hover {
    background-color: var(--dark-blue);
}

/* Thank You Message */
.thank-you-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2001;
    text-align: center;
    display: none;
}

.thank-you-popup h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-family: "Noto Sans", sans-serif;
    font-weight: 600;
}

.thank-you-popup p {
    margin-bottom: 20px;
}

.thank-you-close {
    background-color: var(--primary-blue);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 1125px) {
    .hamburger-menu {
        display: block !important;
    }
    
    nav {
        display: none !important;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .header-left {
        flex: 1;
        justify-content: center;
    }
    
    .logo {
        margin: 0 auto;
    }
    
    .header-buttons {
        flex: 0 0 auto;
        margin-left: auto;
    }
    
    .header-contact {
        display: none !important;
    }
    
    .vehicle-cards-grid {
        grid-template-columns: 1fr !important;
    }
    
    .vehicle-card {
        height: 350px !important;
        background-position: center !important;
    }
    
    .vehicle-card.left-card {
        padding: 30px 30px 30px 0 !important;
    }
    
    .vehicle-card.right-card {
        padding: 30px 0 30px 30px !important;
    }
    
    .vehicle-cards-section {
        padding: 40px 0 !important;
    }
    
    .vehicle-card-content {
        max-width: 90% !important;
    }
    
    .vehicle-card.left-card,
    .vehicle-card.right-card {
        text-align: center !important;
        align-items: center !important;
        padding: 30px !important;
    }
    
    .vehicle-card-content {
        max-width: 80% !important;
        margin: 0 auto !important;
    }
    
    .vehicle-card h3 {
        font-size: 28px !important;
    }
    
    .vehicle-link {
        font-size: 14px !important;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 736px) {
    .occasions-button, .test-drive-button {
        padding: 5px 10px;
        font-size: 10px;
        height: 28px;
        line-height: 1;
    }
    
    .price-section .occasions-button {
        padding: 12px 24px;
        font-size: 14px;
        height: auto;
        line-height: 1.6;
    }
    
    .about-image {
        padding: 0;
    }
    
    .simple-slider {
        border-radius: 0;
    }
    
    .about-content p {
        text-align: justify;
    }
}

@media (max-width: 768px) {
    .hero-logo {
        width: 220px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title h2 {
        font-size: 30px;
    }
    
    header {
        height: auto;
        padding: 15px 0;
    }
    
    .header-container {
        padding: 0 20px;
    }
    
    .header-left {
        width: auto;
        justify-content: flex-start;
    }
    
    .header-contact {
        margin-left: 0;
        display: none;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .test-drive-button, .occasions-button {
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media screen and (max-width: 900px) {
    .usp-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 25px;
    }
    
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 600px) {
    .usp-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    .usp-card {
        padding: 25px;
        margin-bottom: 10px;
    }
    
    .usp-icon img {
        width: 60px;
        height: 60px;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .specs-grid,
    .audience-grid,
    .acquisition-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

.hero .proefrit-button:hover {
    background-color: var(--primary-blue) !important;
    color: white !important;
    border-color: var(--primary-blue) !important;
}

#ontdek-max-btn {
    background-color: var(--primary-orange);
    color: var(--white);
    border: 2px solid var(--primary-orange);
    transition: all 0.3s ease;
}

#ontdek-max-btn:hover {
    background-color: transparent !important;
    color: var(--primary-orange) !important;
}

@media screen and (max-width: 500px) {
    .usp-grid {
        grid-template-columns: 1fr !important;
    }
    
    .vehicle-cards-grid {
        gap: 10px !important;
    }
    
    .vehicle-card {
        height: 280px !important;
        padding: 20px !important;
    }
    
    .vehicle-card h3 {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }
    
    .vehicle-link {
        font-size: 12px !important;
        margin-bottom: 5px !important;
    }
    
    .vehicle-cards-section {
        padding: 30px 0 !important;
    }
    
    .vehicle-card-content {
        max-width: 90% !important;
    }
}

@media screen and (max-width: 480px) {
    .test-drive-button {
        display: none !important;
    }
}

@media screen and (min-width: 501px) and (max-width: 800px) {
    .usp-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

.vehicle-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.vehicle-card {
    position: relative;
    height: 400px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px;
    color: var(--dark-gray);
    overflow: hidden;
    border-radius: 0;
    background-color: transparent;
}

.vehicle-card.left-card {
    align-items: flex-end;
    text-align: right;
}

.vehicle-card.right-card {
    align-items: flex-start;
    text-align: left;
}

.vehicle-card-content {
    position: relative;
    width: auto;
    max-width: 60%;
}

.vehicle-card h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
    text-transform: uppercase;
    font-family: "Noto Sans", sans-serif;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.vehicle-card p {
    font-size: 18px;
    margin-bottom: 10px;
    max-width: 80%;
}

.vehicle-links {
    margin-top: 20px;
}

.vehicle-link {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 16px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.vehicle-link:hover {
    color: #268BBD;
}
/* ========================================
   OCCASIONS PAGE STYLES
   ======================================== */

/* Main Content Area */
.main-content {
    padding-top: 100px;
    min-height: 60vh;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-title h1 {
    font-size: 42px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.page-title p {
    font-size: 18px;
    color: var(--dark-gray);
}

/* Occasions List Styles */
.occasions-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.occasion-item {
    display: flex;
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 500px;
}

.occasion-image {
    flex: 0 0 50%;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.occasion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.occasion-image:hover img {
    transform: scale(1.05);
}

.occasion-image::after {
    content: "Klik voor meer foto's";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.occasion-image:hover::after {
    opacity: 1;
}

.occasion-details {
    flex: 0 0 50%;
    padding: 25px;
    display: flex;
    flex-direction: column;
}

.occasion-title {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.occasion-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.occasion-specs .spec-item {
    display: flex;
    flex-direction: column;
    background: none;
    padding: 0;
}

.occasion-specs .spec-label {
    font-size: 14px;
    color: var(--dark-gray);
    opacity: 0.7;
    margin-bottom: 2px;
}

.occasion-specs .spec-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
}

.occasion-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 10px;
}

.occasion-lease {
    font-size: 16px;
    margin-bottom: 20px;
}

.short-description, .full-description {
    margin-bottom: 20px;
    position: relative;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-blue);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: block;
    text-align: left;
    margin-top: 5px;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

.read-more:hover {
    text-decoration: underline;
}

.occasion-description {
    margin-bottom: 30px;
}

.occasion-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.occasion-actions .contact-button {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary-orange);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.occasion-actions .contact-button:hover {
    background-color: var(--white);
    color: var(--primary-orange);
}

.occasion-actions .test-drive-button {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary-blue);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-right: 0;
}

.occasion-actions .test-drive-button:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.occasion-actions .view-occasion-button {
    background-color: var(--white);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 24px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid var(--primary-blue);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    margin-right: 0;
}

.occasion-actions .view-occasion-button:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

/* Image Slider Popup Styles */
.image-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.image-popup-container {
    position: relative;
    width: 80%;
    max-width: 1000px;
    height: 80%;
}

.image-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-popup-close:hover {
    background-color: var(--primary-orange);
}

.image-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

#popup-slider-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.5s ease;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--dark-gray);
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-orange);
    border-color: var(--primary-orange);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

/* Responsive Styles for Occasions Page */
@media (max-width: 768px) {
    .occasion-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .occasion-image,
    .occasion-details {
        flex: 0 0 100%;
    }
    
    .occasion-specs {
        grid-template-columns: 1fr;
    }
    
    .occasion-actions {
        flex-direction: column;
    }
    
    .occasion-actions a {
        width: 100%;
        text-align: center;
    }
}

/* ========================================
   CONTACT FORM 7 STYLING
   ======================================== */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 0;
    border: none;
    font-family: 'Noto Sans', sans-serif;
    font-size: 14px;
}

.wpcf7-form select {
    background-color: white;
    cursor: pointer;
}

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

.wpcf7-form input[type="submit"] {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--white);
    color: var(--primary-orange);
}

.wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px;
    border-radius: 5px;
    border: none;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.wpcf7-validation-errors,
.wpcf7-acceptance-missing {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.wpcf7-not-valid-tip {
    color: #721c24;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.wpcf7-spinner {
    margin-left: 10px;
}

/* Contact Form Fields Container */
.contact-form-fields {
    width: 100%;
}


/* ============================================
   CONTACT FORM 7 - ENHANCED STYLING
   ============================================ */

/* Form Fields Base Styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 0;
    border: 1px solid #ddd;
    font-family: 'Noto Sans', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: white;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(38, 139, 189, 0.1);
}

.wpcf7-form select {
    background-color: white;
    cursor: pointer;
}

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

/* Submit Button Styling */
.wpcf7-form input[type="submit"] {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 28px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-orange);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    font-family: 'Noto Sans', sans-serif;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--white);
    color: var(--primary-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 120, 26, 0.3);
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* Loading State */
.wpcf7-form.submitting input[type="submit"] {
    background-color: #ccc;
    border-color: #ccc;
    color: #666;
    cursor: not-allowed;
    position: relative;
    pointer-events: none;
}

.wpcf7-form.submitting input[type="submit"]::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Response Messages Container */
.wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    position: relative;
    animation: slideDown 0.5s ease;
}

/* Success Message */
.wpcf7-mail-sent-ok {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left: 4px solid #28a745;
    color: #155724;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
}

.wpcf7-mail-sent-ok::before {
    content: "✓ ";
    font-size: 24px;
    margin-right: 10px;
    display: inline-block;
    animation: checkmark 0.5s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Error Messages */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng,
.wpcf7-aborted {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border-left: 4px solid #dc3545;
    color: #721c24;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
    animation: shake 0.5s ease;
}

.wpcf7-validation-errors::before,
.wpcf7-mail-sent-ng::before,
.wpcf7-aborted::before {
    content: "⚠ ";
    font-size: 24px;
    margin-right: 10px;
    display: inline-block;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Spam Detected */
.wpcf7-spam-blocked {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-left: 4px solid #ffc107;
    color: #856404;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.2);
}

.wpcf7-spam-blocked::before {
    content: "🛡️ ";
    font-size: 24px;
    margin-right: 10px;
    display: inline-block;
}

/* Field Validation Errors */
.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
    display: block;
    animation: fadeIn 0.3s ease;
}

.wpcf7-form-control.wpcf7-not-valid {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.wpcf7-form-control.wpcf7-not-valid:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Acceptance Checkbox */
.wpcf7-list-item {
    margin: 0;
}

.wpcf7-list-item-label {
    font-size: 14px;
    color: #666;
}

.wpcf7-acceptance input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/* File Upload */
.wpcf7-form input[type="file"] {
    padding: 8px;
    border: 2px dashed #ddd;
    background-color: #f9f9f9;
    cursor: pointer;
}

.wpcf7-form input[type="file"]:hover {
    border-color: var(--primary-blue);
    background-color: #f0f8ff;
}

/* Proefrit Form Specific Styling */
.proefrit-form-fields {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form input[type="tel"],
    .wpcf7-form input[type="date"],
    .wpcf7-form select,
    .wpcf7-form textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .wpcf7-response-output {
        padding: 15px;
        font-size: 14px;
    }
    
    .wpcf7-form input[type="submit"] {
        width: 100%;
        padding: 15px;
    }
    
    .proefrit-form-fields {
        padding: 20px 15px;
    }
}

/* Accessibility Improvements */
.wpcf7-form input:focus-visible,
.wpcf7-form select:focus-visible,
.wpcf7-form textarea:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

/* Screen Reader Only */
.wpcf7-screen-reader-response {
    position: absolute;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

/* Print Styles */
@media print {
    .wpcf7-form input[type="submit"] {
        display: none;
    }
    
    .wpcf7-response-output {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}


/* ============================================
   PROEFRIT MODAL STYLING
   ============================================ */

/* Modal Overlay */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
}

.modal.active {
    display: block;
}

/* Modal Content Container */
.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Modal Title */
.modal-content h2 {
    color: var(--primary-blue);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-align: center;
}

/* Modal Description */
.modal-description {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 25px 0;
    text-align: center;
}

/* Close Button */
.modal .close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
}

.modal .close:hover,
.modal .close:focus {
    color: var(--primary-orange);
    background-color: rgba(239, 120, 26, 0.1);
}

/* Modal Form Styling */
.modal-content .wpcf7-form {
    margin-top: 20px;
}

.modal-content .wpcf7-form input[type="text"],
.modal-content .wpcf7-form input[type="email"],
.modal-content .wpcf7-form input[type="tel"],
.modal-content .wpcf7-form input[type="date"],
.modal-content .wpcf7-form textarea {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.modal-content .wpcf7-form input:focus,
.modal-content .wpcf7-form textarea:focus {
    background-color: white;
}

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

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

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 30px 20px;
    }
    
    .modal-content h2 {
        font-size: 24px;
    }
    
    .modal-description {
        font-size: 14px;
    }
    
    .modal .close {
        right: 15px;
        top: 15px;
        font-size: 28px;
    }
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Modal Success Message Styling */
.modal-content .wpcf7-response-output {
    margin-top: 20px;
}

/* Ensure modal is above other elements */
.modal {
    z-index: 99999 !important;
}

/* ============================================
   reCAPTCHA STYLING
   ============================================ */

/* reCAPTCHA Container */
.wpcf7-form .g-recaptcha {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

/* Center reCAPTCHA on mobile and scale if needed */
@media (max-width: 768px) {
    .wpcf7-form .g-recaptcha {
        transform: scale(0.85);
        transform-origin: center center;
        margin: 15px 0;
    }
}

@media (max-width: 480px) {
    .wpcf7-form .g-recaptcha {
        transform: scale(0.77);
        transform-origin: center center;
    }
}

/* Modal reCAPTCHA specific styling */
.modal .wpcf7-form .g-recaptcha {
    margin: 20px auto;
}
