
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white; 
	border-bottom: 2px solid #1f3a60;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    padding: 15px 20px;
    box-sizing: border-box;
}

.header-left {
    flex: 0 0 auto; 
	margin: 0; 
	text-align: left; 
}

.header-left img {
    height: 160px;
    width: auto;
    display: block;
	margin: 0 auto;
}

.header-right {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;

    display: flex;
    flex-direction: column;
    align-items: flex-end;     
}

.contact-right {
    text-align: right;
    white-space: normal;       
    margin-bottom: 8px;
}

.tabs {
    display: flex;
    gap: 10px;
    justify-content: flex-end; 
}


.tablink {
	font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.2px;
    flex: 0 1 auto; 
	text-align: center;
    white-space: normal; 
	overflow: hidden; 
	text-overflow: ellipsis; 
	word-break: normal;
	overflow-wrap: break-word;
    background: #1f3a60; 
    color: white;
    padding: 14px 25px;
    border-radius: 4px;
    border: 1px solid #1f3a60; 
    transition: background 0.2s ease, color 0.2s ease;
    cursor: pointer;
	min-width: 80px;
}

.tablink:hover {
    background: #C9A44C;
    color: #1F3A60;
}

html, body {
    font-family: "Segoe UI", Arial, sans-serif; 
	font-size: 16px;
	line-height: 1.6;
	color: #222; 
    margin: 0;
	padding-top: var(--header-height, 0px); 
}

.logo {
    width: auto; 
	display: block; 
	object-fit: contain;
	flex-shrink: 0;
}

.two-column {
    display: flex;
    gap: 20px;
    max-width: 900px;
    margin: 20px auto; 
    margin-top: 0; 
}

.column-box {
    flex: 1;
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.column-box > *:first-child {
    margin-top: 0;
}

/* #services.two-column {
    margin-top: 0;
    margin-bottom: 30px;
    max-width: 900px;   
    margin: 20px auto;  
    padding: 20px 0;         
} */

.column-box {
    background: #F7F7F7;
    border: 1px solid #D0D0D0;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.column-box h2 {
    margin-bottom: 12px;
}

.tabcontent {
	padding: 20px 20px 0 20px; 
    margin-bottom: 30px; 
}

.about-picture {
    float: left;
    width: 30%;          
    height: auto;
    margin-right: 20px;
    margin-bottom: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    display: block;
}

.content-box img {
    max-width: 25%;
    height: auto;
    display: block;
}

.content-box > *:first-child {
    margin-top: 0;
}

.content-box {
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 25px;
    border-radius: 6px;
    max-width: 900px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: "Segoe UI", Arial, sans-serif;
    font-weight: 600;       
    letter-spacing: 0.3px;  
    color: #1F3A60;         
    margin-top: 0;
}

p {
    margin-bottom: 1em;
    font-size: 16px;
}

.content-box h2 {
	margin-top: 0;

}
.content-box::after {
    content: "";
    display: block;
    clear: both;
}

.contact-form {
    margin-top: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px; 
    max-width: none; 
}

.contact-form label {
    font-weight: 600; 
    font-size: 15px;
    color: #1F3A60;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 15px;
}

.contact-form input[type="text"] {
    width: 100%;
	max-width: 500px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

#field_CM {
    width: 100%;
    max-width: 700px;
    height: 150px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
label[for="field_CM"] {
	max-width: 700px;
	display: block;
}
.contact-form button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #1f3a60; 
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
	width:auto;
	align-self: flex-start;
}

.contact-form button:hover {
    background-color: #c9a44c; 
}

#formMessage {
    display: none;
    min-height: 20px;
    margin-top: 1em;
}

.honeypot {
    display: none;
}

#services.two-column {
    margin: 0 auto 20px auto;
} 

.tabcontent:first-of-type {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

@media (min-width: 901px) {
    .sticky-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 15px 20px;
    }

    .header-left {
        text-align: left;
    }

    .header-left img {
        height: 160px;
    }

    .header-right {
        align-items: flex-end;
        text-align: right;
    }
}

@media (max-width: 900px) {
    .sticky-header {
        display: block;          
        text-align: center;      
        padding: 12px 20px;
    }

    .header-left img {
        height: 140px;
    }
	
    .header-left,
    .header-right {
        margin: 0 auto;          
        text-align: center;
    }

    .header-right {
        align-items: center;     
    }

    .contact-right {
        text-align: center;      
        margin-bottom: 10px;
    }

    .tabs {
        justify-content: center; 
        flex-wrap: nowrap;
        width: 100%;
        margin-top: 10px;
    }

    .tablink {
        flex: 0 1 auto;          
		white-space: normal;
    }
}

@media (max-width: 700px) {
    .sticky-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-left img {
        height: 120px;
    }
	
    .tablink {
        margin: 5px 5px 5px 0;
        width: auto;
		align-items: flex-end;
		white-space: normal;
		flex: 0 1 auto; 
    }

    .two-column {
        flex-direction: column;
    }

    .content-box {
        padding: 15px;
    }

    .about-picture {
        float: none;
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-height: 500px) {
	.sticky-header {
        position: static;   
    }
}

@media (max-width: 550px) {
	.sticky-header {
        position: static;   
    }
	
	.header-left img {
        height: 100px;
    }
	
    .tabs {
        display: grid;
        grid-template-columns: 50% 50%;
        gap: 10px 12px;                   
        width: 100%;
        justify-items: stretch;            
    }

    .tablink {
        width: 100%;          
        min-width: 0;                     
        white-space: normal;              
        word-break: keep-all;             
        text-align: center;
        padding: 10px 8px;                
    }
	
    .tabcontent {
        padding-top: 0;
        margin-top: 0;
	}
	
	body {
        padding-top: 0; 
    }
}

@media (max-width: 550px), (max-height: 500px) {
    .sticky-header {
        position: static !important;
    }

    :root {
        --header-height: 0px;
    }
}
