/* General Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
}

/* Header Section */
.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7), rgba(4,9,30,0.7)), url(images/construction_banner.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

/* Header Strip for Logo and Contact Button */
.header-strip {
    background-color: #2c3757;
    padding: 10px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    width: 70px; 
    height: auto; 
    border-radius: 50%; 
    object-fit: cover; 
}

.site-title {
    margin-left: 15px; /* Space between logo and text */
    font-size: 24px; /* Adjust text size */
    color: #fff; /* Text color */
}

.hero-btn {
    text-decoration: none;
    color: #fff;
    border: 1px solid #2061ec;
    background: #2061ec;
    padding: 12px 34px;
    font-size: 13px;
    border-radius: 30px;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #fff;
    background: #fff;
    color: #2061ec;
    transition: 1s;
}

/* Text Box in Header */
.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
    animation: slide-in 3s forwards;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
}

/* Content Section */
.cards-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(44, 55, 87, 0.3);
}

.card h2 {
    font-size: 1.5rem;
    color: #2c3757;
    margin-bottom: 15px;
    position: relative;
}

.card h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 4px;
    background-color: #2c3757;
    box-shadow: 0 4px 8px rgba(44, 55, 87, 0.2);
}

.card p, .card ul {
    font-size: 1rem;
    color: #555;
    text-align: left; /* Changed from justify to left */
    margin: 0;
    line-height: 1.8;
    letter-spacing: 0.5px;
    word-spacing: 0.5px;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #2c3757;
    font-size: 1.2rem;
    top: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        width: 100%;
        max-width: none;
    }
}

/* Footer Section */
footer {
    background-color: #2c3757;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 20px;
}

/* Responsive Styling */
@media (max-width: 600px) {
    .logo {
        width: 50px; 
    }
    .site-title {
        display: none;
    }

    .text-box h1 {
        font-size: 36px;
    }

    .text-box p {
        font-size: 15px;
    }

    .hero-btn {
        font-size: 11px;
        padding: 8px 20px;
    }
}
/* Expertise */
.expertise {
    background-color: #f9f9f9; /* Light background for contrast */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .expertise h2 {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    color: #333;
    margin-bottom: 15px;
  }
  
  .expertise ul {
    list-style: none;
    padding: 0;
  }
  
  .expertise li {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
  }
  
  .expertise li:last-child {
    border-bottom: none;
  }
  
  .expertise li strong {
    color: #2c3757; /* Matching the shadow color */
  }

/* Major Projects */
#major-projects {
    padding: 2rem;
    background-color: #f9f9f9;
  }
  
  #major-projects h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #4CAF50; /* Darker shade for headings */
    font-size: 2rem;
    font-weight: bold;
    position: relative;
  }
  
  #major-projects h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #2c3757;
    margin: 0.5rem auto;
    border-radius: 2px;
  }
  
  .projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
  }
  
  .project-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #ddd; /* Border around the card */
    position: relative;
  }
  
  .project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    background: #2c3757;
  }
  
  .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  }
  
  .project-info {
    flex: 1;
    padding: 1rem;
    text-align: left;
    position: relative;
    z-index: 1;
  }
  
  .project-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0.5rem;
  }
  
  .project-info p {
    color: #777;
    margin: 0;
  }
  
  .project-card:nth-child(odd)::before {
    background: #4CAF50; /* Different color for odd cards */
  }
  
/* Slider Container */
.slider1 {
    position: relative;
    overflow: hidden;
    border: solid;
    border-color: #2061ec;
    margin-bottom: 15px;
    
}
.slider1 h1 {
    font-family: 'Poppins', sans-serif; /* Font style */
    font-size: 2.5rem; /* Font size */
    color: #2c3757; /* Dark blue color */
    margin-bottom: 20px; /* Space below the heading */
    padding: 10px; /* Space around the text */
    background: linear-gradient(135deg, #00bcd4, #2061ec); /* Gradient background */
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Shadow effect for better readability */
  }
  
  .slider1 h1::after {
    content: ''; /* Create an empty content for the underline effect */
    display: block;
    width: 60px; /* Width of the underline */
    height: 4px; /* Thickness of the underline */
    background: #007bff; /* Color of the underline */
    margin: 10px auto 0; /* Center align the underline */
  }
.slider1-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
    padding-bottom: 30px;
    padding-top: 30px;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.slide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-right: 40px;
}

.slide-content img {
    max-width: 30%; /* Adjust width as needed, smaller value */
    height: 30%; /* Maintain aspect ratio */
    object-fit: contain; /* Ensure entire image is visible */
    margin-right: 20px; /* Space between image and text */
    margin-left: 40px;
    border-style: solid;
    border-color: #007bff;
  }
  

.text-content {
    width: 55%; /* Adjust based on your design */
}

button.prev, button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #2061ec;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
}

button.prev {
    left: 10px;
}

button.next {
    right: 10px;
}
.read-more-btn {
  display: block;
  background-color: #252fad;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 10px;
}
/* Responsive Styles */
@media (max-width: 700px) {
  .slide-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 20px;
  }

  .slide-content img {
    width: 100%;
    max-width: 150px;
    margin: 0 0 20px 0;
    border-radius: 50%;
  }

  .text-content {
    width: 100%;
    max-width: 75%;
    margin: 0 auto;
    hyphens: auto;
    text-justify: inter-word;
  }

  button.prev, button.next {
    width: 40px;
    height: 40px;
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #252fad;
    color: #fff;
  }

  button.prev:hover, button.next:hover {
    background-color: #1d1d1d; /* Darker shade on hover */
  }

  .read-more-btn {
    display: block;
    background-color: #252fad;
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  .read-more-btn {
    display: block; /* Hide the button on larger screens */
  }
}

.text-content.show-full .text-full {
  display: block;
}

.text-content.show-full .text-short {
  display: none;
}

.text-content.show-full .read-more-btn {
  display: block;
}


/* carousel */
.container{
    width:100vw;
    height:80vh;
    display:flex;
    justify-content:center;
    align-items:center;
    overflow: hidden;
  }
  .slider {
    height: 750px;
    width:100vw;
    display: flex;
    perspective: 1000px;
    position: relative;
    align-items:center;
    overflow: hidden;
  }
  .box1{      background:url('/images/image1.jpg');
    background-size:cover;
    background-position:center center;}
  .box2{
  background:url('/images/image2.jpg');
    background-size:cover;
    background-position:center center;}
  .box3{
  background:url('/images/image3.jpg');
    background-size:cover;
    background-position:center center;}
  .box4{
  background:url('/images/image4.jpg');
    background-size:cover;
    background-position:center center;}
  .box5{
  background:url('/images/image5.jpg');
    background-size:cover;
    background-position:center center;}
  .box6{
  background:url('images/image3.jpg');
    background-size:cover;
    background-position:center center;}
  .box7{
  background:url('images/image4.jpg');
    background-size:cover;
    background-position:center center;}
  
  .slider [class*="box"] {
  /*   float: left; */
    overflow: hidden;
    border-radius:20px;
    transition: all 1s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    position:absolute;
  }
  .slider [class*="box"]:nth-child(7),
  .slider [class*="box"]:nth-child(1) {
    width: 100vh;
    height: 60vh;
    transform: scale(0.2) translate(-50%,-50%);
    top: 10%;
    z-index:1;
  }
  .slider [class*="box"]:nth-child(2),
  .slider [class*="box"]:nth-child(6) {
    width: 100vh;
    height: 60vh;
    transform: scale(0.4) translate(-50%,-50%);
    top: 20%;
    z-index:2;
  }
  .slider [class*="box"]:nth-child(3),
  .slider [class*="box"]:nth-child(5) {
    width: 100vh;
    height: 60vh;
    transform: scale(0.6) translate(-50%,-50%);
    top: 30%;
    z-index:3;
  }
  .slider [class*="box"]:nth-child(4) {
    width: 60vw;
    height: 60vh;
    border-color: #c92026;
    color: #fff;
    transform: scale(1) translate(-50%,-50%);
    top: 50%;
    z-index:4;
  }
  .slider [class*="box"]:nth-child(1){
    left:-13%;}
  .slider [class*="box"]:nth-child(2){
    left:-5%;}
  .slider [class*="box"]:nth-child(3){
    left:10%;}
  .slider [class*="box"]:nth-child(4){
    left:50%;}
  .slider [class*="box"]:nth-child(5){
    left:71%;}
  .slider [class*="box"]:nth-child(6){
    left:85%;}
  .slider [class*="box"]:nth-child(7){
    left:100%;}
  .slider .firstSlide {
      -webkit-animation:  firstChild 1s;
      animation:  firstChild 1s;
  }
  /*Animation for buyers landing page slider*/
  @-webkit-keyframes firstChild {
      0% {left:100%; transform: scale(0.2) translate(-50%,-50%);}
      100% {left: -13%; transform: scale(0.2) translate(-50%,-50%);}
  }
  @keyframes firstChild {
     0% {left:100%; transform: scale(0.2) translate(-50%,-50%);}
      100% {left: -13%; transform: scale(0.2) translate(-50%,-50%);}
  }
 /* Desktop and large screens */
@media (min-width: 1024px) {
    .slider [class*="box"]:nth-child(1),
    .slider [class*="box"]:nth-child(7) {
        width: 80vh;
        height: 60vh;
        transform: scale(0.2) translate(-50%, -50%);
        top: 10%;
        z-index: 1;
    }

    .slider [class*="box"]:nth-child(2),
    .slider [class*="box"]:nth-child(6) {
        width: 80vh;
        height: 60vh;
        transform: scale(0.4) translate(-50%, -50%);
        top: 20%;
        z-index: 2;
    }

    .slider [class*="box"]:nth-child(3),
    .slider [class*="box"]:nth-child(5) {
        width: 80vh;
        height: 60vh;
        transform: scale(0.6) translate(-50%, -50%);
        top: 30%;
        z-index: 3;
    }

    .slider [class*="box"]:nth-child(4) {
        width: 60vw;
        height: 60vh;
        transform: scale(1) translate(-50%, -50%);
        top: 50%;
        z-index: 4;
    }

    .slider [class*="box"]:nth-child(1) { left: -13%; }
    .slider [class*="box"]:nth-child(2) { left: -5%; }
    .slider [class*="box"]:nth-child(3) { left: 10%; }
    .slider [class*="box"]:nth-child(4) { left: 50%; }
    .slider [class*="box"]:nth-child(5) { left: 71%; }
    .slider [class*="box"]:nth-child(6) { left: 85%; }
    .slider [class*="box"]:nth-child(7) { left: 100%; }
}

/* Smaller screens */
@media (max-width: 1024px) {
    .slider {
        height: 70vh; /* Adjust the height to fit smaller screens */
    }

    .slider [class*="box"] {
        width: 70vw;
        height: 40vh;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        opacity: 0.9;
        border-radius: 15px; /* Reduced border-radius for better fit */
    }

    .slider [class*="box"]:nth-child(4) {
        width: 80vw;
        height: 50vh;
        z-index: 4;
        opacity: 1;
    }

    .slider [class*="box"]:not(:nth-child(4)) {
        display: none; /* Hide all other boxes */
    }
}
/* footer */
footer {
    background-color: #2c3757; /* Background color */
    padding: 20px; /* Space around content */
    text-align: center; /* Center align text */
    border-top: 2px solid #2c3757; /* Border at the top */
    display: flex; /* Use flexbox */
    flex-direction: column; /* Stack items vertically */
  }
  
  .footer-content {
    display: flex; /* Use flexbox */
    justify-content: space-between; /* Space out items */
    align-items: center; /* Align items to the start */
    margin-bottom: 20px; /* Space before the copyright */
  }
  
  .footer-left {
    flex: 1; /* Take up available space */
    margin-right: 20px; /* Space between content and map */
  }
  
  .footer-left p {
    margin: 10px 0; /* Space between paragraphs */
    color: #fff; /* White text color */
  }
  
  .footer-left p a {
    color: #fff; /* White color for links */
    text-decoration: none; /* Remove underline */
  }
  
  .footer-left p a:hover {
    text-decoration: underline; /* Underline links on hover */
  }
  
  .footer-icons {
    margin-top: 20px;
    margin: 10px 0; /* Space around icons */
  }
  
  .footer-icons a {
    text-decoration: none; /* No underline */
    color: #fff; /* Icon color */
    margin: 0 10px; /* Space between icons */
    font-size: 24px; /* Icon size */
  }
  
  .footer-icons a:hover {
    color: #007bff; /* Icon color on hover */
  }
  
  .footer-map {
    flex: 1; /* Take up available space */
    display: flex; /* Use flexbox */
    justify-content: flex-end; /* Align map to the end */
  }
  
  .footer-map iframe {
    width: 100%; /* Full width of its container */
    max-width: 300px; /* Maximum width */
    height: 200px; /* Fixed height */
    border-radius: 30px; /* Rounded corners */
  }
  
  .footer-rights {
    font-size: 12px; /* Smaller font size */
    color: #777; /* Lighter text color */
  }
  
  .footer-rights a {
    color: #fff; /* White color for links */
    text-decoration: none; /* No underline */
  }
  
  @media (max-width: 768px) {
    footer {
      flex-direction: column; /* Stack items vertically on small screens */
    }
  
    .footer-content {
      flex-direction: column; /* Stack items vertically in the content */
      align-items: center; /* Center align items */
    }
  
    .footer-map {
      margin-top: 20px; /* Space between content and map on small screens */
    }
  }
  