/*
 * Theme Name: Super Engineering Works
 * Theme URI: #
 * Author: Noori Graphics
 * Description: A flexible and modern WordPress theme designed for blogs, portfolios, and business websites.
 * Version: 1.1.0
 * Tested up to: 5.8
 * Requires PHP: 7.1
 * Text Domain: supereng
 * 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
 */
html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;    
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0; 
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1rem;
    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);
}


/**
 * 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: 24px;
    background-color: #fff;
	border: 1px solid #e6e6e6;
    color: var(--e-global-color-text);
    font-size: 1rem;
    line-height: 1.4;
    border-radius: 5px;
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    box-shadow: 0 0 35px rgba(0, 0, 0, 0.035);
}
input:focus,
select:focus,
textarea:focus {
    background-color: #fff;
    border-color: var(--e-global-color-primary);
    box-shadow: 0 0 20px rgba(4, 139, 206, 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: 12px 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: 14px;
    	font-size: 0.8125rem;
    }
    textarea {
    	height: 100px;
    }
}


/**
 * Button Style
*/
.elementor-button {
    display: inline-flex;
    align-items: center;
    padding: 15px 22px;
    font-size: 0.875rem;
    font-weight: 500;
    background: var(--e-global-color-primary);
    color: #fff !important;
    border: 0;
    border-radius: 50px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.4s ease;
}
.pri-btn .elementor-button,
.pri-btn.elementor-button {
    background: #fff;
    color: var(--e-global-color-primary) !important;
}
.elementor-button:focus {
    outline: none;
    border: 0;
}
.elementor-button::before {
    content: "";
    position: absolute;
    top: 0;
    right: 100%;
    width: 200%;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    transform: skewX(-20deg);
    z-index: -1;
    transition: right 0.6s ease;
}
.pri-btn .elementor-button::before,
.pri-btn.elementor-button::before {
    background: #f3f3f394;
}
.elementor-button:hover::before {
    right: 0;
}
.elementor-button::after {
    content: "\e8c0";
    font-family: 'eicons';
    position: relative;
    margin-left: 6px;
    transition: color 0.4s ease, transform 0.6s ease;
}
.elementor-button:hover::after {
    animation: iconSlideRTL 0.6s ease forwards;
}
@keyframes iconSlideRTL {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(30px);
        opacity: 0;
    }
    51% {
        transform: translateX(-30px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}
@media (max-width: 991px) {
    .elementor-button {
        font-size: 0.75rem;
        padding: 10px 15px;
    }
}

/*--btnlink--*/
.btn-link .elementor-button {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--e-global-color-primary) !important;
    text-transform: uppercase;
    font-weight: 700;
}
.btn-link .elementor-button:hover {
    color: var(--e-global-color-secondary) !important;
}
.btn-link .elementor-button::before {
    content: none;
}

.btn-link.wht .elementor-button {
    color: #fff !important;
}
.btn-link.wht .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: 16px;
    }
}

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

/* 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 */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8125rem;
}
table th, table td {
    border-bottom: 1px solid #e6e6e6;
}
table th {
    padding: 8px 5px 8px 15px;
    background: #f5f5f5;
    color: var(--e-global-color-primary);
    text-align: left;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
table td {
    padding: 5px 5px 5px 15px;
}
table td:first-child {
    font-weight: 600;
}
table td:first-child:after {
    content: ":";
    float: right;
}
table tr:last-child td {
    border: 0;
}
@media (min-width: 991px) {
    table {
        font-size: 1rem;
    }
    table th {
        padding: 12px 0 12px 30px;
    }
    table td {
        padding: 8px 0 8px 30px;
    }
    table td:first-child {
        width: 33%!important;
    }
}



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


/**
 * 404 Page Styling
 */
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;
    }
}