/* Hero Section */
:root {
    --primary-color: #007bff;
    --accent-color: #ff004f;
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #111;
    color: white;
    height: 500px;
}

.hero-text h1 {
    font-size: 36px;
    margin-bottom: 10px;
    font-weight: bold;
}

.hero-text p {
    font-size: 24px;
    margin-bottom: 20px;
}

.hero-image img {
    height: 100%;
    width: auto;
}

/* Services */
.Services {
    padding: 50px 0;
}

.work-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}

.work {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.work img {
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}

.layer {
  width: 100%;
  height: 0;
  background: #00aeff;
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 16px;
  transition: height 0.5s;
}

.layer h2 {
  margin-bottom: 30px;
}

.layer a {
  margin-top: 30px;
  color: #080808;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
}

.work:hover img {
  transform: scale(1.1);
}

.work:hover .layer {
  height: 100%;
}

.btn {
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid #ff004f;
  padding: 14px 50px;
  border-radius: 6px;
  color: #000000;
  text-decoration: none;
  transition: background 0.75s;
}

.btn:hover {
  background: #ff004f;
}

/* Counters */

.Counter-box{
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60vh;
    border: 2px solid #000000; 
    padding: 0px; 
    margin: 20px 0; 
    background-color: rgb(255, 255, 255); 
    border-radius: 8px; 
}

.counters-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.counter-item {
    background-color: #fff;
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}


.counter {
    font-size: 30px;
    font-weight: bold;
    color: #007bff;
}

.counter-item i {
    font-size: 30px; /* Icon size */
    color: #007bff; /* Icon color */
    margin-bottom: 10px; /* Space between icon and text */
    display: block;
}



/* Contact-us */
 .contact-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    font-family: Arial, sans-serif;
}

.logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
}
.company-name {
    font-size: 24px;
    font-weight: bold;
    color: #000000; 
}

.contact-title {
    font-size: 18px;
    color: #007bff;
    margin-top: 50px;
}

.contact-text {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
}

.subtext {
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
}

.contact-details {
    font-size: 16px;
    line-height: 1.6;
}

.contact-details i {
    color: #007bff;
    margin-right: 8px;
}
.contact-info {
    max-width: 100%;
}

.map-container {
    max-width: 100%;
    height: 300px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
/* Mobile Styles for Hero Section */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .map-container {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        height: auto;
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 18px;
    }

    .hero-image img {
        width: 100%;
        height: auto;
    }
}

/* Mobile Styles for Services Section */
@media (max-width: 768px) {
    .work-list {
        grid-template-columns: 1fr; /* Stack items in one column */
        grid-gap: 20px; /* Reduce gap between items */
    }

    .work {
        border-radius: 5px;
    }

    .layer {
        padding: 0px 20px;
    }

    .layer h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .layer a {
        width: 50px;
        height: 50px;
        font-size: 14px;
        line-height: 50px;
    }

    .btn {
        padding: 10px 30px;
        font-size: 16px;
    }
}

/* Mobile Styles for Counter Section */
@media (max-width: 768px) {
    .Counter-box {
        height: auto;
        padding: 20px;
    }

    .counters-container {
        flex-direction: column;
        align-items: stretch;
    }

    .counter-item {
        width: 100%;
        margin: 10px 0;
        padding: 15px;
    }

    .counter {
        font-size: 24px;
    }

    .counter-item i {
        font-size: 24px;
    }
}

/* Mobile Styles for Contact Us Section */
@media (max-width: 768px) {
    .contact-section {
        flex-direction: column;
        padding: 20px;
    }

    .contact-info {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .map-container {
        height: 300px; /* Adjust map height for smaller screens */
    }

    .contact-text {
        font-size: 18px;
    }

    .contact-details {
        font-size: 14px;
    }
}

/* Mobile Styles for Footer (if applicable) */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-column {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .footer-column h4 {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 14px;
        text-align: center;
    }
}
