/* General */
:root {
    --header-height-large: 70px;
    --header-height-small: 50px;
    --gray-color: #aaaaaa; /* Light gray for subtle contrast */
    --light-color: #ffffff; /* Pure white color for backgrounds */
    --dark-color: #333333; /* Dark color for text */
    --header-color-dark: #fe6d04; /* Orange color for highlights */
    --background-gray: #f0f0f0; /* Very light gray background */
    --theme-orange: #fe6d04; /* Main theme color: orange */
    --theme-gray: #cccccc; /* Light gray for subtle elements */
    --text-dark: #333333; /* Dark text color */
    --text-light: #666666; /* Light text color for contrast */
    --border-radius: 12px; /* Softer rounded corners */
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Soft, larger shadow for floating effect */
}

/* General Text Styles */
body {
    background-color: var(--background-gray);
    color: var(--text-dark);
    margin: 0;
    padding-top: var(--header-height-large);
    font-family: 'Arial', sans-serif;
}

/* Headings */
h1, h2, h3, h4 {
    font-weight: 700; /* Bold weight for headings */
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.3; /* Improved readability */
}

h1 {
    font-size: 2.5rem; /* Large size for main headings */
    padding-bottom: 10px;
    margin-bottom: 30px;
}

h2 {
    font-size: 2rem; /* Slightly smaller for secondary headings */
    padding-bottom: 8px;
    margin-bottom: 25px;
}

h3 {
    font-size: 1.75rem; /* Smaller for tertiary headings */
    margin-bottom: 20px;
}

h4 {
    font-size: 1.5rem; /* For smaller headings */
    margin-bottom: 15px;
}

/* Paragraphs */
p {
    font-size: 1rem; /* Standard paragraph size */
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Header */
#header {
    background-color: var(--light-color) !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 0;
    height: var(--header-height-large);
    /* font-size: 0.9rem; */
    font-weight: 700;
    color: var(--dark-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow for floating effect */
}

#header.scrolled {
    background-color: var(--background-gray) !important;
    height: var(--header-height-small);
    box-shadow: var(--box-shadow); /* Stronger shadow on scroll */
}

#header.scrolled .logo svg, #header.scrolled .logo img {
    height: 28px;
}

/* Links */
a {
    color: var(--theme-orange); /* Orange color for links */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}
a:visited {
    color: var(--text-dark);
}

a:hover, a:focus {
    color: var(--text-light); /* Change color on hover/focus */
    text-decoration: underline; /* Underline on hover/focus for better UX */
}

#header a {
    color: var(--dark-color);
    text-decoration: none;
}
.desktop-menu{
    direction: rtl;
}

.dropmenu ul li a.active, .dropmenu ul li a:hover {
    color: var(--theme-orange) !important;
}

.mobile-menu .button_container span{
    background: var(--header-color-dark);
}
.treemenu li a.active, .treemenu li a:focus, .treemenu li a:hover{
    color: var(--header-color-dark) !important;

}
/* LangSwitcher Styles */
.langs {
    color: var(--text-dark);
    text-decoration: none;
    /* padding: 8px 12px; */
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 700; /* Bold text */
   
}

.langs:hover, .langs:focus , .langs .external ,.dropmenu ul li .langs:hover{
    background-color: var(--theme-orange);
    color: var(--light-color) !important;
    text-decoration: none; /* Remove underline on hover/focus */
}
/*hide the active language */
/* .langs.active {
    display: none; 
} */

/* Responsive adjustments */
@media (max-width: 768px) {
    .langs {
        margin-right: 0;
        margin-bottom: 10px;
        display: block;
    }
}
/* Sliders */

.lSSlideWrapper {
    z-index: 1;
    box-shadow: var(--box-shadow); /* Subtle shadow for depth */
}

#lightSlider .lslide img {
    width: 100%;
    height: 100vh; /* Full screen height */
    object-fit: cover; /* Ensures the image covers the container */
    border-radius: var(--border-radius); /* Rounded corners */
}

.lslide {
    margin-top: 0;
}

#lightSlider {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.8); /* Light background */
    color: var(--dark-color);
    padding: 20px; /* More padding for better spacing */
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px); /* Blur background for better readability */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for floating effect */
}

.caption h2 {
    color: var(--header-color-dark);
    font-size: 24px;
    margin: 0;
}

.caption p {
    font-size: 16px;
    margin: 5px 0 0 0;
}

.lSPager {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.lSPager li {
    margin: 0 5px;
}

.lSPager li a {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: block;
    width: 10px;
    height: 10px;
    box-shadow: var(--box-shadow); /* Subtle shadow for floating effect */
}

.lSPager.lSpg > li.active a {
    background-color: var(--header-color-dark);
}

.lSSlideOuter .lSPager.lSpg > li:hover a, .lSSlideOuter .lSPager.lSpg > li.active a {
    background-color: var(--header-color-dark);
}
/* SliderText Section */
.slidertext {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
    position: relative;
    min-height: 400px;
}

.slider-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var( --box-shadow);
    backdrop-filter: blur(10px);
}

.slider-wrapper {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 1s ease;
}

.slider-slide {
    display: none; /* Hide all slides initially */
    width: 100%;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s forwards;
    background-color: var(--background-gray);

}

.slider-content {
    display: flex;
    width: 100%;
    height: 100%; /* Ensure content takes up full height */
    flex-direction: row;
    background-image: url("images/rand.png") ;
    /* background-size: 168px 170px; */
    background-size: 160px 160px;
    background-repeat:  repeat;
    background-blend-mode: normal;
    

}
.dark-mode .slider-content  {

/* background-color:var(--background-gray) !important ; */
background-image: url("images/rand_dark.png") ;
 
    

}
.slider-content img {
    width: 70%; /* 2/3 of the width */
    height: 600px; /* Set a fixed height for the slider */
    object-fit: cover; /* Ensures the image covers the container */
    border-radius: var(--border-radius); /* Rounded corners */
    border-radius: 0px;
    border-top-left-radius:  var(--border-radius);
    border-bottom-left-radius:  var(--border-radius);
}

.slidetext {


    width: 30%; /* 1/3 of the width */
    padding: 20px;

    color: var(--dark-color);
    border-radius: 0px;
    border-top-right-radius:  var(--border-radius);
    border-bottom-right-radius:  var(--border-radius);
    /* backdrop-filter: blur(1px);  */
    /* Blur background for better readability */
    box-shadow: var(--box-shadow); /* Subtle shadow for floating effect */
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.slidetext h2 {
    color: var(--header-color-dark);
    font-size: 24px;
    margin: 0;
}

.slidetext p {
    font-size: 16px;
    margin: 5px 0 0 0;
}

/* Adjust layout for mobile devices */
@media (max-width: 768px) {
    .slider-content {
        flex-direction: column; /* Stack image and text vertically */

    }

    .slider-content img {
        width: 100%;
        height: auto;
        order: 2; /* Place image after text */
        border-radius: 0px;
    
        border-bottom-right-radius:  var(--border-radius);

        border-bottom-left-radius:  var(--border-radius);
    }

    .slidetext {
        width: 100%;
        order: 1; /* Place text before image */
        border-radius: 0px;
        border-top-left-radius:  var(--border-radius);
        border-top-right-radius:  var(--border-radius);
    }
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.slider-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.slider-controls button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Keyframe Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1s forwards;
}


/* Projects Section */
.projects-section { 

    min-height: 700px;
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-light);
}

.projects-title {
    font-size: 2em;
    color: var(--theme-orange);
    margin-bottom: 20px;
    display: inline-block;
    padding-bottom: 10px;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.gallery-item {
    width: calc(20% - 20px);
    margin: 10px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
    background-color: var(--light-color);
}

.gallery-item a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: pulse 0.8s infinite;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

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

@keyframes pulse {
    0% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .gallery-item {
        width: calc(20% - 20px);
    }
}

@media (max-width: 992px) {
    .gallery-item {
        width: calc(25% - 20px);
    }
}

@media (max-width: 768px) {
    .gallery-item {
        width: calc(33.33%  - 20px);
    }
}

@media (max-width: 576px) {
    .gallery-item {
        width: calc(50% - 20px);
    }
}

/* Features Section */
.modular-features .feature-icon h6 {
    background-color: var(--background-gray);
    border-radius: var(--border-radius);
    padding: 10px;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.modular-features.small .column:hover .feature-icon i {
    color: var(--header-color-dark);
}

.modular-features .column:hover .feature-icon h6 {
    color: var(--header-color-dark);
    transform: scale(1.05);
}

/* About Section */
/* AOS animations */
[data-aos] {
    opacity: 0; /* Elements are initially hidden */
    transition-property: transform, opacity;
    transition-duration: 1s; /* Default animation duration */
    transition-timing-function: ease;
}

[data-aos].aos-animate {
    opacity: 1; /* Elements become visible when animated */
}
/* General styling for about section */
.about-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-color); /* Use light color variable for background */
    border-radius: 15px; /* Softer rounded corners */
    box-shadow: var(--box-shadow); /* Use variable for box shadow */
    color: var(--text-dark); /* Text color variable */
}

.about-title {
    font-size: 2.5em;
    color: var(--theme-orange); /* Use theme color variable for title */
    margin-bottom: 20px;
    font-family: 'Helvetica Neue', sans-serif; /* Sleek font */
}

.about-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px; /* More space between elements */
    flex-wrap: wrap; /* For responsive design */
}

.about-image-container, .about-description-container {
    flex: 1 1 45%;
}

.about-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--box-shadow); /* Use variable for box shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Enhanced floating effect */
}

.about-description {
    font-size: 1.4em;
    color: var(--text-dark); /* Text color variable */
    text-align: center;
    line-height: 1.6;
    background-color: var(--light-color); /* Use light color variable for background */
    padding: 30px; /* More padding for better spacing */
    border-radius: 15px;
    box-shadow: var(--box-shadow); /* Use variable for box shadow */
    backdrop-filter: blur(10px); /* More blur for a heavenly effect */
    background-image: url("images/crown5.png");
    background-size: 350px 350px;
    background-repeat: repeat;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }
}
/* Pillars Preview Section */
.pillars-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Changed from center to left */
    margin-bottom: 50px;
    padding: 40px;
    background-color: var(--light-color);
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillars-preview:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.pillars-preview-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
}

.pillars-preview-image-container {
    flex: 1;
    max-width: 50%;
    overflow: hidden;
    border-radius: 12px;
}

.pillars-preview-image-container img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillars-preview-image-container img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.pillars-preview-description-container {
    flex: 1;
    max-width: 50%;
}

.pillars-preview-title {
    font-size: 2.5em;
    color: var(--theme-orange);
    margin-bottom: 20px;
}

.pillars-preview-description {
    font-size: 1.2em;
    color: var(--text-dark);
    line-height: 1.6;
}

.button-pillars {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1em;
    color: var(--text-dark);
    background-color: var(--theme-orange);
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.button-pillars:hover {
    background-color: darken(var(--theme-orange), 10%);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pillars-preview {
        flex-direction: column;
        padding: 20px;
    }

    .pillars-preview-content {
        flex-direction: column;
        align-items: center;
    }

    .pillars-preview-image-container, .pillars-preview-description-container {
        max-width: 100%;
    }

    .pillars-preview-title {
        font-size: 2em;
    }

    .pillars-preview-description {
        font-size: 1em;
    }

    .button-pillars {
        padding: 8px 16px;
        font-size: 0.9em;
    }
}


/* Pillars Section CSS */
#pillarSearchInput {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 2px solid var(--theme-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    font-size: 1.2em;
}

.pillars-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--background-gray);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    overflow: hidden;
}

.pillars-title {
    font-size: 2.5em;
    color: var(--header-color-dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    display: inline-block;
}

.slider {
    overflow: hidden;
    padding-bottom: 20px;
}

.lSSlideWrapper, .lSSlideOuter {
    overflow: visible !important;
    height: auto !important;
}

.slider .pillar-card {
    margin: 10px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: var(--light-color);
    padding: 10px;
    box-sizing: border-box;
    height: auto;
    width: calc(25% - 20px);
    float: left;
    border: 1px solid var(--header-color-dark);
}

.slider .image-container {
    width: 100%;
    padding-top: 75%;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.slider .image-container img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slider .pillar-card .pillar-code {
    background: none;
    color: var(--theme-orange);
    padding: 10px 0;
    text-align: center;
    font-weight: bold;
    border-radius: var(--border-radius);
    transition: color 0.3s ease;
    
}


.slider .pillar-card:hover .pillar-code {
    color: var(--text-dark);
}

.slider .pillar-card:hover {
    transform: translateY(-10px);
    z-index: 2;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.lSPrev, .lSNext {
    filter: brightness(50%);
    z-index: 3;
}

.lSSlideWrapper {
    height: auto;
}

.lSSlideOuter {
    height: auto;
    padding-bottom: 20px;
}

#pillarsLightSlider {
    box-shadow: none;
}

a:hover, a:focus {
    color: var(--text-dark); /* Change color on hover/focus */
    text-decoration: none; /* Remove underline on hover/focus */
}
/* Keyframe Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
}

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


@media (max-width: 768px) {
    .slider .pillar-card {
        width: calc(50% - 20px);
        padding: 5px;
    }

    .pillars-title {
        font-size: 2em;
    }
}
/* Pillar Detail CSS */
.pillar-detail {
    text-align: center;
    padding: 20px;
    background-color: var(--background-gray);
    border-radius: var(--border-radius);
    margin: 20px auto;
    max-width: 1200px;
    box-shadow: var(--box-shadow);
}

.pillar-detail h1 {
    font-size: 2.5em;
    color: var(--theme-orange);
    margin-bottom: 20px;
    animation: fadeInUp 1s forwards;
}

.pillar-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.pillar-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pillar-image-container {
    position: relative;
}

.pillar-image ,.pillar-image-normal{
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--box-shadow);
}
.pillar-image-normal{
    padding-inline: 150px;
    background: var(--light-color);
}


.pillar-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.pillar-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px;
    border-radius: var(--border-radius);
    background-color: var(--light-color);
    box-shadow: var(--box-shadow);
}

.pillar-info h2 {
    font-size: 2em;
    color: var(--theme-orange);
    margin-bottom: 10px;
}

.pillar-info p {
    font-size: 1.2em;
    color: var(--text-dark);
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pillar-table-content {
    margin-top: 20px;
}

/* Table Styling */
.pillar-table-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow); /* Add shadow for depth */
}

.pillar-table-content th, .pillar-table-content td {
    border: 1px solid var(--theme-gray);
    padding: 15px;
    text-align: center; /* Center-align text */
    vertical-align: middle; /* Vertically center-align text */
    font-size: 1.1em; /* Slightly larger font size */
}

.pillar-table-content th {
    background-color: var(--theme-orange);
    color: var(--text-dark);
    font-weight: bold;
    text-transform: uppercase; /* Uppercase headers for emphasis */
    letter-spacing: 1px; /* Slightly increase letter spacing */
}

.pillar-table-content td {
    background-color: var(--background-gray);
    color: var(--text-dark);
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition effects */
}

.pillar-table-content tr:nth-child(even) td {
    background-color: var(--light-color); /* Alternate row color */
}

.pillar-table-content tr:hover td {
    background-color: var(--theme-orange); /* Highlight row on hover */
    color: var(--text-light); /* Change text color on hover */
}

/* Add a subtle hover effect for the entire row */
.pillar-table-content tr:hover {
    background-color: var(--theme-orange); /* Highlight row on hover */
    color: var(--text-dark); /* Change text color on hover */
}

.pillar-other-info {
    font-size: 1.2em;
    color: var(--text-dark);
    text-align: justify;
    line-height: 1.6;
    margin-top: 20px;
}

/* Keyframe animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Parallax Section CSS */
.parallax-section {
    position: relative;
    height: 500px; /* Adjust the height as needed */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-attachment: fixed; /* This creates the parallax effect */
    background-position: center;
    z-index: -1; /* Ensure the background is behind the content */
}

.parallax-content {
    position: relative;
    z-index: 1; /* Ensure the content is above the background */
}

.parallax-content h2 {
    color: var(--header-color-dark);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7); /* Light background color for readability */
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    color: var(--text-light);
    font-size: 1.2rem;
    line-height: 1.6;
}
.dark-mode .content{
    background-color: rgba(0, 0, 0, 0.374); /* Light background color for readability */

}

@media (max-width: 768px) {
    .parallax-section {
        height: 300px; /* Adjust height for smaller screens */
    }
    .parallax-content h2 {
        font-size: 2rem;
    }
    .content {
        font-size: 1rem;
    }
}

/* Footer Section */
#footer {
    padding: 40px 0;
    color: var(--text-dark); /* Use variable for text color */
    background-color: var(--light-color) !important; /* Use variable for background color */
    position: relative;
    border-top: 4px solid var(--theme-orange); /* Retain the orange theme color */
    box-shadow: var(--box-shadow); /* Use variable for box shadow */
}

.footer-logo {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeInUp 1s forwards 0.2s;
}

.footer-logo img {
    max-width: 200px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

.footer-contact, .footer-social {
    margin-bottom: 20px;
    text-align: center;
    animation: fadeInUp 1s forwards 0.4s;
}

.footer-social {
    display: inline-flex;
}

.footer-contact p, .footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark); /* Use variable for text color */
    text-decoration: none;
    margin: 5px 0;
    font-size: 1.1em;
    animation: fadeInUp 1s forwards 0.6s;
    transition: color 0.3s ease;
}

.footer-contact i, .footer-social i {
    text-align: center;
    margin-right: 8px;
}

.footer-social a {
    text-align: center;
    font-size: 2em; /* Larger icons */
    margin: 0 10px;
}

.footer-social a:hover {
    color: var(--theme-orange); /* Keep the orange color for hover */
}

.footer-map {
    margin-top: 20px;
    text-align: center;
    animation: fadeInUp 1s forwards 0.8s;
}

.footer-map iframe {
    border-radius: 8px;
    width: 100%;
    height: 200px; /* Adjusted height */
    transition: transform 0.3s ease;
}

.footer-map iframe:hover {
    transform: scale(1.02);
}

.columns .column.text-center {
    margin-top: 20px;
    animation: fadeInUp 1s forwards 1s;
    border-top: 2px solid var(--theme-orange); /* Use variable for border-top color */
    padding-top: 20px;
    font-size: 1.1em;
}

/* Keyframe animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-contact, .footer-social {
        text-align: left;
        margin-left: 20px;
    }

    .footer-map iframe {
        height: 200px; /* Adjusted height for smaller screens */
    }
}


/* Wooden Systems Section CSS */
.wooden-systems-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.wooden-systems-title {
    font-size: 2.5em;
    color: var(--theme-orange);
    margin-bottom: 20px;
    display: inline-block;
    padding-bottom: 10px;
}

.wooden-systems-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.base-system-item {
    flex: 1 1 calc(30% - 25px);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.base-systems-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.wooden-system-item {
    flex: 1 1 calc(45% - 50px);
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wooden-system-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.wooden-system-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.wooden-systems-button-container {
    margin-top: 20px;
}

.button-wooden-systems {
    background-color: var(--theme-orange);
    color: var(--text-dark);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
}

.button-wooden-systems:hover {
    background-color: var(--theme-gray);
    color: var(--text-dark);
}

/* Wood Items Section CSS */
.wood-items-section {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background-color: var(--light-color);
    color: var(--text-dark);
}

.wood-items-title {
    font-size: 2.5em;
    color: var(--theme-orange);
    margin-bottom: 20px;
}

#woodSearchInput {
    padding: 10px;
    font-size: 1em;
    margin-bottom: 20px;
    width: 80%;
    border-radius: 8px;
    border: 1px solid var(--theme-gray);
}

.wood-items-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.wood-item-card {
    border: 1px solid var(--header-color-dark);
    flex: 1 1 calc(28% - 20px);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.5s ease;
    background-color: var(--light-color);
    padding: 10px;
    text-align: center;
    opacity: 1;
}

.wood-item-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.wood-item-image {
    max-width: 200px;
    max-height: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.wood-item-title {
    font-size: 1.5em;
    color: var(--theme-orange);
    margin-bottom: 10px;
}

.wood-item-description {
    font-size: 1em;
    color: var(--text-dark);
    text-align: justify;
    line-height: 1.6;
}
/* Filter Buttons CSS */
.filter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filter-buttons {
    margin-top: 10px;
}

.filter-buttons button {
    padding: 10px 20px;
    margin: 5px;
    background-color: var(--light-color);
    color: var(--text-dark);
    border: 1px solid var(--theme-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-buttons button:hover {
    background-color: var(--theme-orange);
    color: white;
}

.filter-buttons button.active {
    background-color: var(--theme-orange);
    color: white;
}
/* Magnific Popup CSS */
.mfp-bg {
    background: rgba(0, 0, 0, 0.8);
}

.mfp-wrap {
    z-index: 9999;
}

.mfp-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
}

.mfp-close {
    color: white;
    font-size: 2em;
    right: 10px;
    top: 10px;
    position: absolute;
}
.dropmenu ul li a {

    padding: 7px 20px 7px 10px;

}

@media screen and (min-width: 480px) {
    html {
        font-size: calc(16px + 2 * ((100vw - 480px)/ 800));
    }
}


.dark-mode {
    --header-height-large: 70px;
    --header-height-small: 50px;
    --gray-color: #555555; /* Darker gray for dark mode contrast */
    --light-color: #121212; /* Dark background color */
    --dark-color: #e0e0e0; /* Light color for text */
    --header-color-dark: #fe6d04; /* Keep the orange color for highlights */
    --background-gray: #1e1e1e; /* Dark gray background */
    --theme-orange: #fe6d04; /* Main theme color: orange */
    --theme-gray: #333333; /* Darker gray for subtle elements */
    --text-dark: #e0e0e0; /* Light text color */
    --text-light: #aaaaaa; /* Lighter gray for subtle contrast */
    --border-radius: 12px; /* Same softer rounded corners */
    --box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Stronger shadow for dark mode */
}
#dark-mode-toggle{
    color: var(--theme-orange) !important;

}
#dark-mode-toggle:hover, #dark-mode-toggle:focus {
    background-color: var(--theme-orange);
    color: var(--light-color) !important;
    text-decoration: none;
    border-radius: 10px;
}
.dropmenu ul ul {

    background:var(--background-gray) !important;
}