body {	color:#333;	font:300 15px/15px Roboto,Arial,Helvetica;background:url(../images/bg.jpg) right no-repeat fixed #fff; -webkit-font-smoothing:antialiased;}

a{color:#00a9c6; text-decoration:none;}
a:hover{color:#666;}
.btn,a,.btn:hover,a:hover {
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
outline: none !important;
}

h1,h2,h3,h4{margin: 0;line-height: 1em;}
h1{font:700 5em Roboto,Arial,Helvetica;margin:0.25em 0;text-transform: uppercase;}
h2{font:300 2.5em Roboto,Arial,Helvetica;margin-bottom: 1.5em;}
h3{font:300 2em Roboto,Arial,Helvetica;margin:2em 0 1em 0;}
h4{font:300 1.5em Roboto,Arial,Helvetica;margin-bottom: 1em;}
h4 i{margin-right: 0.5em;}

p{font-size:1em;line-height: 1.7em; margin-bottom: 1.7em;}

.spacer{padding: 6em 0;}

.btn{border:none;border-radius: 0;padding: 1em 4em;background: rgba(0,0,0,0.5);text-transform: uppercase;}
.btn:hover,.btn:active{color: #fff;}
.btn-default{color: #ccc;border: 1px solid #aaa;}
.btn-default:hover,.btn-default:active{background: rgba(0,0,0,0.8);}
.btn-primary{color: #fff;background:#e89f10;width: 100%;outline: none;}
.btn-primary:hover,.btn-primary:active,.btn-primary:focus{background:#f3c024;box-shadow: none;}

.topbar {background:url(../images/lines.png);	height:5px;position: fixed;top: 0;width: 100%;z-index: 1000;}
.navbar-nav > li > a{font-size: 1em;line-height: 3.6em;}
.navbar-fixed-top{top: 5px;}
.navbar-inverse{background: #111;}
.navbar-inverse .navbar-nav>.active>a, .navbar-inverse .navbar-nav>.active>a:hover, .navbar-inverse .navbar-nav>.active>a:focus{background: none;color: #E89F10;}

#head,.carousel{margin-top: 0;}

#home{padding-top: 6em;}

/*about*/
.about.spacer{padding-left: 4em; padding-right: 4em;padding-bottom: 0;}
.services ul li{width: 10em;height: 10em;border: 1px solid #ccc;padding: 0;border-radius: 50%;margin: 0 1.25em;line-height: 13.5em;color: #999;}
.services ul li span{line-height: 2em;display: inline-block;font-weight: 300;}
.services ul li span i{font-size: 3em;}
.services ul li span b{display: block;font-size: 1em;font-weight: 300;}


/*testimonials*/
.partners img{float: left;margin:0 75px 30px 0;}
.testimonails{min-height: 195px;}
.testimonails img{margin-top: 5px;}
.testimonails span{color: #888;}
.testimonails span b{font-weight: 400;}
.carousel-indicators li{border: 1px solid #f3c024;}
.carousel-indicators{bottom: 0;}

/*works*/
#works{padding-top:6em;}
#works figcaption a{border:1px solid #fff;margin-top: 1em;display: inline-block;color: #fff;padding: 0 2em;}
#works figcaption a:hover{text-decoration: none;padding: 0 3em;}
/*works*/

/*team*/
.team figure{width: 100%;}
.team img{width: 100%;}
.team b{font-size: 1.2em;display: block;}
.team a i.fa{color: #fff; font-size: 2em;}
.team a i.fa:hover{color: #E89F10;}


.highlight-info{ background:url(../images/lab.jpg) center fixed; background-size: cover; color:#fff;}
.highlight-info .overlay{background: rgba(232,159,16,0.7);}
.highlight-info h4{color: #fff;margin:0.5em 0 0 0;}
/*about us*/










/*contact*/
.contactform textarea,.contactform input{width: 100%;padding:1em;border:1px solid #ccc;margin-bottom: 1em;border-radius: 0;outline: none;}
/*contact*/


.footer{background-color: #111; color: #fff; font-size: 1em;color: #aaa;}
.footer a{color: #aaa;margin: 0 1em; }

.gototop{position: fixed;bottom: 20px; right: 20px;background: rgba(0,0,0,0.5);padding: 10px;color: #fff;}
.gototop i{line-height: 0.5em;}


@media (max-width: 1200px) {
	body{font:300 13px/13px Roboto,Arial,Helvetica;}
	.navbar-brand{padding-top: 11px;}
	.services ul li{margin:0 0.5em; }
	
	.grid figure h2{font: 700 1.5em Roboto,Arial,Helvetica;}
	figure.effect-oscar figcaption{padding: 12%;}
	figure.effect-oscar figcaption::before,figure.effect-chico figcaption::before{top: 20px;right: 20px;bottom: 20px;left: 20px;}

	.partners img{margin: 0 25px 25px 0;}
}

@media (max-width: 900px) {
	h1{font: 700 3.5em Roboto,Arial,Helvetica;}
	h4 {font: 300 1.3em Roboto,Arial,Helvetica;}
	.btn{padding: 1em 2em;}
	.partners img{margin: 0 15px 25px 0;width: 157px;}
	.services ul li{width: 9em;height: 9em;}
	figure.effect-chico figcaption {padding: 2em;}	
	figure.effect-oscar figcaption {padding: 20%;}
	figure.effect-chico figcaption::before{top: 10px;right: 10px;bottom: 10px;left: 10px;}
	.grid figure.effect-chico p{font-size: 0.6em;line-height: 1.5em;}	
}


@media (max-width: 767px) {
	body{font:300 12px/12px Roboto,Arial,Helvetica;}
	.navbar-nav > li > a {line-height: 1em;}	
	.navbar-brand{padding: 7px;}
	.navbar-brand img{height: 37px;}
	.navbar-toggle{margin-top: 12px;}

	.carousel-caption,.carousel-control,.carousel-indicators{display: none;}

	h2.text-center{text-align: left;font-size: 1.7em;}
	h4 {font: 300 1.2em Roboto,Arial,Helvetica;}
	#partners h2{padding: 0 1em;} 
	#home {padding-top: 5em;}

	.partners{display: block;float: left;}
	.partners img{width: 120px;}



	.about.spacer{padding-left: 2em;padding-right: 2em;}
	.spacer{padding:2em 0 0 0;}
	.services ul li{margin-bottom: 1em;}

	.highlight-info .overlay{padding-bottom: 2em;}

	.grid.team div{margin: 0;padding: 0;}
	figure.effect-chico figcaption {padding: 1.5em;}
	.footer{margin-top: 2em;padding-bottom: 2em;}
}


.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  bottom: initial;
}

.carousel-caption h2 {
  font-size: 48px;
  font-weight: bold;
  color: #fff;
}

.carousel-caption .btn {
  margin-top: 20px;
  padding: 12px 30px;
  font-size: 18px;
  background-color: #ff6600;
  border: none;
}

.carousel-caption .btn:hover {
  background-color: #e65c00;
}

.item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}

.carousel-caption .btn {
  margin-top: 15px;
  padding: 8px 5px;   /* 🔽 reduced size */
  font-size: 14px;     /* 🔽 smaller text */
  background-color: #ff6600;
  border: none;
  border-radius: 10px;  /* optional: slightly rounded */
}

.carousel-caption .btn {
  padding: 8px 22px;
  font-size: 14px;
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.carousel-caption .btn:hover {
  background-color: #fff;
  color: #000;
}


.carousel-caption .btn {
  display: inline-block;
  width: auto;
  padding: 8px 20px;
  font-size: 14px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.carousel-caption .btn:hover {
  background: #fff;
  color: #000;
}

.carousel-caption {
  text-align: center;
}

/* FIX: Always show caption */
.carousel-caption {
  display: block !important;
  top: 50%;
  transform: translateY(-50%);
  bottom: initial;
  text-align: center;
}

/* Text responsive */
.carousel-caption h2 {
  font-size: 48px;
  color: #fff;
}

/* Button style */
.carousel-caption .btn {
  display: inline-block;
  width: auto !important;
  padding: 8px 20px;
  font-size: 14px;
  margin-top: 15px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* 🔥 MOBILE FIX */
@media (max-width: 768px) {

  .carousel-caption {
    top: 55%;
    transform: translateY(-50%);
    padding: 0 15px;
  }

  .carousel-caption h2 {
    font-size: 22px;   /* 🔽 smaller text */
  }

  .carousel-caption .btn {
    font-size: 12px;
    padding: 6px 14px;
  }
}

/* ===== FULLSCREEN SLIDER ===== */
#myCarousel,
#myCarousel .item,
#myCarousel .item img {
  height: 100vh;
}

#myCarousel .item img {
  width: 100%;
  object-fit: cover;
}

/* ===== DARK OVERLAY ===== */
#myCarousel .item {
  position: relative;
}

#myCarousel .item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

/* ===== CENTER TEXT ===== */
.carousel-caption {
  display: block !important;
  top: 50%;
  transform: translateY(-50%);
  bottom: initial;
  text-align: center;
  z-index: 2;
}

/* ===== HEADING ===== */
.carousel-caption h2 {
  font-size: 50px;
  color: #fff;
  font-weight: bold;
}

/* ===== BUTTON ===== */
.join-btn {
  display: inline-block;
  width: auto !important;
  padding: 8px 20px;
  font-size: 14px;
  margin-top: 15px;
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  text-decoration: none;
}

.join-btn:hover {
  background: #fff;
  color: #000;
}

/* ===== MOBILE FIX ===== */
@media (max-width: 768px) {

  #myCarousel,
  #myCarousel .item,
  #myCarousel .item img {
    height: 60vh;
  }

  .carousel-caption h2 {
    font-size: 22px;
  }

  .join-btn {
    font-size: 12px;
    padding: 6px 14px;
  }
}

#register {
  background: #f8f9fa;
  padding: 40px 20px;
}

#register input,
#register textarea {
  margin-bottom: 10px;
}

#register button {
  width: 100%;
}


.register-box {
  background: #ffffff;
  max-width: 400px;
  margin: 100px auto 50px auto;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

/* Inputs full width inside box */
.register-box input {
  width: 90%;
}

/* Mobile fix */
@media (max-width: 768px) {
  .register-box {
    margin: 80px 15px;
    padding: 20px;
  }
}

.register-box h2 {
  margin-bottom: 20px;
  color: #333;
}

.register-box button {
  width: 90%;
  border-radius: 5px;
}


/* Overlay Background */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.popup-box {
  position: relative;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  max-width: 90%;
  width: 400px;
  text-align: center;
}

/* Poster Image */
.popup-image {
  width: 100%;
  border-radius: 8px;
}

/* Register Button */
.register-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 20px;
  background: #ff4d4d;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.register-btn:hover {
  background: #e60000;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 25px;
  cursor: pointer;
  color: #333;
}

/* Retreat Section */
.retreat-section {
  padding: 40px 0;
  background: #fff;
}

/* Retreat Section */
.retreat-section {
  padding: 40px 0;
  background: #000; /* looks better for video */
}

/* Video Styling */
.retreat-video {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
}

.retreat-section {
  padding: 40px 0;
  background: transparent; /* removed black */
}


/* Section */
.retreat-section {
  padding: 20px 0;
}

/* Wrapper controls ratio */
.video-wrapper {
  width: 100%;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
  border-radius: 10px;
}

/* Video scaling fix */
.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .retreat-section {
    padding: 10px;
  }

  .video-wrapper {
    border-radius: 0; /* edge-to-edge on mobile */
  }
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.retreat-section {
  padding: 20px 15px;
}

/* IMPORTANT FIX */
.video-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* KEY PART */
.video-wrapper video {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 10px;
}


@media (max-width: 768px) {
  .retreat-section {
    padding: 0;
  }

  .video-wrapper video {
    border-radius: 0;
  }
}

/* FORCE FIX FOR MOBILE */
#retreat {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

#retreat .video-wrapper {
  width: 100% !important;
  max-width: 100% !important;
}

#retreat video {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: contain !important;
}

/* Wrapper */
#retreat .video-wrapper {
  position: relative;
  width: 100%;
}

/* Video */
#retreat video {
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* BUTTON STYLE */
.video-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  
  background: #ff3b3b;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 30px;
  
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
}

/* Hover */
.video-btn:hover {
  background: #e60000;
}

@media (max-width: 768px) {
  .video-btn {
    bottom: 15px;
    padding: 10px 20px;
    font-size: 14px;
  }
}
