.container2 {
    display: flex;
    align-items: stretch;
    background: #fff;
    padding: 20px;
    max-width: 1200px;
    width: 100%;
    justify-content: space-between;
    margin: 0 auto;
    /* Centers the container horizontally */
    box-sizing: border-box;
}

.experience-box {
    background: #fd9406;
    padding: 40px;
    text-align: center;
    width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
}

.experience-box h1 {
    font-size: 120px;
    margin: 0;
    font-weight: bold;
    line-height: 1;
}

.experience-box .years {
    font-size: 36px;
    margin: 0;
    font-weight: bold;
}

.experience-box .exp {
    font-size: 20px;
    margin: 5px 0;
    letter-spacing: 5px;
}

.experience-box .since {
    font-size: 18px;
    margin-top: 10px;
}

.middle-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    width: 400px;
}


.middle-content h2 {
    font-size: 36px;
    margin: 0;
    font-weight: bold;
    line-height: 1.2;
}

.middle-content .highlight {
    color: red;
    font-weight: bold;
    font-size: 40px;
}

.document-links {
    margin-top: 30px;
}

.document-link {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    margin-bottom: 15px;
    width: 100%;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.document-link img {
    width: 24px;
    margin-right: 15px;
}

.right-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 400px;
    margin-left: auto;
}

.right-content h3 {
    font-size: 24px;
    margin: 0 0 20px 0;
    font-weight: bold;
    text-align: right;
}

.description {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    text-align: right;
}


.bold-text {
    font-weight: bold;
}


 .container3 h1 {
     text-align: center;
     /* Centers the text */
     margin-top: 80px;
     margin-bottom: 50px;
     /* Adds space at the top */
 }

 /* Card and layout styling */
 .cards-container {
     display: flex;
     flex-wrap: wrap;
     gap: 20px;
     justify-content: center;
     max-width: 1200px;
     margin: 0 auto;
     padding: 20px;
 }


 .card {
     width: 360px;
     background-color: #fff;
     border-radius: 12px;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
     overflow: hidden;
     font-family: 'Arial', sans-serif;
 }

 .card-header {
     background-color: #fd9406;
     color: #000;
     padding: 20px;
     text-align: center;
 }

 .package-name {
     font-size: 18px;
     font-weight: bold;
     margin-bottom: 5px;
     text-transform: uppercase;
     position: relative;
 }

 .package-name:after {
     content: "";
     display: block;
     width: 60px;
     height: 2px;
     background-color: #000;
     margin: 8px auto 12px;
 }

 .price {
     font-size: 46px;
     font-weight: bold;
     line-height: 1;
 }

 .price-unit {
     font-size: 16px;
     margin-left: 5px;
     font-weight: normal;
 }

 /* Section styling */
 .section3 {
     border-bottom: 1px solid #eee;
     position: relative;
 }

 .section-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     padding: 15px 20px;
     cursor: pointer;
     font-weight: 500;
     color: #333;
 }

 .toggle-icon {
     font-size: 18px;
     font-weight: bold;
 }

 /* Important: Section content styling for toggle functionality */
 .section-content {
     padding: 0;
     max-height: 0;
     overflow: hidden;
     transition: max-height 0.3s ease-out, padding 0.3s ease;
     background-color: #faf8e8;
 }

 .section-content.show {
     padding: 15px 20px;
     max-height: 500px;
     /* Adjust as needed to fit your content */
 }

 /* Feature list styling */
 .feature-list {
     list-style-type: none;
     padding: 0;
     margin: 0;
 }

 .feature-list li {
     margin-bottom: 10px;
     position: relative;
     padding-left: 20px;
 }

 .feature-list li:before {
     content: "■";
     position: absolute;
     left: 0;
     color: #e9bb4d;
 }

 .feature-title {
     font-weight: bold;
     margin-right: 5px;
 }

 /* Button styling */
 .button {
     display: block;
     width: calc(100% - 40px);
     margin: 20px auto;
     background-color: #fd9406;
     color: black;
     font-weight: bold;
     padding: 15px 24px;
     border: none;
     border-radius: 30px;
     cursor: pointer;
     font-size: 14px;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     text-align: center;
     text-decoration: none;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
     transition: background-color 0.3s ease;
 }

 .button:hover {
     background-color: transparent;
 }

 .button-container {
     text-align: center;
 }

 .custom-button {
    background-color: #fd9406;
    color: black;
    font-weight: bold;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
    max-width: 100%;
}


 h1 {
     text-align: center;
     color: #333;
     margin-bottom: 5px;
     margin-top: 70px;
 }

 .subtitle {
     text-align: center;
     color: #666;
     margin-bottom: 30px;
 }

 .input-section {
     display: flex;
     justify-content: center;
     gap: 40px;
     margin-bottom: 30px;
 }

 .input-group {
     display: flex;
     align-items: center;
     gap: 10px;
 }

 select {
     padding: 8px;
     border: 1px solid #ccc;
     border-radius: 4px;
     width: 250px;
 }

 table {
     width: 100%;
     border-collapse: collapse;
     margin-bottom: 30px;
 }

 table,
 th,
 td {
     border: 1px solid #ddd;
 }

 th,
 td {
     padding: 12px;
     text-align: left;
 }

 th {
     background-color: #f8f8f8;
 }

 input[type="number"] {
     width: 100%;
     padding: 8px;
     border: 1px solid #ccc;
     border-radius: 4px;
     box-sizing: border-box;
 }

 .total-row {
     font-weight: bold;
 }

 .button-container {
     text-align: center;
 }

 .estimate-button {
     background-color: #fd9406;
     border: none;
     color: #000;
     padding: 12px 30px;
     font-size: 16px;
     border-radius: 25px;
     cursor: pointer;
     font-weight: bold;
 }

 .estimate-button:hover {
     background-color: #f5bc3c;
 }

 .compound-wall-inputs {
     display: flex;
     gap: 10px;
 }

 .compound-wall-inputs input {
     width: calc(50% - 5px);
 }

 .input-cell {
     width: 20%;
 }

 .unit-cell {
     width: 10%;
 }

 .rate-cell {
     width: 15%;
 }

 .cost-cell {
     width: 15%;
 }


 .container5 {
     max-width: 900px;
     margin: 0 auto;
 }

 .header {
     text-align: center;
     margin-bottom: 30px;
 }

 .header h1 {
     font-size: 32px;
     color: #333;
     margin-bottom: 10px;
 }

 .header p {
     font-size: 16px;
     color: #666;
 }

 .image-grid {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     /* 3 columns */
     gap: 10px;
 }

 .image-item {
     position: relative;
     overflow: hidden;
     border-radius: 5px;
     height: 0;
     padding-bottom: 50%;
     /* Adjusted to reduce image height */
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
 }

 .image-item img {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
     transition: transform 0.5s ease, filter 0.5s ease;
 }

 .image-item:hover img {
     transform: scale(1.1);
     filter: brightness(1.1);
 }

 .overlay {
     position: absolute;
     bottom: -100px;
     left: 0;
     width: 100%;
     padding: 10px;
     background-color: rgba(242, 234, 234, 0.7);
     color: white;
     transition: bottom 0.5s ease;
 }

 .image-item:hover .overlay {
     bottom: 0;
 }

 .overlay h3 {
     font-size: 16px;
     margin-bottom: 5px;
 }

 .overlay p {
     font-size: 12px;
 }


  .containers {
      max-width: 1200px;
      margin: 0 auto;
      padding: 20px;
  }

  h2 {
      text-align: center;
      font-size: 32px;
      color: #333;
      font-weight: bold;
      margin-top: 50px;
      margin-bottom: 50px;
  }

  .timeline {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
  }

  .cards {
      width: 45%;
      background-color: #fff;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      overflow: hidden;
      margin-bottom: 20px;
      position: relative;
  }

  .cards.left {
      text-align: left;
  }

  .cards.right {
      text-align: right;
  }

  .cards-header {
      padding: 15px;
      background-color: #f9d56e;
      display: flex;
      align-items: center;
  }

  .cards-number {
      width: 50px;
      height: 50px;
      background-color: #333;
      color: #fff;
      font-size: 24px;
      font-weight: bold;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
  }

  .card-body {
      position: relative;
      height: 250px;
  }

  .image-slider {
      position: relative;
      height: 100%;
      overflow: hidden;
  }

  .image-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

  .slide {
      min-width: 100%;
  }

  .image-prev,
  .image-next {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: rgba(255, 255, 255, 0.5);
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      border: none;
      font-weight: bold;
  }

  .image-prev {
      left: 10px;
  }

  .image-next {
      right: 10px;
  }


  .containerss {
      max-width: 1200px;
      margin: 0 auto;
      padding: 40px 20px;
  }

  .headers {
      text-align: center;
      margin-bottom: 40px;
  }

  .headers h1 {
      font-size: 36px;
      color: #333;
      margin-bottom: 10px;
      position: relative;
      display: inline-block;
      padding: 0 20px;
  }

  .headers h1::before,
  .headers h1::after {
      content: "";
      display: inline-block;
      height: 3px;
      width: 50px;
      background-color: #ffc107;
      position: absolute;
      top: 50%;
  }

  .headers h1::before {
      left: -50px;
  }

  .headers h1::after {
      right: -50px;
  }

  .headers p {
      font-size: 18px;
      color: #666;
  }

  .timelines {
      display: flex;
      justify-content: space-between;
      margin-top: 80px;
      position: relative;
  }

  .timelines::before {
      content: "";
      position: absolute;
      top: 50px;
      left: 10%;
      right: 10%;
      height: 2px;
      background: repeating-linear-gradient(to right, #000, #000 5px, transparent 5px, transparent 10px);
      z-index: 1;
  }

  .step {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 14%;
      position: relative;
      z-index: 2;
  }

  .step-number {
      width: 60px;
      height: 60px;
      background-color: #f0f0f0;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 24px;
      font-weight: bold;
      color: #666;
      margin-bottom: 20px;
      border: 1px solid #ddd;
      transition: background-color 1s, color 1s;
  }

  .step-content {
      text-align: center;
      font-size: 14px;
      color: #555;
      line-height: 1.5;
  }



  .horizontal-line {
      border: none;
      height: 2px;
      background: #ccc;
      /* Light gray color */
      margin: 20px auto;
      width: 100%;
  }

  .containeer {
      max-width: 1100px;
      margin: auto;
  }

  .contents-box {
      border-left: 4px solid #f4b400;
      padding-left: 20px;
      margin-top: 20px;
  }

  .highlight {
      font-weight: bold;
      font-size: 18px;
      color: #1a237e;
      font-family: 'Courier New', Courier, monospace;
  }

  /* Center the video box inside the container */
  .video-container {
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      /* Full viewport height */
  }

  /* Video box styling */
  .video-box {
      width: 80%;
      max-width: 900px;
      height: auto;
      overflow: hidden;
      border: 10px solid #333;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
      border-radius: 10px;
  }

  /* Style the video to fit the box */
  .video {
      width: 100%;
      height: 100%;
      object-fit: center;
  }



@media screen and (max-width: 991px) {
    /* Container adjustments */
    .container2 {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }

    .experience-box {
        width: 100%;
        margin-bottom: 20px;
    }

    .middle-content,
    .right-content {
        width: 100%;
        text-align: center;
    }

    /* Cards adjustments */
    .cards-container {
        padding: 15px;
    }

    .card {
        width: 100%; /* Full width for better alignment */
        margin-bottom: 15px;
    }

    /* Timeline adjustments */
    .timeline {
        flex-direction: column;
    }

    .cards {
        width: 100%;
    }

    /* Image grid adjustments */
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Process timeline */
    .timelines::before {
        left: 5%;
        right: 5%;
        border-left: 2px dotted #ccc; /* Alternative to removing the line */
    }

    .step {
        width: 18%;
    }
        
}

@media screen and (max-width: 767px) {
    /* Adjust container padding */
    .container2, .container3, .container5, .containers, .containerss {
        padding: 15px;
    }

    /* Experience box */
    .experience-box {
        padding: 20px;
        text-align: center;
    }

    .experience-box h1 {
        font-size: clamp(50px, 8vw, 80px); /* Dynamic font size */
    }

    .experience-box .years {
        font-size: clamp(18px, 4vw, 26px);
    }

    /* Cards */
    .card {
        width: 100%;
    }

    /* Input section */
    .input-section {
        flex-direction: column;
        gap: 15px;
    }

    .input-group, select {
        width: 100%;
    }

       
    /* Image grid adjustments */
    .image-grid {
        grid-template-columns: 1fr;
    }

    /* Process timeline */
    .timelines {
        flex-direction: column;
        margin-top: 40px;
    }

    .timelines::before {
        border-left: 2px dotted #ccc; /* Keep a subtle guide */
    }

    .step {
        width: 100%;
        margin-bottom: 30px;
    }

    /* Headers */
    h1, h2 {
        font-size: clamp(20px, 5vw, 24px);
        margin: 20px 0;
    }

    .headers h1 {
        font-size: clamp(24px, 6vw, 28px);
    }

    /* Video box */
    .video-box {
        width: 95%;
        border-width: 5px;
    }
       
}
@media screen and (max-width: 991px) {
    .custom-button {
        padding: 12px 25px;
        font-size: 13px;
        white-space: normal;
        max-width: 100%;
    }

    table {
        font-size: 14px;
        width: 100%;
        table-layout: fixed;
        /* Fixed table layout for better control */
    }

    th,
    td {
        padding: 10px;
        word-wrap: break-word;
        /* Allow text to wrap */
    }
}

@media screen and (max-width: 767px) {
    .button-container {
        text-align: center;
        display: flex;
       
        align-items: center;
        width: 100%;
        padding: 0 10px;
        /* Add some padding on the sides */
    }

    .custom-button {
        width: 100%;
        padding: 10px 15px;
        font-size: 12px;
        white-space: normal;
        letter-spacing: 0.5px;
        max-width: calc(100% - 10px);
        
    }

    table {
        width: 100%;
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
        /* Smooth scrolling on iOS */
        border-collapse: collapse;
        /* Clean table appearance */
        margin: 0;
        /* Remove any default margins */
    }

    th,
    td {
        padding: 8px;
        font-size: 12px;
        min-width: 80px;
        /* Ensure minimum column width */
    }
}