/* 

Page One Template

https://templatemo.com/tm-504-page-one

*/

body {
	font-size: 21px;	
	overflow-x: hidden;
}

body,button,.form-control {
	color: #606368;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif; 
	font-weight: 400;	
}

button { cursor: pointer; }
a, button { transition: all 0.3s ease; }
a:hover,
a:focus {
	text-decoration: none;
	outline: none;
}

.container-fluid { 
	padding-left: 0; 
	padding-right: 0;
	overflow-x: hidden;
}

.tm-flex { display: flex; }

.tm-section {
	background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

button:focus { outline: none; }

p { 
	line-height: 1.8;
	margin-bottom: 50px;
}

.tm-section-title {
	font-size: 2.6rem;
    margin-bottom: 2rem;	
}

.tm-site-title-wrap {
	padding-top: 50px;
	padding-bottom: 50px;
}

.tm-site-title { 
	border: 2px solid #888481;
	color: #676362;
	display: inline-block;
	font-size: 3rem; 
	padding: 30px 40px;
}

.tm-textbox {
	max-width: 600px;
	width: 100%;
	padding: 5px;
	overflow: auto;
}

.tm-textbox-full-height { min-height: 150px; }

.tm-white-bg {
	background-color: white;
	color: #676362;
}

.tm-translucent-white-bg { background-color: rgba(255,255,255,0.2); }

.tm-btn,.tm-btn:visited {
	display: block;
	float: right;
	font-size: 1.8rem;
	font-weight: 300;
	color: white;
	background-color: #bfb117;
	padding: 15px 30px;
	cursor: pointer;
	border: none;
}

.tm-btn:hover,.tm-btn:focus {
	color: white;
	background-color: #eba707;
}

.tm-green-text { color: #c7a200; }
.tm-blue-text { color: #3690FD; }
.tm-red-text { color: #983333; }

.tm-content-box {
	overflow: auto;
	height: 100%;
	max-width: 600px;
	width:  100%;
	padding: 80px 60px 60px 80px;	
	display: -ms-flexbox;	
	display: -webkit-flex;	
	display: flex;   
	-webkit-flex-direction: column;   
	    -ms-flex-direction: column;   
	        flex-direction: column;
}

.tm-gallery-content { padding-top: 180px; }

.tm-content-box-right {
	margin-left: auto;
	margin-right: 0;
}

.tm-small-font { font-size: 1rem; }

.tm-page-content-width {
	max-width: 1200px;
	margin: 0 auto;	
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;	
}

.tm-padding-b {	padding-bottom: 140px; }
.tm-page-content-width,.tm-content-box { min-height: 240px; }

.tm-flex-col {
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
    -ms-flex-direction: column;
        -webkit-flex-direction: column;
            flex-direction: column;    
}

.tm-media-icon {
	margin-right: 30px;
	margin-bottom: 0;
}

/* IE fix */
.tm-media-body { 
	flex: 1 1 auto; 
	width: 100%; 
}

/* Gallery */
.tm-section-gallery { min-height: 1100px; }
.filter-wrapper { padding-left: 0; }
.filter-wrapper li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
}

.filter-wrapper li:last-child { margin-right: 0; }

.filter-wrapper li a {
	background-color: white;
    color: #666;
    font-weight: 400;
    padding: 6px 20px;    
    display: block;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
}

.filter-wrapper li a.selected { 
	background-color: #666666; 
	color: white;
}
.iso-box {
    position: relative;
    min-height: 50px;
    float: left;
    overflow: hidden;
    margin-bottom: 15px;
    padding-left: 8px;
    padding-right: 8px;
}
.iso-box-section {
	margin-left: -8px;
    margin-right: -8px;
}

/* Contact */
.form-control {
	background-color: transparent;
	border-radius: 0;
	font-size: 1.15rem;
	padding: .9rem 1.25rem;
}

.form-control:focus {
	background-color: transparent;
	border-color: #983333;
}

.form-group { margin-bottom: 1.2rem; }
.tm-section-contact { position: relative; }

.tm-copyright-div {	
	color: white;
	display: inline-block;
	padding: 30px 35px;
	position: absolute;
    bottom: 0;
    right: 0;    
}

.tm-copyright-text { 
	font-size: 1.18rem;
    margin-bottom: 0;
    font-weight: 300;
}

.tm-copyright-text a {
	color: #fff;
}

/* Media Queries */
@media screen and (max-width: 991px) {
	.tm-gallery-content { padding-top: 150px; }
	.tm-section-gallery { min-height: 480px; }
	.tm-page-content-width,.tm-content-box { min-height: 480px;	}
}

@media screen and (max-width: 767px) {
	.tm-gallery-content { padding-top: 100px; }
	.tm-content-box { padding: 100px 60px 100px; }
	.tm-section-gallery { min-height: 480px; }	
	.tm-page-content-width,.tm-content-box { min-height: 480px;	}
	.tm-site-title-wrap {
		padding-top: 60px;
		padding-bottom: 60px;
	}
}

@media screen and (max-height: 480px) {
	.tm-section-home { min-height: 100%; }
}

@media screen and (max-width: 575px) {
	.tm-gallery-content {padding-bottom: 150px;}	
}

@media screen and (max-width: 420px) {
	.tm-media {
		flex-direction: column;
		align-items: center;
	}

	.tm-media-icon {
		margin-right: 0;
		margin-bottom: 30px;
	}
}
/* =========================================
   Quantum Drift Theme - CSS Variables
   ========================================= */
:root {
  --color-deep-space-blue: #0A192F;
  --color-orbit-grey: #1E2A3A;
  --color-platinum-white: #E6EBEF;
  --color-cyber-cyan: #00F5FF;
  --color-electric-violet: #8A2BE2;

  --gradient-quantum: linear-gradient(
    135deg,
    var(--color-electric-violet) 0%,
    var(--color-cyber-cyan) 100%
  );

  --theme-bg-app: var(--color-deep-space-blue);
  --theme-bg-surface: var(--color-orbit-grey);
  --theme-text-main: var(--color-platinum-white);
  --theme-color-primary: var(--color-cyber-cyan);
  --theme-color-secondary: var(--color-electric-violet);

  /* small helper for borders on dark UI */
  --theme-stroke: #2A3B55;
}

/* =========================================
   Quantum Drift Theme - Color Overrides
   (appended; minimal changes to TemplateMo styles)
   ========================================= */

body,button,.form-control{color:var(--theme-text-main)}
body{background-color:var(--theme-bg-app)}

/* Panels */
.tm-white-bg{background-color:var(--theme-bg-surface);color:var(--theme-text-main)}
.tm-translucent-white-bg{background-color:rgba(30,42,58,0.25)}

/* Titles / borders */
.tm-site-title{border-color:rgba(230,235,239,.35);color:var(--theme-text-main)}

/* Links */
a{color:var(--theme-color-primary)}
a:hover,a:focus{color:var(--theme-color-secondary)}

/* Buttons */
.tm-btn,.tm-btn:link,.tm-btn:visited{background:var(--theme-color-primary)!important;color:var(--theme-bg-app)!important}
.tm-btn:hover,.tm-btn:focus,.tm-btn:active{background:var(--theme-color-secondary)!important;color:var(--theme-text-main)!important}
/* Quantum Drift - Button shape tweak (rounded/curved corners) */
.tm-btn, .btn, button, input[type="button"], input[type="submit"]{
  border-radius: 18px !important;
}
/* Accent text helpers (keep class names, update colors) */
.tm-green-text{color:var(--theme-color-primary)}
.tm-blue-text{color:var(--theme-color-primary)}
.tm-red-text{color:var(--theme-color-secondary)}

/* Gallery filter */
.filter-wrapper li a{background-color:var(--theme-bg-surface);color:rgba(230,235,239,.8)}
.filter-wrapper li a.selected{background-color:var(--theme-color-primary);color:var(--theme-bg-app)}

/* Contact form */
.form-control{border-color:rgba(230,235,239,.25)}
.form-control:focus{border-color:var(--theme-color-secondary)}

/* Copyright */
.tm-copyright-div{color:var(--theme-text-main)}
.tm-copyright-text a{color:var(--theme-text-main)}
/* Distinct content boxes */
:root{
  --panel-bg: #0A192F;              /* <-- your color (fixed) */
}

.tm-white-bg,
.tm-translucent-white-bg,
.tm-content-box,
.tm-content-box-right,
.tm-content-box-left{
  background: var(--panel-bg) !important;
  color: var(--theme-text-main) !important;
  border: 1px solid var(--panel-border) !important;
  box-shadow: var(--panel-shadow) !important;
  border-radius: 18px; /* optional */
}

/* Make headings/paragraphs inside readable */
.tm-white-bg h1, .tm-white-bg h2, .tm-white-bg h3, .tm-white-bg h4,
.tm-translucent-white-bg h1, .tm-translucent-white-bg h2, .tm-translucent-white-bg h3, .tm-translucent-white-bg h4{
  color: var(--theme-text-main) !important;
}
.tm-white-bg p, .tm-translucent-white-bg p{
  color: rgba(230,235,239,.88) !important;
}
/* Mobile portrait: content boxes only (reduce excessive wrapping) */
@media (max-width: 480px) and (orientation: portrait) {

  .tm-white-bg,
  .tm-translucent-white-bg,
  .tm-content-box,
  .tm-content-box-left,
  .tm-content-box-right {
    font-size: 16px !important;     /* medium readable */
    line-height: 1.65 !important;
    padding: 14px !important;       /* more horizontal room */
  }

  .tm-white-bg h1, .tm-translucent-white-bg h1,
  .tm-content-box h1, .tm-content-box-left h1, .tm-content-box-right h1 {
    font-size: 1.35em !important;
    line-height: 1.25 !important;
  }

  .tm-white-bg h2, .tm-translucent-white-bg h2,
  .tm-content-box h2, .tm-content-box-left h2, .tm-content-box-right h2 {
    font-size: 1.15em !important;
    line-height: 1.3 !important;
  }
}
/* Quantum Drift - content box button spacing */
.tm-content-box .tm-btn,
.tm-content-box .tm-btn:link,
.tm-content-box .tm-btn:visited{
  float: none !important;
  align-self: flex-end;
  margin-bottom: 64px !important; /* adjust px as needed */
}
/* Keep tm-btn compact (no full-width stretch) inside content boxes */
.tm-content-box .tm-btn,
.tm-content-box .tm-btn:link,
.tm-content-box .tm-btn:visited{
  display: inline-block !important;
  width: auto !important;
  float: right !important;        /* restores shrink-to-fit */
  margin-bottom: 36px !important; /* your fixed gap */
}
/* Content boxes: keep tm-btn compact (no full-width, normal font/height) */
.tm-content-box .tm-btn{
  display: inline-block !important;
  width: auto !important;

  font-size: inherit !important;     /* <- adjust (14–16px usually best) */
  line-height: 1.2 !important;    /* prevents tall button from inherited line-height */
  padding: 10px 18px !important;  /* controls height */

  float: right !important;        /* keeps it visually aligned like before */
  margin-bottom: 36px !important; /* your fixed gap after the button */
}
