/* 
Theme Name: Visual Composer Starter Child
Theme URL: https://visualcomposer.com/visual-composer-starter-theme/
Description: Visual Composer Starter Child Theme 
Theme Author: Visual Composer
Author URL: https://visualcomposer.com/
Template: visual-composer-starter 
Version: 1.0.0 
Text Domain: visual-composer-starter-child
*/

.custom_underline{
	border-bottom: 2px solid #FC8205;
	display: inline-block;
    padding-bottom: 10px;
}
[data-vcv-sticky-element-active="true"] {
    background-color: #000 !important; /* black background */
    transition: background-color 0.3s ease; /* smooth transition */
}


/* Grid Layout */
.custom-slider-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.gallery-block {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
}

.gallery-image-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: relative;
  background-color: #f8f8f8;
	border-radius: 20px;
}

.gallery-image-box img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  z-index: 1;
  position: relative;
}

.gallery-image-box .image-overlay {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.gallery-block:hover .gallery-image-box .image-overlay {
  opacity: 0;
}

.gallery-block:hover .gallery-image-box img {
  transform: scale(1.05);
}
.gallery-block:hover .gallery-image-box .gallery-title{
	opacity: 1;
}
.gallery-title {	
	position: absolute;
    bottom: 10px;
    left: 45%;
    transform: translateX(-50%);
    color: #fff !important;
    padding: 6px;
    width: 100%;
	z-index: 3;
}

@media (max-width: 768px) {
	h1{
		font-size: 40px !important;
	}
	h2{
		font-size: 35px !important;
	}
	.mobile_text_center *, .mobile_text_center{
		text-align: center !important;
		justify-content: center !important;
	}
  .custom-slider-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .custom-slider-grid {
    grid-template-columns: 1fr;
  }
}

/* Popup Overlay */
.custom-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.custom-popup-box {
  position: relative;
  background: #fff;
  border: 3px solid #FC8205 !important;
  padding: 40px 80px !important;
  max-width: 900px;
  width: 100%;
  margin: 40px auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}
.custom-popup-box p, .custom-popup-box h5{
	color: #000 !important;
}

/* Responsive Popup */
@media (max-width: 900px) {
	.slick-prev.slick-arrow{
		left: 0px !important;
	}
	.slick-next.slick-arrow{
		right: 0px !important;
	}
  .custom-popup-box {
    max-width: 90%;
    padding: 30px 40px !important;
  }
}

@media (max-width: 600px) {
  .custom-popup-box {
    max-width: 95%;
    padding: 20px 25px !important;
  }

  .custom-popup-box h5 {
    font-size: 20px !important;
  }

  .custom-popup-box p .green {
    font-size: 16px;
  }

  .custom-popup-close {
    width: 28px;
    height: 28px;
    font-size: 22px !important;
    right: 10px !important;
    top: 10px !important;
  }
}

.custom-popup-close {
  position: absolute;
  right: 5px !important;
  top: 5px !important;
  border-radius: 50% !important;
  width: 30px;
  height: 30px;
  font-size: 25px !important;
  font-weight: bold !important;
  background: #FC8205 !important;
  color: #fff;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.custom-popup-close:hover {
  background: #1d8c47 !important;
}

.custom-popup-box p {
  margin: 5px 0px !important;
}

.custom-popup-box h4 {
  margin: 0px 0px 10px 0px !important;
}

.green {
  color: #FC8205;
  font-weight: bold;
  font-size: 18px;
}

body.popup-open {
  overflow: hidden;
}

/*Custom Form CSS Start*/
/* ------------------------------
   Custom Contact Form Styling
   Wrapper: .custom-contact-form
--------------------------------*/

.custom-contact-form form.wpcf7-form p label {
    color: #000;
    font-weight: 400;
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

/* Inputs, email, text, textarea */
.custom-contact-form .wpcf7-form-control.wpcf7-text,
.custom-contact-form .wpcf7-form-control.wpcf7-email,
.custom-contact-form .wpcf7-form-control.wpcf7-textarea {
    width: 100%;
    border: 1px solid #dcdcdc !important;
    padding: 12px 14px;
    border-radius: 15px;
    font-size: 16px;
    box-sizing: border-box;
    margin-top: 6px;
    background: #fff;
}

/* Textarea height = 3 rows approx */
.custom-contact-form .wpcf7-form-control.wpcf7-textarea {
    height: auto;
    min-height: 80px; /* approx. 3 rows */
    resize: vertical;
}

/* File upload ONLY – half width */
.custom-contact-form .wpcf7-form-control.wpcf7-file {
    width: 50%;
    border: 1px solid #dcdcdc !important;
    padding: 10px;
    border-radius: 15px;
    background: #fff;
    margin-top: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

/* Submit button */
.custom-contact-form .wpcf7-submit {
    background: #FC8205 !important;
    color: #000 !important;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 15px;
    width: auto; /* not full width */
    display: inline-block;
}

/* Submit button hover */
.custom-contact-form .wpcf7-submit:hover {
    opacity: 0.9;
}

/* Make all fields full width EXCEPT file upload + submit */
.custom-contact-form p {
    width: 100%;
}

/* REMOVE full-width layout from file + submit row */
.custom-contact-form p input[type="file"],
.custom-contact-form p input[type="submit"] {
    display: inline-block;
}
/* Submit button hover - text turns white */
.custom-contact-form .wpcf7-submit:hover {
    opacity: 0.9;
    color: #fff !important;
}
/*Csutom Form CSS Ends*/