/*

TemplateMo 550 Diagoona

https://templatemo.com/tm-550-diagoona

*/

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 17px;
    font-weight: 300;
    overflow-x: hidden;
    color: white;
    background-color: #2C353C;
}

a { 
    transition: all 0.3s ease; 
    text-decoration: none;
}

ul { padding: 0; }
a:hover { text-decoration: none; }
button:focus { outline: none; }
p { line-height: 1.9; }

/* Proper heading hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.3rem; }

/* Site header - keep logo and text on same line */
.tm-site-header {
    display: flex;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.tm-logo { 
    margin-right: 20px;
    flex-shrink: 0;
}

.tm-logo-img {
    width: 60px;
    height: auto;
    transition: opacity 0.6s ease-in-out;
    background-color: rgba(128, 128, 128, 0.25);
    border-radius: 50%;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.tm-slogan { font-size: 0.8rem; }

/* Navigation */
.navbar-toggler {
    padding: 8px 15px;
    border: 0;
    border-radius: 0;
    transform: skewX(-15deg);
    background-color: rgba(0,0,0,0.5);
    color: white;    
}

.navbar-toggler i { transform: skewX(15deg); }

.navbar-expand-lg {
    padding-left: 0;
    padding-right: 0;
}

.navbar-expand-lg .navbar-nav .nav-link { padding: 0; }

.navbar-expand-lg .navbar-nav .tm-nav-link {
    font-size: 1.3rem;
    font-weight: 400;
    color: white;    
    padding-bottom: 30px;    
}

.nav-item { margin-right: 60px; }

.nav-item:last-child { margin-right: 0; }

.nav-item.active .tm-nav-link,
.nav-item:hover .tm-nav-link {
    color: #9CC;
}

/* Page Background */
.tm-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    z-index: -1000;
    pointer-events: none;
}

.tm-bg-left,
.tm-bg-right {
    position: relative;
    width: 50%;
    height: 100%;
}

.tm-bg-right { background-color: rgba(0,0,0,0.5); }

.tm-bg-left {
    border-right: 230px solid rgba(0,0,0,0.5);
    border-top: 100vh solid transparent;
}

.tm-bg-controls-wrapper {
    display: inline-block;
    margin-left: -150px;
}

.tm-bg-control {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: rgba(255,255,255,0.5);
    margin: 6px;
    cursor: pointer;
}

.tm-bg-control.active,
.tm-bg-control:hover {
    background-color: white;
}

.tm-container {
    width: 100%;
    height: auto;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;  
}

.tm-row { display: flex; }

.tm-col-left {
    width: 50%;
    height: 100%;
    padding-left: 40px;  
    padding-right: 40px;
}

.tm-col-right {
    width: 50%;
    height: 100%;
    padding-left: 70px;
    padding-right: 70px;
}

.tm-content {
    max-width: 660px;
    margin-top: 50px;
    padding-right: 20px;
}

.tm-about { max-width: 525px; }

::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 10px;
}
  
::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: rgba(255,255,255,.8);
    box-shadow: 0 0 1px rgba(255,255,255,.8);
}

.tm-content-title { font-size: 1.5rem; }
hr { border-top: 1px solid white; }

.btn {
    padding: 10px 25px;
    border-radius: 0;
}

.btn-big {
    padding: 9px 40px;
    font-size: 1.2rem;;
}

.btn-primary {
    background-color: #e8e8e8;
    color: #1a1a1a;
    border: 0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #9CC;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(156, 204, 204, 0.3);
}

.tm-site-footer {
    padding: 30px 0 20px;
    max-width: 660px;
    font-size: 0.85rem;
}

.tm-footer-company {
    opacity: 0.8;
    font-size: 0.8rem;
}

.tm-footer-links {
    font-size: 0.8rem;
}

.tm-footer-sep {
    margin: 0 8px;
    opacity: 0.5;
}

.tm-footer-copyright {
    font-size: 0.75rem;
    opacity: 0.6;
    margin-top: 8px !important;
}

.tm-col-footer { padding-left: 0; }

/* Brainville verification icon */
.tm-verification-icon {
    width: 20px;
    vertical-align: middle;
}

.tm-text-link { color: white; }

.tm-text-link:hover,
.tm-text-link:focus {
    color: #9CC;
}

/* Service */ 
.tm-service-text { max-width: 365px; }
.tm-service-img { margin-right: 25px; }
.tm-service-img-r { margin-left: 25px; }

/* Hero spacing */
.tm-hero-subtitle {
    margin-bottom: 22px;
}

.tm-hero-lead {
    margin-bottom: 36px;
}

/* Hero highlights */
.tm-hero-points {
    list-style: none;
    margin: 0 0 44px;
    padding: 0;
    display: grid;
    gap: 10px;
}

.tm-hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.tm-hero-points i {
    color: #99CCCC;
    margin-top: 3px;
}

.tm-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 52px;
}

/* Responsiv layout för mobil */
@media (max-width: 576px) {
    .tm-highlight-grid {
        grid-template-columns: 1fr;
    }
}


.tm-highlight-card {
    border: 1px solid rgba(156, 204, 204, 0.2);
    border-radius: 12px;
    padding: 16px 16px 18px;
    background: rgba(0, 0, 0, 0.35);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.tm-highlight-card i {
    color: #99CCCC;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.tm-highlight-card h3 {
    margin-bottom: 8px;
}

.tm-highlight-card p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About callout */
.tm-callout {
    border-left: 3px solid #99CCCC;
    background: rgba(0, 0, 0, 0.35);
    padding: 12px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
}

/* Compact testimonial quote (no box) */
.tm-quote {
    margin: 0;
    padding: 6px 0 0 42px;
    border: 0;
    position: relative;
}

.tm-quote-heading {
    font-size: 1.35rem;
}

.tm-quote:before {
    content: "\201C";
    position: absolute;
    top: -12px;
    left: 0;
    color: rgba(153, 204, 204, 0.95);
    font-size: 2.7rem;
    line-height: 1;
    font-weight: 700;
}

.tm-quote-text {
    color: rgba(255, 255, 255, 0.94);
    font-size: 1.12rem;
    line-height: 1.65;
    font-style: italic;
    margin: 0;
}

.tm-quote-author {
    display: block;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.72);
}

.tm-contact-consent {
    font-size: 0.82rem;
    line-height: 1.45;
    opacity: 0.9;
}

.tm-quote-block {
    margin-top: 8px;
    margin-bottom: 96px;
}

@media (max-width: 576px) {
    .tm-quote {
        padding-left: 34px;
    }

    .tm-quote-heading {
        font-size: 1.2rem;
    }

    .tm-quote-block {
        margin-top: 6px;
        margin-bottom: 68px;
    }

    .tm-quote:before {
        font-size: 2.7rem;
        top: -10px;
    }
}

/* Contact */
.form-control,
textarea {    
    color: white;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    border-bottom: 1px solid #999A9B;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    padding: 10px 0;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

/* CV Request Section */
.tm-cv-request {
    text-align: center;
    padding: 0;
    background: none;
    border-radius: 0;
    margin: 30px 0;
}

.tm-cv-request .btn {
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: 500;
}

.tm-cv-email-form {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.tm-cv-email-form input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border: 1px solid #9CC;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
}

.tm-cv-email-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.tm-cv-email-form input[type="email"]:focus {
    outline: none;
    border-color: #9CC;
    background: rgba(255, 255, 255, 0.15);
}

.tm-cv-email-form .btn-ok {
    padding: 12px 30px;
    font-size: 1rem;
}

.tm-cv-success {
    display: none;
    text-align: center;
    padding: 20px;
}

.tm-cv-success p {
    color: #00ff00;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.tm-cv-success .small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 400;
}

.tm-cv-success .btn {
    margin-top: 15px;
}

.form-control:focus {
    color: white;
    background-color: transparent;    
    box-shadow: none;
    border-color: #9CC;
    outline: none;
}

.mb-85 { margin-bottom: 85px; }
.tm-contact-main { max-width: 690px; }

.tm-contact {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.form-control::-webkit-input-placeholder { color: white; } /* Edge */  
.form-control:-ms-input-placeholder { color: white; } /* Internet Explorer 10-11 */  
.form-control::placeholder { color: white; }

@media (max-width: 1200px) {
    .nav-item { margin-right: 30px; }

    .tm-page-right {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (max-width: 992px) {    
    .tm-nav {
        position: absolute;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        top: 44px;
        right: 4px;
    }

    .navbar-expand-lg .navbar-nav .tm-nav-link {
        color: white;
        font-size: 1.1rem;
        padding: 13px 20px;
    }

    .nav-item { margin-right: 0; }

    .nav-item.active .tm-nav-link,
    .nav-item:hover .tm-nav-link {
        color: #9CC;
    }

    .tm-content { margin-top: 20px; }
    .tm-site-footer { padding-top: 40px; }
    .tm-col-left { width: 40%; }

    .tm-col-right {
        width: 60%;
        padding-left: 100px;
        padding-right: 30px;
    }
    
    .tm-col-footer { padding-left: 0; }
}

@media (max-width: 768px) {
    .tm-row { flex-direction: column; }

    .tm-col-left,
    .tm-col-right,
    .tm-bg-left,
    .tm-bg-right {
        width: 100%;
    }

    #tm-main-nav {
        position: fixed;
        top: 15px;
        right: 40px;
        padding-bottom: 0;
    }  
    
    .tm-bg { flex-direction: column; }

    .tm-bg-left {
        height: 200px;        
        border-bottom: 50px solid rgba(0,0,0,0.5);
        border-right: 0;
        border-top: 0;
    }

    .tm-bg-right { height: calc(100% - 200px); }

    .tm-bg-controls-wrapper {
        margin-left: 0;
        margin-top: 50px;
    }

    .tm-content {
        max-height: none;
        margin-top: 40px;
    }

    .tm-col-right {
        padding-top: 40px;
        padding-left: 30px;
    }

    .tm-col-footer {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 460px) {
    .tm-logo { margin-right: 15px; }
    .tm-sitename { font-size: 1.8rem; }
    .tm-slogan { font-size: 0.8rem; }
}

@media (max-width: 450px), (min-width: 768px) and (max-width: 830px), (min-width: 992px) and (max-width: 1040px) {
    .tm-service-media { flex-direction: column; }
    .tm-service-media-img-l { flex-direction: column-reverse; }
    .tm-service-text { margin-top: 20px; }
    .tm-service-img { margin-right: 0; }
    .tm-service-img-r { margin-left: 0; }
}

/* Language Toggle */
.tm-lang-toggle {
    display: flex;
    gap: 5px;
    margin-right: 20px;
}

/* Discreet corner language toggle */
.tm-lang-toggle-corner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    z-index: 100;
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    background: rgba(44, 53, 60, 0.9);
    padding: 0;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    cursor: pointer;
    overflow: hidden;
    width: 40px;
    height: 40px;
    min-width: 40px;
}

.tm-lang-toggle-corner:hover {
    opacity: 1;
}

.tm-lang-toggle-corner.expanded {
    width: 130px;
    height: 40px;
    padding: 0 8px 0 0;
    border-radius: 20px;
    gap: 6px;
    justify-content: flex-start;
}

.tm-lang-icon {
    font-size: 1.2rem;
    opacity: 0.9;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.tm-lang-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.tm-lang-toggle-corner.expanded .tm-lang-separator {
    display: block;
    opacity: 1;
}

.tm-lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    padding: 2px 6px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: opacity 0.3s ease 0.1s;
    font-family: 'Open Sans', Arial, sans-serif;
    display: none;
    opacity: 0;
    white-space: nowrap;
}

.tm-lang-toggle-corner.expanded .tm-lang-btn {
    display: block;
    opacity: 1;
}

.tm-lang-btn:hover {
    color: white;
    text-decoration: underline;
}

.tm-lang-btn.active {
    color: #9CC;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Company Info in Footer */
.tm-company-info {
    font-size: 0.9rem;
    opacity: 0.9;
}

.tm-company-info p {
    line-height: 1.5;
}

/* Cookie Consent Banner */
.tm-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 53, 60, 0.98);
    padding: 20px;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.tm-cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.tm-cookie-content p {
    margin: 0;
    flex: 1;
    min-width: 250px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.tm-cookie-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tm-cookie-link {
    color: #9CC;
    text-decoration: none;
    font-size: 0.9rem;
}

.tm-cookie-link:hover {
    color: white;
    text-decoration: underline;
}

#cookie-accept {
    padding: 8px 25px;
    font-size: 0.9rem;
}

/* Centered and tighter site header */
.tm-site-header-centered {
    text-align: center;
}

.tm-site-header-centered .tm-sitename {
    margin-bottom: 0.25rem;
}

.tm-site-header-centered .tm-slogan {
    margin-top: 0;
    margin-bottom: 0;
}

/* Clickable Qualion logo link */
.tm-sitename-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.tm-sitename-link:hover {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .tm-lang-toggle-corner {
        bottom: 15px;
        right: 15px;
        top: auto;
        left: auto;
        padding: 0;
        gap: 0;
        font-size: 0.7rem;
        width: 35px;
        height: 35px;
        min-width: 35px;
        justify-content: flex-start;
    }

    .tm-lang-toggle-corner.expanded {
        width: 115px;
        height: 35px;
        padding: 0 6px 0 0;
        gap: 5px;
        justify-content: flex-start;
    }

    .tm-lang-icon {
        font-size: 1rem;
        width: 35px;
        height: 35px;
    }

    .tm-lang-btn {
        font-size: 0.65rem;
        padding: 2px 4px;
    }

    .tm-lang-separator {
        font-size: 0.7rem;
    }

    .tm-cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .tm-cookie-content p {
        min-width: auto;
    }
}

/* Privacy Page */
.tm-privacy-content {
    max-width: 700px;
}

.tm-privacy-section h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.tm-privacy-section p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.tm-cookie-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}

.tm-cookie-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.tm-cookie-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: #9CC;
}

/* Withdraw Consent Section */
.tm-withdraw-consent-wrapper {
    margin-top: 15px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    border: none;
}

.tm-withdraw-consent-wrapper .btn {
    margin-bottom: 0;
    font-size: 0.85rem;
    padding: 6px 16px;
}

.tm-withdraw-message {
    margin-top: 10px;
    padding: 10px 12px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15) 0%, rgba(56, 142, 60, 0.15) 100%);
    border-left: 3px solid #4CAF50;
    border-radius: 4px;
    animation: slideDown 0.3s ease-out;
}

.tm-withdraw-message p {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* Privacy Warning Notice */
.tm-privacy-notice {
    display: none;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 152, 0, 0.15) 100%);
    border-left: 4px solid #FFC107;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.3s ease-out;
    position: relative;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tm-privacy-notice-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.tm-privacy-notice-icon {
    font-size: 1.3rem;
    color: #FFC107;
    margin-right: 12px;
    flex-shrink: 0;
}

.tm-privacy-notice-title {
    font-size: 1rem;
    font-weight: 600;
    color: #FFC107;
    margin: 0;
}

.tm-privacy-notice-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding-left: 32px;
}

.tm-privacy-notice-text a {
    color: #FFC107;
    text-decoration: underline;
    font-weight: 400;
}

.tm-privacy-notice-text a:hover {
    color: #FFD54F;
}

.tm-privacy-notice-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: all 0.2s ease;
    border-radius: 2px;
}

.tm-privacy-notice-close:hover {
    color: #FFC107;
    background: rgba(255, 193, 7, 0.1);
    transform: scale(1.1);
}

.tm-privacy-notice-close:active {
    transform: scale(0.95);
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .tm-privacy-notice {
        padding: 14px 16px;
        margin-bottom: 20px;
    }

    .tm-privacy-notice-icon {
        font-size: 1.1rem;
        margin-right: 10px;
    }

    .tm-privacy-notice-title {
        font-size: 0.95rem;
    }

    .tm-privacy-notice-text {
        font-size: 0.85rem;
        padding-left: 28px;
    }

    .tm-privacy-notice-close {
        top: 10px;
        right: 10px;
        font-size: 1.2rem;
        padding: 2px 6px;
    }

    .tm-withdraw-consent-wrapper {
        padding: 0;
        margin-top: 12px;
    }

    .tm-withdraw-consent-wrapper .btn {
        width: 100%;
        padding: 8px 16px;
        font-size: 0.8rem;
    }

    .tm-withdraw-message {
        margin-top: 10px;
        padding: 10px;
    }

    .tm-withdraw-message p {
        font-size: 0.75rem;
    }
}

/* Improved Typography & Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.4rem; }

.tm-content-title {
    font-size: 2.3rem;
    margin-bottom: 2rem;
}

/* Profile Section Styles */
.tm-profile-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #9CC;
}

.tm-profile-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(156, 204, 204, 0.4);
}

/* Use this on transparent portraits that should appear slightly less zoomed */
.tm-profile-img--zoom-match {
    object-fit: contain;
    object-position: center 62%;
    padding: 10px;
    transform: translateY(4px) scale(0.94);
    transform-origin: center top;
    background: rgba(0, 0, 0, 0.12);
}

.tm-profile-img--jeaksar {
    object-position: center 38%;
    transform: translateY(-6px) scale(0.95);
    transform-origin: center top;
}

.tm-profile-title {
    color: #9CC;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Availability Status - Professional Badge */
.tm-availability {
    color: #9CC;
    font-weight: 400;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 1px solid rgba(153, 204, 204, 0.3);
    border-radius: 20px;
    background: rgba(153, 204, 204, 0.05);
}

.tm-availability::before {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: #4CAF50;
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Core Expertise Section */
.tm-expertise-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
}

.tm-expertise-section h3 {
    color: #9CC;
    margin-bottom: 1.5rem;
}

.tm-expertise-list {
    list-style: none;
    padding-left: 0;
}

.tm-expertise-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1.05rem;
    line-height: 1.6;
}

.tm-expertise-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #9CC;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Professional Roles Section */
.tm-experience-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
}

.tm-experience-section h3 {
    color: #9CC;
    margin-bottom: 1.5rem;
}

.tm-roles-list {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tm-roles-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 1rem;
}

.tm-roles-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #9CC;
    font-weight: bold;
    font-size: 1.5rem;
}

/* Personal Touch Section */
.tm-personal-section {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 8px;
}

.tm-personal-section h3 {
    color: #9CC;
    margin-bottom: 1rem;
}

.tm-personal-section p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Certification Badges */
.tm-certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tm-cert-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(156, 204, 204, 0.15);
    border: 1px solid rgba(156, 204, 204, 0.35);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #9CC;
    transition: all 0.3s ease;
}

.tm-cert-badge:hover {
    background: rgba(156, 204, 204, 0.25);
    border-color: #9CC;
    transform: translateY(-2px);
}

.tm-cert-badge i {
    margin-right: 6px;
}

/* Profile Grid - Side by Side Layout */
.tm-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-width: 100%;
}

.tm-profile-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(156, 204, 204, 0.2);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tm-profile-card:hover {
    transform: translateY(-5px);
    border-color: rgba(156, 204, 204, 0.5);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.tm-profile-card-media {
    width: 100%;
    height: 180px;
    background: rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.tm-profile-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center 56%;
    padding: 14px;
    background: transparent;
    display: block;
}

.tm-profile-card-img--zoom-match {
    width: 82%;
    height: 82%;
    object-position: center 69%;
    padding: 8px;
    margin: 27px auto 0;
}

.tm-profile-card-img--jeaksar {
    object-position: center 54%;
    padding: 12px;
}

.tm-profile-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tm-profile-card-title {
    color: #9CC;
    font-size: 1rem;
    font-weight: 400;
}

.tm-profile-card-body > p:last-of-type {
    flex: 1;
    margin-bottom: 1rem !important;
}

.tm-profile-card-body > a {
    display: block;
    margin-top: auto;
    font-size: 0.9rem;
    text-align: left;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .tm-profile-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .tm-profile-card-media {
        height: 200px;
    }
}


/* Industry Cards */
.tm-industry-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid #9CC;
    height: 100%;
    transition: all 0.3s ease;
}

.tm-industry-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.tm-industry-card i {
    color: #9CC;
}

.tm-industry-card h3 {
    color: #9CC;
    margin-top: 10px;
}

.tm-industry-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Technologies Grid */
.tm-tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.tm-tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px 15px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tm-tech-item:hover {
    background: rgba(156, 204, 204, 0.15);
    border-color: #9CC;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(156, 204, 204, 0.25);
}

.tm-tech-item i {
    color: #9CC;
}

.tm-tech-item h4 {
    margin-top: 10px;
    margin-bottom: 0;
    font-size: 0.85rem;
    color: white;
    font-weight: 400;
}

/* Responsive adjustments for new sections */
@media (max-width: 991px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.9rem; }
    h3 { font-size: 1.5rem; }
    
    .tm-content-title {
        font-size: 1.9rem;
    }

    .tm-profile-img {
        width: 100px;
        height: 100px;
    }

    .tm-profile-section {
        padding: 20px;
    }

    .tm-tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .tm-industry-card {
        margin-bottom: 20px;
    }

    .tm-roles-list {
        grid-template-columns: 1fr;
    }

    .tm-expertise-section,
    .tm-experience-section,
    .tm-personal-section {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 1.9rem; }
    h2 { font-size: 1.6rem; }
    
    .tm-content-title {
        font-size: 1.6rem;
    }

    .tm-tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 576px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }
    h3 { font-size: 1.2rem; }
    
    .tm-content-title {
        font-size: 1.4rem;
    }

    .tm-profile-img {
        width: 80px;
        height: 80px;
    }

    .tm-profile-section {
        padding: 15px;
    }
    
    /* Mobile responsive for availability date */
    .tm-availability {
        font-size: 0.85rem;
        flex-wrap: wrap;
        line-height: 1.4;
        padding: 0 10px;
    }
    
    .tm-availability::before {
        width: 5px;
        height: 5px;
        margin-right: 6px;
    }
    
    .tm-availability span {
        display: inline;
    }

    .tm-certifications {
        justify-content: flex-start;
    }

    .tm-cert-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .tm-tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .tm-tech-item {
        padding: 15px 10px;
    }

    .tm-tech-item i {
        font-size: 1.5rem;
    }

    .tm-tech-item h4 {
        font-size: 0.75rem;
    }

    .tm-expertise-list li,
    .tm-roles-list li {
        font-size: 0.95rem;
        padding-left: 25px;
    }

    .tm-expertise-list li:before {
        font-size: 1rem;
    }

    .tm-roles-list li:before {
        font-size: 1.3rem;
    }

    .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .btn.mr-3 {
        margin-right: 0 !important;
    }
}

/* Profile Page Styles */
.tm-profile-header {
    text-align: center;
}

.tm-profile-img-large {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    border: 4px solid rgba(156, 204, 204, 0.5);
    margin: 0 auto;
    display: block;
}

.tm-profile-img-large--zoom-match {
    object-fit: contain;
    object-position: center 64%;
    padding: 12px;
}

.tm-profile-img-large--jeaksar {
    object-fit: contain;
    object-position: center 36%;
    padding: 10px;
}

.tm-profile-list {
    list-style: none;
    padding-left: 0;
}

.tm-profile-list li {
    padding: 8px 0;
    padding-left: 30px;
    position: relative;
    line-height: 1.8;
}

.tm-profile-list li:before {
    content: "•";
    color: #9CC;
    font-weight: bold;
    font-size: 1.4rem;
    position: absolute;
    left: 0;
    top: 4px;
}

/* Discreet Profile Link in Footer */
.tm-profile-link {
    opacity: 0.6;
    font-size: 0.85rem;
    transition: opacity 0.3s ease;
}

.tm-profile-link:hover {
    opacity: 1;
    color: #9CC;
}

/* Icon Avatar (used for profile placeholders) */
.tm-profile-icon-avatar {
    width: 80px;
    height: 80px;
    background: #2C353C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #99CCCC;
}

.tm-profile-icon-avatar-large {
    width: 120px;
    height: 120px;
    background: #2C353C;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    color: #99CCCC;
}

/* =========================================================
   Service Block Headings (Digital Quality & Energy sections)
   ========================================================= */
.tm-service-block-heading {
    font-size: 1.5rem;
    font-weight: 600;
    color: #99CCCC;
    letter-spacing: 0.03em;
    border-bottom: 2px solid rgba(156, 204, 204, 0.3);
    padding-bottom: 10px;
}

.tm-service-block-heading i {
    opacity: 0.9;
}

.tm-service-block-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* =========================================================
   Service Accordions
   ========================================================= */
.tm-service-group {
    border: 1px solid rgba(156, 204, 204, 0.25);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.25);
    margin-bottom: 20px;
    overflow: hidden;
}

.tm-service-toggle {
    width: 100%;
    border: 0;
    background: rgba(0, 0, 0, 0.35);
    color: #ffffff;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    cursor: pointer;
    transition: background 0.3s ease;
}

.tm-service-toggle:hover {
    background: rgba(0, 0, 0, 0.45);
}

.tm-service-toggle-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tm-service-toggle-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #99CCCC;
    letter-spacing: 0.02em;
}

.tm-service-toggle-title i {
    opacity: 0.9;
}

.tm-service-toggle-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.98rem;
    line-height: 1.6;
}

.tm-service-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.tm-service-group.is-open .tm-service-toggle-icon {
    transform: rotate(180deg);
}

.tm-service-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.45s ease;
    padding: 0 20px;
}

.tm-service-group.is-open .tm-service-panel {
    opacity: 1;
}

.tm-service-panel-inner {
    padding: 6px 0 14px;
}

@media (max-width: 991px) {
    .tm-service-block-heading {
        font-size: 1.3rem;
    }
}
