/* General Styles */
:root {
  --primary-color: #9c8a5a;
  --secondary-color: #333333;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --transition: all 0.3s ease;
}

body {
  font-family: 'PT Serif', serif;
  color: var(--dark-color);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cabin', sans-serif;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--secondary-color);
}
pre {
    font-family:inherit;
    overflow-x: auto; /* Horizontal scrolling for long content */
    white-space: pre-wrap; /* Wrap text while preserving formatting */
    line-height: 1.5; /* Improved line spacing */
    font-size: 16px; /* Comfortable font size */
    margin-bottom: 20px; /* Spacing from other elements */
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word; 
}

.btn-hero{
    background:var(--primary-color);
    border:none;
    color:white;
    padding:20px;
    border-radius:20px;
    font-weight:600;
}
.btn-hero:hover{
    color:var(--primary-color);
    background:white;
}
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #8a7a50;
  border-color: #8a7a50;
}

.btn-outline-light:hover {
  color: var(--primary-color);
}

.text-primary {
  color: var(--primary-color) !important;
}

/* Animated Border */
.animated-border {
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  position: relative;
  margin-bottom: 20px;
}

.animated-border::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 30px;
  height: 9px;
  background-color: var(--primary-color);
  animation: border-animation 3s infinite linear;
}

@keyframes border-animation {
  0% {
    left: 0;
  }
  50% {
    left: calc(100% - 30px);
  }
  100% {
    left: 0;
  }
}

/* Navbar */
.navbar {
  transition: var(--transition);
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #fff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-family: 'Cabin', sans-serif;
}

.nav-link {
  font-weight: 500;
  padding: 8px 15px !important;
  color: var(--secondary-color) !important;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 70%;
}

/* Hero Section */
.hero-section {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

/* About Section */
.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

/* Why Choose Us Section */
.why-choose-card {
  transition: var(--transition);
  border-radius: 10px;
  overflow: hidden;
}

.why-choose-card:hover {
  transform: translateY(-10px);
}

.icon-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(156, 138, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 30px;
  color: var(--primary-color);
  transition: var(--transition);
}

.why-choose-card:hover .icon-box {
  background-color: var(--primary-color);
  color: white;
}

/* Services Section */
.service-card {
  transition: var(--transition);
  border-radius: 10px;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(156, 138, 90, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-color);
}

/* Team Section */
.team-card {
  transition: var(--transition);
  border-radius: 10px;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img-container {
  overflow: hidden;
}

.team-img-container img {
  transition: var(--transition);
  height:40vh;
  width:100%;
  object-fit:cover;
}

.team-card:hover .team-img-container img {
  transform: scale(1.05);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(156, 138, 90, 0.1);
  color: var(--primary-color);
  transition: var(--transition);
}

.social-icons a:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Parallax Section */
.parallax-section {
  height: auto;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  padding:80px 10px;
}

.parallax-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

/* Projects Section */
.project-filter button {
  border-radius: 30px;
  padding: 8px 20px;
  margin-right: 10px;
  transition: var(--transition);
}

.project-filter button.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.project-card {
  transition: var(--transition);
  border-radius: 10px;
  overflow: hidden;
}

.project-img-container {
  position: relative;
  overflow: hidden;
}

.project-img-container img {
  transition: var(--transition);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-info {
  text-align: center;
  color: white;
  transform: translateY(20px);
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-info {
  transform: translateY(0);
}

.project-card:hover .project-img-container img {
  transform: scale(1.1);
}

/* Gallery Section */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
}
.gallery-item img {
  width: 100%;
  height: 40vh;
  object-fit: cover;
  transition: all 0.4s ease;
  position: relative;
  z-index: 0;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(156, 138, 90, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}
.gallery-overlay i{
    font-size:30px;
    color:black;
    z-index:3;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}


.logo{
    height:40px;
    object-fit:cover;
}

.testimonial-img img{
    width:100px;
    height:100px;
    border-radius:50%;
    object-fit:cover;
}

.cta-section{
    background:var(--primary-color);
    padding:80px 10px;
}
.cta-section .btn-primary{
    border:none;
    background:var(--secondary-color);
}
.footer-social i{
    font-size:20px;
}
.footer-link{
    color:white;   
}
.footer-link:hover{
    color:var(--primary-color);
}
.footer-social i:hover{
    color:white !important;
}

/* description section */
.description-section-inner {
  display: flex;
  min-height: 100vh;
  flex-wrap: nowrap;
}

.image-block {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-block {
  padding: 4rem 2rem;
  overflow-y: auto;
  max-height: 100vh;
}

/* Mobile responsive */
@media (max-width: 991.98px) {
  .description-section-inner {
    flex-direction: column;
  }

  .image-block {
    position: relative;
    height: auto;
  }

  .image-block img {
    height: auto;
  }

  .content-block {
    max-height: none;
    overflow-y: visible;
  }
}

.section-padding{
    padding-top:120px;
    padding-bottom:30px;
}
textarea{
    resize:none;
}
.navbar .dropdown-toggle::after {
    display: none !important;
}