:root {
    --main-bg-color: #ffffff;
    --sidebar-bg-color: #333;
    --main-color: #222;
    --accent-1: #23b3f1;
    --accent-2: #85b4fa;
    --img-oppacity: 0.6;

    --font-size:17px;
    --padding: 25px;
    --container-padding: 50px;
    --max-width: 1200px;
    /* Max width for large screens */
    --vertical-spacing: 25px;
    /* Spacing between headings, paragraphs, and blockquotes */
    --gap: 17px;
    /* Gap between flex items */
}





@media (max-width: 768px) {
    :root {
        --font-size: 16px;
        --padding: 10px;
        --container-padding: 10px;
        --vertical-spacing: 6px;
        --gap: 0px;
    }

}

/** {
    outline: 1px solid red; 
  }*/




/* Apply Fonts */
body {
    font-family: 'Lato', sans-serif;
}

h1 {
 /*font-family: 'Noto Serif', sans-serif;*/
    font-weight: 700;
}


html {
    box-sizing: border-box;
    font-size: var(--font-size);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: var(--main-bg-color);
    color: var(--main-color);
    line-height: 1.6;
}

.main {
    max-width: var(--max-width);
    margin: 0 auto;
    margin-top: 60px;
    /*padding: var(--padding);*/
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px;
}





/* Responsive layout */


/* Spacing between elements */
h1,
h2,
h3,
h4, h5 {
    font-family: "Noto Serif", serif;
    font-weight: 400;
}

    h1 strong, h2 strong, h3 strong, h4 strong, h5 strong {
        font-family: "Lato", sans-serif;
        font-size: calc(100% - 1px);
    }

  

/* Spacing between elements */
h1,
h2,
h3,
h4,
h5,
p,
blockquote {
    margin-bottom: var(--vertical-spacing);
}


h4,
h5 {
    margin-bottom: calc(var(--vertical-spacing) /2);
}

/* Typography sizes */
h1 {
    font-size: 44px;
    line-height: 57px;
    margin-bottom: calc(var(--vertical-spacing) * 1.2);
}


 

h2 {
    font-size: 28px;
}



h3 {
    font-size: 22px;
    margin-top: calc(var(--vertical-spacing) * 1.2);
}

    

h4
 {
    font-size: 20px;
    margin-top: calc(var(--vertical-spacing) * 1.2);
}

h5 {
    font-size: 18px;
}



div > h3:first-child,
div > h4:first-child {
   margin-top:0;
}


/*bootstrap--------------------------------------------------------*/

/* h1, .h1 {
    font-size: calc(1.375rem + 1.5vw);
}

@media (min-width: 1200px) {
    h1, .h1 {
        font-size: 2.5rem;
    }
}

h2, .h2 {
    font-size: calc(1.325rem + 0.9vw);
}

@media (min-width: 1200px) {
    h2, .h2 {
        font-size: 2rem;
    }
}

h3, .h3 {
    font-size: calc(1.3rem + 0.6vw);
}

@media (min-width: 1200px) {
    h3, .h3 {
        font-size: 1.75rem;
    }
}

h4, .h4 {
    font-size: calc(1.275rem + 0.3vw);
}

@media (min-width: 1200px) {
    h4, .h4 {
        font-size: 1.5rem;
    }
}

h5, .h5 {
    font-size: 1.25rem;
}

h6, .h6 {
    font-size: 1rem;
}


 */







/* Links-------------------------------------------------------------------------------------------------- */

.parentlink {
    background-color: #f0f0f0;
    background-color: rgb(250, 250, 250);
    padding: 15px;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-bottom: calc(var(--vertical-spacing) * 1.2);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.parentlink a {
    text-decoration: none;
    color: #323232;
    /*font-weight: bold;*/
    transition: color 0.3s ease;
}

.parentlink:hover {
    background-color: #f0f0f0;
    transform: scale(1.01);
}


.btnlink a {
    display: inline-block;
    background-color: var(--accent-1);
    color: white;
    border: none;
    padding: 12px 18px;
    cursor: pointer;
    border-radius: 10px;
    text-decoration: none;
    margin-top: 15px;
    transition: transform 0.3s ease;
}

.btnlink a:hover {
    transform: scale(1.01);
}




.main ul,
main ol {
    padding: 0;
    padding-left: 20px;
    margin: 0px;
}






strong {
    /*font-size: 20px;*/
    font-weight: 700;
}



blockquote {
    margin: 21px;
    padding: 30px;
    border-left: 9px solid var(--accent-1);
    /* position: relative; */
}

img {
    object-fit: contain;
     display: block;
   
    width: 100%;
    margin: 0 auto;
    opacity: var(--img-oppacity);
   
}


.intro {
    position: relative;
    font-family: "Noto Serif", serif;
    /*  font-size: 25px; */
    font-size: calc(1.2rem + 0.2vw);
    font-weight: 400;
    line-height: 1.3;
    padding: var(--vertical-spacing) 10%;
    margin-bottom:25px;
}

.intro:before {
    content: "";
    position: absolute;
    top: 12%;
    left: 6%;
    width: 4em;
    /* Adjust as needed */
    height: 4em;
    /* Adjust as needed */

    background: url('../images/intro.svg') no-repeat;

    background-size: contain;
    /* Or cover, depending on the design */
    z-index: -1;
    /* Place it behind other content */
}


.break {
    margin: 14px auto;
    
    border-top: solid 2px var(--accent-1);
    width: 30px;
}

.breakleft {
    margin: 18px 0;
    border-top: solid 2px var(--accent-1);
    width: 30px;
}

.space{
    height: 2em;
}


.backgrey {
    position: relative;
    padding: var(--container-padding) 0;
}

.backgrey::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    /* Full viewport width */
    height: 100%;
    /* Same height as .centered-div */

    background-image: linear-gradient(135deg, rgba(207, 218, 230, 0.4) 30%, rgb(255, 255, 255) 60%);
    z-index: -1;
}


.back1 {
    position: relative;
    padding: var(--container-padding) 0;
}

.back1::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 105%;
    height: 100%;
    /*margin:0 30%;*/
    border-top: 1px solid black;
    /*background-image: linear-gradient(180deg, rgba(205, 229, 255, 0.20) 40%, rgb(255, 255, 255) 60%);*/
    z-index: -1;
}








 .headcontainer {
    display: flex;
    align-items: center;
    height: 500px; 
    position: relative;
    overflow: hidden;
    margin-bottom: var(--container-padding);
}

.headbox1 {
  
    width: 50%;
    padding: 35px  10px;
    padding-left: 0;
    background-color: white;
    position: absolute;
    z-index: 2;
    border-right: solid 1px var(--accent-1);
    box-shadow: 0 4px 6px rgba(179, 178, 178, 0.1);
}

.headbox1 H1{
    font-size: 35px;
   
    margin: 0;
    
}

.headbox2 {
    width: 70%;
    height: 100%;
    position: absolute;
    right: 0;
    z-index: 1;
    
}

.headbox2 img {
    opacity: var(--img-oppacity);
    width: 100%;
    height: 100%;
    object-fit: cover;
} 

/* .headbox1 is now position: relative; instead of absolute, so it naturally aligns next to .headbox2.
.headbox2 is display: flex; justify-content: flex-end; to ensure the image aligns to the right.
.headbox2 img is set to width: auto; height: 100%; so it scales properly. */


/*.headcontainer {
    display: flex;
    align-items: center;
    height: 500px;*/ /* Adjust height as needed */
    /*position: relative;
    overflow: hidden;
    margin-bottom: var(--container-padding);
}

.headbox1 {
    width: 50%;
    padding: 35px 10px;
    padding-left: 0;
    background-color: white;
    position: relative;*/ /* Change from absolute to relative */
    /*z-index: 2;
    border-right: solid 1px var(--accent-1);
    box-shadow: 0 4px 6px rgba(179, 178, 178, 0.1);
}

.headbox1 h1 {
    font-size: 35px;
    margin: 0;
}

.headbox2 {
    width: 50%;*/ /* Adjust width to ensure proper alignment */
    /*height: 100%;
    display: flex;
    justify-content: flex-end;*/ /* Aligns the image to the right */
    /*align-items: center;
}

.headbox2 img {
    opacity: var(--img-oppacity);
    width: auto;*/ /* Allows image to keep its aspect ratio */
    /*height: 100%;
    object-fit: cover;
}*/







.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    padding-top: var(--container-padding);
    padding-bottom: var(--container-padding);
    justify-content: space-between;
    /*margin:0 calc(var(--gap) * -1);*/
}

.flex-wrap>div {
    padding-top: var(--padding);
    padding-bottom: var(--padding);
    /*padding: 0 calc(var(--gap));*/
}

/* .flex-wrap h3,
.flex-wrap h4,
.flex-wrap h5 {
    padding-top: 0;
    margin-top: 0;
}
 */


.imgclients {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    /* Optional: Adds space between items */
}

.imgclients img {
    width: 65px;
   
    margin: 20px 10px;
    max-width: 100%;
    height: auto;
}















/*.roundbut > div {
   
}

.roundbut a {
    padding-top: 60px;
    width: 200px;
    height: 200px;
    border-radius: 10px;
}*/



/*    navbar ---------------------------------------------------------------------------------------------
*/
.logo a{
    position: relative;
    width: 200px;
  
}

.logo a {
    font-family: "Lato", sans-serif;
    font-size: 25px;
    font-weight: 900;
    color: #007aff;
    text-decoration:none;
}


/*.metrics {
    position: absolute;
    top: 0.6em;
    left: -0.7em;
    transform: scale(0.4);

}
*/


.navbarfix {
    position: fixed;
    top: 0px;
    width: 100%;
    margin-top: 0px;
    background-color: white;
    display: flex;
    justify-content: center;
    /* Center the navbar content */
    z-index: 1000;
    box-shadow: 0 2px 2px -2px rgba(0, 0, 0, .2);
}

.navbar {
    font-family: "Noto Serif", serif;
    font-weight: 600;
    font-size: 18px;
    max-width: var(--max-width);
    width: 100%;
    background-color: #ffffff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px;
}

.navbar ul {
    padding-left: 15px;
    list-style-type: none;
}






.nav-links {
    display: flex;
    

    list-style: none;
}


.nav-links li {
    position: relative;
}

.nav-links>li:before {
    display: block;
    content: '';
    border-top: solid 2px var(--accent-1);
    transform: scaleX(0);
    transition: transform 250ms ease-in-out;
}

.nav-links>.active:after {
    display: block;
    content: '';
    border-top: solid 3px var(--accent-2);
    transform: scaleX(0.1);

}

.nav-links>li:hover:before {
    transform: scaleX(0.3);
}

.nav-links a {
    color:  var(--main-color);
    text-decoration: none;
    padding: 11px 20px;
    padding-bottom: 4px;
    display: block;
}



/* Dropdown Menu Styling */
.dropdown-content {
    display: none;
    left: -50%;
    position: absolute;
    background-color: #ffffff;
    min-width: 350px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    font-size: 15px;
}

.dropdown:has(.active):after {
    display: block;
    content: '';
    border-top: solid 3px var(--accent-2);
    transform: scaleX(0.1);

}


.dropdown-content li {
    width: 100%;
}



.dropdown-content .active::before {
    position: absolute;
    top: 1.25em;
    left: -3px;
    display: inline-block;
    content: '';
    border: solid 4px var(--accent-2);

}

.dropdown-content a {
    padding: 10px 15px;
    text-align: left;
}

.dropdown-content a:hover {
    color: #555;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* Mobile View */
.hamburger {
    font-size: 24px;
    display: none;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
   /* html {
     
        font-size: 16px;
    }
*/

    h1 {
        font-size: 35px;
        line-height: 47px;
    }

    h2 {
        font-size: 23px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    h5 {
        font-size: 17px;
    }



    div > h3:first-child,
    div > h4:first-child {
        margin-top: 22px;
    }

    .headcontainer {
       
        height: 350px; /* Adjust height as needed */
     
    }
    
    .headbox1 {
      
        width: 90%;
        padding: 20px  10px;
        padding-left: 0;
        background-color: rgba(255, 255, 255, 0.568);
       
    }
    
    .headbox1 H1{
        font-size: 30px;
        line-height: 1.4;
    }
    
    .headbox2 {
        width: 84%;
       
    }


    .intro{
        font-size: 20px;;
    }

    img {
        display: block;
     
        width: 80%;
    }
   


    /* hide service*/
    .dropbtn {

        display: none !important;
    }

    .navbar ul {
        padding: 0;

    }

    .nav-links .active:after {
        display: block;
        content: '';
        border-top: solid 2px var(--accent-1);
        transform: scaleX(0.06);

    }


    .dropdown:has(.active):after {
        display: none;

    }

    .dropdown-content .active::before {

        display: none;

    }

    .navbar {
        /*  margin: 0 auto; */
        align-items: flex-start;
        padding: 10px 20px;
    }

    .nav-links a {
        text-align: center;
        /*padding-bottom: 0;*/
    }

    .dropdown .dropdown-content {
        padding-left: 0px;
        font-size: 18px;
        min-width: 0px;
        
        display: block;
    }

    .nav-links a:hover {
        color: #555;
    }


    .nav-links>li:hover:before {
        transform: scaleX(0);
    }

    .nav-links {
        display: none;
        margin-top: 65px;
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1px 0;
    }

    .hamburger {
        position: absolute;
        top: 0.4em;
        right: 0.8em;
        display: block;

    }

    .nav-links.active {
        height: 100vh;
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
    }

    .imgclients img {
        width: 55px;
        margin: 13px 5px;
       
    }
}


footer {
    margin: 0 auto;
    max-width: var(--max-width);
    border-top: solid 1px #777;
    margin-top: 80px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-content: flex-end;
}

footer div {
    margin-top: 60px;
    color: grey;
}


.horizontal-align {
    display: flex;
    flex-direction:column;
    /*align-items: flex-start;*/ 
    justify-content: space-between; /* Distribute items evenly */
    /*gap: 15px;*/ /* Add spacing between elements */
}



.article div{
    margin-bottom:1.5em;
}

.article h5 {
    font-size: var(--font-size);
}

.article strong {
    font-size: var(--font-size);
}

.article ul {
   margin-left:15px;
}

/*var(--accent-1);*/


.contact {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../uploads/contactback4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .contact form {
        width: 60%;
        max-width: 650px;
        padding: 40px 8%;
        border-top: 1px solid var(--accent-1);
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        background-color: white;
    }

        .contact form h1 {
            font-size: 23px;
            text-align: center;
            color: #333;
            margin-bottom: 30px;
            display: inline-block;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
            padding-bottom: 10px;
        }

            .contact form h1::after {
                content: '';
                position: absolute;
                bottom: 6px;
                left: 40%;
                width: 20%;
                height: 2px;
                background-color: var(--accent-1);
            }

    .contact form .form-group {
        margin-bottom: 15px;
    }

    .contact form label {
        display: block;
        margin-bottom: 5px;
        color: #666;
    }

    .contact form input[type="text"],
    .contact form input[type="email"],
    .contact form textarea {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .contact form textarea {
        height: 100px;
        resize: vertical;
    }

        .contact form button {
            background-color: var(--accent-1);
            color: white;
            margin: 30px 0;
            padding: 10px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            width: 100%;
        }

        .contact form button:hover {
            background-color: #0056b3;
        }
@media (max-width: 768px) {

        .contact form {
            width: 90%;
           
            padding: 20px 4%;
            margin-bottom: 40px;
          
        }


    }

/*  bootstrap import---------------------------------------------------------------------------------------------------*/
.col-1 {
    flex: 0 0 auto;
    width: 8.33333333%;
}

.col-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
}

.col-3 {
    flex: 0 0 auto;
    width: 25%;
}

.col-4 {
    flex: 0 0 auto;
    width: calc(33.33% - var(--gap));
}

.col-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
}

.col-6 {
    flex: 0 0 auto;
    width: calc(50% - var(--gap));
}

.col-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
}

.col-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
}

.col-9 {
    flex: 0 0 auto;
    width: 75%;
}

.col-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
}

.col-11 {
    flex: 0 0 auto;
    width: 91.66666667%;
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}



@media (max-width: 768px) {
    .col-1 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-2 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-3 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-4 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-5 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-6 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-7 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-8 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-9 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-10 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-11 {
        flex: 0 0 auto;
        width: 100%;
    }

    .col-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}