/*
 * Theme Name: Aquavelly
 * Theme URI: #
 * Author: Peakpixel Creative Hub
 * Author URI: https://www.peakpixelhub.com
 * Description: A flexible and modern WordPress theme designed for blogs, portfolios, and business websites.
 * Version: 3.1.4
 * Tested up to: 6.8
 * Requires PHP: 8.1
 * Text Domain: aquavelly
 * Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

@font-face {
    font-family: "eicons";
    src: url("../../plugins/elementor/assets/lib/eicons/fonts/eicons.woff2") format("woff2");
    font-display: swap;
}
@font-face {
    font-family: "FontAwesome";
    src: url("../../plugins/elementor/assets/lib/font-awesome/fonts/fontawesome-webfont.woff2") format("woff2");
    font-display: swap;
}


/**
 * Global Reset & Base
 */
*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    margin: 0; 
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #282E3A;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; 
}


/**
 * Typography
 */
h1, h2, h3, h4, h5, h6, p {
    margin: 0;
}


/**
 * Links
 */
a {
    background-color: transparent;
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover, 
a:active {
    color: var(--e-global-color-primary);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0; 
}


/**
 * Forms & Inputs
 */
label {
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}
button,
input,
select,
textarea {
    font: inherit;
    margin: 0;
    border: none;
    background: none;
    color: inherit;
    outline: none;
    line-height: 1;
}

/* Input Base Styles */
input,
select,
textarea {
	width: 100%;
    padding: 22px;
    background-color: #fff;
	border: 1px solid #e6e6e6;
    color: var(--e-global-color-text);
    font-size: 1rem;
    border-radius: 5px;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
input:focus,
select:focus,
textarea:focus {
    background-color: #fff;
    border-color: var(--e-global-color-primary);
    box-shadow: 0 0 20px rgba(0, 51, 175, 0.2);
}
textarea {
    height: 160px;
    resize: vertical;
    overflow: auto;
}
select {
    display: block;
    color: #4A4A4A;
    font-style: italic;
    background-color: #fff;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23898989' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 10px 6px;
    padding-right: 2.5rem;
}
select option {
    color: var(--e-global-color-text);
    font-style: normal;
}
select option:first-of-type {
    color: #4A4A4A;
    font-style: italic;
}

/* Placeholder Styles */
input::placeholder,
textarea::placeholder {
    color: #4A4A4A;
    font-style: italic;
}

@media (max-width: 991px) {
    input,
    select,
    textarea {
    	padding: 10px;
    	font-size: 0.875rem;
    }
    textarea {
    	height: 100px;
    }
}


/**
 * Button Style
 */
.elementor-button {
    display: inline-flex;
    align-self: flex-start;
    padding: 13px 20px;
    background: transparent;
    border: 2px solid var(--e-global-color-primary);
    color: var(--e-global-color-primary) !important;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 90px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 0;
    transition: all 0.3s ease;
}
.elementor-button:hover {
	color: #fff !important;
    background-color: var(--e-global-color-primary);
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-alt .elementor-button {
    border-color: #fff;
    background-color: #fff;
    color: var(--e-global-color-primary) !important;
}
.btn-alt .elementor-button:hover {
    background-color: transparent;
    color: #fff !important;
}
.elementor-button:focus {
    outline: none;
}
@media (min-width: 767px) {
	.btn-sm .elementor-button {
		font-size: 0.8125rem;
        padding: 8px 16px;
	}
}
@media (max-width: 991px) {
    .elementor-button {
       	font-size: 0.8125rem;
        padding: 8px 12px;
        border-width: 1px;
    }
    .btn-sm .elementor-button {
        font-size: 0.75rem;
        padding: 6px 12px;
    }
}


/**
 * Contact form
 */
#custom-inquiry-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 767px) {
    #custom-inquiry-form {
        gap: 20px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
}
.form-group.alt {
    grid-column: span 2; 
}
.form-group label {
    margin-bottom: 10px;
    font-size: 0.875rem;
} 

/* Error Styling */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: red;
}
.error-message {
    display: block;
    color: red;
    font-size: 0.815rem;
    margin-top: 5px;
}

/* Response Messages */
#form-response {
    float: left;
    width: auto;
    font-size: 0.875rem;
}
.success-response {
    color: green;
    border: 1px dashed green;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 20px;
}
.error-response {
    color: red;
    border: 1px dashed red;
    padding: 5px 10px;
    border-radius: 5px;
    margin-top: 20px;
}

/* reCAPTCHA Fix */
.g-recaptcha > div {
    height: auto !important;
}

/* Loader Spinner */
#loading-spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid var(--e-global-color-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/**
 * Table Style
 */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
table th, table td {
    padding: 5px 0;
    border-bottom: 1px solid #e6e6e6       
}
table th {
    text-align: left;
    width: 95px !important;
}
table th:after {
    content: ":";
    float: right;
}
table tr td {
	padding-left: 10px !important;
}
table tr:last-child th,
table tr:last-child td {
    border: 0;
    padding-bottom: 0;
}

/* Responsive Design */
@media (min-width: 991px) {
    table {
        font-size: 17px;
    }
    table th, table td {
        padding: 15px 0;
    }
    table th {
        width: 120px !important;
    }
}


/**
 * Lists
 */
ul, ol, li {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	position: relative;
}


/**
 * 404
 */
body.error404 .error-page {
    padding: 50px 15px;
    background: #f3f3f3;
}
body.error404 .error-page .elementor-widget-wrap {
	padding: 0 15px;
}
body.error404 .error-page .elementor-widget-wrap h1 {
	color: #282E3A;
	margin-bottom: 20px;
}
@media (min-width: 767px) {
    body.error404 .error-page {
    	padding: 80px 15px;
    }
}
@media (min-width: 991px) {
    body.error404 .error-page {
    	padding: 120px 0;
    }
}