/*
 * Theme Name: Sixora Global
 * 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.2.5
 * Tested up to: 8.2
 * Requires PHP: 7.1
 * Text Domain: sixora
 * Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
 */

/**
 * 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: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--e-global-color-text);
    -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.4s 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 Styles */
input,
select,
textarea {
    width: 100%;
    padding: 22px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: var(--e-global-color-text);
    font-size: 0.9375rem;
    border-radius: 10px;
    transition: all 0.4s ease;
}
input:focus,
select:focus,
textarea:focus {
    border-color: var(--e-global-color-primary);
    box-shadow: 0 0 20px rgba(164, 21, 17, 0.1);
}
textarea {
    height: 120px;
    resize: vertical;
    overflow: auto;
}
select {
    display: block;
    color: #898989;
    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 {
    background-color: #fff;
    color: var(--e-global-color-text);
    font-style: normal;
}
select option:first-of-type {
    color: #ababab;
    font-style: italic;
}

/* Placeholder */
input::placeholder,
textarea::placeholder {
    color: #898989;
    font-style: italic;
}
@media (max-width: 991px) {
    input,
    select,
    textarea {
        padding: 13px;
        font-size: 0.8125rem;
        border-radius: 6px;
    }
    textarea {
        height: 80px;
    }
}


/**
 * Button Style
 */
.elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: capitalize;
    color: #fff !important;
    background-color: var(--e-global-color-primary);
    border: 0;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
}
.elementor-button:hover {
    background-color: var(--e-global-color-02e3dd0);
    color: var(--e-global-color-primary) !important;
    transform: translateX(3px);
 }
.elementor-button:focus {
    outline: none;
}
@media (max-width: 991px) {
    .elementor-button {
        font-size: 0.75rem;
        padding: 10px 16px;
    }
}

.know-more .elementor-button {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--e-global-color-primary) !important;
}
.know-more .elementor-button:hover {
    color: var(--e-global-color-secondary) !important;
}


/**
 * 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;
}
/*@media (max-width: 767px) {
    .submit-btn {
        grid-column: span 2;
        text-align: center;
    }
}*/

/* 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 {
    display: block;
}
.success-response {
    color: green;
    border: 1px dashed green;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
}
.error-response {
    color: red;
    border: 1px dashed red;
    padding: 10px 20px;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
}

/* 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); }
}


/* Custome File Upload */
.custom-file-upload .file-upload-wrapper {
    position: relative;
}
.custom-file-upload .file-btn {
    background: #f3f3f3;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.8125rem;
    margin-right: 5px;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
}
.custom-file-upload .file-name {
    font-size: 0.8125rem;
}
.custom-file-upload .file-input {
    position: absolute;
    left: 0;
    top: 6px;
    opacity: 0;
    cursor: pointer;
    padding: 0;
    background: transparent;
    border-radius: 0;
    width: 225px;
}
.file-notes {
    display: block;
    font-size: 0.8125rem;
}
@media (max-width: 767px) {
    .custom-file-upload {
        grid-column: span 2;
    }
    .file-notes {
        font-size: 0.6875rem;
    }
}



/**
 * Table Style
 */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}
table tr:nth-child(odd) {
	background: #f3f3f3;
}
table th, table td {
    padding: 10px 5px;
}
table th {
    color: var(--e-global-color-primary);
    border-bottom: 2px solid var(--e-global-color-primary);
    text-transform: uppercase;
    background: #fff;
    text-align: left;
}
table tr td:first-child {
	font-weight: 500;
}
@media (min-width: 991px) {
    table {
    	font-size: 1rem; 
    }
    table th, table td {
        padding: 18px 30px;
    }
}


/**
 * 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: #343434;
	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;
    }
}