/*
Theme Name: Cryptical Child
Author: 
Description: Your description goes here
Version: 1.0
Template: cryptical

This is the child theme for Cryptical theme, generated with Generate Child Theme plugin by catchthemes.
*/

/* Common CSS Start */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.py-100 { padding: 70px 0!important; }
.py-70 { padding: 70px 0!important; }
.py-50 { padding: 50px 0!important; }
.py-40 { padding: 40px 0!important; }
.py-20 { padding: 40px 0!important; }

.common-col h2.elementor-heading-title {
    font-size: 40px !important;
    font-weight: 700 !important;
    text-transform: capitalize;
    line-height: 55px;
    font-family: 'Red Hat Display', sans-serif !important;
}

.common-col h4.elementor-heading-title {
    font-size: 22px;
    font-weight: 400;
    line-height: 25px;
    font-family: 'Poppins';
}

.common-col p {
    font-size: 18px;
    line-height: 30px;
    font-weight: 400 !important;
    font-family: 'Poppins' !important;
}

.btn-primary .elementor-button::Before,
.btn-secondary .elementor-button::before {
    border-radius: 0;
    content: '';
    height: 100%;
    width: 0;
    background: #354252;
    position: absolute;
    right: 0; left: 0; bottom: 0; top: 0;
    transition: 0.3s;
    z-index: -1;
}

.btn-primary .elementor-button:hover::Before,
.btn-secondary .elementor-button:hover::before {
    width: 100%;
    transition: 0.5s;
}

.btn-primary .elementor-button::Before { background: #fff !important; }

.btn-secondary .elementor-button:hover { color: #fff !important; }

.btn-primary .elementor-button, .btn-secondary .elementor-button {
    padding: 10px 26px;
    font-size: 14px !important;
    border: 1px solid #fff;
    text-transform: capitalize;
    position: relative;
    font-family: 'Poppins' !important;
    z-index: 99;
    overflow: hidden;
    font-weight: 500 !important;
    line-height: 9px !important;
    display: flex;
    border-radius: 26px;
}

body .btn-primary .elementor-button {
    color: #fff;
    background: linear-gradient(175deg, #DBA85A 0.61%, #D5A356 46.25%, #C6954C 104.34%, #AC7F3B 166.57%, #A67A37 179.02%, #A07635 228.8%, #916A30 295.19%, #805E2A 340.82%);
    border: none !important;
}

.btn-secondary .elementor-button { border: 1px solid #1c47fe00; }

.btn-primary , .btn-secondary { display: inline-block; width: auto !important; }

body .btn-primary .elementor-button:hover { color: #354252; }

.btn-secondary { margin-left: 20px !important; }

.btn-wrapper { margin-top: 25px; }

.btn-wrapper .elementor-widget-wrap { padding: 0 !important; }

.btn-primary.elementor-widget:not(:last-child),
.btn-secondary.elementor-widget:not(:last-child) { margin-bottom: 0; }

h1,h2,h3,h4,h5,h6,p,li,a,span { font-family: "Inter", sans-serif !important; }
body{ font-family: 'Poppins', sans-serif; }

/* Common CSS End */

.header-area {
    position: absolute !important;
    width: 100%;
    z-index: 1;
}

.header-area > .elementor-container.elementor-column-gap-default { position: relative; }

.header-area > .elementor-container.elementor-column-gap-default::before {
    position: absolute;
    content: '';
    background: #000;
    height: 43%;
    width: 100%;
    top: 48px;
    border-radius: 15px;
}

span.elementor-button-content-wrapper {
    align-items: center;
    gap: 10px;
}

span.elementor-button-content-wrapper svg {
    height: 30px;
    width: 30px;
}

p { margin: 0 !important; }

.hero-area.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default {
    height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 150px;
    padding-bottom: 150px;
}

.hero-area .elementor-widget-wrap.elementor-element-populated { align-content: center; }
.hero-area .elementor-divider { padding-top: 0 !important; }

.form-inner input,
.form-inner select#form-field-field_4819458,
.form-inner textarea#form-field-message {
    border-radius: 10px !important;
    border: 1px solid rgba(224, 224, 224, 0.10) !important;
    background: #FFF !important;
    padding: 12px 10px !important;
    margin-bottom: 10px;
}

.form-inner svg { width: fit-content !important; }

.form-inner li.elementor-icon-list-item { margin-bottom: 30px; }

.form-inner .elementor-widget-text-editor .elementor-widget-container { color: #1E1E1E; }

.form-col .elementor-widget-wrap.elementor-element-populated {
    padding: 60px 50px 60px 50px !important;
    border-radius: 30px !important;
}

.form-inner .elementor-widget-wrap.elementor-element-populated { padding: 0 !important; }

.form-inner .elementor-container.elementor-column-gap-default { gap: 80px; }

.contact-sec.elementor-section-boxed.elementor-section-height-default.elementor-section-height-default {
    margin: -100px 0 0 0;
}

.form-inner .elementor-button.elementor-size-sm { border-radius: 80px !important; padding: 11px 26px; }

.about-sec .elementor-widget-icon-list {
    width: fit-content !important;
    border-radius: 40px;
    background: rgba(217, 217, 217, 0.80);
    padding: 2px 17px;
}

.cases-inner .elementor-container.elementor-column-gap-default { gap: 20px; }

.test-sec .swiper-slide {
    box-shadow: 0px 2px 12px 0px rgba(31, 45, 61, 0.10);
    border-radius: 45px;
}

.test-sec .elementor-testimonial__content { margin-top: 70px !important; position: relative; }

.test-sec .elementor-testimonial__content::before {
    position: absolute;
    width: 40%;
    height: 30%;
    content: "";
    background: url(https://cwsdemowebsites.com/waweru/wp-content/uploads/2025/06/test-star.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    left: 0;
    top: -40px;
}

.test-sec .elementor-testimonial__text { font-family: "Inter", sans-serif !important; }

/* Single Blog Post Fixes */
body.single-post .elementor-widget-text-editor,
body.single-post p,
body.single-post li,
body.single-post h1,
body.single-post h2,
body.single-post h3,
body.single-post h4,
body.single-post h5,
body.single-post h6 {
    text-align: left !important;
}

body.single-post p,
body.single-post li {
    margin-bottom: 1.25em !important;
}

/* Mobile-specific adjustments */
@media only screen and (max-width: 767px) {
    /* Blog text alignment on mobile */
    body.single-post .elementor-widget-text-editor,
    body.single-post p,
    body.single-post li,
    body.single-post h1,
    body.single-post h2,
    body.single-post h3,
    body.single-post h4,
    body.single-post h5,
    body.single-post h6 {
        text-align: left !important;
    }

    body.single-post p,
    body.single-post li {
        margin-bottom: 1.25em !important;
    }
}
