@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200&display=swap');

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    outline: none;
    text-decoration: none;
    font-family: Poppins, sans-serif;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: #eaf6a5a4;
    color: #2F4F4F;
}

header {
    background: linear-gradient(to right, #003366, #0052cc);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

header.sticky {
    border-bottom: 0.1rem solid rgba(0, 0, 0, 0.21);
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

#home{
    padding-top:138px;
}

.logo {
    height: 75px;
    animation: logo-scale 1s infinite alternate;
}

.slogan {
    font-size: 1.36rem;
    color: #18f311;
    font-family: Arial, Helvetica, sans-serif;
    font-style: italic;
    font-weight: 950;
    margin-top: 5px;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(95deg, #34fb2d, #34fb2d 40%, #5cf8be 50%, #34fb2d 60%, #24f81d);
    background-size: 300%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(230, 245, 22, 0.4);
    animation: shine 3s infinite linear, logo-scale 1s infinite alternate;
}


.company-name {
    display: flex;
    align-items: center;
}

.company-name h1 {
    font-size: 2.4rem;
    font-weight: bold;
    color: #FFFFFF;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.company-name span {
    font-size: 2.15rem;
    color: #FFD700;
}

#menu-icon {
    font-size: 3.6rem;
    color: rgb(234, 204, 34);
    display: none;
    cursor: pointer;
}

.navbar {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.navbar a {
    color: #fff;
    font-size: 16px;
    margin-left: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.navbar a.active {
    background-color: #0074D9;
    border-radius: 5px;
}

nav a {
    color: #FFFFFF;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.3s;
}

nav a:hover {
    background-color: #0074D9;
    transform: scale(1);
}

section {
    min-height: 95vh;
    padding: 11rem 9% 2rem;
}

.civil {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 25px;
}

.civil-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.civil-text {
    max-width: 100%;
    margin-right: 20px;
}

.civil-text h2 {
    font-size: 2.34rem;
    margin-bottom: 20px;
    color: #003366;
    text-align: center;
}

.civil-text p {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #003366;
}

.contact-button {
    font-size: 1.8rem;
    background-color: #FFD700;
    color: #003366;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.3s;
}

.contact-button:hover {
    background-color: #0e4479;
    color: #FFD700;
    transform: scale(1.1);
}

.civil-images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    margin-left:10px;
    gap: 20px;
}

.civil-images img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.civil-images img[alt="Dr Fixit"],
.civil-images img[alt="Neo Seal"] {
    height: 100px; 
    margin-top:32px;
    animation: logo-scale 0.8s infinite alternate;
}

.civil-images img[alt="Neo Seal"] {
    height:85px;
}

.civil-images img[alt="Civil Work Projects"]{
    height:200px;
}

.about {
    padding: 60px 20px;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #003366;
}

.about p {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #003366;
}

.projects {
    padding: 60px 20px;
    text-align: center;
}

.projects-content {
    max-width: 1120px;
    margin: 10px auto;
    padding:0 10px;
}

.projects h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #003366;
}

.projects p {
    font-size: 1.6rem;
    margin-bottom: 40px;
    
}

.project {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 7px;
    overflow: hidden;
    background-color: #ffffff;
}

.project img {
    object-fit: cover;
}

.project-description {
    padding: 10px;
    text-align: center;
}

.project-description h3 {
    font-size: 2rem;
    color: #560505;
    margin-bottom: 10px;
    margin-left: 60px;
    text-align:center;
}

.project-description p {
    font-size: 1.45rem;
    color: #1b1919;
    text-align:center;
    font-style:italic;
    font-weight: bolder;
}

.services {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 25px;
}

.services-content {
    font-size: 2.2rem;
    color: #003366;
    text-align: center;
    width: 100%;
    padding:13px;
}

.service-item {
    flex:1;
    max-width: 100%;
    text-align: center;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.service-item h3 {
    font-size: 2rem;
    color: #560505;
    margin-bottom: 8px;
    margin-top: 2px;
}

.service-item ul {
    padding-left: 5px;
    list-style: none;
    text-align: justify;
    margin: 0 auto;
    padding: 0;
    display: inline-block;
}

.service-item ul li {
    font-size: 1.7rem;
    color: #333333;
    margin-bottom: 10px;
    list-style-type: disc;
    list-style-position: inside;
    padding-left: 18px;
}

.contact {
    padding: 60px 20px;
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.contact-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #003366;
}

.contact-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #5f0a0a;
}

.contact-content ul {
    list-style: none;
    padding: 0;
}

.contact-content ul li {
    font-size: 1.7rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #751017;
    font-weight: bold;
}

.contact-content ul li i {
    margin-right: 10px;
    color: #007bff;
    font-size: 2.5rem;
}

.contact-content ul li a {
    color: #751017;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: bold;
    font-size: 1.7rem;
}

.contact-content ul li a:hover {
    color: #043569;
}

.contact-content ul li a i {
    font-size: 2.2rem;
    vertical-align: middle;
}

.call-button {
    position: fixed;
    bottom: 20px;
    right: 35px;
    background-color: #28a745;
    color: white;
    padding: 15px 17px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
    animation: logo-scale 0.9s infinite alternate;
}

.call-button:hover {
    background-color:#126424;;
}

.call-button i {
    font-size: 19px;
}

.chat-button {
    position:fixed;
    color: #1b0acf;
    bottom: 2px;
    left: 33px;
    padding: 11.5px 25px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    animation: logo-scale 0.9s infinite alternate;
    z-index:1000;
    font-size:44px;
}

.chat-button:hover{
    color:#11058d;
}

.accomplishments-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align:center;
}

.accomplishments-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #003366;
}

.accomplishments-content p {
    font-size: 36px;
    margin-bottom: 28px;
}

.counter-container {
    display: flex;
    justify-content: center; 
    gap: 110px; 
    flex-wrap: nowrap; 
}


.counter-item {
    padding: 15px;
    border-radius: 10px;
    width: 200px;
    text-align: center;
    margin: 10px 0;
    justify-content:space-between;
}

.icon {
    width: 110px;
    height: 110px;
    margin-bottom: 10px;
}

.count {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #751017;
}

.description {
    font-size: 9px;
    font-family: sans-serif;
    font-weight:bold;
    color: #751017;
    margin-top: 5px;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 1.1rem 9%;
    background: rgb(194, 194, 250);
    color: black;
    font-weight: 550;
    font-size: 1.1rem;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    background: rgb(234, 166, 38);
    border-radius: 0.8rem;
    transition: 0.5s ease;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 0.92rem rgb(237, 196, 119);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: orangered;
}

/* Responsive Design */
@media (max-width: 768px) {

    #menu-icon {
        display: block;
        align-self: self-end;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height:100vh;
        overflow-y:auto;
        padding: 1rem 3%;
        background: #003366; 
        border-top: 0.1rem solid rgba(0, 0, 0, 0.21);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.21);
        display: none;
        flex-direction: column;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        display: block;
        font-size: 1.5rem;
        margin: 1.4rem 0;
    }

    .company-name h1 {
        font-size: 2.4rem;
    }

    .logo{
        height:80px;
    }
    .company-name span {
        font-size: 2rem;
    }

    .header {
        flex-direction: column;
        align-items: flex-start;
    }

    .civil-content {
        flex-direction: column;
        text-align: center;
    }

    .civil-text {
        max-width: 100%;
        margin-right: 10px;
    }

    .civil-images {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }

    .civil-images img[alt="Dr Fixit"],
    .civil-images img[alt="Neo Seal"] {
        height: 103px; 
        margin-top: 25px;
    }

    .civil-images img[alt="Neo Seal"] {
        height: 80px; /* Adjust as necessary */
    }

    .civil-images img[alt="Civil Work Projects"] {
        height: 200px; /* Adjust as necessary */
    }

    .civil-images img[alt="Waterproofing Solutions"],
    .civil-images img[alt="Civil Work Projects"]{
        margin-top:24px;
    }

    .projects h2 {
        font-size: 2.5rem;
    }

    .projects p {
        font-size: 1.4rem;
    }

    .project {
        flex-direction: column;
    }

    .project img {
        width: 100%;
        height: auto;
    }

    .project-description {
        text-align:left;
    }

    .project-description h3 {
        font-size: 1.8rem;
        margin-left:2px;

    }

    .project-description p {
        font-size: 1.2rem;
    }

    .services {
        flex-direction: column;
        padding: 11px;
    }

    .service-item {
        max-width: 100%;
        margin-bottom: 11px;
    }

    .service-item h3 {
        font-size: 1.6rem;
        padding-left: 2.4px;
        text-align:left;
    }

    .service-item ul li {
        font-size: 1.19rem;
        padding-left: 19px;
    }

    .counter-container{
        gap: 25px;
    } 

    .accomplishments-content p {
    font-size: 24px;
}

    .contact {
        padding: 40px 10px;
    }

    .contact-content {
        padding: 10px;
    }

    .contact-content h2 {
        font-size: 2.5rem;
    }

    .contact-content p {
        font-size: 1.2rem;
    }

    .contact-content ul li {
        font-size: 1.32rem;
        margin-bottom: 10px;
        align-items: flex-start;
        text-align: left;
    }

    .contact-content ul li i {
        font-size: 1.8rem;
    }

    .contact-content ul li a {
        font-size: 1.4rem;
    }

    .contact-content ul li a i {
        font-size: 1.8rem;
    }

    .call-button{
        bottom:20px;
        right:20px;
    }

    .call-button i{
        font-size:17px;
    }

    .chat-button{
        bottom:34px;
        left:4px;
    }

    .chat-button i{
        font-size:47px;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-iconTop {
        position: static;
        margin-top: 10px;
    }

    #home {
        padding-top: 235px;
    }
}

@media (max-width: 450px) {

    header {
        padding: 1.5rem 5%;
        justify-content: space-between;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1.5rem 5%;
        background: #003366; 
        border-top: 0.1rem solid rgba(0, 0, 0, 0.21);
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.21);
        display: none;
        flex-direction: column;
    }

    section {
        padding: 7rem 5% 2rem;
        min-height: 55vh;
    }

    .logo{
        height:78px;
    }

    #home {
        padding-top: 208px; 
    }

    .company-name h1 {
        font-size: 2.2rem;
    }

    .company-name span{
        font-size:2.4rem;
    }

   .civil-images {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .civil-images img {
        width: 85%;
        margin: 0 auto;
    }

    .civil-images img[alt="Dr Fixit"],
    .civil-images img[alt="Neo Seal"] {
        height: 107px; 
        margin-top: 20px;
    }

    .civil-images img[alt="Neo Seal"] {
        height: 75px; 
    }

    
    .civil-images img[alt="Civil Work Projects"] {
        height: 130px; 
    }

    .company-name span {
        font-size: 1.6rem;
    }

    .navbar a {
        font-size: 1.5rem;
        margin: 1.5rem 0;
    }

    .contact-content ul li {
        font-size: 0.7rem;
    }

    .civil-text h2 {
        font-size: 2rem;
    }

    .civil-text p {
        font-size: 1.4rem;
    }

    .about h2 {
        font-size: 2.5rem;
    }

    .about p {
        font-size: 1.4rem;
    }

    .project img {
        width: 100%;
        height: auto;
    }

    .projects h2 {
        font-size: 2.5rem;
    }

    .projects p {
        font-size: 1.4rem;
    }

    .services {
        padding: 16px;
    }
    .service-item h3 {
        font-size: 1.4rem;
    }

    .service-item:nth-of-type(4) h3{
        margin-left:10px;
    }

    .service-item ul li {
        font-size: 1.1rem;
    }

    .project-description h3 {
        font-size: 1.8rem;
    }

    .project-description p {
        font-size: 1rem;
    }

    .contact-content h2 {
        font-size: 2.2rem;
    }

    .accomplishments-content h2{
        font-size:2.2rem;
    }

    .count {
    font-size:3.1rem;
    }

    .accomplishments-content {
        font-size:5px;
        padding:10px;
    }
    

    .contact-content p {
        font-size: 1.1rem;
    }

    .contact-content ul li {
        font-size: 9.5px;
    }

    .contact-content ul li i {
        font-size: 1rem;
    }

    .contact-content ul li a {
        font-size: 1.1rem;
    }

    .contact-content ul li a i {
        font-size: 1rem;
    }

    .call-button{
        bottom:60px;
        right:17px;
        padding: 15px 18px;
    }

    .call-button i{
        font-size:16px;
    }

    .footer{
        font-size:0.95rem;
    }

    .footer-iconTop{
        margin-left:10px;
    }

    .counter-container{
        flex-wrap:wrap;
    }

}

@media (max-width: 400px){
   .contact-content ul li a {
        font-size: 0.94rem;
    } 
}

@media (max-width: 359px){
   .contact-content ul li a {
        font-size: 0.92rem;
    } 
}
@keyframes logo-scale {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(0.98);
    }
}


@keyframes shine {
    0% {
        background-position: 300%;
    }
    100% {
        background-position: -300%;
    }
}