/* ==========================================================
   SINHOI 2026
   GLOBAL.CSS
   ----------------------------------------------------------
   Base Reset
   Global Elements
   Containers
   Images
   Links
   Sections
   Accessibility
   Scrollbars
========================================================== */


/* ----------------------------------------------------------
   RESET
---------------------------------------------------------- */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
    -webkit-text-size-adjust:100%;
}

body{
    font-family:'Montserrat',sans-serif;
    font-size:17px;
    line-height:1.65;
    font-weight:400;

    color:var(--text);
    background:var(--light);

    overflow-x:hidden;

    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}


/* ----------------------------------------------------------
   SELECTION
---------------------------------------------------------- */

::selection{
    background:var(--primary);
    color:#fff;
}


/* ----------------------------------------------------------
   LINKS
---------------------------------------------------------- */

a{
    color:inherit;
    text-decoration:none;
    transition:var(--transition);
}

a:hover{
    color:var(--primary);
}


/* ----------------------------------------------------------
   IMAGES
---------------------------------------------------------- */

img{
    display:block;
    max-width:100%;
    height:auto;
}

figure{
    margin:0;
}

svg{
    display:block;
}


/* ----------------------------------------------------------
   LISTS
---------------------------------------------------------- */

ul,
ol{
    list-style:none;
    margin:0;
    padding:0;
}


/* ----------------------------------------------------------
   TABLES
---------------------------------------------------------- */

table{
    width:100%;
    border-collapse:collapse;
}

th,
td{
    padding:16px;
    border-bottom:1px solid var(--border);
}


/* ----------------------------------------------------------
   FORMS
---------------------------------------------------------- */

input,
textarea,
select,
button{

    font:inherit;

    outline:none;

}

button{

    cursor:pointer;

    background:none;

    border:none;

}


/* ----------------------------------------------------------
   CONTAINER
---------------------------------------------------------- */

.container{

    width:100%;

    max-width:var(--container);

    margin-inline:auto;

    padding-inline:32px;

}


/* Elementor Container */

.elementor-section.elementor-section-boxed>.elementor-container{

    max-width:var(--container);

}

.elementor-container{

    padding-inline:0;

}


/* ----------------------------------------------------------
   SECTIONS
---------------------------------------------------------- */

section{

    position:relative;

}

.section{

    padding:120px 0;

}

.section-sm{

    padding:80px 0;

}

.section-lg{

    padding:160px 0;

}

.section-dark{

    background:var(--dark);

    color:var(--text-light);

}

.section-paper{

    background:var(--paper);

}

.section-light{

    background:var(--light);

}


/* ----------------------------------------------------------
   DISPLAY HELPERS
---------------------------------------------------------- */

.block{

    display:block;

}

.inline{

    display:inline-block;

}

.flex{

    display:flex;

}

.grid{

    display:grid;

}

.hidden{

    display:none !important;

}


/* ----------------------------------------------------------
   MEDIA
---------------------------------------------------------- */

video{

    width:100%;

    display:block;

}

iframe{

    width:100%;

    border:0;

}


/* ----------------------------------------------------------
   HORIZONTAL RULE
---------------------------------------------------------- */

hr{

    border:none;

    height:1px;

    background:var(--border);

    margin:48px 0;

}


/* ----------------------------------------------------------
   SPACERS
---------------------------------------------------------- */

.spacer{

    width:100%;

    height:80px;

}

.spacer-sm{

    height:40px;

}

.spacer-lg{

    height:140px;

}


/* ----------------------------------------------------------
   BACKGROUNDS
---------------------------------------------------------- */

.bg-primary{

    background:var(--primary);

    color:#fff;

}

.bg-dark{

    background:var(--dark);

    color:var(--text-light);

}

.bg-light{

    background:var(--light);

}

.bg-paper{

    background:var(--paper);

}


/* ----------------------------------------------------------
   BORDERS
---------------------------------------------------------- */

.border{

    border:1px solid var(--border);

}

.border-top{

    border-top:1px solid var(--border);

}

.border-bottom{

    border-bottom:1px solid var(--border);

}


/* ----------------------------------------------------------
   SHADOWS
---------------------------------------------------------- */

.shadow-sm{

    box-shadow:var(--shadow-sm);

}

.shadow-md{

    box-shadow:var(--shadow-md);

}

.shadow-lg{

    box-shadow:var(--shadow-lg);

}


/* ----------------------------------------------------------
   RADIUS
---------------------------------------------------------- */

.radius{

    border-radius:var(--radius);

}

.radius-lg{

    border-radius:var(--radius-lg);

}


/* ----------------------------------------------------------
   TRANSITIONS
---------------------------------------------------------- */

.transition{

    transition:var(--transition);

}


/* ----------------------------------------------------------
   ACCESSIBILITY
---------------------------------------------------------- */

:focus-visible{

    outline:2px solid var(--primary);

    outline-offset:4px;

}


/* ----------------------------------------------------------
   SCROLLBAR
---------------------------------------------------------- */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:var(--paper);

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary-hover);

}


/* ----------------------------------------------------------
   LOADING STATE
---------------------------------------------------------- */

body.loading{

    overflow:hidden;

}


/* ----------------------------------------------------------
   ELEMENTOR FIXES
---------------------------------------------------------- */

.elementor-widget{

    margin-bottom:0;

}

.elementor img{

    max-width:100%;

}

.elementor-section{

    overflow:hidden;

}