:root {
    --primary-color: #D6AB16;
    --secondary-color: #ff6b6b;
    --dark-color: #2d3436;
    --light-color: #f8f9fa;
}

body {
    color: #333;
}
.text-custom{
    color:var(--primary-color);
}
textarea{
    resize:none;
}

.navbar .dropdown-toggle::after{
    display: none !important;
}
/* Topbar */
.topbar {
    background-color: var(--primary-color);
    padding: 8px 0;
    color: white;
    font-size: 14px;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color);
    margin: 0 10px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link.active {
  color: var(--primary-color) !important;
  border-bottom: 2px solid var(--primary-color);
}

/* Carousel with zoom effect */
.carousel-item {
    height: 80vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.carousel-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.carousel-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}
.gallery-img {
  width: 100%;
  height: 250px; /* You can adjust height as needed */
  object-fit: cover;
  border-radius: 10px;
}
.carousel-item.active img {
    transform: scale(1.2);
}

.carousel-caption {
    bottom: 20%;
    z-index: 2;
    padding:20px;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    
}

/* Section styling */
section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

/* About section */
.about-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.about-img img {
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

/* Why choose us */
.why-us-box {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
}

.why-us-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.why-us-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: rgba(78, 87, 212, 0.1);
    color: var(--primary-color);
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

/* Team section */
.team-member {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
}

.team-img {
    position: relative;
    overflow: hidden;
}

.team-img img {
    transition: transform 0.5s ease;
    width: 100%;
    height:60vh;
    object-fit:cover;
}

.team-member:hover .team-img img {
    transform: scale(1.1);
}

.team-info {
    padding: 20px;
    background: white;
}

.team-social {
    position: absolute;
    top: 0;
    right: -50px;
    background: var(--primary-color);
    border-radius: 0 0 0 10px;
    transition: all 0.3s ease;
}

.team-member:hover .team-social {
    right: 0;
}

.team-social a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--secondary-color);
}

/* Services section */
.service-box {
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
    background: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    transition: all 0.5s ease;
    z-index: -1;
}

.service-box:hover::before {
    height: 100%;
}

.service-box:hover {
    transform: translateY(-10px);
}
.service-box img {
    display: block;
    width: 100%;
    height:40vh;
    object-fit:cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: 0; /* Remove any default image spacing */
}
.service-box:hover h4,
.service-box:hover p,
.service-box:hover .service-icon {
    color: white;
}

.service-icon {
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: rgba(78, 87, 212, 0.1);
    color: var(--primary-color);
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
}

/* Testimonial section */
.testimonial-section {
    background-color: #f8f9fa;
}

.testimonial-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.05);
    margin: 15px;
    position: relative;
}

.testimonial-item::after {
    content: '\f10e';
    font-family: "Bootstrap-icons";
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 30px;
    color: rgba(78, 87, 212, 0.1);
}

.client-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 0;
}

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '\f285';
    font-family: "Bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 10px;
    color: var(--primary-color);
}

.footer-links a:hover {
    color: white;
    padding-left: 20px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #3a42b8;
    border-color: #3a42b8;
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

pre {
    overflow-x: hidden; 
    white-space: pre-wrap; 
    line-height: 1.5; 
    font-size: 16px; 
    margin-bottom: 20px;
    word-wrap: break-word;
    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;       /* Internet Explorer 5.5+ */
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #F4CE37 0%, #FFF1B7 100%);
}
.contact-heading{
    color: var(--primary-color);
}
.contact-card {
    border: none;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-control {
    padding: 15px;
    border-radius: 10px;
}

.form-control:focus {
    box-shadow: none;
    border-color: #6366f1;
}

.contact-section .btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
}

.btn-primary:hover {
    background: #4f46e5;
}

.contact-section .social-link .btn {
    width: 40px;
    height: 40px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.contact-section .social-link .btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-section .icons{
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius:20px;
    align-items: center;
    justify-content: center;
}
@media (max-width: 991px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-section .card-body {
        padding: 30px !important;
    }
}

@media (max-width:768px){
    .carousel-caption h1{
        font-size:45px;        
    }
}

.gallery-img{
    object-fit:cover;
    aspect-ratio:1;
}

/* Parallax section */
.parallax-section {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  z-index: 1;
}

.parallax-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.4); /* dark overlay */
  z-index: -1;
}

/* description section */
.description-section {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}

.image-block {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.image-block img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.content-block {
  padding: 4rem 2rem;
}

@media (max-width: 991.98px) {
  .description-section {
    flex-direction: column;
  }

  .image-block {
    position: relative;
    height: auto;
  }

  .image-block img {
    height: auto;
  }
}
.logo{
    height:40px;
}

/* CTA Section */
.cta-section{
    background-color:var(--primary-color);
    color:black;
}

.img-fit {
  height: 250px; /* ya jo bhi tum fixed height chaaho */
  object-fit: cover;
}



.social-media-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-media-section .view-icon {
  color: #fff;
  font-size: 30px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.social-media-section .social-icons {
  color: #fff;
  font-size: 30px;

}

.social-media-section .position-relative:hover .overlay {
  opacity: 1;
}

.social-media-section  .position-relative:hover .view-icon {
  transform: scale(1);
}

#projects .card-img-top{
    height: 30vh;
    width: 100%;
    object-fit: cover;
}