/* 
color palette 

222C3C - DARK +    	            
989DA6 - GREY DARKER +           
A19E9F - GREY LIGHTER
          
93634A - brown DARKER     
AE9789 - brown LIGHTER                   

         
#308458     - dark green
#FD8F01     - orange
#ff3300     - red
*/

:root {
	--primary: #222C3C;             /* (teal) → brand, main UI elements. */            
	--secondary: #93634A;           /* (dark slate) → headings, body text, dark accents. 2E3B3F */
	--accent: #FFC107;              /* (amber) → buttons, highlights, call-to-actions. */ 
    --background: #FFFFFF;          /* (white) → page background, cards. */
}

html, body {
    overflow-x: hidden;
    margin: 0;
}

/* text ============================================================================================================================================================================= */
.spanType1   			{ font-family: "Open Sans", sans-serif; font-weight: normal; font-style: normal;}
.spanI   			    { font-style: italic;}
.spanWeight_nomal       { font-weight: normal; }
.spanWeight_bold        { font-weight: bold; }


.spanColor_dark    	    { color: var(--primary); }
.spanColor_browndark    { color: var(--secondary); }
.spanColor_accent    	{ color: var(--accent); }
.spanColor_darkgreen    { color: #308458; }
.spanColor_darkgray     { color: #989DA6; }
.spanColor_lightgray    { color: #A19E9F; }
.spanColor_wh    		{ color: #ffffff;  }				


.spanUnderline_primary  { text-decoration: underline; text-underline-offset: 0.1em; text-decoration-color: var(--primary); text-decoration-thickness: 0.2em; }
.spanUnderline_primaryL { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-color: var(--primary-light); text-decoration-thickness: 0.2em; }
.spanUnderline_sec    	{ text-decoration: underline; text-underline-offset: 0.1em; text-decoration-color: var(--secondary); text-decoration-thickness: 0.2em; }





/* index ============================================================================================================================================================================== index */


/* buttons ---------------------------------------------------- */
  .btnPortfolio {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    border-radius: 12px;
    border: none;
    padding: 12px 30px;
    
    /* green gradient based on #308458 */
    background: linear-gradient(135deg, #308458, #3fae7a);
    
    box-shadow: 0 8px 20px rgba(48, 132, 88, 0.35);
    transition: all 0.25s ease-in-out;
  }

  .btnPortfolio:hover {
    color: #fff;
    transform: translateY(-2px);
    background: linear-gradient(135deg, #2a744d, #36a26f);
    box-shadow: 0 12px 28px rgba(48, 132, 88, 0.45);
  }


/* ================= MOBILE DEFAULT ================= */
.full-section {
  background: #ffffff;
  min-height: 100dvh; /* Dynamic viewport height - accounts for mobile browser bars */
  height:auto;
  display: flex;
  flex-direction: column;
}



/* Images - mobile: let them share remaining space */
.image-row {
  flex: 1;
  min-height: 0; /* Allow flexbox to shrink */
  display: flex;
  flex-direction: column;
}

.image-row > div {
  flex: 1;
  min-height: 0;
}

.full-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}







/* ================= DESKTOP ONLY ================= */
@media (min-width: 768px) {
  .full-section {
    min-height: 96vh;
  }

  .image-row {
    flex-direction: row;
  }

  .image-row > div {
    height: 100%;
  }

  .spanSize_08   			{ font-size: 0.8em;  }
  .spanSize_09   			{ font-size: 0.9em;  }
  .spanSize_10   			{ font-size: 1.0em;  }
  .spanSize_11   			{ font-size: 1.1em;  }
  .spanSize_12   			{ font-size: 1.2em;  }
  .spanSize_13   			{ font-size: 1.3em;  }
  .spanSize_14   			{ font-size: 1.4em;  }
  .spanSize_15   			{ font-size: 1.5em;  }
  .spanSize_16   			{ font-size: 1.6em;  }
  .spanSize_18   			{ font-size: 1.8em;  }
  .spanSize_20   			{ font-size: 2.0em;  }
  .spanSize_22   			{ font-size: 2.2em;  }
  .spanSize_24   			{ font-size: 2.4em;  }
  .spanSize_28   			{ font-size: 2.8em;  }
  .spanSize_30   			{ font-size: 3.0em;  }
  .spanSize_34   			{ font-size: 3.4rem;  }
  .spanSize_36   			{ font-size: 3.6rem;  }


  .top-row    {  min-height: 140px;   flex-shrink: 0;   }
  .bottom-row {  height: 140px;   flex-shrink: 0;   }

  .hero-img       { width: 300px; height: 300px;  object-fit: cover;  display: block;  cursor: pointer;   }
  .hero-img:hover { transform: scale(1.2); transition: transform 0.3s ease; }

  .infoh-img       { width: 120px; height: 120px;  }



  .heropos-projects   {   display: flex; justify-content: flex-end; align-items: center; }
  .heropos-products   {   display: flex; justify-content: center; align-items: center; }
  .heropos-iot        {   display: flex; justify-content: flex-start; align-items: center; }

  .onlydsk {    display: block;   }
  .onlymob {    display: none;   }

  .contentwidth {  width: 70%;  }

  .circleImg        {   border-radius: 50%; width: 16vh; height: 16vh; cursor: pointer; transition: transform 0.5s ease;}
  .circleImg:hover  {   transform: scale(1.2); }

  .teamW          {   width: 50%; }

  .tagwidth       {   width: 100%; }
}

/* ================= MOBILE ONLY ================= */
@media (max-width: 767px) {

  
  .spanSize_08   			{ font-size: 0.8em;  }
  .spanSize_09   			{ font-size: 0.9em;  }
  .spanSize_10   			{ font-size: 1.0em;  }
  .spanSize_11   			{ font-size: 1.1em;  }
  .spanSize_12   			{ font-size: 1.2em;  }
  .spanSize_13   			{ font-size: 1.3em;  }
  .spanSize_14   			{ font-size: 1.4em;  }
  .spanSize_15   			{ font-size: 1.5em;  }
  .spanSize_16   			{ font-size: 1.6em;  }
  .spanSize_18   			{ font-size: 1.4em;  }
  .spanSize_20   			{ font-size: 1.0em;  }
  .spanSize_22   			{ font-size: 2.2em;  }
  .spanSize_24   			{ font-size: 1.6em;  }
  .spanSize_28   			{ font-size: 2.8em;  }
  .spanSize_30   			{ font-size: 3.0em;  }
  .spanSize_34   			{ font-size: 2.2rem;  }
  .spanSize_36   			{ font-size: 2.4rem;  }


  
  .top-row    {  min-height: 150px;     flex-shrink: 0;   }
  .bottom-row {  height: 120px;     flex-shrink: 0;   }

  .hero-img   { width: 100px; height: 100px;  object-fit: cover;  display: block;   }
  .infoh-img  { width: 100px; height: 100px;  }

  .heropos-projects   {   display: flex; justify-content: center; align-items: center; }
  .heropos-products   {   display: flex; justify-content: center; align-items: center; }
  .heropos-iot        {   display: flex; justify-content: center; align-items: center; }

  .onlydsk {    display: none;   }
  .onlymob {    display: block;   }

  .contentwidth {  width: 90%;  }

  .circleImg      {   border-radius: 50%; width: 12vh; height: 12vh; cursor: pointer; transition: transform 0.5s ease;}
  .circleImg:hover  {   transform: scale(1.2); }

  .teamW          {   width: 100%; }

  .tagwidth       {   width: 70%; }
}





/* portfolio ============================================================================================================================================================================== portfolio */

.project-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    height: 100%;
}
.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.project-img-wrapper {
    height: 200px;
    overflow: hidden;
    background-color: #f0f0f0;
}
.project-img-wrapper img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.tag-btn {
    margin: 0 5px 10px 0;
    cursor: pointer;
}
.tag-btn.active {
    background-color: #222C3C;
    color: white;
    border-color: #222C3C;
}
.tag-btn:hover {
    background-color: #989DA6;
}
/* Make the side window (offcanvas) wide enough on large screens */
@media (min-width: 992px) { 
    .offcanvas {
        width: 800px !important; 
    }
}

/*
222C3C - DARK +    	            
989DA6 - GREY DARKER +           
A19E9F - GREY LIGHTER
          
93634A - brown DARKER     
AE9789 - brown LIGHTER                   

         
#308458     - dark green
#FD8F01     - orange
#ff3300     - red
*/

/* about us ============================================================================ */
.circle-image {
    width: 200px;          /* control size */
    height: 200px;         /* must match width */
    border-radius: 50%;    /* makes it circle */
    overflow: hidden;      /* hides overflow */
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* prevents distortion */
}




/* menu ****************************************************************** */
.visuallyHidden {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

.menu-circle {
    width: 8vh;
    height: 8vh;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.menu-circle:hover {
    transform: scale(1.1) rotate(5deg) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 1);
}

.menu-circle .icon {
    font-size: 3vh;
}


/* Page transition animations =================================================================================================================== */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
        
@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}
        
#page-wrapper.page-transition-out {
    animation: slideOutLeft 0.3s ease-out forwards;
}
        
#page-wrapper.page-transition-in {
    animation: slideInRight 0.3s ease-out forwards;
}







        
/* common old  =============================================================================================================================================================== */
.alignCenter    {   display: flex;  align-items: center;    justify-content: center;    }   
.alignLeft      {   display: flex;  align-items: center;    justify-content: left;      }   
.alignRight     {   display: flex;  align-items: center;    justify-content: right;     }   

.topAlign       {   display:flex;   align-items: top;   }
.middleAlign    {   display:flex;   align-items: center;  }
.bottomAlign    {   display:flex;   align-items: flex-end; }

.videoFit { object-fit: fill;   }

.noselect { 
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout:none; 
    -ms-user-select:none; 
    user-select: none;
}



.circleAll      {   border-radius: 50%; }
.circleRight    {   
    -webkit-border-top-right-radius:50%; -moz-border-top-right-radius:50%; border-top-right-radius:50%;
    -webkit-border-bottom-right-radius:50%; -moz-border-bottom-right-radius:50%; border-bottom-right-radius:50%;
}
.circleLeft     {   
    -webkit-border-top-left-radius:50%; -moz-border-top-left-radius:50%; border-top-left-radius:50%;
    -webkit-border-bottom-left-radius:50%; -moz-border-bottom-left-radius:50%; border-bottom-left-radius:50%;
}

.circleLeftRight        {   
    border-radius: 20%/50%;
}

.RoundCornerLeft5   {   
    -webkit-border-top-left-radius:0.5em; -moz-border-top-left-radius:0.5em; border-top-left-radius:0.5em;
    -webkit-border-bottom-left-radius:0.5em; -moz-border-bottom-left-radius:0.5em; border-bottom-left-radius:0.5em;
}
.RoundCornerRight3  {   
    -webkit-border-top-right-radius:0.3em; -moz-border-top-right-radius:0.3em; border-top-right-radius:0.3em;
    -webkit-border-bottom-right-radius:0.3em; -moz-border-bottom-right-radius:0.3em; border-bottom-right-radius:0.3em;
}
.RoundCornerRight5  {   
    -webkit-border-top-right-radius:0.5em; -moz-border-top-right-radius:0.5em; border-top-right-radius:0.5em;
    -webkit-border-bottom-right-radius:0.5em; -moz-border-bottom-right-radius:0.5em; border-bottom-right-radius:0.5em;
}

.roundSideLeftRight {   border-radius: 100em 100em 100em 100em; }

.RoundCorner10          {   -webkit-border-radius:1.0em; -moz-border-radius:1.0em; border-radius:1.0em;}
.RoundCorner5           {   -webkit-border-radius:0.5em; -moz-border-radius:0.5em; border-radius:0.5em;}
.RoundCorner3           {   -webkit-border-radius:0.3em; -moz-border-radius:0.3em; border-radius:0.3em;}
.RoundCorner2           {   -webkit-border-radius:0.2em; -moz-border-radius:0.2em; border-radius:0.2em;}
.RoundCornerTopRight    {   -webkit-border-top-right-radius:0.5em; -moz-border-top-right-radius:0.5em; border-top-right-radius:0.5em;}
.RoundCornerBottomRight {   -webkit-border-bottom-right-radius:0.5em; -moz-border-bottom-right-radius:0.5em; border-bottom-right-radius:0.5em;}
.RoundCornerBottomLeft  {   -webkit-border-bottom-left-radius:0.5em; -moz-border-bottom-left-radius:0.5em; border-bottom-left-radius:0.5em;}
.RoundCornerBottom      {   -webkit-border-bottom-radius:0.5em; -moz-border-bottom-radius:0.5em; border-bottom-radius:0.5em;}


.skew15                 {   transform: skew(345deg); }

.padding05              {  padding-top: 0.5em; padding-bottom: 0.5em; padding-left: 1em; padding-right: 1em; }



/* scroll bar -------------------------------------------------------------------------------------------- */

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* button */
::-webkit-scrollbar-button {
    background: #989DA6;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #333;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* Track */
::-webkit-scrollbar-track {
    background: #000;
}

/* The track NOT covered by the handle.
::-webkit-scrollbar-track-piece {
    background: #222C3C;
}

/* Corner */
::-webkit-scrollbar-corner {
    background: #999;
}

/* Resizer */
::-webkit-resizer {
    background: #111;
}







/* hamburger menu ---------------------------------------------------------------------- */

.hamburger {
    margin: 0 auto;
    margin-top: 30px;
    width: 30px;
    height: 28px;
    position: relative;
    cursor: pointer;
}

.hamburger .bar {
    padding: 0;
    width: 30px;
    height: 4px;
    background-color: #222C3C;      
    display: block;
    border-radius: 4px;
    transition: all 0.4s ease-in-out;
    position: absolute; 
}

.bar1 {
    top: 0;
}
.bar2,
.bar3 {
    top: 12px;
}
.bar3 {
    right: 0;
}
.bar4 {
    bottom: 0;
}


/* HAMBURGER 4 */

.hamburger2 .bar2,
.hamburger3 .bar3,
.hamburger4 .bar4 {
    top: 12px;
}

.hamburger4 .bar5 {
    bottom: 0px;
}

.hamburger4 .bar {
    transition: all 0.4s ease-in-out, transform 0.4s ease-in-out 0.4s;
}

.hamburger4 .bar2 {
    width: 1px;
    transform: rotate(90deg);
    left: 12px;
}

.hamburger4 .bar3 {
    width: 1px;
    left: 12px;
    
}

.checkbox4:checked + label > .hamburger4 > .bar1{
    top: 12px;
    background-color: transparent;
}

.checkbox4:checked + label > .hamburger4 > .bar2{
    left: 0px;
    width: 30px;
    transform: rotate(45deg);
}

.checkbox4:checked + label > .hamburger4 > .bar3{
    left: 0;
    width: 30px;
    transform: rotate(-45deg);
}

.checkbox4:checked + label > .hamburger4 > .bar4{
    background-color: transparent;
}

.checkbox4:checked + label > .hamburger4 > .bar5{
    bottom: 12px;
    background-color: transparent; 
}

