body{
    margin: 0;
    padding: 0;
      font-family: "Montserrat", sans-serif;
}

.header {
     z-index: 10;
    position: absolute;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar {
    z-index: 10;
    background-color: white;
    display: flex;
   
    align-items: center;
    /* justify-content: space-around;  */
    padding: 0px 50px; 
     
}

.logo img {
    height: 90px; 
    width: 82px;
  
}
.links{
    padding-left: 60%;
}
.navbar .links a {
    
    color: brown; 
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 22px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: black; 
}
.menu-toggle {
  margin-left: 65%;
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: brown;
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  .links {
     
    position: absolute;
    top: 80px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 200px;
    text-align: right;
    padding: 20px;
    display: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
.logo{
    margin-left: -20px; 
    margin-top: -9px;
    
}
  .links.active {
    display: flex;
              margin-top: 10%;
              padding-top: 14%;
  }

  .menu-toggle {
      margin-right: 5px ; 
     margin-top: -17px;
    display: block;
  }

  .links a {
    margin: 10px 0;
    font-size: 20px;
  }
}



.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  background: url('img/bg.jpg') center/cover no-repeat;
  opacity: 0.7; 
  z-index: 0;
}
.hero * {
  position: relative; 
  z-index: 1;
}
.hero{
    
    text-align: center;
    padding: 50px;
}
.left-sec h1, .left-sec p{
    opacity: 0;
    transform: translate(-50%);
    animation: slideDown 1s ease-out forwards;
}
.left-sec h1{
    margin-block-start: 5%;
    color:  rgb(90, 18, 18);
    font-size: 50px;
}
.left-sec p{
    color: rgb(90, 18, 18) ;
    font-size: 30px;
    font-weight: 600;
    animation-delay: 0.5s;
}
.right-sec{
    display: flex;
    justify-content: center;
    margin-top: 10%;
    gap: 10px;
    flex-wrap: wrap;

}
.right-sec img{
    width: 190px;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes slideDown{
    from{opacity: 0; transform: translateY(-50px);}
    to{opacity: 1; transform: translateY(0);}
}
.from-left{
    animation-delay: flyLeft 1s ease-out forwards;
    animation-delay: 1s;
}
.from-right{
    animation: flyRight 1s ease-out forwards;
    animation-delay: 1.3s;
}
@keyframes flyLeft{
    from{transform: translateX(-200px) scale(0.5); opacity: 0;}
    to{transform: translateX(0) scale(1); opacity: 1;}
}
@keyframes flyRight{
    from{transform: translateX(200px) scale(0.5); opacity: 0;}
    to{transform: translateX(0) scale(1); opacity: 1;}
}
.strip {
    width: 100%;
    background-color: rgb(137, 34, 34);
    
    color: white;
    padding: 10px 0;
    position: absolute;
    top: 15%;
    left: 0;
    overflow: hidden;
    z-index: 10;
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scrollText 20s linear infinite;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

@media (max-width: 1024px) {
  .left-sec h1 {font-size: 40px;}
  .left-sec p {font-size: 24px;}
  .right-sec img {width: 150px;}
  .right-sec {gap: 8px;    margin-top: 37%;}
}

/* Mobile */
@media (max-width: 768px) {
  .left-sec h1 {
    font-size: 30px;
  }
  .left-sec p {
    font-size: 18px;
  }
  .right-sec img {
    width: 120px;
  }
  .right-sec {
    gap: 6px; 
    justify-content: center; 
    margin-top: 50%;
  }
  .right-sec img:nth-child(n+4) {
    display: none;
  } /* show only first 3 images */
  .strip {
    top: 10%;
  }
  .hero {
    padding: 30px 10px;
  }
}

@media (max-width: 1024px) {
  .hero::before {
    height: 70%; /* reduce height */
    background-position: center top; 
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero::before {
    height: 100%; /* reduce height further */
    background-position: center top; 
  }
}


 .about-sec {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 80px 60px;
    background: #f4f6f9; 
    border-top: 4px solid #700202; 
    border-bottom: 4px solid #700202;
    flex-wrap: wrap;
}

.about-sec .left img {
    width: 250px;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: white;
    padding: 10px;
    object-fit: cover;
}

.about-sec .right {
    max-width: 800px;
    flex: 1;
}

.about-sec .right p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    font-family: "Segoe UI", Arial, sans-serif;
}

.about-sec .right p::first-letter {
    font-size: 28px;
    font-weight: bold;
    color: #003366;
}



@media (max-width: 1024px) {
    .about-sec {
        padding: 60px 40px;
        gap: 30px;
                margin-top: 0;      
    }

    .about-sec .left img {
        width: 200px;
    }

    .about-sec .right p {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .about-sec {
        flex-direction: column; /* stack image and text */
        padding: 40px 20px;
        gap: 20px;
        margin-top: 0;
    }

    .about-sec .left img {
        width: 150px;
        padding: 5px;
    }

    .about-sec .right {
        max-width: 100%;
    }

    .about-sec .right p {
        font-size: 14px;
        line-height: 1.6;
    }

    .about-sec .right p::first-letter {
        font-size: 22px;
    }
}


/* Founders Section */
.founderpage{
 text-align: center;
 justify-content: center;
  background: #f9f9f9;
 
}
.founderpage h2{
margin-block-start: 0;
padding-top: 4%;
margin-block-end: 0;
font-size: 45px;
color: #730d0d;


}


.founders {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333; 
   display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 80px 10%;
  background: #f9f9f9;
  flex-wrap: wrap;
  
}
.founders-section {
  padding: 60px 20px;
  text-align: center;
}





.founder-card {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-8px);
}

.image-card img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.info-card {
  padding: 40px;
}

.founder-text h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #751313;
}

.founder-text h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #555;
}

.founder-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

/* --- Scroll Animations --- */
.fade-left, .fade-right {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.fade-left.show {
  opacity: 1;
  transform: translateX(0);
}

.fade-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* ====== FOUNDERS SECTION RESPONSIVE ====== */

/* Tablet */
@media (max-width: 1024px) {
  .founderpage h2 {
    font-size: 38px;
    padding-top: 3%;
  }
  .founders {
    padding: 60px 5%;
    gap: 30px;
  }
  .image-card img {
    width: 90%;
    max-width: 300px;
  }
  .info-card {
    padding: 30px;
  }
  .founder-text h1 {
    font-size: 1.8rem;
  }
  .founder-text h3 {
    font-size: 1.1rem;
  }
  .founder-text p {
    font-size: 1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .founders {
    flex-direction: column; /* stack image above info */
    padding: 40px 2%;
    gap: 20px;
  }
  .founderpage h2 {
    font-size: 30px;
    padding-top: 2%;
  }
  .image-card, .info-card {
    width: 81%;
    max-width: 100%;
  }
  .info-card {
    padding: 20px;
  }
  .founder-text h1 {
    font-size: 1.5rem;
  }
  .founder-text h3 {
    font-size: 1rem;
  }
  .founder-text p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}




/* Services Section */
.services {
  padding: 80px 10%;
  background: #ffffff;
  text-align: center;
}

.section-title-1 {
  font-size: 2.2rem;
  margin-bottom: 50px;
  color: #000000;
  font-weight: bold;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: #e4c7c7;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.service-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #333;
}

.service-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}






/* Scroll Animations */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}


@media (max-width: 1024px) {
    .section-title-1{
        padding-top: 4%;
    }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .service-card {
    padding: 25px 15px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
     .section-title-1{
        padding-top: 4%;
    }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card {
    padding: 20px 10px;
  }

  .service-card img {
    width: 50px;
    height: 50px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }
}


/* Products Section */


.products {
  position: relative; /* Needed for pseudo-element positioning */
  padding: 80px 10%;
  overflow: hidden;
  z-index: 1; 
   background: #caa8a8;
   object-fit: contain;
}

.products::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('img/product-bg.jpg'); /* Replace with your image path */
  background-size: cover;
  background-position: center;
  opacity: 0.6; /* Adjust opacity as needed */
  z-index: -1; /* Send behind the content */
}


.section-title {
  font-size: 3rem;
  margin-bottom: 50px;
  color: #ffffff;
  text-align: center;
  font-weight: bold;
}

.product-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: #f9f9f9;
  padding: 20px 25px;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.product-icon {
  width: 60px;
  height: 60px;
}

.product-info h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
  color: #5c1818;
}

.product-info p {
  font-size: 1.2rem;
  color: #393535;
  line-height: 1.6;
}

/* Responsive */
/* @media (max-width: 768px) {
  .product-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .product-info {
    margin-top: 15px;
  }
} */

/* Scroll Animation */
.fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s ease-out;
}

.fade-left.show {
  opacity: 1;
  transform: translateX(0);
}


@media (max-width: 1024px) {
  .product-item {
    gap: 15px;
    padding: 18px 20px;
  }

  .product-icon {
    width: 50px;
    height: 50px;
  }

  .product-info h3 {
    font-size: 1.5rem;
  }

  .product-info p {
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .product-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 15px;
    gap: 10px;
  }

  .product-icon {
    width: 45px;
    height: 45px;
  }

  .product-info h3 {
    font-size: 1.3rem;
  }

  .product-info p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .product-info {
    margin-top: 10px;
  }

  .section-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
  }
}








footer {
  background: #501313;
  color: #ddd;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Semi-transparent logo in background */
footer::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;   /* increase for bigger logo */
  height: 400px;
  background: url("img/Constructun-logo-removebg-preview.png") no-repeat center;
  background-size: contain;
  opacity: 0.25;  /* adjust visibility (0.1 = light, 0.3 = darker) */
  transform: translate(-50%, -50%);
  z-index: 0;
}

.footer-container {
  position: relative;
  z-index: 1; /* keeps text above logo */
   display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
}
.footer-section {
  flex: 1 1 200px;
  margin: 10px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-section p,
.footer-section ul,
.footer-section li {
  font-size: 14px;
  line-height: 1.6;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #ffcc00;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #444;
  padding-top: 15px;
  font-size: 13px;
}