/* ===============================================
   THEMMEN HEFTRUCKS - MAIN STYLESHEET
   =============================================== */

/* =================================
   CSS VARIABLES (ROOT)
   ================================= */
:root {
    --primary-color: #dc3545;
    --primary-hover: #c82333;
    --primary-border: #bd2130;
    --primary-click: #d23f49;
    --sand-color: #F5F5DC;
    --white-color: #FFFF;
    --alt-bg: #f8f9fa;
    --text-muted: #6c757d;
    --transition-speed: 0.3s;
}

/* =================================
   GLOBAL RESET & BASE STYLES
   ================================= */
html,
body,
th,
td {
    font-family: 'Raleway', sans-serif;
}

/* Typography */
h1 {
    font-family: 'Bitter', sans-serif;
    font-wight: 800;
    font-family: var(--font-h1);
    font-weight: 600;
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: 0;
    margin-bottom: 1.5rem;
}

h2 {
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

h3 {
    font-weight: 600;
}

h4 {
    font-weight: 500;
}

h5 {
    font-weight: 500;
}

h6 {
    font-weight: 400;
}

p {
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #555;
}

body {
    font-size: 19px;
}

/* Links */
a {
    text-decoration: none;
    color: var(--primary-color);
}

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

/* =================================
   UTILITY CLASSES
   ================================= */



.h-red {

    color: #FF0000";

}



.bg-alt {
    background-color: var(--alt-bg);
}

.bg-sand {
    background-color: var(--sand-color);
    color: #333;
    margin: 0;
}

.text-danger {

    color: #d23f49;
}





/*
=================================BUTTON STYLES=================================
*/ 

.btn-danger {
    font-family: Bitter, sans-serif;
    font-size: 1.3rem;
    line-height: 2 !important;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .01em;
    border-radius: .2em;
    padding: .8em 1.8em;
    background: #d23f49;
    border: 0px;
    color: #f5f5f5 !important;
}

.btn-dark {
    font-family: Bitter, sans-serif;
    font-size: 1.3rem;
    line-height: 2 !important;
    font-weight: 600;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: .01em;
    border-radius: .2em;
    padding: 1rem !important;
    border: 0px;
    color: #f5f5f5 !important;
}


.hero-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    transition: all var(--transition-speed) ease;
}

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

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

.btn-primary:disabled {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    opacity: 0.8;
}

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

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

/* =================================
   NAVIGATION STYLES
   ================================= */


#navbarContent {
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    background: none !important;
}

/* Dropdown Menus */
.dropdown-menu {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 5px;
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    color: #333;
    border-bottom: 1px solid #f8f9fa;
}

.dropdown-item:hover {
    background-color: var(--alt-bg);
    color: var(--primary-color);
}

.dropdown-toggle::after {
    margin-left: 0.5em;
    vertical-align: 0.2em;
}

/* Top Menu Animation - ALLEEN OP HOMEPAGE */
@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Menu animaties alleen op homepage */
.home-page .top-menu {
    font-family: "Bitter", 'Raleway', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    animation: none;
}

.home-page .container-fluid {
    animation: slideInFromLeft 2s ease-in-out forwards;
}

/* Voor alle andere pagina's: normale weergave */
body:not(.home-page) .top-menu {
    font-family: "Bitter", 'Raleway', Tahoma, Geneva, Verdana, sans-serif;
}

/* Content animaties alleen op homepage */
.home-page .animate-slide-left,
.home-page .animate-slide-right,
.home-page .animate-slide-top {
    opacity: 0;
    transition: all 0.8s ease-out;
}

.home-page .animate-slide-left {
    transform: translateX(-100px);
}

.home-page .animate-slide-right {
    transform: translateX(100px);
}

.home-page .animate-slide-top {
    transform: translateY(-50px);
}

.home-page .animate-slide-left.animate-in,
.home-page .animate-slide-right.animate-in,
.home-page .animate-slide-top.animate-in {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Delays voor staggered animations */
.home-page .animate-delay-1 {
    transition-delay: 0.2s;
}

.home-page .animate-delay-2 {
    transition-delay: 0.4s;
}

.home-page .animate-delay-3 {
    transition-delay: 0.6s;
}

.home-page .animate-delay-4 {
    transition-delay: 0.8s;
}

.home-page .animate-delay-5 {
    transition-delay: 1.0s;
}

/* Voor andere pagina's: geen animaties */
body:not(.home-page) .animate-slide-left,
body:not(.home-page) .animate-slide-right,
body:not(.home-page) .animate-slide-top {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* =================================
   RESPONSIVE NAVIGATION
   ================================= */
@media (max-width: 1320px) {

    .accordion {
        display: block !important;

    }


    #navbarcontent,
    .dropdown {
        display: none;

    }

    .dropdown-menu {
        z-index: 999;
        position: relative;
    }

    .navbar-collapse {

        background-color: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .top-menu,
    .bottom-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        width: 100%;
        box-shadow: none;
        border: none;
        background: var(--alt-bg);
        margin-left: 1rem;
    }


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

/* Header responsiveness for medium devices */
@media (max-width: 1222px) {

    .accordion {
        display: block !important;

    }

    .navbar-collapse {
        background-color: var(--white-color);
    }

}

.btn {
    padding: 0.8rem 1.8rem !important;
}

/* =================================
   FOOTER STYLES
   ================================= */
.themmen-footer {
    background-color: #bc926b;
    color: white;
    padding: 3rem 0 2rem;
}

footer h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

footer a {
    color: color(--color-content-link-hover);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

footer a:hover {
    color(--color-content-link-hover);
    text-decoration: none;
}

footer address {
    font-style: normal;
    line-height: 2.8;
}

footer .list-unstyled {
    line-height: 2.8;
}

/* =================================
   HERO SECTION ANIMATIONS
   ================================= */
@keyframes slideUpFade {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.col-lg-3:nth-child(1) {
    animation: slideUpFade 0.8s ease-out 0.2s both;
}

.col-lg-3:nth-child(2) {
    animation: slideUpFade 0.8s ease-out 0.4s both;
}

.col-lg-3:nth-child(3) {
    animation: slideUpFade 0.8s ease-out 0.6s both;
}

.col-lg-3:nth-child(4) {
    animation: slideUpFade 0.8s ease-out 0.8s both;
}

.scroll-trigger {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-buttons {
    gap: 1rem;
}

@media (max-width: 768px) {
    .col-lg-3 {
        margin-bottom: 1rem;
    }
}

.hero-content {
    position: relative;
}

@keyframes triggerChildren {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content[style*="--trigger"] .col-lg-3:nth-child(1) {
    animation: triggerChildren 0.8s ease-out 0.2s forwards;
}

.hero-content[style*="--trigger"] .col-lg-3:nth-child(2) {
    animation: triggerChildren 0.8s ease-out 0.4s forwards;
}

.hero-content[style*="--trigger"] .col-lg-3:nth-child(3) {
    animation: triggerChildren 0.8s ease-out 0.6s forwards;
}

.hero-content[style*="--trigger"] .col-lg-3:nth-child(4) {
    animation: triggerChildren 0.8s ease-out 0.8s forwards;
}

.hero-content.loaded .col-lg-3:nth-child(1) {
    animation: slideUpFade 0.8s ease-out 0.2s both;
}

.hero-content.loaded .col-lg-3:nth-child(2) {
    animation: slideUpFade 0.8s ease-out 0.4s both;
}

.hero-content.loaded .col-lg-3:nth-child(3) {
    animation: slideUpFade 0.8s ease-out 0.6s both;
}

.hero-content.loaded .col-lg-3:nth-child(4) {
    animation: slideUpFade 0.8s ease-out 0.8s both;
}

.hero-content {
    animation: addClass 2s ease-out 1.6s forwards;
}





.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: white;
    font-size: 1.5rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hero Buttons */
.hero-content .hero-buttons {
    margin-top: 2rem;
}

.hero-content .hero-buttons::nth-child(1) {
    margin-right: 1rem;
}

.hero-buttons::nth-child(2) {
    margin-left: 1rem;
}

.hero-content::nth-child(4) {
    order: 4;
}

/* =================================
   IMAGE ANIMATIONS
   ================================= */
.img-animations {
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

@media (min-width: 769px) {


    .hero-content {
        padding: 2rem 1rem;
    }

    .col-lg-3 {
        margin-bottom: 1.5rem;
    }

    .img-fluid {
        transition-delay: 0.2s;
    }

    .img-animations {
        transition-delay: 0.4s;
    }

    .img-fluid.animate-in {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .img-animations.animate-in {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .img-fluid.animate-in:nth-child(even) {
        transform: translateX(-20px) scale(1);
    }

    .img-animations.animate-in:nth-child(even) {
        transform: translateX(20px) scale(1);
    }

    .img-fluid.animate-in:hover,
    .img-animations.animate-in:hover {
        transform: translateY(-10px) scale(1.05);
    }
}

@media (max-width: 768px) {


    .floating-socials-container {
        display: none !important;
    }

    .img-animations {
        opacity: 1;
        transform: none;
    }

    .demo-img {
        margin-bottom: 2rem;
    }

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

/* =================================
   ANIMATION UTILITIES - UITGESCHAKELD
   ================================= */

/* Alle content animaties uitgeschakeld */
.animate-slide-right,
.animate-slide-left,
.animate-slide-top {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.animate-slide-right.active,
.animate-slide-left.active,
.animate-slide-top.active {
    opacity: 1 !important;
    transform: none !important;
}

/* Alle image animaties uitgeschakeld */
.img-animations,
.img-fluid {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.img-animations.animate-in,
.img-fluid.animate-in {
    opacity: 1 !important;
    transform: none !important;
}

/* Alle column animaties uitgeschakeld */
.vc_column-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.vc_column-inner.animate-in {
    opacity: 1 !important;
    transform: none !important;
}

/* Alle hero content animaties uitgeschakeld */
.col-lg-3 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.hero-content .col-lg-3 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.scroll-trigger {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Behoud alleen dropdown animaties */
.dropdown .dropdown-menu {
    animation: flipIn 0.8s ease forwards;
    transform-origin: top center;
}

@keyframes flipIn {
    0% {
        transform: perspective(400px) rotateX(-90deg);
        opacity: 0;
    }

    40% {
        transform: perspective(400px) rotateX(-20deg);
    }

    60% {
        transform: perspective(400px) rotateX(10deg);
    }

    100% {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

/* =================================
   PRODUCT & MACHINE STYLES
   ================================= */
.product-image {
    height: 400px;
    object-fit: cover;
    border-radius: 3px 3px 0 0;
    cursor: pointer;
    transition: border-color var(--transition-speed) ease;
}

.thumbnail-image {
    height: 84px;
    width: 84px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color var(--transition-speed) ease;
}

.thumbnail-image:hover {
    border-color: var(--primary-color);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* =================================
   MODAL STYLES
   ================================= */
.modal {
    z-index: 9999;
}

.modal-backdrop {
    z-index: 9998;
}

/* Image Modal */
.image-modal .modal-dialog {
    max-width: 90vw;
    max-height: 90vh;
}

.image-modal .modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: none;
}

.image-modal .modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.image-modal img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

.image-modal .btn-close {
    background: white;
    opacity: 1;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 23px;
    height: 23px;
}

.image-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    z-index: 10;
    transition: background var(--transition-speed) ease;
}

.image-nav-btn:hover {
    background: rgba(255, 255, 255, 1);
}

.image-nav-btn.prev {
    left: 20px;
}

.image-nav-btn.next {
    right: 20px;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

/* =================================
   VIEW SPECIFIC STYLES
   ================================= */

/* Contact Page */

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Baoli Heftrucks Page */
.page-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* Video Section */
.video-section iframe {
    width: 100% !important;
    height: 100vh !important;
    min-height: 400px;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */
@media (max-width: 768px) {
    .video-section iframe {
        height: 50vh !important;
        min-height: 300px;
    }

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

    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    .btn-lg.me-3 {
        margin-bottom: 1rem;
        margin-right: 0 !important;
    }
}

/* =================================
   UTILITY & HELPER CLASSES
   ================================= */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}


/* 
OVERWRITE WITH old style.css test, is this better? 

*/
/* Custom CSS voor Themmen Heftrucks */

/* Root variabelen - originele Themmen kleuren */
:root {
    --color-header-middle-bg: #f5f5f5;
    --color-header-middle-bg-grad: #f5f5f5;
    --color-header-middle-text: #313835;
    --color-header-middle-text-hover: #d23f49;
    --color-header-transparent-bg: rgba(0, 0, 0, 0.00);
    --color-header-transparent-bg-grad: rgba(0, 0, 0, 0.00);
    --color-header-transparent-text: #ffffff;
    --color-header-transparent-text-hover: #d23f49;
    --color-chrome-toolbar: #f5f5f5;
    --color-chrome-toolbar-grad: #f5f5f5;
    --color-header-top-bg: #f5f5f5;
    --color-header-top-bg-grad: #f5f5f5;
    --color-header-top-text: rgba(255, 255, 255, 0.66);
    --color-header-top-text-hover: #d23f49;
    --color-header-top-transparent-bg: rgba(0, 0, 0, 0.2);
    --color-header-top-transparent-bg-grad: rgba(0, 0, 0, 0.2);
    --color-header-top-transparent-text: rgba(255, 255, 255, 0.66);
    --color-header-top-transparent-text-hover: #fff;
    --color-content-bg: #f5f5f5;
    --color-content-bg-grad: #f5f5f5;
    --color-content-bg-alt: #f5f5f5;
    --color-content-bg-alt-grad: #f5f5f5;
    --color-content-border: #e8e8e8;
    --color-content-heading: #313835;
    --color-content-heading-grad: #313835;
    --color-content-text: #313835;
    --color-content-link: #d23f49;
    --color-content-link-hover: #d23f49;
    --color-content-primary: #d23f49;
    --color-content-primary-grad: #d23f49;
    --color-content-secondary: #8bb535;
    --color-content-secondary-grad: #8bb535;
    --color-content-faded: #8d9691;
    --color-content-overlay: rgba(0, 0, 0, 0.75);
    --color-content-overlay-grad: rgba(0, 0, 0, 0.75);
    --color-alt-content-bg: #f5f5f5;
    --color-alt-content-bg-grad: #f5f5f5;
    --color-alt-content-bg-alt: #ffffff;
    --color-alt-content-bg-alt-grad: #ffffff;
    --color-alt-content-border: #dddddd;
    --color-alt-content-heading: #313835;
    --color-alt-content-heading-grad: #313835;
    --color-alt-content-text: #313835;
    --color-alt-content-link: #d23f49;
    --color-alt-content-link-hover: #d23f49;
    --color-alt-content-primary: #d23f49;
    --color-alt-content-primary-grad: #d23f49;
    --color-alt-content-secondary: #8bb535;
    --color-alt-content-secondary-grad: #8bb535;
    --color-alt-content-faded: #8d9691;
    --color-alt-content-overlay: #000000;
    --color-alt-content-overlay-grad: linear-gradient(0deg, rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.00));
    --color-footer-bg: #bc926b;
    --color-footer-bg-grad: #bc926b;
    --color-footer-bg-alt: #181c1b;
    --color-footer-bg-alt-grad: #181c1b;
    --color-footer-border: #bc926b;
    --color-footer-heading: #f5f5f5;
    --color-footer-heading-grad: #f5f5f5;
    --color-footer-text: #f5f5f5;
    --color-footer-link: #d23f49;
    --color-footer-link-hover: #d23f49;
    --color-subfooter-bg: #181c1b;
    --color-subfooter-bg-grad: #181c1b;
    --color-subfooter-bg-alt: #222925;
    --color-subfooter-bg-alt-grad: #222925;
    --color-subfooter-border: #313835;
    --color-subfooter-text: #8d9691;
    --color-subfooter-link: #d23f49;
    --color-subfooter-link-hover: #d23f49;
    --color-content-primary-faded: rgba(210, 63, 73, 0.15);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, .15);
    --box-shadow-up: 0 -5px 15px rgba(0, 0, 0, .15);
    --site-content-width: 1200px;
    --inputs-font-size: 1rem;
    --inputs-height: 2.8rem;
    --inputs-padding: 0.8rem;
    --inputs-border-width: 0px;
    --inputs-text-color: var(--color-content-text);
    --font-body: "Raleway", sans-serif;
    --font-h1: "Bitter", serif;
    --font-h2: "Bitter", serif;
    --font-h3: "Bitter", serif;
    --font-h4: "Bitter", serif;
    --font-h5: "Bitter", serif;
    --font-h6: "Bitter", serif;
}

html,
body,
th,
td {
    font-family: var(--font-body);
}

h1 {
    font-family: var(--font-h1);
}

h2 {
    font-family: var(--font-h2);
    font-weight: 600;
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: 0;
}

h3 {
    font-family: var(--font-h3);
}

h4 {
    font-family: var(--font-h4);
}

h5 {
    font-family: var(--font-h5);
}

h6 {
    font-family: var(--font-h6);
}

p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    font-family: var(--font-body);
}

/* Algemene styling */
body {
    font-family: var(--font-body);
}

a {
    color: var(--color-content-link);
}

a:hover {
    color: var(--color-content-link-hover);
}

.bg-alt {
    background-color: var(--color-header-middle-bg);
}

.bg-sand {
    background-color: var(--color-footer-bg);
}



.hero-btn {
    font-family: 'Bitter', serif;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0;
    text-transform: uppercase;
}


.themmen-footer {
    background-color: var(--color-footer-bg) !important;
}

#navbarContent {
    font-size: 1.7rem;
    text-transform: uppercase;
    font-family: 'Bitter', serif;
    font-weight: 600;
}

/* Dropdown styling */
.dropdown-menu {
    padding: 0;
    background-color: var(--color-header-top-bg);
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-top: 0;
}

.dropdown-item {
    color: #000;
    padding: 10px 20px;
    background-color: #fff;
    font-family: 'Bitter', serif;
    font-weight: 600;

}

.dropdown-item:hover {
    color: var(--color-header-top-text-hover);
}

.dropdown-toggle::after {
    display: none;
    /* Hide default Bootstrap arrow */
}

@media (max-width: 1440px) {
    .bottom-menu .dropdown-toggle-custom {
        color: cyan;
        font-size: 14px;
        /* or any smaller size you prefer */
    }
}

/* Mobile responsive styling */
@media (max-width: 1320px) {

    #navbarContent,
    #navbarContent .dropdown-item {
        margin-top: 1rem;
        font-size: 1.6rem;
        font-weight: 600;
    }

    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .top-menu,
    .bottom-menu {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.5rem !important;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        background: rgba(66, 66, 66, 0.3);
        margin-left: 1rem;
        box-shadow: none;
    }

    .navbar-toggler {
        border: .1em solid var(--white-color)
    }

    .navbar-toggler::active {
        border: none;
    }

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

@media (max-width: 1222px) and (min-width: 980px) {
    .extra-menu-modal {
        animation: none;
        display: block;
    }

    #navbarContent,
    #navbarContent .dropdown-item {
        font-size: 0.6rem;
        font-weight: 600;
    }

}

/* footer styling */
/* Custom breakpoint behavior - collapses at 1316px */
@media (max-width: 1315.98px) {
    .navbar-expand-xl .navbar-collapse {
        display: none !important;
    }

    .navbar-expand-xl .navbar-toggler {
        display: block !important;
    }

    /* Mobile menu styling */
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        display: block !important;
        flex-basis: 100%;
        flex-grow: 1;
        align-items: flex-start;
    }

    .navbar-collapse .d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        background: var(--white-color);
        width: 100%;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: .1rem;
    }

    .top-menu,
    .bottom-menu {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        width: 100%;
        margin-top: 1rem;
    }

    .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.1);
        border: none;
        box-shadow: none;
        margin-left: 1rem;
    }

    .dropdown-item {
        color: rgba(50, 50, 50, 0.9) !important;
        padding: 0.25rem 1rem;
    }

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.3);
        color: #000 !important;
    }

    .top-menu .nav-link,
    .bottom-menu .nav-link {
        color: rgba(50, 50, 50, 0.9) !important;
    }
}

/* Desktop behavior */
@media (min-width: 1316px) {
    .navbar-expand-xl .navbar-toggler {
        display: none !important;
    }

    .navbar-expand-xl .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .dropdown-hover:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-hover .dropdown-menu {
        margin-top: 0.5rem;
        transition: all 0.3s ease;
    }

    .dropdown-toggle-custom {
        cursor: pointer;
    }

    .dropdown-toggle-custom:hover {
        color: #f8f9fa !important;
        text-decoration: none;
    }
}

/* Enhanced hamburger styling */
.navbar-toggler {
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    background-color: transparent;
    transition: all 0.3s ease;
}


.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

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

/* Rotate hamburger when active */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    box-shadow: none !important;
    border: none !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M7 7l16 16M23 7L7 23'/%3E%3C/svg%3E");


}


/* Dropdown animations */
.dropdown .dropdown-menu {
    animation: flipIn 0.8s ease forwards;
    transform-origin: top center;
}

@keyframes flipIn {
    0% {
        transform: perspective(400px) rotateX(-90deg);
        opacity: 0;
    }

    40% {
        transform: perspective(400px) rotateX(-20deg);
    }

    60% {
        transform: perspective(400px) rotateX(10deg);
    }

    100% {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

/* Additional mobile optimization */
@media (max-width: 767.98px) {

    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }


    .navbar-brand {
        margin-top: 1rem !important;
    }

    .navbar-toggler {
        margin-top: 1rem !important;
    }

    .navbar-collapse * {
        font-size: 0.7rem;
    }


}



.themmen-footer {
    background-color: var(--color-footer-bg) !important;
    font-size: 1.2rem;
}


footer h3 {
    font-family: 'Bitter', serif !important;
    font-size: 1.9rem !important;
    font-weight: 700 !important;
}

footer a {
    color: var(--color-footer-link);
    font-family: 'Raleway', sans-serif !important;
    line-height: 3;
}

footer a:hover {
    color: var(--color-footer-link-hover);
}

footer address {
    font-family: 'Raleway', sans-serif !important;
    line-height: 1.6;
}

footer .list-unstyled {
    font-family: 'Raleway', sans-serif !important;
    line-height: 3;
    <<<<<<< HEAD <<<<<<< HEAD
}

=======>>>>>>>main=======>>>>>>>main
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Individual animation delays for staggered effect */
.col-lg-3:nth-child(1) {
    animation: slideUpFade 0.7s ease-out 0.2s both;
}

.col-lg-3:nth-child(2) {
    animation: slideUpFade 0.7s ease-out 0.6s both;
}

.col-lg-3:nth-child(3) {
    animation: slideUpFade 0.7s ease-out 1.0s both;
}

.col-lg-3:nth-child(4) {
    animation: slideUpFade 0.7s ease-out 1.4s both;
}

/* Scroll-triggered animations using CSS custom properties and calc() */
.scroll-trigger {
    --scroll-start: 10vh;
    --scroll-end: 90vh;
    animation-play-state: paused;
    animation-delay: calc(var(--scroll-progress, 0) * 1s - 1s);
}

/* Alternative approach using viewport intersection */
.hero-buttons {
    --intersection: 0;
}

.col-lg-3 {
    opacity: 0;
    transform: translateY(100px);
}

/* Trigger animation when hero section is in viewport */

/* CSS-only scroll detection hack using animation-timeline (experimental) */
@supports (animation-timeline: scroll()) {
    .col-lg-3 {
        animation-timeline: scroll(root);
        animation-range: 20vh 80vh;
    }
}

/* Fallback: Auto-trigger after page load */
.hero-content {
    animation: triggerChildren 0.1s ease 0.1s forwards;
}

@keyframes triggerChildren {
    to {
        --trigger: 1;
    }
}

.hero-content[style*="--trigger"] .col-lg-3:nth-child(1) {
    animation: slideUpFade 2s ease-out 0.2s forwards;
}

.hero-content[style*="--trigger"] .col-lg-3:nth-child(2) {
    animation: slideUpFade 2s ease-out 0.6s forwards;
}

.hero-content[style*="--trigger"] .col-lg-3:nth-child(3) {
    animation: slideUpFade 2s ease-out 0.8s forwards;
}

.hero-content[style*="--trigger"] .col-lg-3:nth-child(4) {
    animation: slideUpFade 2s ease-out 1s forwards;
}

/* Simple approach - just trigger on load */
.hero-content.loaded .col-lg-3:nth-child(1) {
    animation: slideUpFade 2s ease-out 0.2s forwards;
}

.hero-content.loaded .col-lg-3:nth-child(2) {
    animation: slideUpFade 2s ease-out 0.6s forwards;
}

.hero-content.loaded .col-lg-3:nth-child(3) {
    animation: slideUpFade 2s ease-out 1.0s forwards;
}

.hero-content.loaded .col-lg-3:nth-child(4) {
    animation: slideUpFade 2s ease-out 1.4s forwards;
}

/* Add loaded class after a delay */
.hero-content {
    animation: addClass 0.1s linear 0.5s forwards;
}

@keyframes addClass {
    to {
        animation-name: addClass;
    }
}

/* Override - just make it work on page load */
.col-lg-3 {
    animation: slideUpFade 2s ease-out forwards;
}

.col-lg-3:nth-child(1) {
    animation-delay: 0.2s;
}

.col-lg-3:nth-child(2) {
    animation-delay: 0.6s;
}

.col-3:nth-child(3) {
    animation-delay: 1.0s;
}

.col-lg-3:nth-child(4) {
    animation-delay: 1.4s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 20px;
    }

    .col-lg-3 {
        margin-bottom: 15px;
    }
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* animations section */
.hero-content .hero-buttons {
    animation: slideUpFadeIn 1s ease forwards;
    transition: all 1s;
}

.hero-content .hero-buttons::nth-child(1) {
    transition-delay: 100ms;
}

.hero-buttons::nth-child(2) {
    transition-delay: 300ms;
}

.row .col-lg-3 {
    transition-delay: 500ms;
}

.hero-content::nth-child(4) {
    transition-delay: 700ms;
}

.img-fluid,
.img-animations {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
    will-change: transform, opacity;
    /* Optimize for animations */
}

/* Initial states - hidden and positioned */
.img-fluid {
    opacity: 0;
}

.img-animations {
    opacity: 0;
}

/* Animated states - visible and in position */
.img-fluid.animate-in {
    opacity: 1;
}

.img-animations.animate-in {
    opacity: 1;
}

/* Enhanced animations with stagger support */
.img-fluid.animate-in:nth-child(even) {
    transition-delay: 2s;
}

.img-animations.animate-in:nth-child(even) {
    transition-delay: 3s;
}

/* Demo placeholder images */
/* Responsive because mobile is 70% of traffic now */
@media (max-width: 768px) {

    .img-fluid,
    .img-animations {
        margin: 1rem auto;
    }

    .demo-img {
        width: 250px;
        height: 150px;
        font-size: 1rem;
    }

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

.intersection-debug {
    border: 2px dashed #ff0000;
    position: relative;
}

.intersection-debug::before {
    content: 'Debug: In viewport';
    position: absolute;
    top: -30px;
    left: 0;
    background: #ff0000;
    color: white;
    padding: 4px 8px;
    font-size: 12px;
}

/* Animation variants */
.vc_column-inner.from-left {
    transform: translateX(-100px);
}

.vc_column-inner.from-right {
    transform: translateX(100px);
}

.vc_column-inner.from-bottom {
    transform: translateY(100px);
}

.vc_column-inner.from-top {
    transform: translateY(-100px);
}

/* Active state - visible */
.vc_column-inner.animate-in {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Stagger animation delays */
.vc_column-inner:nth-child(odd) {
    transition-delay: 2s;
}

.vc_column-inner:nth-child(even) {
    transition-delay: 3s;
}

/* Advanced: Scale and rotate effects */
.vc_column-inner.scale-rotate {
    transform: translateX(100px) scale(0.8) rotate(5deg);
}

.vc_column-inner.scale-rotate.animate-in {
    transform: translateX(0) scale(1) rotate(0deg);
}

/* Performance optimization */
.vc_column-inner {
    will-change: transform, opacity;
}

.vc_column-inner.animate-in {
    will-change: 1s;
}

/* Debug info */
.debug {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    z-index: 1000;
}

.top-menu {
    color: red;
    /* start above the view */
    opacity: 1;
}

/* Animation for top-menu sliding from top to bottom */


.container-fluid {
    animation: slideInFromLeft 2s ease-in-out forwards;
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(3rem);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.animate-slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Animation variants */
.animate-slide-right.fast {
    transition-duration: 0.3s;
}

.animate-slide-right.slow {
    transition-duration: 1.5s;
}

.animate-slide-right.bounce {
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(-3rem);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.animate-slide-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Animation variants */
.animate-slide-left.fast {
    transition-duration: 0.3s;
}

.animate-slide-left.slow {
    transition-duration: 1.5s;
}

.animate-slide-left.bounce {
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}


//animate slide-top

.animate-slide-top {
    opacity: 0;
    transform: translateY(-3rem);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.animate-slide-top.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animation speed variants */
.animate-slide-top.fast {
    transition-duration: 0.3s;
}

.animate-slide-top.slow {
    transition-duration: 1.5s;
}

.animate-slide-top.bounce {
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@media (max-width: 751px) {

    #main-navbar {
        min-height: 1rem;
    }


}


@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
        text-align: center;
    }

    .machine-card {
        padding: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}



.blog-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.blog-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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



.blog-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 0;
}

.blog-title:hover {
    color: red;
    cursor: pointer;
    text-decoration: none;
}

.blog-content {
    padding: 1.25rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}


.blogs-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 80vh;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .blog-image {
        height: 180px;
    }
}


/* floating docial icons */
.floating-socials-container {
    position: fixed;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: var(--primary-border);

}

.w-socials-item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;

    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.w-socials-item-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    transition: left 0.5s;
}

.w-socials-item-link:hover::before {
    left: 100%;
}

.w-socials-item-link i {
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1;
}

/* Hover effects with brand colors */
.w-socials-item-link:hover {
    transform: translateX(-10px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Instagram gradient */
.w-socials-item-link[href*="instagram"]:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e1306c;
}

.w-socials-item-link[href*="instagram"] i {
    color: var(--white-color);
}

.w-socials-item-link[href*="instagram"]:hover i {
    color: var(--white-color);
}

/* Facebook blue */
.w-socials-item-link[href*="facebook"]:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.w-socials-item-link[href*="facebook"] i {
    color: var(--white-color);
}

.w-socials-item-link[href*="facebook"]:hover i {
    color: var(--white-color);
}

/* LinkedIn blue */
.w-socials-item-link[href*="linkedin"]:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.w-socials-item-link[href*="linkedin"] i {
    color: var(--white-color);
}

.w-socials-item-link[href*="linkedin"]:hover i {
    color: var(--white-color);
}

/* Responsive behavior - mobile optimization */
@media (max-width: 769px) {
    .floating-socials-container {
        top: 50vh;
        right: 15px;

        gap: 12px;
    }

    .w-socials-item-link {
        width: 45px;
        height: 45px;
    }

    .w-socials-item-link i {
        font-size: 18px;
    }

    .w-socials-item-link:hover {
        transform: translateX(-8px) scale(1.05);
    }
}

@media (max-width: 480px) {
    .floating-socials-container {
        right: 10px;
        gap: 10px;
    }

    .w-socials-item-link {
        width: 40px;
        height: 40px;
    }

    .w-socials-item-link i {
        font-size: 16px;
    }
}

/* Animation on page load */
.floating-socials-container {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px) translateY(-50%);
    }

    to {
        opacity: 1;
        transform: translateX(0) translateY(-50%);
    }
}

/* Individual icon animation delays */
.w-socials-item-link:nth-child(1) {
    animation: fadeInScale 0.4s ease-out 0.1s both;
}

.w-socials-item-link:nth-child(2) {
    animation: fadeInScale 0.4s ease-out 0.2s both;
}

.w-socials-item-link:nth-child(3) {
    animation: fadeInScale 0.4s ease-out 0.3s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Demo content for testing */
.demo-content {
    min-height: 200vh;
    padding: 50px 20px;
}

.demo-section {
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    color: white;
    text-align: center;
}

/* =================================
   ANIMATION CONTROL - NIEUWE REGELS
   ================================= */

/* Alle content animaties uitschakelen op alle pagina's */
.animate-slide-right,
.animate-slide-left,
.animate-slide-top {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* =================================
   ANIMATION CONTROL - NIEUWE REGELS
   ================================= */

/* Alle content animaties uitschakelen op alle pagina's */
.animate-slide-right,
.animate-slide-left,
.animate-slide-top {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.animate-slide-right.active,
.animate-slide-left.active,
.animate-slide-top.active {
    opacity: 1 !important;
    transform: none !important;
}

/* Alle image animaties uitschakelen */
.img-animations,
.img-fluid {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.img-animations.animate-in,
.img-fluid.animate-in {
    opacity: 1 !important;
    transform: none !important;
}

/* Alle hero content animaties uitschakelen */
.col-lg-3 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.hero-content .col-lg-3 {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.scroll-trigger {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Alle andere column animaties uitschakelen */
.vc_column-inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

.vc_column-inner.animate-in {
    opacity: 1 !important;
    transform: none !important;
}

/* Menu animaties ALLEEN op homepage */
body:not(.home-page) .top-menu {
    position: relative !important;
    top: 0 !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
}

body:not(.home-page) .container-fluid {
    animation: none !important;
    transform: none !important;
}

/* Menu animaties WEL op homepage */
.home-page .top-menu {
    position: relative;
    animation: none;
}

.home-page .container-fluid {
    animation: slideInFromLeft 2s ease-in-out forwards;
}

/* Desktop behavior - MOVED TO TOP for specificity */
.top-menu {
    display: flex !important;
}

@media (min-width: 1316px) {
    .navbar-expand-xl .navbar-toggler {
        display: none !important;
    }

    .navbar-expand-xl .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }

    .dropdown-hover:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .dropdown-hover .dropdown-menu {
        margin-top: 0.5rem;
        transition: all 0.3s ease;
    }

    .dropdown-toggle-custom {
        cursor: pointer;
    }

    .dropdown-toggle-custom:hover {
        color: var(--primary-color) !important;
        text-decoration: none;
    }

    /* CRITICAL: Force top-menu to show on desktop */
    .top-menu {
        display: flex !important;
    }
}

/* Tablet/Mobile breakpoint */
@media (max-width: 1315.98px) {
    .navbar-expand-xl .navbar-collapse {
        display: none !important;
    }

    .navbar-expand-xl .navbar-toggler {
        display: block !important;
    }

    /* Mobile menu styling */
    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        display: block !important;
        flex-basis: 100%;
        flex-grow: 1;
        align-items: flex-start;
    }

    .navbar-collapse .d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 2rem;
    }

    .top-menu,
    .bottom-menu {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        width: 100%;
        margin-top: 1rem;
        /* CRITICAL: Override Bootstrap's display none */
        display: flex !important;
    }

    .dropdown-menu {
        position: static !important;
        display: none !important;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: rgba(0, 0, 0, 0.1);
        border: none;
        box-shadow: none;
        margin-left: 1rem;
    }

    .dropdown-item {
        color: rgba(50, 50, 50, 0.9) !important;
        padding: 0.25rem 1rem;
    }

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.3);
        color: #000 !important;
    }

    .top-menu .nav-link,
    .bottom-menu .nav-link {
        color: rgba(50, 50, 50, 0.9) !important;
    }
}

/* Enhanced hamburger styling */
.navbar-toggler {
    padding: 0.25rem 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.375rem;
    background-color: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

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

/* Rotate hamburger when active */
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    transform: rotate(90deg);
}

/* Dropdown animations */
.dropdown .dropdown-menu {
    animation: none;
    transform-origin: top center;
}

@keyframes flipIn {
    0% {
        transform: perspective(400px) rotateX(-90deg);
        opacity: 0;
    }

    40% {
        transform: perspective(400px) rotateX(-20deg);
    }

    60% {
        transform: perspective(400px) rotateX(10deg);
    }

    80% {
        transform: perspective(400px) rotateX(-5deg);
    }

    100% {
        transform: perspective(400px) rotateX(0deg);
        opacity: 1;
    }
}

/* Additional mobile optimization */
@media (max-width: 767.98px) {
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    #main-navbar {
        min-height: 10px !important;
    }

    .navbar-brand {
        margin-top: 1rem !important;
    }

    .navbar-toggler {
        margin-top: 1rem !important;
    }
}

/* CRITICAL: Default state - this was your problem */
.top-menu {
    display: flex !important;
}

/* Define your missing animations */
@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.accordion {
    float: left;
    margin-left: -10px;
    width: 40% !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    flex-basis: auto !important;


}


.chevron-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background-color: var(--alt-bg);
    border: none;
    padding: 1rem;
    cursor: pointer;
    color: var(--white-bg);
}

.chevron-icon {
    transition: transform 0.3s ease;
}

/* Rotate when expanded */
.chevron-icon.rotated {
    transform: rotate(180deg);
}

.accordion-button {
    background-color: #ffffff !important;
    color: #000000;
    border: none;
    border-radius: 0;
    box-shadow: none;
    font-weight: bold;
}

.accordion-body a:hover {
    color: #D23F49;
    /* hover color, like Bootstrap danger */
}

/* Active (open) title red */
.accordion-button:not(.collapsed) {
    color: #d23f49 !important;
    font-weight: bold;
}

/* Keep body also white */
.accordion-body li a {
    padding: 1rem;
    border: none !important;
    color: black !important;

}

.accordion-body li a::hover {
    padding: 1rem;
    border: none !important;
    color: #d23f49 !important;

}


.accordion-body li {
    padding: 0.5rem;
    margin: 0.5rem;

}

.accordion-item {
    border: none;
}

.accordion-borderless {
    border: none !important;
}

/* Method 2: Target accordion items */
.accordion-borderless .accordion-item {
    border: none !important;
    border-radius: 0 !important;
}

/* Method 3: Target accordion headers and bodies */
.accordion-borderless .accordion-header .accordion-button {
    border: none !important;
    border-radius: 0 !important;
}

.accordion-button {
    font-weight: bold;
    border-radius: 0 !important;
    /* no rounded corners */
    border: none;
    border-top: 1px solid var(--alt-bg);
    /* top border always */
    border-bottom: 0;
    background-color: white;
    transition: background-color var(--transition-speed);
    color: var(--primary-color);
}

/* Hover state (light gray background) */
.accordion-button:hover {
    background-color: var(--alt-bg);
}

/* Focus state - no blue glow */
.accordion-button:focus {
    background: var(--alt-bg) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Active/open state (darker gray + top & bottom borders) */
.accordion-button:not(.collapsed) {

    color: var(--white-color);
    /* optional for contrast */
}

.accordion-button.collapsed {
    border: none !important;
    box-shadow: none !important;
    color: rgba(50, 50, 50, 0.9) !important;
    background: transparent !important;
    font-weight: bold;
}

.accordion-item {
    border: none;
}

.accordion-button {
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-body {
    border-top: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--text-muted);
    /* medium gray */
    color: var(--primary-color);
    /* 🔴 keep red text when open */
    border-top: 1px solid var(--alt-bg);
    border-bottom: 1px solid var(--alt-bg);
}

.accordion-borderless {
    border: none !important;
}

/* Method 2: Target accordion items */
.accordion-borderless .accordion-item {
    border: none !important;
    border-radius: 0 !important;
}

/* Method 3: Target accordion headers and bodies */
.accordion-borderless .accordion-header .accordion-button {
    border: none !important;
    border-radius: 0 !important;
}

.accordion-button {
    border-radius: 0 !important;
    /* no rounded corners */
    border: none;
    border-top: 1px solid var(--alt-bg);
    /* top border always */
    border-bottom: 0;
    background-color: white;
    transition: background-color var(--transition-speed);
    color: var(--primary-color);
}

/* Hover state (light gray background) */
.accordion-button:hover {
    background-color: var(--alt-bg);
}

/* Focus state - no blue glow */
.accordion-button:focus {
    background: var(--alt-bg) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Active/open state (darker gray + top & bottom borders) */
.accordion-button:not(.collapsed) {
    background-color: var(--text-muted);
    /* medium gray */
    border-top: 1px solid var(--alt-bg);
    border-bottom: 1px solid var(--alt-bg);
    color: var(--white-color);
    /* optional for contrast */
}

.accordion-button.collapsed {
    border: none !important;
    box-shadow: none !important;
    width 100% !important;
    padding: 1rem !important;
}

.accordion-item {
    border: none;
}

.accordion-button {
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-body {
    border-top: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--text-muted);
    /* medium gray */
    color: var(--primary-color);
    /* 🔴 keep red text when open */
    border: none;
}

.accordion-borderless {
    border: none !important;
}

/* Method 2: Target accordion items */
.accordion-borderless .accordion-item {
    border: none !important;
    border-radius: 0 !important;
}

/* Method 3: Target accordion headers and bodies */
.accordion-borderless .accordion-header .accordion-button {
    border: none !important;
    border-radius: 0 !important;
}

.accordion-button {
    border-radius: 0 !important;
    /* no rounded corners */
    border: none;
    border-top: 1px solid var(--alt-bg);
    /* top border always */
    border-bottom: 0;
    background-color: white;
    transition: background-color var(--transition-speed);
    color: var(--primary-color);
}

/* Hover state (light gray background) */
.accordion-button:hover {
    background-color: var(--alt-bg);
}

/* Focus state - no blue glow */
.accordion-button:focus {
    background: var(--alt-bg) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Active/open state (darker gray + top & bottom borders) */
.accordion-button:not(.collapsed) {
    background-color: var(--text-muted);
    /* medium gray */
    border: none;

    color: var(--white-color);
    /* optional for contrast */
}

.accordion-button.collapsed {
    border: none !important;
    box-shadow: none !important;
}

.accordion-item {
    border: none;
}

.accordion-button {
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-body {
    border-top: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--text-muted);
    /* medium gray */
    color: var(--primary-color);
    /* 🔴 keep red text when open */
    border-top: 1px solid var(--alt-bg);
    border-bottom: 1px solid var(--alt-bg);
}

/* carousal css code */

.carousel-container {
    position: relative;
    width: 100%;
    height: 50vh;
    overflow: hidden;
    background: #000;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 300%;
    /* 3 slides * 100% */
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.carousel-slide {
    position: relative;
    width: 33.333%;
    /* 100% / 3 slides */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* Local images - update these paths to match your actual image locations */
.slide-1 {
    background-image: url('./xyz.jpg');
}

.slide-2 {
    background-image: url('./abc.jpg');
}

.slide-3 {
    background-image: url('./def.jpg');
}

/* Fallback for missing images */
.carousel-slide {
    background-color: #333;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    font-size: 14px;
    display: none;
}

.slide-1::after {
    content: 'xyz.jpg';
}

.slide-2::after {
    content: 'abc.jpg';
}

.slide-3::after {
    content: 'def.jpg';
}

/* Show fallback text if image fails to load */
.carousel-slide:not([style*="background-image"])::after {
    display: block;
}

/* Dark overlay for better text readability */
.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
}

/* Overlay buttons - positioned at center */
.hero-overlay {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}


/* Navigation dots */
.carousel-dots {
    visibility: hidden;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Navigation arrows */
.carousel-nav {
    visibility: hidden;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}


.l-section-shape svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Responsive design */
@media (max-width: 768px) {

    .accordion {
        float: left;
        margin-left: -10px;
        width: 80% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        flex-basis: auto !important;


    }

    .hero-overlay {
        flex-direction: column;
        padding: 0 1rem;
    }

    .btn {
        font-size: 0.9rem;
    }

    .carousel-nav {
        display: none;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 40vh;
    }

    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Performance optimization */
.carousel-slide {
    will-change: transform;
}

.carousel-track {
    will-change: transform;
}

/* Image loading states */
.carousel-slide.loading {
    background-color: #333;
}

.carousel-slide.loading::after {
    content: 'Loading...';
    display: block;
    color: #999;
}

.carousel-slide.error::after {
    content: 'Image not found';
    display: block;
    color: #f44336;
}



.bg-cutter {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white-color);
    isolation: isolate;
    overflow: visible;
}

.bg-cutter::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: var(--white-color);
    transform: translateY(100%) skewY(-2deg);
    transform-origin: top left;
    z-index: -1;
    pointer-events: none;
}
