@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-Thin.ttf);
    font-weight: 100;
    font-style: normal;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-ThinItalic.ttf);
    font-weight: 100;
    font-style: italic;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-ExtraLight.ttf);
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-ExtraLightItalic.ttf);
    font-weight: 200;
    font-style: italic;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-Light.ttf);
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-LightItalic.ttf);
    font-weight: 300;
    font-style: italic;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-Regular.ttf);
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-Italic.ttf);
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-Medium.ttf);
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-MediumItalic.ttf);
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-SemiBold.ttf);
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-SemiBoldItalic.ttf);
    font-weight: 600;
    font-style: italic;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-Bold.ttf);
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-BoldItalic.ttf);
    font-weight: 700;
    font-style: italic;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-ExtraBold.ttf);
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-ExtraBoldItalic.ttf);
    font-weight: 800;
    font-style: italic;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-Black.ttf);
    font-weight: 900;
    font-style: normal;
}
@font-face {
    font-family: BitterPro;
    src: url(fonts/BitterPro-BlackItalic.ttf);
    font-weight: 900;
    font-style: italic;
}
/* ===== Variables ===== */
:root {
    --primary-accent: 21, 195, 231;
    --primary-dark: 23, 216, 255;
    --primary-light: 20, 186, 219;
    --dark-bg: 31, 31, 37;
    --darker-bg: 10, 10, 12;
    --text-primary: 30, 30, 33;
    --text-dark: 31, 31, 37;
    --text-light: 255, 255, 255;
    --light-bg: 255, 255, 255;
    --section-bg: 249, 249,249;
    --border-light: 229,229,232;
    --transition: all 0.3s ease;
    --font:'BitterPro', serif;
    --logo-start: 0.4;
}
/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}
a{
    cursor: pointer;
}
body {
    font-family: var(--font);
    font-weight: 500;
    letter-spacing: 0.02rem;
    -webkit-font-smoothing: antialiased;
    color: rgb(var(--text-primary));
    line-height: 1.6;
    overflow-x: hidden;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: rgb(var(--primary-accent));
    color: rgb(var(--text-light));
}
.btn-primary:hover {
    background: rgb(var(--primary-dark));
    box-shadow: 0 5px 20px rgba(var(--primary-accent), 0.2);
}
.btn-s{
    max-width: fit-content;
    margin: 35px auto 10px;
    display: block;
    padding: 8px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    transition: var(--transition);
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    background: rgb(var(--primary-accent));
    color: rgb(var(--text-light));
}
.btn-s:hover{
    background: rgb(var(--primary-dark));
    box-shadow: 0 5px 20px rgba(var(--primary-accent), 0.2);
}
.section-spacing {
    padding: 100px 0;
}
.section-heading {
    margin-bottom: 40px;
    text-align: center;
}
.section-title {
    font-size: 42px;
    font-weight: 700;
    color: rgb(var(--text-dark));
    margin-bottom: 15px;
}
.section-subtitle {
    color: rgb(var(--text-primary));
    display: block;
    font-family: var(--font);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 7px;
}
.section-subtitle>span{
    color: rgb(var(--primary-accent));
}
/* ===== HEADER COMPONENT ===== */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.scrolled-header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brand-logo {
    font-size: 28px;
    font-weight: 700;
    transition: var(--transition);
    width: 150px;
    height: 50px;
    background: url("../imgs/icons/logo_only.png");
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
    filter: drop-shadow(0px 0px 2px rgba(0,0,0,0.3));
}
.brand-logo:hover{
    background-color: rgba(0,0,0,0);
    filter: drop-shadow(0px 0px 1px rgba(0,0,0,0));
}
.brand-logo:after{
    content: '';
    position: absolute;
    width: 150px;
    height: 50px;
    background: url("../imgs/icons/ssm_logo_small.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: var(--transition);
    opacity: var(--logo-start);
    filter: drop-shadow(0px 0px 1px rgba(0,0,0,0));
}
.brand-logo:hover:after{
    opacity: 100%;
    filter: drop-shadow(0px 0px 3px rgba(0,0,0,0.25));
}


.scrolled-header .brand-logo {
    color: rgb(var(--text-dark));
}
.nav-menu {
    display: flex;
    list-style: none;
}
.nav-item {
    margin-left: 30px;
    position: relative;
}
.nav-link {
    color: rgb(var(--text-light));
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}
.scrolled-header .nav-link {
    color: rgb(var(--text-dark));
}
.nav-link:hover {
    color: rgb(var(--primary-accent));
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: rgb(var(--primary-accent));
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}
.nav-link:hover::after {
    width: 100%;
}
.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: rgb(var(--text-light));
    cursor: pointer;
    position: relative;
    z-index: 1001;
}
.scrolled-header .mobile-menu-btn {
    color: rgb(var(--text-dark));
}
.fa-times{
    color: rgb(var(--text-dark));
}
/*Navigation Language Select*/
.language-toggle{
    cursor: pointer;
    display: flex;
    width: 70px;
    overflow: hidden;
    background:rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(var(--primary-accent),0.05);
    border-radius: 15px;
    transition: var(--transition);
}
.language-toggle>*{
    cursor: pointer;
}
.language-toggle:hover {
    border: 1px solid rgba(var(--primary-accent),0.5);
}
.active-language-flag{
    width: 16px;
    height: 16px;
    margin: 0 0px;
    background-size: cover;
    background-position: center;
    border-radius: 11px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
.slider-toggle-en{
    position: relative;
    right: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    transition: var(--transition);
}
.slider-toggle-en:hover{
    right: 36px;
}
.slider-toggle-bg{
    position: relative;
    right: 36px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    justify-content: space-evenly;
    transition: var(--transition);
}
.slider-toggle-bg:hover{
    right: 0;
}
.slider-toggle-en > span {
    margin: 0 12px;
}
.slider-toggle-bg > span{
    margin: 0 12px;
}
.language-name{
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    color: rgb(var(--text-light));
    cursor: pointer;
}
.scrolled-header .language-name{
    color: rgb(var(--text-dark));
}
.flag-bg {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 40"><rect width="60" height="40" fill="%23FFFFFF"/><rect width="60" height="13.3" y="13.3" fill="%2300966E"/><rect width="60" height="13.3" y="26.6" fill="%23D62612"/></svg>');
}
.flag-us {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 40"><rect width="60" height="40" fill="%23B22234"/><path d="M0,0 L60,0 L60,4 L0,4 Z M0,8 L60,8 L60,12 L0,12 Z M0,16 L60,16 L60,20 L0,20 Z M0,24 L60,24 L60,28 L0,28 Z M0,32 L60,32 L60,36 L0,36 Z" fill="%23FFFFFF"/><rect width="24" height="20" fill="%23003F87"/><path d="M2,0 L4,0 L4,2 L2,2 Z M6,0 L8,0 L8,2 L6,2 Z M10,0 L12,0 L12,2 L10,2 Z M14,0 L16,0 L16,2 L14,2 Z M18,0 L20,0 L20,2 L18,2 Z M22,0 L24,0 L24,2 L22,2 Z M0,4 L2,4 L2,6 L0,6 Z M4,4 L6,4 L6,6 L4,6 Z M8,4 L10,4 L10,6 L8,6 Z M12,4 L14,4 L14,6 L12,6 Z M16,4 L18,4 L18,6 L16,6 Z M20,4 L22,4 L22,6 L20,6 Z M2,8 L4,8 L4,10 L2,10 Z M6,8 L8,8 L8,10 L6,10 Z M10,8 L12,8 L12,10 L10,10 Z M14,8 L16,8 L16,10 L14,10 Z M18,8 L20,8 L20,10 L18,10 Z M22,8 L24,8 L24,10 L22,10 Z" fill="%23FFFFFF"/></svg>');
}
/* ===== HERO COMPONENT ===== */
.hero-section {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(31, 31, 37, 0.8), rgba(31, 31, 37, 0.8)),
    linear-gradient(135deg, #2a2a32, #1a1a1f);
    display: flex;
    align-items: center;
    color: rgb(var(--text-light));
    text-align: center;
}
.hero-content {
    max-width: 800px;
    margin: 0 auto;
}
.hero-title {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}
.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
}
/* ===== SERVICES COMPONENT ===== */
.services-section {
    background: rgb(var(--section-bg));
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.service-card {
    background: rgb(var(--light-bg));
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0px 5px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}
.service-top{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: -10px;
    margin-top: -15px;
}
.service-ul{
    margin-bottom: 30px;
}
.service-ul>li{
    font-size: 14.2px;
    /*margin-left: 0.5cm;*/
    list-style: none;
}
.service-ul>li:before{
    content: "✓";
    font-weight: 600;
    font-size: 15px;
    margin:0px 8px 0px 4px;
    color: rgba(var(--primary-accent), 0.65);
}
.service-card>p{
    font-size: 15px;
}
.service-card:hover {

    box-shadow: 0 0px 5px rgba(var(--primary-accent), 0.4);
}
.service-icon {
    font-size: 44px;
    color: rgba(var(--primary-accent), 0.35);
    margin-bottom: 20px;
}
.service-title {
    font-size: 22px;
    font-weight: 600;
    color: rgb(var(--text-dark));
    margin-bottom: -8px;
}
/* ===== ABOUT COMPONENT ===== */
.about-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5, #e5e5e8);
    height: 500px;
}
.about-content {
    flex: 1;
}
/*ABOUT*/
:root {
    --primary-color: rgb(var(--primary-accent));
    --secondary-color: rgb(var(--primary-accent));
    --text-color: rgb(var(--text-dark));
    --light-bg: rgb(var(--text-light));
}
.about-img{
    height: 55vw;
    max-height: 480px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: url("../imgs/pics/ssmlogo_small.jpg");
    background-size: 100%;
    background-position: -13px 0px;
    margin:0px 20px;
    box-shadow: 0px 0px 34px rgba(0,0,0,0.5);
}
.about-section {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.icon-header {
    text-align: center;
    margin-bottom: 30px;
}
.icon-header i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}
.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.section-header p {
    color: var(--text-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}
.tabs-container {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;

    background-color: transparent;
}
.tabs-nav {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    background-color: var(--light-bg);
}
.tab-button {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 0px solid transparent;
    margin: 0 5px;
    opacity: 0.5;
}
.tab-button.active {
    background-color: white;
    border-bottom: 0px solid var(--primary-color);
    opacity: 1;
}
.tab-button>span{
    cursor: pointer;
}
.tab-button>span>span{
    color: rgb(var(--primary-accent));
    cursor: pointer;
}
.tab-button.active>span{
      cursor: pointer;
}
.tab-button:hover:not(.active) {
    background-color: rgba(255, 255, 255, 0.7);
}
.tab-icon {
    margin-right: 10px;
    font-size: 1.2rem;
    color: var(--primary-color);
}
.tab-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-color);
}
.tabs-content {
    width: 100%;
    padding: 10px 28px 20px;
}
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
.tab-panel h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.tab-panel p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 15px;
    max-width:  49ch;
}
.htag{
    font-family: 'BitterPro', serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-bottom: 7px;
}
.htag > span{
    color: rgb(var(--primary-accent));
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1100px) {
    .about-section {
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        padding: 0 20px;
        align-content: center;
        justify-content: center;
        align-items: center;
    }
    .about-img{
        margin: 50px;
    }
    .tabs-container {
        display: flex;
        flex-direction: column;
        border-radius: 10px;
        overflow: hidden;

        background-color: transparent;
    }
}
@media (min-width: 1100px) {
    .tabs-container {
        display: flex;
        flex-direction: column;
        border-radius: 10px;
        height: 480px;
        overflow: hidden;
        margin-left: 37px;
        background-color: transparent;
    }
}
/* Mobile styles */
@media (max-width: 768px) {
    .tabs-nav {
        flex-direction: column;
        align-items: center;
        padding: 0;
    }
    .tab-button {
        width: 100%;
        justify-content: center;
        margin: 0;
        padding: 20px;
        border-bottom: 1px solid #eee;
        border-left: 4px solid transparent;
    }
    .tab-button.active {
        border-bottom: 1px solid #eee;
        border-left: 4px solid var(--primary-color);
    }
    .tabs-content {
        padding: 25px;
    }
    .icon-header i {
        font-size: 2.8rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 2rem;
    }
    .tab-button {
        padding: 15px 20px;
    }
    .icon-header i {
        font-size: 2.5rem;
    }
}
/* ===== PORTFOLIO COMPONENT ===== */
.portfolio-section {
    background: rgb(var(--section-bg));
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-family: var(--font);
    font-weight: 500;
    font-size: 17px;
    color: rgb(var(--text-primary));
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    color: rgb(var(--primary-accent));
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    background: linear-gradient(135deg, #f5f5f5, #e5e5e8);
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    padding: 30px;
    background: rgba(var(--primary-accent), 0.9);
    color: rgb(var(--text-light));
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-item-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}
/* ===== FOOTER COMPONENT ===== */

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 992px) {
    .section-title {
        font-size: 36px;
    }

    .hero-title {
        font-size: 48px;
    }

    .about-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 70px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .hero-title {
        font-size: 40px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: rgba(255,255,255, 1);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        margin: 15px 0;
    }

    .nav-link {
        color: rgb(var(--text-dark));
        font-size: 15px;
    }
    .language-name{
        color: rgb(var(--text-dark));
    }

    .mobile-menu-btn {
        display: block;
    }


}

@media (max-width: 576px) {
    .hero-title {
        font-size: 32px;
    }

    .btn {
        padding: 10px 20px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

