/* Portfolio Section Styling 
    background: url("https://images.pexels.com/photos/4360449/pexels-photo-4360449.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2") no-repeat center;
*/
*{
    box-sizing: border-box;
}
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40vh !important;
    background-color: #0e1538;
    color: #fff;
    min-height: 400px;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Ubuntu', sans-serif;
}

.home .max-width {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home .home-content .text-1 {
    font-size: 22px;
    font-weight: 300;
}

.home .home-content .text-2 {
    font-size: 60px;
    font-weight: 600;
    margin: 10px 0;
}

.home .home-content .text-3 {
    font-size: 28px;
    margin: 10px 0;
}




.home .home-content .text-3 span {
    color: #ff6f61;
    font-weight: 500;
}

.home .portfolio-items ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    font-size: 18px;
}

.carousel-container {
    padding-left: 20px;
}
.carousel img {
    border-radius: 15px;
    height: auto;
    object-fit: cover;
}
.home .portfolio-items ul li {
    margin: 8px 0;
    font-weight: 400;
    color: #e0e0e0;
}

.classbox {
    position: relative;
    width: 200px;
    height: 60px;
    margin-left: 30%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border-radius: 25px;
    margin-top: 30px;
    cursor: pointer;
}

.classbox::before {
    content: '';
    position: absolute;
    width: 68px;
    height: 500%;
    border-radius: 0;
    background: linear-gradient(#00ccff, #d400d4);
    animation: animate-rotate 4s linear infinite;
}

.classbox::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: #1E60AA;
    border-radius: 20px;
}

@keyframes animate-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.classbox a {
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    z-index: 10;
    cursor: pointer;
}
/* Media Query for Tablets and Smaller Screens */
@media (max-width: 1024px) {
    .home .home-content .text-2 {
        font-size: 50px; /* Reduce font size for better readability */
        font-weight: 600;
        margin: 8px 0;
    }

    .home .home-content .text-3 {
        font-size: 24px; /* Slightly smaller for secondary text */
        margin: 8px 0;
    }
}

/* Media Query for Mobile Screens */
@media (max-width: 768px) {
    .home .home-content .text-2 {
        font-size: 40px; /* Further reduce size for smaller screens */
        font-weight: 600;
        margin: 6px 0;
    }

    .home .home-content .text-3 {
        font-size: 20px; /* Secondary text adapts for smaller screen sizes */
        margin: 6px 0;
    }
}

/* Media Query for Very Small Screens (Small Phones) */
@media (max-width: 480px) {
    .home .home-content .text-2 {
        font-size: 32px; /* Compact size for small phone screens */
        font-weight: 600;
        margin: 5px 0;
    }

    .home .home-content .text-3 {
        font-size: 18px; /* Adjust for very small devices */
        margin: 5px 0;
    }
    .classbox {
        margin-left: 15% !important;
    }

}

/* Projects Section */
.teams {
    padding: 50px 20px;
    background: #f9f9f9;
}

.teams .title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    color: #17224D;
    margin-bottom: 40px;
    position: relative;
}

.teams .title::after {
    content: "Projects Done";
    margin-top: 10px;
    position: absolute;
    font-size: 16px;
    font-weight: 500;
    color: crimson;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.teams .carousel .card {
    background: #222;
    border-radius: 6px;
    padding: 25px 35px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.teams .carousel .card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

.teams .carousel .card img {
    height: 250px;
    width: 350px;
    object-fit: cover;
    border-radius: 10px;
    border: 5px solid crimson;
    transition: all 0.3s ease;
}

.teams .carousel .card:hover img {
    border-color: #fff;
}

.teams .carousel .card .text {
    font-size: 22px;
    font-weight: 600;
    color: white;
    margin: 15px 0 10px;
}

.teams .carousel .card p {
    font-size: 16px;
    color: #aaa;
    margin: 0;
}

.teams .carousel .card .project {
    display: inline-block;
    color: crimson;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 16px;
    margin-top: 20px;
    border-radius: 6px;
    border: 2px solid crimson;
    transition: 0.3s ease-in-out;
    text-decoration: none;
}

.teams .carousel .card .project:hover {
    color: white;
    background: crimson;
}

/* Owl Carousel Dots */
.owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    padding: 0;
}

.owl-dot {
    height: 13px;
    width: 13px;
    margin: 0 5px;
    outline: none !important;
    border-radius: 50%;
    border: 2px solid crimson !important;
    transition: all 0.3s ease;
}

.owl-dot.active {
    width: 35px;
    border-radius: 14px;
    background: crimson !important;
}


.services {
    color: #fff;
    background: #4e4c4c;
}

.services .title::before,
.teams .title::before {
    background: #fff;
}

.services .title::after
{
   
    content: "What We Offer";
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 0;
 
    cursor: pointer;
}

.container .box {
    position: relative;
    width: 320px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 30px;
    transition: 0.5s;
}

.container .box::before,
.container .box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    width: 50%;
    height: 100%;
    background: #fff;
    border-radius: 8px;
    transition: 0.5s;
    transform: skewX(15deg);
}

.container .box::after {
    filter: blur(30px);
    transition: 0.5s;
}

.container .box:hover::before,
.container .box:hover::after {
    transform: skewX(0deg);
    left: 20px;
    width: calc(100% - 90px);
}

/* Custom gradient colors for each box */
.container .box:nth-child(1):before,
.container .box:nth-child(1):after {
    background: linear-gradient(315deg, #ffbc00, #ff0058);
}

.container .box:nth-child(2):before,
.container .box:nth-child(2):after {
    background: linear-gradient(315deg, #03a9f4, #ff0058);
}

.container .box:nth-child(3):before,
.container .box:nth-child(3):after {
    background: linear-gradient(315deg, #4dff03, #00d0ff);
}

.container .box:nth-child(4):before,
.container .box:nth-child(4):after {
    background: linear-gradient(315deg, #eecda3, #ef629f);
}

.container .box:nth-child(5):before,
.container .box:nth-child(5):after {
    background: linear-gradient(-315deg, #c33764, #1d2671);
}

.container .box:nth-child(6):before,
.container .box:nth-child(6):after {
    background: linear-gradient(315deg, #36d1dc, #5b86e5);
}

.container .box .content {
    position: relative;
    left: 0;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    z-index: 1;
    transition: 0.5s;
    color: #fff;
}

.container .box:hover .content {
    left: -25px;
    padding: 60px 40px;
}

.container .box .content h2 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 10px;
}

.container .box .content p {
    font-size: 1.1em;
    margin-bottom: 10px;
    line-height: 1.4em;
    padding: 12px;
}

.container .box .content a {
    display: inline-block;
    font-size: 1.1em;
    color: #111;
    background: #fff;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 5px;
}

.container .box span {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    pointer-events: none;
}


@media (max-width: 768px) {
    .teams .carousel .card img {
        height: 200px;
        width: 250px;
        border: 3px solid crimson;
    }
}

@media (max-width: 480px) {
    .teams .carousel .card img {
        height: 150px;
        width: 250px;
        border: 2px solid crimson;
        border-radius: 5px;
    }
}

/* About Portfolio Section Styling */
.about {
    color: #fff;
    background: #111;
    padding: 60px 20px;
    overflow: hidden;
}
.about .title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #ffc107;
}
.about .title::after {
    content: " portfolio highlights";
    font-size: 16px;
    display: block;
    margin-top: 5px;
    color: #fff;
}
.about .about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.about .about-content .left {
    flex: 1;
    max-width: 45%;
    margin-left: 5%;
}
.about .about-content .left img {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}
.right1 {
    margin-top: -3% !important;
}
.about .about-content .right1 {
    flex: 1;
    max-width: 50%;
    padding: 0 20px;
    text-align: justify;
}
.about .about-content .right1 .text {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}
.about .about-content .right1 .text span {
    color: #ffc107;
}
.about .about-content .right1 p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}
.about .about-content .right1 a {
    display: inline-block;
    color: #fff;
    background: #ffc107;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s ease-in-out;
}
.about .about-content .right1 a:hover {
    background: #ff784e;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about .about-content {
        flex-direction: column;
        text-align: center;
    }
    .about .about-content .left,
    .about .about-content .right1 {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    .about .about-content .left img {
        margin: 0 auto;
    }
    .about .about-content .right1 a {
        margin: 10px auto;
    }
}


/* Skills Section Styling */
.skills {
    padding: 60px 0;
    background-color: #f4f4f4;
}

.skills .max-width {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.skills .title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #333;
}

.skills .title::after {
    content: "";
    display: block;
    width: 60px;
    height: 2px;
    background: #f48c42;
    margin: 10px auto 0;
}

.skills .skills-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.skills .column {
    width: 48%;
    margin-bottom: 20px;
}

.skills .column.left {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skills .column.left .text {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #f48c42;
}

.skills .column.left p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
}

.skills .column.left a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    font-size: 18px;
    color: #fff;
    background-color: #f48c42;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.skills .column.left a:hover {
    background-color: #f37c3b;
}

.skills .column.right {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.skills .bars {
    margin-bottom: 20px;
}

.skills .bars .info {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
}

.skills .bars .line {
    height: 6px;
    background: #ddd;
    position: relative;
    border-radius: 5px;
}

.skills .bars .line::before {
    content: "";
    position: absolute;
    height: 100%;
    background: #f48c42;
    border-radius: 5px;
    transition: width 0.3s ease;
}
.right {
    padding-top: 10% !important;
    height: 80% !important;
    margin-top: 5% !important;
}
.skills .bars {
    margin-bottom: 20px;
}

.skills .bars .info {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    color: #555;
    margin-bottom: 5px;
}

.skills .skills-content .right .line::before {
    content: "";
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    background: crimson;
}

.skills-content .right .gypsum::before {
    width: 100%;
}

.skills-content .right .aluminum::before {
    width: 100%;
}

.skills-content .right .upvc::before {
    width: 100%;
}

.skills-content .right .cornice::before {
    width: 100%;
}

.skills-content .right .management::before {
    width: 100%;
}


/* Media Queries for Responsive Design */

/* For smaller devices like tablets and phones */
@media (max-width: 1024px) {
    .skills .skills-content {
        flex-direction: column;
    }

    .skills .column {
        width: 100%;
        margin-bottom: 20px;
    }

    .skills .column.left {
        padding: 20px;
        margin-bottom: 20px;
    }

    .skills .column.right {
        padding: 20px;
    }

    /* Re-order columns to make left appear first */
    .skills .skills-content {
        flex-direction: column-reverse;  /* This ensures that right column comes below left column */
    }
}

/* For mobile devices (phones) */
@media (max-width: 768px) {
    .skills .title {
        font-size: 30px;
    }

    .skills .column.left .text {
        font-size: 20px;
    }

    .skills .column.left p {
        font-size: 14px;
    }

    .skills .column.left a {
        font-size: 16px;
    }

    .skills .bars .info {
        font-size: 14px;
    }

    .skills .bars .line {
        height: 5px;
    }

    .skills .bars .line::before {
        height: 100%;
    }

    /* Re-order columns to make left appear first */
    .skills .skills-content {
        flex-direction: column-reverse;
    }
}

/* For very small screens (small phones) */
@media (max-width: 480px) {
    .skills .title {
        font-size: 24px;
    }

    .skills .column.left .text {
        font-size: 18px;
    }

    .skills .column.left p {
        font-size: 12px;
    }

    .skills .column.left a {
        font-size: 14px;
        padding: 8px 20px;
    }

    .skills .bars .info {
        font-size: 12px;
    }

    /* Re-order columns to make left appear first */
    .skills .skills-content {
        flex-direction: column-reverse;
    }
}



.why-choose-us {
    padding: 60px 0;
    background-color: #f3f3f3;
}

.section-heading h2 {
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-heading h2 span {
    color: #ffc107;
}

.section-heading h4 {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    font-size: 18px;
    color: #555;
    text-transform: capitalize;
}

.section-heading h4::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 50px;
    height: 2px;
    background-color: #ffc107;
    transform: translateX(-50%);
}

.choose-us-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.choose-item {
    background: #fff;
    padding: 30px;
    text-align: center;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 8px;
}

.choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    border-color: #ffc107;
}

.choose-item i {
    font-size: 40px;
    color: #ffc107;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.choose-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.choose-item p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.choose-item:hover i {
    color: #333;
}

@media (max-width: 768px) {
    .choose-item {
        padding: 20px;
    }

    .choose-item i {
        font-size: 35px;
    }

    .choose-item h4 {
        font-size: 18px;
    }

    .choose-item p {
        font-size: 14px;
    }
}



.section-padding {
    padding: 60px 0;
  }
  
  #mission-vision-values .section-header {
    margin-bottom: 50px;
  }
  
  #mission-vision-values .section-header h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  #mission-vision-values .section-header p {
    font-size: 16px;
    color: #666;
  }
  
  #mission-vision-values .mission-cols .card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease-in-out;
  }
  
  #mission-vision-values .mission-cols .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  }
  
  #mission-vision-values .mission-cols .card .img-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
  }
  
  #mission-vision-values .mission-cols .card .img-container img {
    border-radius: 10px;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  #mission-vision-values .mission-cols .card .img-container:hover img {
    transform: scale(1.1);
  }
  
  #mission-vision-values .mission-cols .card .icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #ffc107;
    color: #fff;
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  #mission-vision-values .mission-cols .card .title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
  }
  
  #mission-vision-values .mission-cols .card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
  }
  