/* Header */
.header{
    background-color:#fff; 
    font-family:'Montserrat';
}
body{
  font-family:'Montserrat';
}
.top-header-row{
    background-color: #14213D;
    color:white;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);
}
.custom-media-icon i{
    font-size:1rem;
    color:#FCA311;
}
.navbar-nav a{
    color:#14213D;
    font-weight: 600;
}
.navbar-nav a:hover {
    color:#F5A623; 
  }
  .navbar-nav .nav-link.active  {
    color:#F5A623 ; 
  }
  .consultant-btn{
    border:2px solid #14213D;
    color:#14213D;
    background-color:transparent;
    transition: background-color 0.3s, color 0.3s;
    border-radius:0px;
}
.consultant-btn:hover {
    background-color:#14213D;
    color: white; 
}
.gallery-btn:focus {
    outline: none; 
    animation: blink 0.3s; 
}
/* carousel */
/* Fixed header at the top */
.header {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    background-color:transparent;
    backdrop-filter: blur(90px); 
    z-index: 10;
}

/* Carousel styling */
#customCarousel {
    position: relative;
    width: 100%;
    z-index: 1;  
}

.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.carousel.fade-carousel .carousel-item {
    transition: opacity 1.5s ease, transform 2s ease;
    opacity: 0;
    transform: scale(1);
}

.carousel.fade-carousel .carousel-item.active {
    opacity: 1;
    transform: scale(1.1);
}

.carousel.fade-carousel img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
.carousel-caption {
  position: absolute;
  top: 55%; 
  left:38%; 
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align:justify;
  justify-content: center;
  max-width: 800px; 
    width: 80%;     
    margin: 0 auto; 
}
.carousel-caption h1{
  font-weight:700;
  font-size:3.75rem; 
}
.carousel-caption span{
  font-size:3.1rem;
  font-weight:400;
  text-align: justify;
}
.carousel-caption P{
  font-size:1.2rem;
  font-weight:400;
  max-width: 800px; 
    width: 75%;  
}
/*carousel indicators  */
.carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.7); 
    border-radius: 0%; 
    width: 12px; 
    height: 12px;
    border: none; 
    margin-bottom: 8px; 
    cursor: pointer; 
    transition: background-color 0.3s ease; 
}

/* Style for each indicator (dot) */
.carousel-indicators button {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%; 
    width: 50px; 
    height: 50px; 
    border: none;
    margin-bottom: 8px; 
}

/* Active dot style */
.carousel-indicators .active {
    background-color: rgb(230, 133, 42);
}
.text-yellow{
   color: #FCA311;
}
.text-blue{
    color:#1b2d53;
}
/* about us section */
.trusted-section h1{
    font-family: 'Kanit';
   
}
.trusted-section p{
text-align: justify;
color:#4D4D4D;
}
.read-more-btn{
    background-color: #f79e0e;
    color: #fff;
    border-radius: 0%;
}
.read-more-btn:hover{
    background-color:#14213D;
    color:#FCA311;
}
.counter-section{
    border-top:1px solid rgba(128, 128, 128, 0.4);
}
.counter{
    font-size:3rem;
    font-weight:700;
    color: #14213D;
}
/*our services */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Overlay Styling */
.service-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover .overlay {
  opacity: 1;
}
.service-card .content {
  position: absolute;
  top: 3rem; 
  left:2rem;
  z-index: 3; 
  color: #ffffff;
}

.service-card .content h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.service-card .content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Button Styling */
.service-card .btn {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 4; 
  color: #fff;
  background-color: transparent;
  border: 1px solid #fff;
  padding: 1rem 1.5rem;
  font-size: 1.2rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, opacity 0.3s ease-in-out;
  opacity: 0; 
  visibility: hidden; 
}

/* Hover for button */
.service-card:hover .btn {
  opacity: 1;
  visibility: visible;
}

/* odd (blue overlay) */
.col:nth-child(odd) .service-card:hover .btn {
  background-color:rgba(252, 163, 17, 1); 
  color:#fff;
  border-radius: 0%;
  border:#FCA311
}

/* Styling for even (yellow overlay) */
.col:nth-child(even) .service-card:hover .btn {
  background-color:rgba(20, 33, 61, 1); 
  color: #fff;
  border-radius: 0%;
  border: #14213D;
}

/* Button hover effects */
.service-card .btn:hover {
  color: #000; 
  background-color: rgba(255, 255, 255, 0.9); 
}

/* Specific overlay colors for odd and even cards */
.col:nth-child(odd) .service-card .overlay {
  background: rgba(34, 57, 107, 0.6); 
}

.col:nth-child(even) .service-card .overlay {
  background: rgba(252, 163, 17, 0.7); 
}
.Projects h2 ,.heading ,.our_team h2 ,.testimonials h2 ,.blogs h2 ,.quote-section h2 ,.contact-us h2{
  font-weight: 700; 
  color:#14213D;
  font-size: 2.5rem;
}
/* overlay */
.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}
/* New class for the project name overlay */
.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color:rgba(252, 163, 17, 0.7); 
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size:1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  font-weight:500;
  cursor: pointer;
}

/* Show the project name overlay on hover */
.image-container:hover .overlay-text {
  opacity: 1;
}

.image-container:hover img {
  opacity: 0.7; 
}
/* statitics section */
.stats-section {
  background-color:#14213D; 
  color:rgba(252, 163, 17, 1); 
  padding: 40px 0;
}
.stat-box {
  text-align: center;
}
.stat-box img {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
}
.stat-title {
  font-size: 2rem;
  margin-top: 10px;
  font-weight:500;
  color:rgba(252, 163, 17, 1);
}
.stat-desc {
  color: #ffffff;
  font-size:1.15rem;
}
.media-icons a {
  color: #00317B;
  margin: 0 5px;
  font-size: 1.85em;
  transition: color 0.3s ease;
}

.media-icons a:hover {
  color: #0056b3;
}
.profile-card {
  overflow: hidden;
  border: none;
  transition: transform 0.3s ease;

}
.profile-card {
  transition: transform 0.3s ease; 
}
.profile-card:hover {
  transform: scale(1.1); 
}
.profile-img {
  height: auto;
}
.profile-info {
  text-align: center;
  padding: 10px;
}
.comments-section{
  background-color:#EAF7FC;
 }
.user-img{
  border-radius: 50%;
}
/* footer section */
.footer {
  background-color: #0A2540;
  color:rgba(255, 255, 255, 0.7);
  text-align: justify;
}
.footer a {
  color:rgba(255, 255, 255, 0.8) ;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.footer .social-icons i {
  margin-right: 10px;
  font-size: 1.75rem;
  color: #fff;
}
.footer .icons i{
  font-size:1rem;
  color:#eee9e9;
}
.newsletter {
  background-color:rgba(237, 242, 244, 1);
  padding: 20px;
  text-align: center;
  
}
.newsletter h2{
  font-family:'kanit';
  font-size:2rem;
  font-weight:500;
}
.newsletter .form-control {
  border-radius: 0; 
  border:1px solid #fff;
  height: auto;
  width:400px;
}

.newsletter .btn-primary {
  border-radius: 0; 
  background-color:#14213D; 
  color: white; 
  border-color: #14213D;
}

.newsletter .btn-primary:hover {
  background-color:#FCA311; 
  border-color:#FCA311; 
}
.underline {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.underline::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height:1px; 
  width:80%;
  background-color:#FCA311;
}
/* about us page */
.banner {
  background: url('Images/Carousel/banner.png') no-repeat center center/cover;
  height: 315px;
  display: flex;
  align-items: center;
  padding-left: 200px;
  color: #fff;
  position: relative;
}

.banner-content {
  max-width: 100%;
  z-index: 2;
}

.banner h2 {
  font-size:2rem;
  font-weight:700;
}

.breadcrumb {
  margin-top: 10px;
  font-size:1rem;
}

.breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.breadcrumb a:hover {
  opacity: 1;
}

.breadcrumb span {
  opacity: 0.8;
}
.quote-section {
  display: flex;
  gap: 40px;
}

.quote-section .form-group {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.quote-section input, select, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #c0bebe;
  border-radius: 5px;
}

.quotes-section textarea {
  resize: none;
  height: 100px;
}

.quote-section button.btn ,.contact-form button.btn{
  padding: 12px 20px;
  background-color: #f4a300;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  WIDTH:50%;
}

.quote-section button.btn:hover,.contact-form button.btn:hover {
  background-color: #14213D;
  color: #EAF7FC;
}

.feature {
  display: flex;
  align-items: center;
  gap: 15px;
}

.feature img {
  width: 60px;
  height: 60px;
}

.feature h5 {
  font-weight:600;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: #666;
}
.blogs p{
  font-size:1rem;
}
.contact-card i {
  font-size:1.4rem;
  color: #f9a825;
}
.contact-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}
.btn-send {
  background-color: #f9a825;
  color: white;
}
.contact-card p{
 color: rgba(22, 28, 45, 0.9)
}
.contact-form .form-label{
   color:#000;
   font-weight:500;
}
.grey_bg{
 
  height:70%;
}
.services_bg{
   background-color: #14213D;
   color:#fff;
}
.services_bg:hover{
  background-color:rgba(252, 163, 17, 1);
  color: #EAF7FC;
}
.blog_1{
  text-align: justify;
}