/*
Awesome Template
http://www.templatemo.com/preview/templatemo_450_awesome
*/

body
	{
 		background: #f0eeee;
 		color: #ffffff;
		font-family: 'Open Sans', sans-serif;
		font-weight: 300;
		overflow-x: hidden; /* prevent horizontal scrollbar from appearing */
	}
	
a {
	color: #47C6F8;
}
	
a:hover {
	color: #0FF;
}

/* start h2 */
h2
	{
		text-align: center;
		font-size: 40px;
		padding-bottom: 40px;
	}	
	h4
	{
		text-align: center;
		font-size: 40px;
		padding-bottom: 40px;
	}	
h2 span
	{
		color: #28a7e9;
		font-weight: bold;
	}
/* end h2 */

/* start about team service portfolio contact */
#about, #team, #service,
#portfolio, #contact
	{
		padding-top: 60px;
		padding-bottom: 40px;
	}
/* end about team service portfolio contact */

/* start preloader */
.preloader
	{
		position: fixed;
  		top: 0;
  		left: 0;
  		width: 100%;
  		height: 100%;
  		z-index: 99999;
  		display: -webkit-box;
  		display: -webkit-flex;
  		display: -ms-flexbox;
  		display: flex;
  		-webkit-flex-flow: row nowrap;
  		    -ms-flex-flow: row nowrap;
  		        flex-flow: row nowrap;
  		-webkit-box-pack: center;
  		-webkit-justify-content: center;
  		    -ms-flex-pack: center;
  		        justify-content: center;
  		-webkit-box-align: center;
  		-webkit-align-items: center;
  		    -ms-flex-align: center;
  		        align-items: center;
  		background: none repeat scroll 0 0 #ffffff;
	}
.sk-spinner-wave.sk-spinner 
	{
  		width: 50px;
  		height: 30px;
  		text-align: center;
  		font-size: 10px; 
  	}
.sk-spinner-wave div 
	{
  		background-color: #333;
  		height: 100%;
  		width: 6px;
  		display: inline-block;
         -webkit-animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
                 animation: sk-waveStretchDelay 1.2s infinite ease-in-out;
         
    }
.sk-spinner-wave .sk-rect2 
	{
          -webkit-animation-delay: -1.1s;
                  animation-delay: -1.1s; 
      }
.sk-spinner-wave .sk-rect3 
	{
          -webkit-animation-delay: -1s;
                  animation-delay: -1s; 
     }
.sk-spinner-wave .sk-rect4 
	{
          -webkit-animation-delay: -0.9s;
                  animation-delay: -0.9s;
     }
.sk-spinner-wave .sk-rect5 
	{
          -webkit-animation-delay: -0.8s;
                  animation-delay: -0.8s; 
     }

@-webkit-keyframes sk-waveStretchDelay {
  0%, 40%, 100% {
            -webkit-transform: scaleY(0.4);
                    transform: scaleY(0.4); }

  20% {
            -webkit-transform: scaleY(1);
                    transform: scaleY(1); } }

@keyframes sk-waveStretchDelay {
  0%, 40%, 100% {
            -webkit-transform: scaleY(0.4);
                    transform: scaleY(0.4); }

  20% {
            -webkit-transform: scaleY(1);
                    transform: scaleY(1); } }
/* end preloader */

/* start header */
header
	{
		min-height: 20px;
		padding-top: 18px;
		padding-bottom: 10px;
	}
header .fa
	{
		color: #28a7e9;
	}
header span
	{
		font-weight: bold;
		padding-right: 10px;
		padding-left: 4px;
	}
header a
	{
		color: #999;
		font-weight: 600;
	}
header .social-icon
	{
		text-align: right;
	}
header .social-icon li a
	{
		border: none;
		width: 20px;
		height: 20px;
		line-height: 20px;
		text-align: center;
	}
/* end header */
/* Test sửa đổi */
/* Thanh navbar với nền gradient hiện đại + shadow mềm */
.navbar-default::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.4); /* lớp phủ mờ đen */
    z-index: 1;
}
.navbar-default {
    position: relative;
    z-index: 2;
}


/* Logo thương hiệu */
.navbar-default .navbar-brand {
    font-weight: 700;
    font-size: 28px;
    color: #d40000 !important;
    height: 70px;
    line-height: 40px;
    padding: 15px 0px 0px 12px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.navbar-default .navbar-brand:hover {
    transform: scale(1.05);
    color: #ff3300 !important;
}

/* Menu điều hướng */
.navbar-default .navbar-nav > li > a {
    font-weight: bold;
    font-size: 14px;
    height: 70px;
    line-height: 40px;
    color: #333;
    padding: 20px 16px;
    position: relative;
    transition: all 0.3s ease;
}

/* Gạch dưới khi hover */
.navbar-default .navbar-nav > li > a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 12px;
    left: 50%;
    background: #d40000;
    transition: all 0.3s ease;
}

.navbar-default .navbar-nav > li > a:hover::after {
    left: 0;
    width: 100%;
}

.navbar-default .navbar-nav > li > a:hover {
    color: #d40000;
    background-color: rgba(255,255,255,0.1);
}

/* Link đang active */
.navbar-default .navbar-nav > li > a.current {
    color: #ffffff;
    background: #28A7E9;
    border-radius: 8px;
    padding: 10px 20px;
    margin-top: 10px;
}

header p, header p a, header p strong {
    display: inline;
    white-space: nowrap;
}


.templatemo-nav {
	border-radius: 0;	
	width: 100%;
	z-index: 1000;
}
.sticky {	
	position: fixed;
	left: 0;
	top: 0;	
}
/* end navigation */

/* start home */
/* start home */
#home {
    background: url('../images/gioithieu.jpg') no-repeat center center;
    background-size: cover;
    background-position: center center;
    padding-top: 160px;
    padding-bottom: 100px;
    min-height: 650px;
    position: relative;
}

/* Nếu bạn vẫn dùng slideshow-image */
.slideshow-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

@media (max-width: 768px) {
  #home {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 500px;
  }
}

.slideshow-image.active {
  opacity: 1;
}

#home h1
	{
		font-weight: 300;
		font-size: 70px;
		padding-bottom: 10px;
	}
#home h1 span
	{
		color: #e93228;
		font-weight: bold;
	}
	.home-title .main-text {
    display: inline-block;
    font-weight: 900;
    color: #FF0000 !important; /* Màu chữ */
    background-color: rgba(255, 255, 255, 0.7); /* Nền trắng mờ 70% */
    padding: 5px 10px;
    border-radius: 5px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3); /* Thêm bóng để nổi bật hơn */
}

.home-title .location-time {
    display: inline-block;
    font-size: 0.7em;
    font-weight: normal;
    color: #DC143C !important;
    background-color: rgba(255, 255, 255, 0.3); /* Nền trắng mờ */
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 1px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}
.element .sub-element {
    display: inline-block;
    font-size: 0.9em;
    font-weight: 500;
    color: #DC143C !important;
    background-color: rgba(255, 255, 255, 0.6); /* Trắng mờ hơn, dễ đọc */
    padding: 6px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(3px); /* Làm mờ nền phía sau */
    -webkit-backdrop-filter: blur(3px); /* Hỗ trợ Safari */
}


#home .btn
	{
		background: transparent;
		border-radius: 2px;
		color: #fff;
		font-size: 16px;
		font-weight: bold;
		margin-top: 20px;
		width: 180px;
		height: 60px;
		padding-top: 18px;
		-webkit-transition: all 0.4s ease-in-out;
		        transition: all 0.4s ease-in-out;
	}
#home .btn:hover
	{
		background: #28a7e9;
		border-color: transparent;
	}
.element {
	height: 60px;
	font-size: 16px;
}
/* end home */

/* start about */
#about .media-heading-wrapper
	{
		padding-bottom: 32px;
	}
#about .media-heading-wrapper .fa
	{
		border: 1px solid #fff;
		border-radius: 2px;
		color: #fff;
		font-size: 24px;
		width: 60px;
		height: 60px;
		line-height: 60px;
		text-align: center;
		margin-bottom: 20px;
		margin-right: 20px;
	}
#about .media-heading-wrapper h3
	{
		font-size: 18px;
		font-weight: bold;
		padding-top: 20px;
		padding-left: 52px;
	}
/* end about */

/* start team */
#new .team-wrapper {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    background: #404040;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    gap: 20px;
    color: #fff;
}

#new .team-wrapper img {
    max-width: 240px;
    border-radius: 8px;
    height: auto;
}

#new .team-wrapper .team-des {
    flex: 1;
}

#new .team-wrapper .team-des h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #00ccff;
}

#new .team-wrapper .team-des span {
    color: #28a7e9;
    font-weight: bold;
    display: block;
    margin-bottom: 12px;
}

#new .team-wrapper .team-des p {
    font-size: 15px;
    line-height: 1.6;
}
/* end team */

/* start service */
#service .col-md-4 {
    padding: 40px;
    transition: all 0.4s ease-in-out;
    text-align: justify;
    /* ✅ Căn đều văn bản */
    line-height: 1.6;
    /* ✅ Tăng khoảng cách dòng cho dễ đọc */
    background-color: transparent;
}

#service .col-md-4:hover {
    background: #505050;
}

#service .active {
    background: #505050;
    padding: 40px;
}

#service .fa {
    border: 1px solid #fff;
    border-radius: 50%;
    /* ✅ Bo tròn biểu tượng cho đẹp hơn */
    color: #fff;
    font-size: 50px;
    width: 100px;
    height: 100px;
    line-height: 100px;
    text-align: center;
    margin: 0 auto 20px auto;
    /* ✅ Căn giữa biểu tượng */
    display: block;
}

#service h4 {
    color: #28a7e9;
    font-weight: 600;
    padding-top: 10px;
    padding-bottom: 14px;
    text-align: center;
    /* ✅ Căn giữa tiêu đề */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ✅ Tùy chọn bổ sung nếu bạn có đoạn mô tả trong <p> */
#service p {
    text-align: justify;
    line-height: 1.6;
    color: #f5f5f5;
    font-size: 16px;
}
/* end service */

/* start portfolio */
#portfolio
	{
		padding-bottom: 80px;
	}
#portfolio .col-md-3
	{
		padding: 0px;
	}
	.portfolio-thumb, 
	.portfolio-overlay {
		max-width: 450px;
	}
#portfolio .portfolio-thumb
	{
		overflow: hidden;
		padding: 0;
		margin: 0 auto;
	}
#portfolio .portfolio-thumb .portfolio-overlay
	{
		background: #28a7e9;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;	
		width: 100%;
		height: 100%;
		opacity: 0;
		position: absolute;
		padding: 20px 10px 20px 20px;
		margin-left: auto;
		margin-right: auto;
		-webkit-transition: all 0.4s ease-in-out;
		        transition: all 0.4s ease-in-out;
	}
#portfolio .portfolio-thumb .portfolio-overlay h4
	{
		font-weight: bold;
		padding-bottom: 10px;
	}
#portfolio .portfolio-thumb .portfolio-overlay .btn
	{
		background: none;
		border: 1px solid #fff;
		border-radius: 2px;
		color: #fff;
		font-weight: bold;
	}
#portfolio .portfolio-thumb:hover .portfolio-overlay
	{
		cursor: pointer;
		opacity: 0.8;
	}
/* end portfolio */

/* start contact */
#contact
	{
		background: #202020;
	}
#contact .form-control
	{
		background: transparent;
		border: 1px solid #28a7e9;
		border-radius: 2px;
		box-shadow: none;
		color: #fff;
		margin-top: 6px;
		margin-bottom: 16px;
	}
#contact label
	{
		font-weight: 500;
	}
#contact input
	{
		height: 50px;
	}
#contact input[type="submit"]
	{
		background: #28a7e9;
		font-weight: bold;
		-webkit-transition: all 0.4s ease-in-out;
		        transition: all 0.4s ease-in-out;
	}
#contact input[type="submit"]:hover
	{
		background: transparent;
	}
#contact address
	{
		border-bottom: 1px solid #505050;
		padding-top: 30px;
	}
#contact address .address-title
	{
		font-weight: bold;
		font-size: 20px;
		padding-bottom: 10px;
	}
#contact address span
	{
		display: block;
		padding-bottom: 30px;
	}
#contact address .fa
	{
		border: 1px solid #fff;
		border-radius: 2px;
		width: 40px;
		height: 40px;
		line-height: 40px;
		text-align: center;
		margin-right: 10px;
		margin-bottom: 10px;
	}
/* end contact */

/* start copyright */
#copyright
	{
		padding: 20px;
	}
#copyright p
	{
		font-weight: 400;
	}
/* end copyright */

/* start social icon */
.social-icon
	{
		position: relative;
		padding: 0;
		margin: 0;
	}
.social-icon h4
	{
		display: inline-block;
		padding-right: 20px;
	}
.social-icon li
	{
		display: inline-block;
		list-style: none;
	}
.social-icon li a
	{
		border: 1px solid #fff;
		border-radius: 2px;
		color: #fff;
		width: 40px;
		height: 40px;
		line-height: 40px;
		text-align: center;
		text-decoration: none;
		-webkit-transition: all 0.4s ease-in-out;
		        transition: all 0.4s ease-in-out;
		margin-right: 10px;
	}
.social-icon li a:hover
	{
		background: #28a7e9;
		border-color: transparent;
	}
/* end social icon */

@media only screen and (max-width: 1199px) and (min-width: 992px) {
	#portfolio .portfolio-thumb .portfolio-overlay {
		padding: 0px 8px;
	}
}
.portfolio-thumb img {
    transition: transform 0.3s ease;
}
.portfolio-thumb:hover img {
    transform: scale(1.05);
}
.service-item img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-item img:hover {
  transform: scale(1.05); /* Phóng to ảnh nhẹ */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); /* Đổ bóng */
}
.service-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 170, 255, 0.6);
}

.card img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hotline {
  font-size: 20px;
  color: #e70606;
  font-weight: bold;
}

ul li {
  margin-bottom: 8px;
}

.card img:hover {
  transform: scale(1.15); /* Phóng to nhẹ */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Đổ bóng */
}

.card img:hover {
  filter: brightness(1.2);
  transform: scale(1.1);
}


/* start 980 media quires */
@media only screen and ( max-width: 980px ) {
	#team .team-wrapper
		{
			margin-top: 40px;
		}
	#portfolio .portfolio-thumb .portfolio-overlay
	{
		background: #28a7e9;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100%;
		opacity: 0;
		position: absolute;
		padding: 40px 10px 20px 20px;
		-webkit-transition: all 0.4s ease-in-out;
		        transition: all 0.4s ease-in-out;
	}

}
/* end 360 media quires */

/* start 768 media quires */
@media only screen and ( max-width: 767px ) {
	#home
		{
			min-height: 300px;
			padding-top: 80px;
			padding-bottom: 60px;
		}
	#home h1
		{
			font-size: 52px;
		}

	.templatemo-nav {
		position: fixed;
    	top: 0;
	}
	header {
		margin-top: 70px;
	}
	header .social-icon {
		text-align: left;
	}
	.navbar-toggle {
		margin-top: 15px;
	}
	.navbar-collapse {
		max-height: 300px;
		overflow-y: auto;
	}
	.navbar-default .navbar-nav li a {
		height: 45px;
		padding-top: 5px;
		padding-bottom: 5px;
		line-height: 35px;
	}
}
/* end 768 media quires */

/* start 360 media quires */
@media only screen and ( max-width: 360px ) {
	header .social-icon
		{
			text-align: left;
		}
	#home
		{
			min-height: 200px;
			padding-top: 60px;
			padding-bottom: 40px;
		}
	#home h1
		{
			font-size: 32px;
		}

}
.btn:hover {
  transform: scale(1.05);
  background-color: #ffc107;
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #ffd700;
  margin: 15px auto 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .contact-info {
    text-align: center;
  }
}

/* end 360 media quires */