*{
  padding:0px;
  margin:0px;
  box-sizing: border-box;
}

#form-status {
  font-weight: 500;
  color: #0b8a00; /* green */
}
#form-status.error {
  color: #d10000; /* red */
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Navigation Styles */
.navbarSection {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(60, 60, 60, 0.15);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbarSection.scrolled {
  background: rgba(60, 60, 60, 0.25);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 15px 0;
  transition: all 0.4s ease;
  position: relative;
}

.navbarSection.scrolled .navbar {
  padding: 15px 0;
}

.logo{
  width: 80px;
  height: 70px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* .logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
} */

.nav-item{
  padding-right: 25px;
  margin-right: 5px;
}

.nav-item:last-child {
  padding-right: 0;
  margin-right: 0;
}

.navigation {
  position: relative;
}
.heroSection{
  background: linear-gradient(135deg, rgba(103, 19, 19, 0.8), rgba(57, 6, 6, 0.6)), url(./images/heroImg.jpg) no-repeat center;
  background-size: cover;
  background-attachment: fixed;
  border-radius: 0px 0px 0px 100px;
  position: relative;
  overflow: hidden;
}

.heroSection::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(103, 19, 19, 0.1), transparent, rgba(57, 6, 6, 0.1));
  z-index: 1;
}

.heroInner{
  padding: 200px 20px 100px 20px;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.heroHead{
  font-size: 45px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.subText{
  font-size: 16px;
  color: #f0f0f0;
  margin: 20px 0px 30px 0px;
  letter-spacing: 0.5px;
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.navItem{
   display: block;
  height: 100%;
  font-size: 20px;
  position: relative;
  display: flex;
  align-items: center;
  transition: all 300ms cubic-bezier(0.075, 0.82, 0.165, 1);
  padding-bottom: 10px;
}
.nav-link{
 color: #000000;
  font-weight: 400;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
}

.navbarSection.scrolled .nav-link {
  color: #000000;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.nav-link:hover{
  color: rgb(103, 19, 19);
  transform: translateY(-1px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.navbarSection.scrolled .nav-link:hover {
  color: rgb(103, 19, 19);
}

.nav-link.active {
  color: rgb(103, 19, 19) !important;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.navbarSection.scrolled .nav-link.active {
  color: rgb(103, 19, 19) !important;
}
.navItem:after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  display: block;
  transition: all 0.3s ease;
  bottom: 20%;
  background: rgb(103, 19, 19);
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(103, 19, 19, 0.3);
}
.navItem:hover::after {
  width: 100%;
  height: 2px;
}

.navItem.active::after {
  width: 100%;
  height: 2px;
  background: rgb(103, 19, 19);
  box-shadow: 0 2px 4px rgba(103, 19, 19, 0.4);
}
.aboutUs{
  background: linear-gradient(135deg, rgba(103, 19, 19, 0.1), rgba(57, 6, 6, 0.05));
  display: flex;
  flex-direction: column;
  border-radius: 0px 80px 0px 0px;
  padding: 40px 20px;
  margin: 80px 0px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(103, 19, 19, 0.1);
}

.aboutUs::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(103, 19, 19, 0.1), transparent);
  border-radius: 50%;
  transform: translate(50%, -50%);
}
.heading{
  color: rgb(103, 19, 19);
  font-size: 20px;
  text-align: center;
  margin: 50px 0px 40px 0px;
  font-weight: 700;
  position: relative;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.heading::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, rgb(103, 19, 19), rgb(57, 6, 6));
  border-radius: 2px;
}

.aboutImg{
  width:100%;
  border-radius: 0px 80px 0px 0px;
  overflow: hidden;
  margin: 0px 0px 20px 0px;
}
.years{
  font-size: 40px;
 color: rgb(103, 19, 19);
 font-weight: 700;
}
.experience{
  font-size: 25px;
  color: #ffffff;
  margin:10px 0px ;
  font-weight: 600;

}
.aboutPara{
  font-size: 14px;
  letter-spacing: 0.5px;
  font-weight: 400;
}
.serviceHeading{
    color: rgb(103, 19, 19);
  font-size: 20px;
 font-weight: 700;
 margin: 30px 0px ;
 letter-spacing: 0.5;
}
.Services{
  padding: 0px 20px;
}
.cardContainer{
  display: flex;
  flex-direction: column;
  gap: 10px;

}
.card {
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(103, 19, 19, 0.02));
      padding: 30px 25px;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
      transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      border: 1px solid rgba(103, 19, 19, 0.1);
      position: relative;
      overflow: hidden;
    }

    .card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, rgb(103, 19, 19), rgb(57, 6, 6));
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .card:hover::before {
      transform: scaleX(1);
    }

    .card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 20px 40px rgba(103, 19, 19, 0.15);
      border-color: rgba(103, 19, 19, 0.2);
    }

    .icon-container {
      width: 70px;
      height: 70px;
      margin: 0 auto 20px;
      background: linear-gradient(135deg, rgb(103, 19, 19), rgb(57, 6, 6));
      border-radius: 20px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 8px 20px rgba(103, 19, 19, 0.3);
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .icon-container::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .card:hover .icon-container {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 12px 30px rgba(103, 19, 19, 0.4);
    }

    .card:hover .icon-container::before {
      opacity: 1;
    }


    .icon{
      color: #ffffff;
      font-size: 24px;
      transition: all 0.3s ease;
    }

    .card:hover .icon {
      transform: scale(1.1);
    }

    .cardHeading {
      font-size: 18px;
      color: #2d2d2d;
      margin-bottom: 15px;
      font-weight: 600;
      transition: color 0.3s ease;
    }

    .card:hover .cardHeading {
      color: rgb(103, 19, 19);
    }

    .card p {
      font-size: 14px;
      color: #666666;
      line-height: 1.6;
      transition: color 0.3s ease;
    }

    .card:hover p {
      color: #555555;
    }

.projects {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.projects::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%2366719" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.projectHeading {
  text-align: center;
  font-size: 28px;
  color: rgb(103, 19, 19);
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.projectContainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.projectCard {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  background: #fff;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.projectCard:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(103, 19, 19, 0.2);
}

.projectImg {
  position: relative;
  overflow: hidden;
}

.projectImg img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(1) contrast(1) saturate(1);
}

.projectCard:hover img {
  transform: scale(1.15) rotate(1deg);
  filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(103, 19, 19, 0.9) 100%);
  color: #fff;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.projectCard:hover .overlay {
  transform: translateY(0);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(103, 19, 19, 0.95) 100%);
}

.overlay h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.overlay p {
  font-size: 14px;
  line-height: 1.5;
  color: #f1f1f1;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.2s;
}

.projectCard:hover .overlay h3,
.projectCard:hover .overlay p {
  transform: translateY(0);
  opacity: 1;
}
.gallery{
   background: linear-gradient(135deg, rgba(103, 19, 19, 0.08), rgba(57, 6, 6, 0.03));
}

@media only screen and (min-width:768px){
  .navigation{
    padding: 0px 40px ;
  }
  .heroSection{
   border-radius: 20px 0px 0px 150px;
  }
  .heroInner{
    width: 50%;
    padding: 150px 20px 100px 20px; 
    margin-left: 100px;  

}
  .heroHead{
  font-size: 70px;
  font-weight: 700; 
   
}
.subText{
  font-size: 16px ;
  color: #ffffff;
  margin:40px 0px ;
}

.aboutImg{
  border-radius: 50px;
  overflow: hidden; 
}
.heading,.serviceHeading{
  font-size: 40px;
  font-weight: 700;
}
.card{
 width:auto;
 max-width: 400px;
 margin-bottom: 20px;

}
.cardContainer{
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;

}
 .cardHeading {
      font-size: 16px;
      color: #000000;
      margin-bottom: 12px;
    }
.Services{
  padding: 0px 50px;
}
.projectContainer {
    grid-template-columns: repeat(2, 1fr);
  }
  .projectHeading {
    font-size: 36px;
  }
}

@media only screen and (min-width:1024px){
   .heroInner{
    width: 50%;
    padding: 180px 20px 200px 20px; 
    margin-left: 100px;
  

}
.heading,.serviceHeading{
  font-size: 45px;
  font-weight: 700;
}
.aboutUs{
  background-color: rgba(103, 19, 19, 0.093);
  display: flex;
  flex-direction: row;
  border-radius: 0px 150px 0px 0px;
  padding: 50px;
  align-items: center;
  justify-content: space-around;
  gap:50px
}
.Services{
  padding: 0px 100px;
}
 .projectContainer {
    grid-template-columns: repeat(3, 1fr);
  }
  .projectHeading {
    font-size: 42px;
  }
}

/* Gallery Styles */
.gallery {
  padding: 50px 20px;
  border-radius: 150px 0px 0px 0px ;

}

.galleryHeading {
  text-align: center;
  font-size: 28px;
  color: rgb(103, 19, 19);
  font-weight: 700;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.galleryContainer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.galleryCard {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  background: #fff;
}

.galleryImg {
  position: relative;
  overflow: hidden;
}

.galleryImg img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(1) contrast(1) saturate(1);
}

.galleryCard {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.galleryCard:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(103, 19, 19, 0.3);
}

.galleryCard:hover img {
  transform: scale(1.15) rotate(2deg);
  filter: brightness(1.1) contrast(1.1) saturate(1.2);
}

.galleryOverlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(103, 19, 19, 0.9) 100%);
  color: #fff;
  transform: translateY(100%);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backdrop-filter: blur(10px);
}

.galleryCard:hover .galleryOverlay {
  transform: translateY(0);
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(103, 19, 19, 0.95) 100%);
}

/* Add a subtle glow effect */
.galleryCard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(103, 19, 19, 0.1), rgba(57, 6, 6, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 16px;
  z-index: 1;
}

.galleryCard:hover::before {
  opacity: 1;
}

/* Add a subtle border animation */
.galleryCard::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 16px;
  background: linear-gradient(45deg, rgba(103, 19, 19, 0.8), rgba(57, 6, 6, 0.8)) border-box;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.galleryCard:hover::after {
  opacity: 1;
}

.galleryOverlay h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
}

.galleryOverlay p {
  font-size: 14px;
  line-height: 1.5;
  color: #f1f1f1;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.2s;
}

.galleryCard:hover .galleryOverlay h3,
.galleryCard:hover .galleryOverlay p {
  transform: translateY(0);
  opacity: 1;
}


/* Tablet Gallery Layout */
@media only screen and (min-width: 768px) {
  .galleryHeading {
    font-size: 36px;
  }
  
  .galleryContainer {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 20px;
  }
  
  .galleryCard.large-vertical {
    grid-row: 1 / 4;
    grid-column: 1;
  }
  
  .galleryCard.large-vertical .galleryImg img {
    height: 100%;
    min-height: 600px;
  }
  
  .galleryCard.top-middle {
    grid-row: 1;
    grid-column: 2;
  }
  
  .galleryCard.top-right {
    grid-row: 1;
    grid-column: 3;
  }
  
  .galleryCard.bottom-middle {
    grid-row: 2;
    grid-column: 2;
  }
  
  .galleryCard.bottom-right {
    grid-row: 2;
    grid-column: 3;
  }
  
  .galleryImg img {
    height: 280px;
  }
}

/* Desktop Gallery Layout */
@media only screen and (min-width: 1024px) {
  .gallery {
    padding: 20px 250px;
  }
  
  .galleryHeading {
    font-size: 42px;
  }
  
  .galleryContainer {
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 25px;
    max-width: 1400px;
  }
  
  .galleryCard.large-vertical {
    grid-row: 1 / 3;
    grid-column: 1;
  }
  
  .galleryCard.large-vertical .galleryImg img {
    height: 100%;
    min-height: 700px;
  }
  
  .galleryCard.top-middle {
    grid-row: 1;
    grid-column: 2;
  }
  
  .galleryCard.top-right {
    grid-row: 1;
    grid-column: 3;
  }
  
  .galleryCard.bottom-middle {
    grid-row: 2;
    grid-column: 2;
  }
  
  .galleryCard.bottom-right {
    grid-row: 2;
    grid-column: 3;
  }
  
  .galleryImg img {
    height: 320px;
  }
}


/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
  color: #ffffff;
  padding: 60px 20px 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(103, 19, 19, 0.1) 0%, transparent 100%);
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.footer-column {
  text-align: left;
}

.logo-column {
  grid-column: 1 / -1;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgb(103, 19, 19), rgb(57, 6, 6));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(103, 19, 19, 0.3);
}

.logo-icon i {
  font-size: 24px;
  color: #ffffff;
}

.brand-name {
  font-size: 28px;
  font-weight: 700;
  color: rgb(103, 19, 19);
  margin: 0;
  letter-spacing: 1px;
}

.footer-description {
  font-size: 14px;
  line-height: 1.6;
  color: #e0e0e0;
  margin: 0;
  max-width: 500px;
}

.footer-heading {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, rgb(103, 19, 19), rgb(57, 6, 6));
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-link {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-link:hover {
  color: rgb(103, 19, 19);
  transform: translateX(5px);
}

.footer-link::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: rgb(103, 19, 19);
  transition: width 0.3s ease;
}

.footer-link:hover::before {
  width: 10px;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer-separator {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #666, transparent);
  margin-bottom: 20px;
}

.footer-credit {
  font-size: 14px;
  color: #b0b0b0;
  margin: 0;
}

.highlight {
  color: rgb(103, 19, 19);
  font-weight: 600;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgb(103, 19, 19), rgb(57, 6, 6));
  border: none;
  border-radius: 50%;
  color: #ffffff;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(103, 19, 19, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
}

.scroll-to-top.show {
  opacity: 1;
}

.scroll-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(103, 19, 19, 0.4);
}

.scroll-to-top:active {
  transform: translateY(-1px) scale(1.05);
}

/* Footer Responsive Design */
@media only screen and (min-width: 768px) {
  .footer {
    padding: 80px 40px 30px;
  }
  
  .footer-content {
    grid-template-columns: 2fr 1fr 1fr ;
    gap: 50px;
  }
  
  .logo-column {
    grid-column: 1;
  }
  
  .brand-name {
    font-size: 32px;
  }
  
  .footer-description {
    font-size: 15px;
  }
  
  .footer-heading {
    font-size: 20px;
  }
  
  .footer-link {
    font-size: 15px;
  }
}

@media only screen and (min-width: 1024px) {
  .footer {
    padding: 100px 60px 40px;
  }
  
  .footer-content {
    max-width: 1400px;
    gap: 60px;
  }
  
  .brand-name {
    font-size: 36px;
  }
  
  .footer-description {
    font-size: 16px;
    max-width: 600px;
  }
  
  .logo-icon {
    width: 60px;
    height: 60px;
  }
  
  .logo-icon i {
    font-size: 28px;
  }
}

/* Mobile Optimizations */
@media only screen and (max-width: 767px) {
  .heroHead {
    font-size: 32px;
    line-height: 1.3;
  }
  
  .subText {
    font-size: 14px;
  }
  
  .card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }
  
  .icon-container {
    width: 60px;
    height: 60px;
  }
  
  .icon {
    font-size: 20px;
  }
  
  .footer {
    padding: 40px 15px 20px;
  }
  
  .scroll-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  
  .navbar {
    padding: 12px 0;
  }
  
  .logo {
    width: 60px;
    height: 55px;
  }

  .heroInner {
    padding: 150px 20px 80px 20px;
  }

  .navbarSection.scrolled .navbar {
    padding: 10px 0;
  }

  .nav-item {
    padding-right: 15px;
    margin-right: 2px;
  }

  .nav-link {
    font-size: 14px;
  }


  /* Services Mobile */
  .cardContainer {
    gap: 15px;
  }
  
  .cardHeading {
    font-size: 16px;
  }
  
  .card p {
    font-size: 13px;
  }

  /* Projects Mobile */
  .projectContainer {
    gap: 20px;
  }
  
  .projectHeading {
    font-size: 24px;
  }

  /* Gallery Mobile */
  .galleryContainer {
    gap: 15px;
  }
  
  .galleryHeading {
    font-size: 24px;
  }
  
  .galleryImg img {
    height: 200px;
  }

  /* About Section Mobile */
  .aboutUs {
    padding: 30px 15px;
    margin: 60px 0px;
  }
  
  .heading {
    font-size: 18px;
    margin: 40px 0px 30px 0px;
  }
  
  .experience {
    font-size: 20px;
  }
  
  .years {
    font-size: 32px;
  }
  
  .aboutPara {
    font-size: 13px;
  }
}

/* Contact Section Styles */
.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%2366719" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact-form-section,
.contact-info-section {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.contact-form-section::before,
.contact-info-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, rgb(103, 19, 19), rgb(57, 6, 6));
}

.contact-form-title,
.contact-info-title {
  font-size: 28px;
  font-weight: 700;
  color: rgb(103, 19, 19);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
}

.contact-form-title::after,
.contact-info-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, rgb(103, 19, 19), rgb(57, 6, 6));
  border-radius: 2px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fafafa;
  color: #333;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgb(103, 19, 19);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(103, 19, 19, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
  font-size: 14px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  background: linear-gradient(135deg, rgb(103, 19, 19), rgb(57, 6, 6));
  color: #ffffff;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(103, 19, 19, 0.3);
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(103, 19, 19, 0.4);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-note {
  margin-top: 15px;
  text-align: center;
}

.form-note small {
  color: #666;
  font-size: 12px;
  line-height: 1.4;
}

.contact-description {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
  text-align: justify;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgb(103, 19, 19), rgb(57, 6, 6));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(103, 19, 19, 0.3);
}

.contact-icon i {
  color: #ffffff;
  font-size: 18px;
}

.contact-text {
  flex: 1;
}

.contact-text a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: rgb(103, 19, 19);
}

/* Contact Section Responsive Design */
@media only screen and (min-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .contact-form-section,
  .contact-info-section {
    padding: 50px 40px;
  }
  
  .contact-form-title,
  .contact-info-title {
    font-size: 32px;
    text-align: left;
  }
  
  .contact-form-title::after,
  .contact-info-title::after {
    left: 0;
    transform: none;
  }
  
  .contact-description {
    font-size: 15px;
  }
  
  .contact-text a {
    font-size: 15px;
  }
}

@media only screen and (min-width: 1024px) {
  .contact-section {
    padding: 100px 40px;
  }
  
  .contact-container {
    gap: 60px;
  }
  
  .contact-form-section,
  .contact-info-section {
    padding: 60px 50px;
  }
  
  .contact-form-title,
  .contact-info-title {
    font-size: 36px;
  }
  
  .contact-description {
    font-size: 16px;
  }
  
  .contact-text a {
    font-size: 16px;
  }
  
  .contact-icon {
    width: 60px;
    height: 60px;
  }
  
  .contact-icon i {
    font-size: 20px;
  }
}

/* Mobile Contact Section */
@media only screen and (max-width: 767px) {
  .contact-section {
    padding: 60px 15px;
  }
  
  .contact-form-section,
  .contact-info-section {
    padding: 30px 20px;
  }
  
  .contact-form-title,
  .contact-info-title {
    font-size: 24px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .submit-btn {
    padding: 12px 25px;
    font-size: 14px;
  }
  
  .contact-description {
    font-size: 13px;
  }
  
  .contact-item {
    padding: 12px;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
  }
  
  .contact-icon i {
    font-size: 16px;
  }
  
  .contact-text a {
    font-size: 13px;
  }
}

/* Loading Animation */
body:not(.loaded) {
  overflow: hidden;
}

body:not(.loaded)::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgb(103, 19, 19), rgb(57, 6, 6));
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

body:not(.loaded)::after {
  content: 'AP Engineering Works';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 24px;
  font-weight: 700;
  z-index: 10000;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

