/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


.inquiry-btn {
    display: inline-block;
    padding: 14px 30px;
    background-color: #000;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

.inquiry-btn:hover {
    background-color: #f7931e;
    color: #fff;
}


/* ----------------------------------------   Sticky Whatsapp Icon    ------------------------------------ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
  animation: whatsapp-move 2s infinite;
}
@keyframes whatsapp-move{
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.2);
	}
	100% {
		transform: scale(1);
	}
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

/* ----------------------------------------   Custom Form Popup    ------------------------------------ */
.select2.select2-container.select2-container--default{
    display: none;
}
.popup-overlay.popup-shortcode{
	position: relative;
	display: flex;
	z-index: 0;
	background: transparent;
}
.popup-overlay.popup-shortcode .popup-close{
	display: none;
}

.popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
	box-sizing: border-box;
}
.project-form-wrapper {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	max-width: 600px;
	width: 100%;
	position: relative;
}
.popup-overlay.popup-shortcode .project-form-wrapper {
  	border: 1px solid;
}
.popup-close {
	position: absolute;
    top: 5px;
    right: 12px;
	font-size: 26px;
	color: #666;
	cursor: pointer;
	transition: 0.3s;
}
.popup-close:hover {
	color: #000;
}
.project-form {
	flex: 1;
	padding: 20px;
}
.project-form h3 {
    font-size: 24px !important;
    padding-top: 0 !important;
    margin-bottom: 10px !important;
}
.popup-row select {
    width: 100% !important;
    padding: 10px 10px !important;
    margin: 0 10px 10px 0 !important;
    border: 1px solid #f1f1f1 !important;
    border-radius: 8px !important;
    color: #000;
} 
.select2-hidden-accessible {
    clip: unset !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
}
.popup-row input {
    border-radius: 0px 8px 8px 0px;
}
.project-form h2 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 20px;
}
.project-form input,
.project-form textarea {
	width: 100%;
	padding: 10px 10px;
    margin: 0 10px 10px 0;
	border: 1px solid #f1f1f1;
	border-radius: 8px;
	font-size: 14px;
}
.project-form button {
	width: 100%;
	padding: 10px;
	background-color: #00b3ff;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	cursor: pointer;
	transition: 0.3s;
}
.project-form button:hover {
	background-color: #0091d9;
}
.project-image {
	flex: 0 0 35%;
	background-color: #f5f3ff;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 30px;
}
.project-image img {
	max-width: 100%;
	height: auto;
}
@media (max-width: 768px) {
	.popup-overlay { 
		padding: 10px;
		justify-content: start;
	}
	.popup-overlay.popup-shortcode{
		padding: 0;
	}
	.project-form{
		padding: 10px;
	}
	.popup-row.category{
		column-gap: 60px; 
	}
	.project-form-wrapper {
		flex-direction: column;
		max-width: 450px;
	}
	.popup-row.category label{
    	width: 100%;
	}
	.project-image {
        flex: 0 0 auto;
        display: none;
    }
}
