/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 
 .ct-header-text a {
	--theme-text-decoration: none !important;
}

.ct-box-logo .elementor-widget-container { display: flex;	min-height: 180px; justify-content: center; align-self: center
}

.ct-review-box:hover .elementor-icon { color: var(--theme-palette-color-4) !important 
}

/* 2560 Screens css */
@media only screen and (min-width: 1921px) and (max-width: 2800px) { 

	#sidebar-wrapper {
        width: 400px !important;
    }



}




/* 1920 Screens css */
@media only screen and (min-width: 1500px) and (max-width: 1920px) {
/* ABOUT Us page margin */
	.elementor-627 .elementor-element.elementor-element-19af242 {
		margin-left: 260px;
	}
	
	#sidebar-wrapper {
        width: 400px !important;
    }
	
	.elementor-627 .elementor-element.elementor-element-e74d64a {
		margin-left: 0px;
	}
	
	.elementor-625 .elementor-element.elementor-element-a5a5a94 {
		margin-left: 240px;
		
	}
	.contacthead {
		margin-left: 0px; !important
	}
	.elementor-616 .elementor-element.elementor-element-c2e7c1b {
		margin-left: 255px;
	}
	
	.Proj1 {
		margin-left: 0px;
	}

	

}



.initialscreen {
	position: absolute;
            height: 100vh;
            width: 100%;
            top: 0;
            left: 0;
            z-index: 1001;
            background: #080808;
}





        svg {
            width: 20vw;
            overflow: visible;
        }

        .reveal {
            position: absolute;
            height: 100vh;
            width: 100%;
            top: 0;
            left: 0;
            z-index: -1;
            background: #080808;

        }



/* Sidebar Navigation Code */
#sidebar-wrapper {
    position: fixed; /* Change to fixed */
    top: 0;
    left: 0; /* Stick to the left side */
    width: 300px; /* Adjust sidebar width as needed */
    background-color: #F6F3EF; 
    padding: 40px;
    padding-top: 60px;
    z-index: 1000; /* Ensure it's above other content */
    height: 100%; /* Occupy full height of the viewport */
    overflow-y: auto; /* Add vertical scroll if needed */
}

#sidebar {
    width: 100%; /* Adjust sidebar width as needed */
}

/* Logo */
.logo img {
    max-width: 100%; 
    display: block;
    margin-bottom: 10px; 
}

/* Adjust spacing between menu items */
.sidebar-menu-list li {
    margin-bottom: 10px;
    font-family: "Libre Franklin", sans-serif !important; /* Change the font family here */
}

.sidebar-menu-list a {
    display: block; /* Display menu items as block elements */
    padding: 8px 0; /* Add padding to menu items */
    text-decoration: none;
    color: #333; /* Adjust color of menu links */
	 
}

.sidebar-menu-list a.active {
    color: #fff !important; /* Change to desired color */
}

/* Social Icons */
.social-icons {
    margin-top: 20px; /* Adjust spacing from the menu */
}

.social-icon {
    display: inline-block;
    margin-right: 16px; /* Adjust spacing between icons */
}

.social-icon i {
    font-size: 20px; /* Adjust icon size as needed */
    color: #333; /* Adjust icon color */
}



/*CONTACT FORM CSS*/
.elementor-section .elementor-container {
	margin-left: 0px; !important
	margin-right: 0px; !important
}







/* Adjustments for smaller screens */
@media screen and (max-width: 768px) {
	

	svg {
            width: 60vw;
            overflow: visible;
        }
	
	
    #sidebar-wrapper {
        width: 100%; /* Sidebar takes full width on smaller screens */
        padding: 0; /* Reset padding */
				padding-top: 25px;
				padding-left: 5px;
        position: relative; /* Reset position */
        height: auto; /* Reset height */
        overflow-y: visible; /* Reset overflow */
    }

    .logo img {
        max-width: 60%; /* Reduce the maximum width of the logo */
        display: block;
        padding-top: 20px;
        padding-left: 20px;
        margin-bottom: 20px; /* Increase margin for better spacing */
    }

    /* Social Icons */
    .social-icons {
        margin-top: 20px; /* Adjust spacing from the menu */
        margin-left: 20px;
        margin-bottom: 20px;
    }

    .social-icon {
        display: inline-block;
        margin-right: 12px; /* Adjust spacing between icons */
    }

    .social-icon i {
        font-size: 16px; /* Adjust icon size as needed */
        color: #333; /* Adjust icon color */
    }
    
    /* Add padding to individual menu items */
    .sidebar-menu-list a {
        padding-left: 20px;
    }

    /* Show hamburger button */
    #hamburger-btn {
        display: block;
        position: absolute; /* Position hamburger button absolutely within the sidebar */
        top: 60px; /* Adjust top position as needed */
        right: 20px; /* Adjust right position as needed */
			padding: 10px;
        z-index: 5000; /* Ensure the hamburger icon is above other content */
    }

    /* Hide sidebar menu */
    .sidebar-menu {
        display: none;
    }

    /* Style hamburger icon */
    .hamburger {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #333;
        position: relative;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        width: 25px;
        height: 3px;
        background-color: #333;
        position: absolute;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        top: 8px;
    }
	
	#main-container {
		min-height: 600px;
	}
}

/* Remove bullet points */
.sidebar-menu-list li {
    list-style-type: none; 
    padding: 0;
    margin: 0;
}

/* Remove default padding and margin for ul and ol */
ul,
ol {
    padding-inline-start: 0;
    margin-bottom: 0;
}

/* Highlight active menu item */
.current-menu-item a {
    color: #8D0801 !important; /* Change to desired color */
}







/*PROJECTS PAGE CSS*/



.hero-section {
	display: none;
}








.scroll {
    display: flex;
    overflow-x: auto; /* Allow horizontal scrolling */
    cursor: ew-resize; /* Change cursor to indicate horizontal scrolling */
    width: 100%;
}

.projimg {
    width: 40%; /* Adjusted from 70% to 40% */
    overflow: hidden; /* Ensures the image doesn't overflow the container during animation */
}

.projscroll-container {
    display: flex;
    overflow-x: auto; /* Allow horizontal scrolling */
    width: 60%; /* Adjusted from 30% to 60% */
}

.projscrollimg {
    width: 50%; /* Adjusted from 20% to 50% */
    overflow: hidden; /* Ensures the image doesn't overflow the container during animation */
}

.projimg img, .projscrollimg img {
    width: 100%;
    display: block;
}

/* Keyframes for animation */
@keyframes enlargeImage {
    0% { width: 40%; }
    100% { width: 50%; }
}

.animate-enlarge {
    animation: enlargeImage 3s ease forwards;
}

.description {
    display: none; /* Initially hidden */
}

.fade-in {
    animation: fadeIn 5s ease forwards;
}

.fade-in-delayed {
    animation-delay: 3s;
}

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

.projscrollimg {
    display: none; /* Hide all projscrollimg initially */
}







/* THE NEW SLIDER CODE FOR PROJECTS PAGE */

.projani1 .swiper-slide:not(.swiper-slide-active) {
    display: none;
}

.projani1 .swiper-slide {
    margin-right: 24px;
}

.projani1 .projdesc1 {
    margin-top: 0px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.projani1 .projdesc1.fade-in {
    opacity: 1;
}

.animate-enlarge img {
    object-fit: cover;
    transition: height 0.3s ease-in-out, width 0.3s ease-in-out;
    height: 480px;
    width: 100%; /* Ensures width is also adjusted */
}

.projani1 .swiper-container {
    overflow-x: auto; /* Ensures horizontal scrolling */
    white-space: nowrap; /* Keeps all slides on a single line */
}


/*SLIDER For Project 1 META CODE */
	
    #metaslider-id-2943 .slide-2944.initial-small {
        transform: scale(0.6); /* 40% smaller */
        transition: transform 2s ease-in-out; /* Adjust duration as needed */
    }

    #metaslider-id-2943 .slide-2944.normal-size {
        transform: scale(1); /* Original size */
        transition: transform 2s ease-in-out; /* Adjust duration as needed */
    }

.center-align {
    margin: 0 auto; /* This will center-align the slide */
}

@media (max-width: 768px) {
    .metaslider .flexslider .flex-direction-nav li a {
        transform: translateX(-20px) !important; /* Moves it right */
    }
	
	
}


@media screen and (min-width: 768px) {
    #proj1descr1 {
        display: none;
    }
}

/*SLIDER For Project 2 META CODE */

    #metaslider-id-3056 .slide-3057.initial-small {
        transform: scale(0.6); /* 40% smaller */
        transition: transform 2s ease-in-out; /* Adjust duration as needed */
    }

    #metaslider-id-3056 .slide-3057.normal-size {
        transform: scale(1); /* Original size */
        transition: transform 2s ease-in-out; /* Adjust duration as needed */
    }

.center-align {
    margin: 0 auto; /* This will center-align the slide */
}


@media screen and (min-width: 768px) {
    #proj2descr2 {
        display: none;
    }
}

.metaslider .flexslider .flex-direction-nav li a {
	/* background-image: url('http://demo.thecraftsmen.studio/wp-content/uploads/2024/06/right-arrow.png') !important;*/
	margin-right: -50px !important;	
}

.justify-text {
    text-align: justify;
}



/*SLIDER For Project 3 META CODE */

    #metaslider-id-3863 .slide-3864.initial-small {
        transform: scale(0.6); /* 40% smaller */
        transition: transform 2s ease-in-out; /* Adjust duration as needed */
    }

    #metaslider-id-3863 .slide-3864.normal-size {
        transform: scale(1); /* Original size */
        transition: transform 2s ease-in-out; /* Adjust duration as needed */
    }

.center-align {
    margin: 0 auto; /* This will center-align the slide */
}


@media screen and (min-width: 768px) {
    #proj3descr3 {
        display: none;
    }
}

.metaslider .flexslider .flex-direction-nav li a {
	/* background-image: url('http://demo.thecraftsmen.studio/wp-content/uploads/2024/06/right-arrow.png') !important;*/
	margin-right: -50px !important;	
}

.justify-text {
    text-align: justify;
}



/* Projects page: keep desktop sliders and descriptions visible immediately */
@media screen and (min-width: 768px) {
    #proj1descr1,
    #proj2descr2,
    #proj3descr3 {
        display: block !important;
        opacity: 1 !important;
    }

    #metaslider-id-2943 .slide-2944,
    #metaslider-id-3056 .slide-3057,
    #metaslider-id-3863 .slide-3864 {
        transform: scale(1) !important;
    }

    #metaslider_container_2943 .flex-direction-nav li a,
    #metaslider_container_3056 .flex-direction-nav li a,
    #metaslider_container_3863 .flex-direction-nav li a {
        display: block !important;
    }
}














