* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}
.header {
    background-image: linear-gradient(rgba(0,0,0,0.75),rgba(0,0,0,0.75)), url(images/123.jpg);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 200px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links ul li:hover a {
    color: #ffffff;
    transform: scale(1.1);
}


.nav-links ul li::after {
    content: '';
    width: 0;
    height: 2px;
    background-color: #f44336;
    display: block;
    margin: auto;
    transition: width 0.5s ease;
}

.nav-links ul li:hover::after {
    width: 100%;
}


.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 62px;
}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa {
    display: none;
}

@media(max-width: 700px) {
    .text-box h1 {
        font-size: 36px;
    }
    .text-box p {
        font-size: 12px;
    }
    .nav-links ul li {
        display: block;
    }
    .nav-links {
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: right 0.3s ease;
    }
    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul {
        padding: 30px;
    }
    nav.active .nav-links {
        right: 0;
    }
}
.seo {
    background-color: #f4f4f4;
    padding: 50px 0;
    text-align: center;
    margin-top: 40px;
    border-top: 2px solid #ddd;
}

.seo-content {
    width: 80%;
    margin: auto;
}

.seo h2 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.seo p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.seo p strong {
    color: #f44336;
    font-weight: 700;
}

@media(max-width: 768px) {
    .seo h2 {
        font-size: 28px;
    }
    .seo p {
        font-size: 14px;
    }
}

.projects {
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    margin-bottom: 50px;
}

.projects h1 {
    margin-bottom: 20px;
    font-size: 36px;
}

.projects p {
    margin-bottom: 40px;
    font-size: 16px;
    color: #666;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.service-item {
    background-color: #e9e9e9;
    border-radius: 8px;
    text-align: center;
    width: calc(25% - 20px);
    padding: 20px;
    transition: transform 0.3s, background-color 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
    background-color: #d1d1d1;
}

.icon-container {
    margin-bottom: 15px;
}

.icon-container img {
    width: 40px;
    height: 40px;
}

h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

p {
    font-size: 14px;
    color: #666;
}

@media(max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }
    .service-item {
        width: 80%;
        margin-bottom: 20px;
    }
}
.services {
    width: 90%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
    margin-top: 50px;
    margin-bottom: 50px;
}

.services h1 {
    margin-bottom: 20px;
    font-size: 36px;
}

.services p {
    margin-bottom: 40px;
    font-size: 16px;
    color: #666;
}

.row {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
    margin-top: 80px;
}

.services-col {
    flex-basis: 32%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    cursor: pointer;
    text-decoration: none;
}
.services-col h3 a {
    text-decoration: none; 
    color: #fff; 
    transition: color 0.3s ease; 
}

.services-col h3 a:hover {
    color: #fff; 
}


.services-col img {
    width: 100%;
    display: block;
}

.layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
}

.layer:hover {
    background: rgba(226, 0, 0, 0.7);
}

.layer h3 {
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
}

.layer:hover h3 {
    bottom: 49%;
    opacity: 1;
}

@media(max-width: 768px) {
    .row {
        flex-direction: column;
        align-items: center;
    }
    .services-col {
        width: 80%;
        margin-bottom: 20px;
    }
}

.clients {
    width: 90%;
    margin: auto;
    padding-top: 10px;
    text-align: center;
    margin-bottom: 10px;
}

.clients-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.clients-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.clients-col p {
    padding: 0;
}

.clients-col h3 {
    margin-top: 15px;
    text-align: left;
}

.clients-col .fa-solid {
    color: #f44336;
}

@media(max-width: 768px) {
    .clients {
        width: 95%;
    }
    .clients-col {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .clients-col img {
        margin: 0 auto 10px;
    }
}

.cta {
    margin: 100px auto;
    width: 90%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url(images/pexels-designecologist-1005058.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}

.cta h1 {
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

@media(max-width: 768px) {
    .cta h1 {
        font-size: 24px;
    }
}

@media(max-width: 768px) {
    .sub-header h1 {
        font-size: 32px;
    }
}
.footer {
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background-color: grey;
}

.footer h4 {
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;
    color: black;
}
.footer p{
    color: black;
}

.icons a {
    text-decoration: none; /* Removes underline from links */
    margin: 0 13px;
    color: black; /* Ensure the link color is set */
    font-size: 16px; /* Adjust icon size if needed */
    transition: color 0.3s ease; /* Smooth transition on hover */
}
/* Hover Effect */
.icons a:hover {
    color: #f44336; /* Change color on hover */
}

.icons a:hover .fa {
    color: inherit; /* Inherit the hover color from the parent link */
}
.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url(images/pexels-fotoaibe-1643383.jpg);
    background-position: center;
    background-size: cover;
    text-align: center;
    color: #fff;
}
.sub-header h1{
    margin-top: 100px;

}
.about-us{
    width:80%;
    margin: auto;
    padding-top: 80px;
    padding-bottom: 50px;

}
.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}
.about-col img{
    width: 100%;
}
.about-col h1{
    padding-top: 0;
}
.about-col p{
    padding: 15px 0 25px;
}
.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.red-btn:hover{
    color: #fff;
}
.location{
    width: 80%;
    margin:auto;
    padding: 80px 0;
}
.location iframe{
    width: 100%;
}
.contact-us{
    margin: 80%;
    margin: auto;
}
.contact-col{
    flex-basis: 48%;
    margin-bottom: 30px;
}
.contact-col div{
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}
.contact-col div .fa{
    font-size: 40px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}
.contact-col div p{
    padding: 0;
}
.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}
.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;

}
.gallery {
    padding: 50px 0;
    text-align: center;
    background-color: #fafafa;
}

.gallery h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    column-gap: 200px; 
    row-gap: 50px;    
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 120%; 
    max-width: 450%; 
    height:max-content;
    aspect-ratio: 1/1; 
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 24px 40px;
    padding: 20px;
}

.gallery-item img {
    width: 100%; 
    height: auto; 
    object-fit: cover;
    border-radius: 8px; 
}
.nav-links .dropdown {
    position: relative;
    display: inline-block;
}
.nav-links .dropbtn {
    background-color: transparent;
    color: white;
    padding: 14px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    display: block;
}

.nav-links .dropbtn:hover {
    background-color: transparent; 
    color: white; 
}

.nav-links .dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    z-index: 1;
    text-align: left;
}

.nav-links .dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.nav-links .dropdown-content a:hover {
    background-color: #ddd;
    color: black;
}

.nav-links .dropdown:hover .dropdown-content {
    display: block;
}
.show-nav {
    display: flex !important;
}




