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

:root {
    --primary-color: #14351d;
    --secondary-color: #fcd7a2;
    --third-color: #909190;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #eeeddc;
    --dark-color: #343a40;
    
    
    
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-on-scroll.fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.animate-on-scroll.fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

/* Add animation delay for staggered effect */
.animate-on-scroll:nth-child(1n) {
    animation-delay: 0.2s;
}

.animate-on-scroll:nth-child(2n) {
    animation-delay: 0.4s;
}

.animate-on-scroll:nth-child(3n) {
    animation-delay: 0.6s;
}

.animate-on-scroll:nth-child(4n) {
    animation-delay: 0.8s;
}

/* Carousel Text Animations */
@keyframes textFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes carouselSlide {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

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

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(20px);
}

.animate-on-scroll.fade-in-left {
    transform: translateX(-20px);
}

.animate-on-scroll.fade-in-right {
    transform: translateX(20px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

/* Carousel Text Animations */
.carousel-caption h2 {
    animation: textFadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

.carousel-caption p {
    animation: textFadeIn 1s ease forwards;
    animation-delay: 0.6s;
}

.carousel-caption .btn {
    animation: textFadeIn 1s ease forwards;
    animation-delay: 0.9s;
}

/* Carousel Animation */
.carousel-item {
    animation: carouselSlide 0.8s ease forwards;
}



/* Header Animation */
.navbar {
    animation: headerFadeIn 0.8s ease forwards;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.fade-in-up {
    transform: translateY(20px);
}

.animate-on-scroll.fade-in-left {
    transform: translateX(-20px);
}

.animate-on-scroll.fade-in-right {
    transform: translateX(20px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--primary-color);
    overflow: hidden !important;
    overflow-y: scroll !important;
}

body::-webkit-scrollbar{
    display: none;
}


.bg-green{
    background-image: url(../assets/img/green-bg-01.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.img-icon{
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
}


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

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

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

.container{
    max-width: 1366px;
}

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

.btn-outline-primary{
    border-color: var(--primary-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover{
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}


.navbar {
    height: 100px;
}


.navbar-collapse {
    justify-content: space-between;
}

.navbar-collapse .header-logo{
    height: 60px;
    object-fit: contain;
    object-position: center;    
}

.navbar-collapse ul{
    width: 100%;
    display: flex;
    justify-content: center;    
    align-items: center;
}

.navbar-collapse ul li{
    list-style: none;
    padding: 10px;
}

.navbar-brand {
    font-weight: bold;
}

.carousel{
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  
    align-items: flex-start;
    position: relative;
}

.carousel-item{
    height: 100vh;
}

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

.carousel-footer-white{
    position: absolute;
    bottom: 0;
    left: -15%;
    width: 130%;
    z-index: 2;
    height: 300px;
    background-image: url(../assets/img/carousel/carousel-footer-white-01.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}

.carousel-indicators{
    margin-bottom: 150px;
}

.carousel-indicators, .carousel-control-prev, .carousel-control-next{
    z-index: 3 !important;
}

.carousel-control-buttons{
    position: absolute;
    top: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.breadcrump{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to bottom, rgba(1, 75, 29,.8), rgba(2, 53, 13,.95)), url(../assets/img/breadcrump-bg.jpeg);
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    padding: 20px;
    padding-top: 90px;
}

.button-left{
    left: 0;
}

.button-right{
    right: 0;
}

.carousel-caption{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 300px;
    z-index: 2;
}

.carousel-caption h2{
    font-size: 4rem;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.ad-image{
    width: 100%;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(1, 75, 29,.5), rgba(2, 53, 13,.5)), url(../assets/img/sofa-bg-01.jpeg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
}

.ad-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.client-item{
    min-height: 300px !important;
    width: 300px !important;
}

.client-item img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.ovarlay-primary{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(20, 53, 29, .6);
}

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

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

.client-logo {
    max-height: 250px;
    opacity: 0.7;
    transition: all 0.3s ease;
    margin: 0 auto;
    padding: 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.client-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.client-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#clientCarousel {
    padding: 1rem 0;
}


.carousel-indicators {
    bottom: -30px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    margin: 0 10px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(0,0,0,0.3);
}

.client-section {
    margin-bottom: 2rem;
}

.carousel-caption p{
    font-size: 1.2rem;
    color: #fff;
}

.carousel-img{
    z-index: 9;
    width: 30%;
    height: 100%;
    position: absolute;
    top: -8%;
    right: 0;
}

.carousel-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Counter Animation Styles */
.counter-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.counter-label {
    font-size: 1rem;
    color: var(--third-color);
    margin-top: 0.5rem;
}

.card {
    transition: transform 0.2s;
}

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

.social-links a {
    text-decoration: none;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff !important;
}

.card-img-top{
    height: 200px;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.section-description {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.section-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

footer {
    margin-top: 4rem;
}

footer {
    margin-top: 4rem;
}

/* Contact Form Styles */
#contactForm .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* RTL Support */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-left: auto !important;
    margin-right: 0 !important;
    border-right: 0 !important;
}

[dir="rtl"] .navbar-collapse {
    width: 120vw !important;
    right: -90vw !important;
}

[dir="rtl"] .navbar-toggler {
    margin-left: 50px !important;
}



[dir="rtl"] .navbar-brand {
    margin-left: 0 !important;
    margin-right: 1rem !important;
}

[dir="rtl"] .language-switcher {
    direction: ltr;
}

[dir="rtl"] .language-switcher button {
    padding-left: 0.5rem !important;
    padding-right: 1rem !important;
}

[dir="rtl"] .breadcrumb {
    padding-left: 0 !important;
    padding-right: 1rem !important;
}

[dir="rtl"] .breadcrumb-item::before {
    content: "›" !important;
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
}

[dir="rtl"] .breadcrumb-item:first-child {
    padding-left: 0 !important;
    padding-right: 1rem !important;
}

[dir="rtl"] .breadcrumb-item:last-child {
    padding-right: 0 !important;
    padding-left: 1rem !important;
}

[dir="rtl"] .card {
    text-align: right;
}

[dir="rtl"] .card-title {
    text-align: right;
}

[dir="rtl"] .card-text {
    text-align: right;
}

[dir="rtl"] .row {
    direction: rtl;
}

[dir="rtl"] .col-md-6 {
    padding-left: 0.75rem !important;
    padding-right: 1.5rem !important;
}

[dir="rtl"] .col-md-8 {
    padding-left: 1.5rem !important;
    padding-right: 0.75rem !important;
}

[dir="rtl"] .col-md-4 {
    padding-left: 0.75rem !important;
    padding-right: 1.5rem !important;
}

[dir="rtl"] .btn {
    padding-left: 0.75rem !important;
    padding-right: 1.5rem !important;
}

[dir="rtl"] .form-control {
    text-align: right;
    padding-left: 0.75rem !important;
    padding-right: 1.5rem !important;
}

[dir="rtl"] .form-select {
    text-align: right;
    padding-left: 0.75rem !important;
    padding-right: 1.5rem !important;
}

[dir="rtl"] .form-text {
    text-align: right;
}

[dir="rtl"] .text-left {
    text-align: right !important;
}

[dir="rtl"] .text-right {
    text-align: left !important;
}

[dir="rtl"] .text-center {
    text-align: center !important;
}

[dir="rtl"] .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-2 {
    margin-right: 0.5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-3 {
    margin-left: 1rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-4 {
    margin-left: 1.5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-4 {
    margin-right: 1.5rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-5 {
    margin-left: 3rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-5 {
    margin-right: 3rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .mb-4 {
    margin-bottom: 1.5rem !important;
}

[dir="rtl"] .mt-4 {
    margin-top: 1.5rem !important;
}

[dir="rtl"] .mb-5 {
    margin-bottom: 3rem !important;
}

[dir="rtl"] .mt-5 {
    margin-top: 3rem !important;
}

[dir="rtl"] .card-img-top {
    border-radius: 0 0 0.25rem 0.25rem !important;
}

[dir="rtl"] .rounded-start {
    border-radius: 0 0.25rem 0.25rem 0 !important;
}

[dir="rtl"] .rounded-end {
    border-radius: 0.25rem 0 0 0.25rem !important;
}

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

    header{
        position: fixed;
        left: 0;
        padding: 0;
        top: 0;
        border-radius: 10px;
        z-index: 99999999999999999999999999999999999999999999 !important;
    }

    .navbar-toggler{
        border-radius: 10px;
        background-color: white;
        margin: 15px;
        z-index: 99999999999999999999999999999999999999999999 !important;
    }

    main{
        margin-top: 100px;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }


    .navbar-collapse{
        background-color: white;
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        z-index: 9 !important;
    }

    .navbar-brand{
        height: 60px;
        position: absolute;
        top: 100px;
    }

    .container{
        padding:0;
    }
    section{
        padding:15px;
    }

    main{
        margin:0;
    }

    
.carousel{
    max-height: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;  
    align-items: flex-start;
    position: relative;
    margin-bottom: 100px;
    padding:0;
}

.carousel-item{
    height: 300px;
}

.carousel-item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-footer-white{
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    z-index: 2;
    height: 200px;
    background-image: url(../assets/img/carousel/carousel-footer-white-01.png);
    background-size: contain;
    background-position: bottom;
    background-repeat: no-repeat;
}


.carousel-indicators{
    margin-bottom: 60px;
}
.carousel-caption{
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 50px;
    height: 200px;
    z-index: 2;
}

.carousel-caption h2{
    width: 100%;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    line-height: 1;
}

.carousel-caption p{
    width: 100%;
    font-size: 1rem;
    color: #fff;
}
}