@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,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    font-family: "Poppins", sans-serif; 
    font-weight: 400;
    margin: 0;
    padding: 0;
    list-style: none;
}

.navbar{
    /* height: 60px; */
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
    background: black;
}
.navbar .logo {
    flex: 1;
    margin-left: 20px;
}
.navbar .logo-image {
    height: 80px;   
    width: 120px;
    display: block;
}
.navbar .nav-links {
    display: flex;
    margin-right: 20px;
    gap: 20px;
}
.navbar .nav-links a{
    font-size: 1.4rem;
}
.navbar .nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 25px;
}

.navbar .nav-link:hover {
    color: #ad1010; 
    text-decoration: underline;
}

body{
    background-color: #1ac48b38;
}



.header-image {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}
.header-image img {
    width: 100%;
    height: auto;
    max-height: 100%;
    display: block; 
    object-fit: cover;
}

.header-text {
    position: absolute;
    font-weight: 700;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: white;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    text-shadow: 1px 1px 2px black;
    animation: fadeIn 1s ease;
}
.page-text {
    font-weight: bold;
    color: yellow; 
    text-shadow: 1px 1px 2px black;
    display: inline-block;
    opacity: 0;
    transform: translateY(-20px);
    animation: dropIn 0.3s forwards;
    animation-delay: 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes dropIn {
    to {
        opacity: 1; 
        transform: translateY(0);
    }
}




.about-us-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* background-color: #b1abab; */
    padding: 20px; 
}
.main-heading {
    font-weight: bold;
    font-size: 2.5em;
    color: #169485; 
    position: relative; 
    margin-bottom: 20px;
    transition: color 0.3s, transform 0.3s; 
}
.main-heading:hover{
    color: #004d40; 
    transform: scale(1.05); 
}
.main-heading::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px; 
    background-color: #62deee; 
    position: absolute;
    bottom: -10px; 
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s; 
}

.main-heading:hover::after {
    width: 70%; 
}
.description {
    display: flex; 
    justify-content: space-between; 
    width: 100%; 
}
.about-us {
    background-color: #f9f9f9; 
    padding: 20px; 
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 20px;
    width: 50%;
    transition: transform 0.3s ease;
    /* text-align: center;  */
}
.about-us:hover {
    transform: scale(1.05); 
}
.about-us h3{
    font-weight: bold;
    text-align: center;
    font-size: 2rem;
}
.about-us p {
    font-size: 1.4em; 
    line-height: 1.6; 
    color: #202325;
}
.about-us strong {
    font-weight: bold; 
}




.services {
    width: 1200px;
    padding: 20px;
    /* background-color: #f4f4f4; */
    margin: 0 auto;
}

.services h2 {
    font-weight: bold;
    text-align: center;
    font-size: 2.5em; 
    color: #00796b; 
    position: relative; 
    margin-bottom: 20px;
    transition: color 0.3s, transform 0.3s; 
}
.services h2:hover {
    color: #004d40; 
    transform: scale(1.05); 
}

.services h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px; 
    background-color: #62deee; 
    position: absolute;
    bottom: -10px; 
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s; 
}
.services h2:hover::after {
    width: 70%; 
}

.service-item {
    display: flex;
    align-items: center;
    margin: 20px 0;
    border: 1px solid #b8b6b6;
    padding: 30px;
    border-radius: 5px;
    /* background-color: white; */
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.service-item .reverse {
    flex-direction: row-reverse; 
}
.service-content {
    flex: 1;
    padding: 10px;
}
.reverse .service-content {
    text-align: right;
}
.service-image {
    width: 250px; 
    height: 180px; 
    margin-left: 20px;
    border-radius: 5px;
}
.service-item:nth-child(odd) {
    background-color: #9ce7f3; /* Light Cyan */
}

.service-item:nth-child(even) {
    background-color: #fce2bc; /* Light Orange */
}
.service-item:hover {
    background-color: #7cd0db; 
}

.reverse .service-image{
    margin-left: 0;
    margin-right: 20px;
}

.service-item h3 {
    margin-top: 0;
    font-size: 1.7rem;
    transition: color 0.3s;
    font-weight: bold;
}
.service-item:hover h3 {
    color: #097a7a; 
}
.service-content ul {
    list-style-type: none; 
    padding: 0;
}

.service-content ul li {
    font-size: 1.3rem;
}

.footer{
    background-color: #222;
    color: #fff;
    padding: 15px 0;
    text-align: center;
}
.footer-container{
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}
.footer-text {
    margin: 0; 
}
.social-icons{
    display: flex;
    gap: 15px;
}
.social-icon{
    color: #0bd2e0;
    font-size: 1.5rem;
    transition: color 0.3s;
}
.social-icon:hover{
    color: #1de237;
}



 



/* all media query */
@media (max-width: 1200px){
    .services {
        width: 90%;
    }  
}
@media (max-width: 1024px){
    .services {
        width: 90%;
    }  
}
@media (max-width: 991px) {
    .navbar {
        flex-direction: row; 
        height: auto;
        padding: 5px;
    }
    .navbar .nav-links .nav-link{
        font-size: 18px;
    }
    .navbar .nav-links {
        flex-direction: row; 
        margin-right: 5px;
        gap: 8px; 
    }
    .header-image{
        height: auto;
    }
    .about-us-container {
        /* width: 100%; */
        padding: 10px;
    }
    .about-us {
        width: 90%;
    }
    .description {
        flex-direction: column;
        align-items: center;
    }
    .services {
        width: 90%;
        padding: 10px;
    }
    .service-item {
        width: 90%;
        flex-direction: column;
        align-items: center;
    }
    .service-content h3{
        text-align: center;
    }
    .service-content ul li {
        text-align: center;
    }
    .service-image {
        width: 100%;
        height: 200px;
        margin: 0;
    }
    .reverse .service-image{
        width: 100%;
        margin: 0;
    }
    .footer-container {
        flex-direction: column;
        align-items: center; 
    }

    .footer-text {
        margin-bottom: 10px; 
    }
}


@media (max-width: 768px) {
    .navbar .logo-image {
        height: 60px;
        width: 90px;
    }
    .main-heading {
        font-size: 2em;
    }
    .about-us h3 {
        font-size: 1.5rem;
    }
    .about-us p {
        font-size: 1.2em;
    }
    .services h2 {
        font-size: 2em;
    }
    .service-item {
        padding: 20px;
    }
    .service-item h3 {
        font-size: 1.5rem;
    }
    .footer-container {
        padding: 8px;
    }
    .footer-text {
        font-size: 14px;
    }
    .social-icons {
        flex-direction: row;
        justify-content: center;
    }

    .social-icon {
        font-size: 1.3rem; 
        margin: 5px 0;
    }
}


@media (max-width: 576px) {
    .navbar {
        height: auto;
        padding: 5px;
    }
    .navbar .nav-links a {
        font-size: 14px;
    }
    .header-text {
        position: absolute;
        top: 50%;
        left: 50%;
        text-align: center;
        font-size: 1.4rem;
        padding: 5px;
        /* margin-top: 25px; */
    }
    .main-heading {
        font-size: 1.8em;
    }
    .about-us h3 {
        font-size: 1.2rem;
    }
    .about-us p {
        font-size: 1em;
    }
    .services h2 {
        font-size: 1.8em;
    }
    .service-item {
        padding: 15px;
    }
    .service-item h3 {
        font-size: 1.2rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center; 
    }

    .footer-text {
        margin-bottom: 10px; 
    }
}