/*
Theme Name:   Hello Elementor Child
Theme URI:    https://wordpress.org/themes/hello-elementor/
Description:  Hello Elementor child theme
Author:       Mukesh Kumar
Author URI:   https://wordpress.org/
Template:     hello-elementor
Version:      1.0.0
Text Domain:  hello-elemenrorchild
*/


/***side icons****/
.icon-group {
	position: fixed;
	bottom: 40%;
	right: -30px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.icon-container {
	display: flex;
	align-items: center;
	position: relative;
	transition: transform 0.3s ease-in-out;
	transform: translateX(110px);
}
.icon-label {
	background-color: black;
	color: white;
	padding: 5px 10px;
	border-radius: 5px;
	margin-left: 10px;
	white-space: nowrap;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
	
}
.icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
	background-color: white;
	font-size: 25px;
	color: white;
}
.icon .fa {
	color:#fff;
}
.icon-container:hover {
	transform: translateX(-30px);
}
.icon-container:hover .icon-label {
	opacity: 1;
}


/**solar calculator**/
.calculator-container {
	max-width: 100%;
	margin: auto;	
	padding: 20px;
	border-radius: 10px;
	display: flex;
}
.calculator-container h1, .calculator-container label{
	color:#fff !important;
}
select, input {
	width: 100%;
	padding: 10px;
	margin: 10px 0;
	border-radius: 5px;
	border: none;
	background: #fff !important;
}
.info-box {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	width: 48%;
	padding:45px;
	color:#fff;
}

.box {
	width: 48%;
	background: #ffffff;
	color: black;
	padding: 15px;
	margin: 5px 0;
	border-radius: 5px;
	text-align: center;
	font-weight: bold;
}
.sub-box{
	display: flex;
}
.icon-box, .label-box{
	width:30%;
	padding:7px;
	vertical-align:middle;
	text-align:center;
}
.label-box{
	width:70%;
	padding:7px;
	vertical-align:middle;
}
.price-box {
	background: white;
	color: black;
	padding: 15px;
	margin-top: 10px;
	border-radius: 5px;
	text-align: center;
	font-weight: bold;
}
.error_msg{
	border:1px solid red;
	padding:5px 10px;
	margin:10px 0;
	color:red;
	background:#fff;
	border-radius:7px;
}
.success_msg{
	border:1px solid green;
	padding:5px 10px;
	margin:10px 0;
	color:green;
	background:#fff;
	border-radius:7px;
}
.slick-slide {
	margin:10px;
}


/* Banner Styling */
header {
    width: 100%;
    background: url('https://pinesolar.in/wp-content/uploads/2024/06/solar-energy-panels.jpg') no-repeat center center;
    background-size: cover;
    padding: 100px 0;
    text-align: center;
    color: white;
    position: relative;
}
.banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.banner-content {
    position: relative;
    padding: 50px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    margin: 0 auto;
    width: 80%;
    color: #111;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Project Content */
.project-single {
    margin: auto;
    text-align: center;
}
.project-thumbnail img {
    width: 100%;
    border-radius: 10px;
}
.project-content {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
}

/* Two Column Layout */
.project-details-section {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
    justify-content: space-between;
}
.project-gallery {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}
.project-gallery img {
    width: 100%;
    border-radius: 8px;
    height: 150px;
    object-fit: cover;
}
.project-info {
    flex: 1;
    min-width: 300px;
    background: #f5f5f5;
    padding: 30px;
    border-radius: 10px;
    text-align: left;
}
.project-info div {
    font-size: 1rem;
    margin-bottom: 10px;
}
.project-info .label {
    font-weight: bold;
    color: #333;
}

/* Similar Projects Cards (Slick Slider) */
.similar-projects {
    margin-top: 60px;
}
.similar-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-align: left;
}
.similar-slider {
    display: flex !important;
    gap: 20px !important;
}
.similar-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}
.similar-card:hover {
    transform: translateY(-5px);
}
.similar-card .card-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.similar-card .card-title {
    padding: 15px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* Title + Content */
.product-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.product-content {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
}
.two-cols {
    display: grid;
	grid-template-columns:repeat(2, 1fr);
	gap:10px;
}
.four-cols {
    display: grid;
	grid-template-columns:repeat(4, 1fr);
	gap:10px;
}
.col-md-6{
	padding:30px;
}
.col-md-4{	
	padding:10px;
}
/* Image */
.product-thumbnail img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0,0,0,0.1);
}

/* Table styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.table th,
.table td {
    border: 1px solid #ddd;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
}

.table th {
    background-color: #f8f8f8;
    font-weight: 600;
}

.table-hover tbody tr:hover {
    background-color: #f1f1f1;
}

tr.danger th,
tr.danger td {
    background-color: #f8d7da;
    font-weight: bold;
}

/* Cart Button */
.cart-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cart-btn:hover {
    background-color: #218838;
    text-decoration: none;
}

/* Similar products */
.similar-products {
    margin-top: 60px;
}

.similar-products h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.similar-products .card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

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

.similar-products .card-body {
    padding: 20px;
    text-align: center;
}

.similar-products .btn {
    margin-top: 10px;
    padding: 4px 7px;
    background-color: #007bff;
    border: none;
    color: #fff;
}

.similar-products .btn:hover {
    background-color: #0056b3;
	color: #fff;
}




@media (max-width: 768px) {
	.icon-group {		
		bottom: 50%;
		right: -15px;
	}
	.icon-group .icon {
    	width: 40px;
		height: 40px;
		font-size: 20px;
	}
	.calculator-container {
		display:block;
		padding:10px;
	}
	.info-box {
		padding:5px;
		width: 100%;
	}
	.icon-box, .label-box {
		width: 48%;
	}
	.container {
        padding: 40px 15px;
    }
    .banner-content {
        padding: 20px;
    }
    .project-details-section {
        flex-direction: column;
    }
	.two-cols{
		display:block;
	}
	.four-cols {
		display:block;
	}
	
}