/* fonts imports */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* basic styles  */
html{
  scroll-behavior: smooth;
}
body{
  padding: 0;
    margin: 0;
    overflow-x: hidden;
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Poppins";
}

:root{
    --primary-bg: #0C5C97;
    --black-text: #3A3A3A;
    --white-text: #ffffff;
}

/* Transparent navbar (fixed on large screens) */
.transparent-navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 10;
  padding: 15px 0;
  transition: background-color 0.3s ease;
}

/* Solid background after scroll (optional effect) */
.transparent-navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.85);
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #3A3A3A !important;
  font-weight: 500;
  padding: 0 10px !important;
  text-transform: uppercase;
  font-size: 14px;
}
.navbar-nav .nav-link.active {
    color: #1e90ff !important;
}

.active{
  color: #1e90ff;
}
.navbar-nav .nav-link:hover {
  color: #ccc !important;
}

/* Social Icons */
.header-social-icons a {
    color: #222222;
    margin-right: 8px;
    background-color: rgb(131 130 130 / 24%);
    font-size: 16px;
    transition: color 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: grid;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-icons a:hover {
  color: #ccc;
}
button.navbar-toggler {
    background: rgb(131 130 130 / 50%);
    padding: 5px;
}
/* Contact phone on right */
.contact-phone {
    background-color: rgb(131 130 130 / 24%);
    color: #3A3A3A;
    padding: 14px 24px;
    border-radius: 0px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

/* Centered logo */
.logo-container img {
  max-height: 120px;
  width: auto;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  background-image: url('../images/hero-section-kitchen-interior-design.png');
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
  overflow: hidden;
}

/* Dark overlay over hero image */
.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Content box in hero */
.content-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2rem;
  text-align: center;
  border-top: 2px solid #2979B4;
  max-width: 500px;
  width: 90%;
  backdrop-filter: blur(4px);
}

.content-box h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Playfair Display", serif;
}

.content-box .special-text {
  color: white;
  font-family: "Playfair Display", serif;
  background-color: #838282;
  padding: 4px 8px;
}

.content-box p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* Buttons inside hero */
.content-box .btn {
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 0;
}

.content-box .btn-primary {
  background-color: var(--white-text);
  border: none;
  border-radius: 5px;
  color: #3A3A3A;
}

.content-box .btn-outline-light {
  border: 1px solid white;
  color: white;
  background-color: #2979B4;
  outline: none;
  border: none;
  border-radius: 5px;
}

/* cleared media query  */

/* Mobile menu styles */
.mobile-menu {
  background-color: #2979B4; /* Blue background color matching your image */
  color: white;
  width: 280px;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.offcanvas-header span {
  color: white;
  font-weight: 500;
}

.btn-close {
  background: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2016%2016'%20fill='%23fff'%3E%3Cpath%20d='M8%2015A7%207%200%201%201%208%201a7%207%200%200%201%200%2014m0%201A8%208%200%201%200%208%200a8%208%200%200%200%200%2016'/%3E%3Cpath%20d='M4.646%204.646a.5.5%200%200%201%20.708%200L8%207.293l2.646-2.647a.5.5%200%200%201%20.708.708L8.707%208l2.647%202.646a.5.5%200%200%201-.708.708L8%208.707l-2.646%202.647a.5.5%200%200%201-.708-.708L7.293%208%204.646%205.354a.5.5%200%200%201%200-.708'/%3E%3C/svg%3E") center/1.7em auto no-repeat;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.mobile-nav-links li {
  margin-bottom: 10px;
}

.mobile-nav-links a {
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 8px 15px;
}

.mobile-phone {
  padding: 15px;
  margin: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-phone a {
  color: white;
  font-weight: 500;
  font-size: 20px;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.mobile-phone i {
  margin-right: 8px;
}

.mobile-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}

.mobile-btn {
  background-color: black;
  color: white;
  text-align: center;
  padding: 12px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
}

.mobile-social {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
}

.mobile-social a {
  color: white;
  background-color: transparent;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.mobile-social a.fb {
  background-color: #3b5998;
}

/* Make sure toggle button is visible on mobile */
@media (max-width: 991px) {
  .navbar-toggler {
    display: block;
    background-color: transparent;
    border: none;
    padding: 10px;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  /* Hide desktop nav on mobile */
  .navbar-collapse {
    display: none !important;
  }
}

/* Mobile navbar changes */
@media (max-width: 991px) {
  .transparent-navbar {
    position: relative;
    background-color: #000000; /* Change to black background for mobile navbar */
    padding: 10px 0;
  }
  
  .navbar-toggler {
    display: block;
    background-color: transparent;
    border: none;
    padding: 10px;
  }
  
  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  /* Mobile logo styling */
  .mobile-logo {
    height: 70px !important;
    width: auto;
  }
  
  /* Using Bootstrap's ms-auto utility to push the toggle button to the right */
  .navbar-toggler.ms-auto {
    margin-left: auto;
  }
  
  /* Hide desktop nav on mobile */
  .navbar-collapse {
    display: none !important;
  }
}

/* Mobile menu styles - keep your existing styles and add/modify these: */
.mobile-menu {
  background-color: #1e73be; /* Blue background color matching your image */
  color: white;
  width: 280px;
}

@media (max-width: 767px) {
  .content-box .special-text{
    padding: 2px 6px;
  }

  .content-box{
    top: 50%;
  }
}

.contact-phone a{
  color: #2b2b2b;
  text-decoration: none;
}

@media (min-width: 1400px) {
  .home-header-container{
    width: 90vw;
  }
}

/* feature section  */
.company-section {
  padding: 80px 0px 0px;
  position: relative;
  overflow: hidden;
}
.company-header {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #3A3A3A;
  font-family: "Playfair Display", serif;
}
.company-text {
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
}

.experience-box {
    position: absolute;
    bottom: 0%;
    right: 0;
    transform: translate(0%, -30%);
    z-index: 10;
    background-color: #1e73be;
    color: white;
    width: 200px;
    display: grid;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    padding: 25px;
}
.experience-box .icon {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
}
.experience-box img {
    margin-left: auto;
    margin-bottom: 10px;
}
.counter {
    font-size: 4.5rem;
    margin: 0;
    line-height: 1;
}
.experience-text {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.company-image-container {
  position: relative;
  min-height: 500px;
  padding: 0px 48px 0px 0px;
}
.company-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  height: 100%;
  width: 100%;
}
.company-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.section-heading {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
  font-family: "Playfair Display", serif;
}

.company-tagline-text{
  font-family: "Poppins";
  font-weight: 500;
  color: #2979B4;
  font-family: 16px;
}
.mission-values {
  margin-top: 40px;
}
.value-text {
  color: #666;
  margin-bottom: 20px;
}

@media (max-width: 991px) {
  .experience-box {
      /* position: relative;
      top: 0;
      left: 0; */
      transform: none;
      margin: 0 auto 40px auto;
      right: 10px;
  }
  .company-image-container {
      min-height: 400px;
  }
  .order-swap-mobile {
      display: flex;
      flex-direction: column-reverse;
  }
}

/* construction service sction  */
.header-section {
  text-align: center;
  padding: 60px 0px 40px 0px;
  background-color: white;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
  font-family: "Playfair Display", serif;
}
.section-subtitle {
  font-size: 12px;
  color: #666;
  margin-bottom: 20px;
}
.services-section {
  position: relative;
  padding: 80px 20px 80px 20px;
  color: white;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.services-content {
  position: relative;
  z-index: 2;
}
.service-card {
  text-align: left;
  margin-bottom: 40px;
}
.service-icon {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-square {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background-color: #1e90ff; /* Blue color for the square */
  border-radius: 2px;
  z-index: 1;
}
.icon-image {
  width: 50px;
  height: 50px;
  z-index: 2;
}
.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}
.service-text {
  color: #ccc;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .section-title {
      font-size: 2rem;
  }
  .service-card {
      margin-bottom: 30px;
  }
  .services-section{
    margin-bottom: 60px;
  }
}


/* realty service section  */
.realty-header-section {
  text-align: center;
  padding: 50px 0 30px;
  background-color: white;
}
.realty-section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}
.realty-section-subtitle {
  color: #666;
  margin-bottom: 20px;
}
.realty-services-section {
  position: relative;
  padding: 80px 20px;
  color: white;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.realty-services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.realty-services-content {
  position: relative;
  z-index: 2;
}
.realty-service-card {
  text-align: left;
  margin-bottom: 40px;
}
.realty-service-icon {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.realty-icon-square {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 26px;
  height: 26px;
  background-color: #1e90ff; /* Blue color for the square */
  border-radius: 2px;
  z-index: 1;
}
.realty-icon-image {
  width: 50px;
  height: 50px;
  z-index: 2;
}
.realty-service-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}
.realty-service-text {
  color: #ccc;
  font-size: 0.9rem;
}

/* Responsive adjustments */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 0px;
  padding: 0px;
}

.contact-form-container {
  flex: 0 0 50%;
  background-color: #D8D7D7;
  padding: 50px;
  min-width: 300px;
}

.contact-image-container {
  flex: 0 0 50%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-title-small {
  color: #1e73be;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.contact-title-large {
  color: #3A3A3A;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
  font-family: "Playfair Display", serif;
}

.contact-form .form-control {
  border: none;
  background-color: #ffffff;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 0;
  box-shadow: none;
}

.contact-form textarea.form-control {
  height: 120px;
  resize: none;
}

.contact-form .form-select {
  border: none;
  background-color: #ffffff;
  padding: 12px 15px;
  margin-bottom: 15px;
  border-radius: 0;
  height: auto;
  box-shadow: none;
}

.contact-form .btn-submit {
  background-color: #1e73be;
  color: white;
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form .btn-submit:hover {
  background-color: #1a5c94;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .contact-form-container {
      padding: 30px;
  }
  
  .contact-title-large {
      font-size: 28px;
  }
}

@media (max-width: 767px) {
  .contact-container {
      flex-direction: column;
      margin-bottom: 60px;
  }
  
  .contact-form-container,
  .contact-image-container {
      flex: 0 0 100%;
      width: 100%;
  }
  
  .contact-image-container {
      min-height: 300px;
      order: -1;
  }
  
  .contact-title-large {
      font-size: 24px;
  }
}


/* footer section  */
.footer {
  background-color: #2b2b2b;
  color: #ffffff;
  padding: 60px 0 20px;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
}

.footer a:hover {
  color: #1e90ff;
}

.footer .logo-text {
  color: #FFFFFF;
  font-size: 14px;
}

.footer .section-title {
  font-size: 31px;
  font-weight: 500;
  color: #FFFFFF;
  margin-bottom: 25px;
}

.footer .highlight {
  color: #1e90ff;
  font-family: "Playfair Display", serif;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  margin-top: 60px;
  font-size: 14px;
}

.icon-box {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.icon-box strong{
 font-size: 12px;
}

.icon-box small{
  font-size: 12px;
  color: #2979B4;
 }

.icon-box i {
    font-size: 15px;
    margin-right: 10px;
    color: #2f74b0;
    background-color: #ffffff;
    padding: 12px;
}

.footer .social-icons a {
  margin-right: 15px;
  font-size: 20px;
}


.footer .social-icons a{
  color: white;
  background-color: none;
}

.footer .social-media-footer h5{
  color: #1e90ff;
  font-family: 'Poppins';
  font-size: 18px;
}

.section-title-2 {
    color: #1e90ff;
    font-family: 'Poppins';
    font-size: 18px;
    margin-bottom: 20px;
}

@media (max-width: 767px) {
  .footer .section-title {
    margin-top: 20px;
  }
}

/* full-width contact form section  */
.full-container{
  margin: 0px auto;
  padding: 0; 
}

.full-container .contact-form-container{
 padding: 4% 9%;
}

@media (min-width: 1440px) {
  .full-container .contact-form-container{
    padding: 4% 4% 4% 18%;
  }
}

hr{
  opacity: 0.1;
}

/* animations custom  */
@keyframes flipHorizontally {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(-1);
  }
  100% {
    transform: scaleX(1);
  }
}

/*

.main-gallery {
    padding: 100px 0;

}
.main-gallery .section-subtitle {
    margin-bottom: 0;
}
.main-gallery .gallery-heading {
    padding-bottom: 60px;
    align-items: center;
}
.client-scroll .owl-nav {
    outline: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 120px;
    margin: auto;
    justify-items: center;
    position: absolute;
    right: 8.4%;
    top: -118px;
}
.client-scroll .owl-nav button {
    width: 50px;
    height: 50px;
    background: #3a3a3a !important;
    border-radius: 0 !important;
    margin: 0px;
    display: block;
    outline: none;
}
.client-scroll .owl-nav button i {
    color: #fff;
    font-size: 13px;
}

@media(max-width:767px){
  .client-scroll .owl-nav {
      position: unset;
      right: unset;
      top: unset;
  }
  .main-gallery {
    overflow: hidden;
    padding: 50px 0;

  }
}

*/

.main-gallery {
  padding: 100px 0;
  overflow: hidden; /* Ensures no horizontal scrollbar appears */
}

.main-gallery .section-subtitle {
  margin-bottom: 0;
}

.main-gallery .gallery-heading {
  padding-bottom: 60px;
  align-items: center;
}

.client-scroll {
  position: relative; /* Ensures proper positioning context */
}

.client-scroll .owl-nav {
  outline: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 120px;
  margin: auto;
  justify-items: center;
  position: absolute;
  right: 8.4%;
  top: -118px;
}

.client-scroll .owl-nav button {
  width: 50px;
  height: 50px;
  background: #3a3a3a !important;
  border-radius: 0 !important;
  margin: 0px;
  display: block;
  outline: none;
  transition: background-color 0.3s ease; /* Smooth hover effect */
}

.client-scroll .owl-nav button:hover {
  background: #555 !important; /* Lighter color on hover */
}

.client-scroll .owl-nav button i {
  color: #fff;
  font-size: 13px;
}

/* Make images maintain aspect ratio and have consistent sizing */
.client-scroll .owl-item figure {
  margin: 0;
  overflow: hidden;
  height: 0;
  padding-bottom: 75%; /* Maintains aspect ratio */
  position: relative;
}

.client-scroll .owl-item figure img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes images cover the area nicely */
  transition: transform 0.3s ease; /* For hover effect */
}

.client-scroll .owl-item figure img:hover {
  transform: scale(1.05); /* Slight zoom on hover */
}

@media(max-width:767px){
  .client-scroll .owl-nav {
      position: unset;
      right: unset;
      top: unset;
      margin-top: 20px; /* Space above navigation on mobile */
  }
  
  .main-gallery {
      overflow: hidden;
      padding: 50px 0;
  }
  
  /* Improve spacing between items on mobile */
  .client-scroll .owl-item {
      padding: 0 5px;
  }
}

/* Add spacing between carousel items */
.client-scroll .owl-item {
  padding: 0 10px;
}

/* Ensure clear visibility of active items */
.client-scroll .owl-stage {
  padding: 10px 0;
}

.main-testimonal {
    /* background: #1e73be; */
    padding: 80px 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    display: inline-flex;
    width: 100%;
    z-index: 1;
}
 .main-testimonal:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    opacity: 0.8;
    z-index: -1;
}
.slider-box {
    text-align: center;
    color: #fff;
    padding: 20px 100px 0;
}
.slider-box ul li {
    padding: 0 3px;
    color: #FFBD57;
}
.inner-testi .row {
    justify-content: center;
}
.testi-header {
    text-align: center;
}
.testi-header h2.section-title , .testi-header p.section-subtitle {
    color: #fff;
}
.slider-box {
    text-align: center;
    color: #fff;
}
.slider-box  ul {
    list-style: none;
    display: flex;
    padding: 0;
    justify-content: center;
}

/* media query for the ytestiminias  */
@media (max-width: 767px) {
  .slider-box {
    padding: 20px;
  }
}


/* media query & logo  */
@media (min-width: 576px) {
  .container.home-header-container{
    min-height: 120px;
  }
}

@media (max-width: 991px) {
  .mobile-logo {
      max-height: 154px;
      width: auto;
  }
}

@media (max-width: 991px) {
  .mobile-logo {
      height: 70px;
      width: auto;
  }

}

.main-gallery .section-title{
  text-align: center;
}

.main-gallery .section-subtitle{
  text-align: left;
}

.useful-links ul.list-unstyled {
    display: grid;
    grid-gap: 10px;
    margin: 0;
}