/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Responsive child theme for S2R Solutions.
Author: S2R Solutions
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/


/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Responsive child theme for S2R Solutions.
Author: S2R Solutions
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* ========================================
   1. GLOBAL VARIABLES
======================================== */

:root {
    --s2r-cream: #FCFAED;
    --s2r-grey: #3A3A3A;
    --s2r-blue: #120C6E;
    --s2r-dark-blue: #08052E;
    --s2r-cyan: #00F0FF;

    --s2r-heading-font: "Halyard", sans-serif;
    --s2r-body-font: "DM Sans", sans-serif;

    --s2r-container-width: 1200px;
    --s2r-section-padding: 80px;
}

/* ========================================
   2. GLOBAL RESET
======================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--s2r-body-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--s2r-grey);
    background-color: #ffffff;
    overflow-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

iframe,
video {
    max-width: 100%;
}

a {
    color: var(--s2r-blue);
    text-decoration: none;
    transition: color 0.25s ease;
}

a:hover {
    color: var(--s2r-cyan);
}

button,
input,
textarea,
select {
    font-family: var(--s2r-body-font);
}

/* ========================================
   3. PARAGRAPHS AND BODY TEXT — DM SANS
======================================== */

p,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-icon-list-text,
.elementor-widget-icon-box .elementor-icon-box-description,
.elementor-widget-image-box .elementor-image-box-description,
.elementor-widget-testimonial .elementor-testimonial-content,
li,
label,
input,
textarea,
select,
button {
    font-family: var(--s2r-body-font);
}

p {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
}

/* ========================================
   4. ALL HEADINGS — HALYARD
======================================== */

h1,
h2,
h3,
h4,
h5,
h6,
.elementor-heading-title {
    font-family: var(--s2r-heading-font);
    font-weight: 600;
    color: var(--s2r-dark-blue);
    margin-top: 0;
    overflow-wrap: break-word;
}

h1,
.elementor-widget-heading h1.elementor-heading-title {
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.12;
    letter-spacing: -0.8px;
    margin-bottom: 24px;
}

h2,
.elementor-widget-heading h2.elementor-heading-title {
    font-size: clamp(28px, 3.5vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

h3,
.elementor-widget-heading h3.elementor-heading-title {
    font-size: clamp(23px, 2.5vw, 32px);
    line-height: 1.3;
    margin-bottom: 16px;
}

h4,
.elementor-widget-heading h4.elementor-heading-title {
    font-size: clamp(20px, 2vw, 25px);
    line-height: 1.35;
    margin-bottom: 14px;
}

h5,
.elementor-widget-heading h5.elementor-heading-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
}

h6,
.elementor-widget-heading h6.elementor-heading-title {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* ========================================
   5. CONTAINER AND SECTION SPACING
======================================== */

.elementor-section > .elementor-container {
    max-width: var(--s2r-container-width);
}

.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}

.elementor-widget-heading .elementor-heading-title {
    padding: 0;
}

.elementor-section,
.e-con {
    scroll-margin-top: 90px;
}

/* ========================================
   6. BUTTONS
======================================== */

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.elementor-button,
.elementor-widget-button .elementor-button {
    font-family: var(--s2r-body-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.elementor-button,
.elementor-widget-button .elementor-button {
    padding: 15px 28px;
}

.elementor-button:hover,
.elementor-widget-button .elementor-button:hover {
    transform: translateY(-2px);
}

/* ========================================
   7. FORMS
======================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="search"],
input[type="password"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    padding: 12px 15px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--s2r-grey);
    background: #ffffff;
    border: 1px solid #d5d5d5;
    border-radius: 5px;
}

textarea {
    min-height: 130px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--s2r-cyan);
    outline-offset: 2px;
}

input[type="submit"],
button[type="submit"] {
    width: auto;
    min-height: 48px;
    padding: 13px 25px;
    color: #ffffff;
    background: var(--s2r-blue);
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background: var(--s2r-dark-blue);
}

/* ========================================
   8. LISTS
======================================== */

ul,
ol {
    padding-left: 24px;
    margin-top: 0;
    margin-bottom: 20px;
}

li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ========================================
   9. LINKS AND ACCESSIBILITY
======================================== */

a:focus-visible,
button:focus-visible,
.elementor-button:focus-visible {
    outline: 2px solid var(--s2r-cyan);
    outline-offset: 3px;
}

/* ========================================
   10. TABLETS — UP TO 1024px
======================================== */

@media (max-width: 1024px) {

    :root {
        --s2r-container-width: 100%;
        --s2r-section-padding: 55px;
    }

    body {
        font-size: 16px;
    }

    .elementor-section > .elementor-container {
        max-width: 100%;
    }

    h1,
    .elementor-widget-heading h1.elementor-heading-title {
        font-size: clamp(32px, 5vw, 46px);
    }

    h2,
    .elementor-widget-heading h2.elementor-heading-title {
        font-size: clamp(27px, 4vw, 36px);
    }

    h3,
    .elementor-widget-heading h3.elementor-heading-title {
        font-size: clamp(22px, 3vw, 28px);
    }
}

/* ========================================
   11. MOBILE — UP TO 767px
======================================== */

@media (max-width: 767px) {

    :root {
        --s2r-section-padding: 40px;
    }

    body {
        font-size: 15px;
        line-height: 1.65;
    }

    p {
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 16px;
    }

    h1,
    .elementor-widget-heading h1.elementor-heading-title {
        font-size: clamp(30px, 8vw, 38px);
        line-height: 1.15;
        letter-spacing: -0.4px;
        margin-bottom: 18px;
    }

    h2,
    .elementor-widget-heading h2.elementor-heading-title {
        font-size: clamp(26px, 6.5vw, 32px);
        line-height: 1.2;
        letter-spacing: -0.3px;
        margin-bottom: 16px;
    }

    h3,
    .elementor-widget-heading h3.elementor-heading-title {
        font-size: clamp(22px, 5.5vw, 27px);
        line-height: 1.3;
        margin-bottom: 14px;
    }

    h4,
    .elementor-widget-heading h4.elementor-heading-title {
        font-size: 20px;
        line-height: 1.35;
    }

    h5,
    .elementor-widget-heading h5.elementor-heading-title {
        font-size: 18px;
    }

    h6,
    .elementor-widget-heading h6.elementor-heading-title {
        font-size: 16px;
    }

    .elementor-button,
    .elementor-widget-button .elementor-button {
        max-width: 100%;
        white-space: normal;
        padding: 13px 20px;
        font-size: 15px;
    }

    input[type="submit"],
    button[type="submit"] {
        max-width: 100%;
        white-space: normal;
    }

    ul,
    ol {
        padding-left: 20px;
    }

    img {
        max-width: 100%;
        height: auto;
    }
}

/* ========================================
   12. SMALL MOBILE — UP TO 480px
======================================== */

@media (max-width: 480px) {

    h1,
    .elementor-widget-heading h1.elementor-heading-title {
        font-size: 30px;
    }

    h2,
    .elementor-widget-heading h2.elementor-heading-title {
        font-size: 26px;
    }

    h3,
    .elementor-widget-heading h3.elementor-heading-title {
        font-size: 22px;
    }

    p {
        font-size: 15px;
    }

    .elementor-button,
    .elementor-widget-button .elementor-button {
        padding: 12px 18px;
    }
}
