@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');


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    /* margin: 0; */
    font-family: "Poppins", sans-serif; 
    font-style: normal;
    background-color: #f4f4f4;
    color: #333;
}

.navbar {
    background-color: #333;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
}
.logo {
    margin-right: 30px; 
}
.logo img {
    height: 70px; 
    width: auto; 
}
.hamburger {
    display: none;
    cursor: pointer;
}
.nav-links {
    display: flex;
    list-style-type: none;   
}

.nav-links li {  
    position: relative;
    margin-left: 20px;
}

.nav-links a {
    font-size: 1.1rem;
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: #575757;
    border-radius: 5px;
}
.dropdown {
    display: none; 
    position: absolute; 
    background-color: #333; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    list-style-type: none;
    padding: 10px 0;
    z-index: 1000;
    opacity: 0; 
    transition: opacity 0.3s ease; 
}
.dropdown.show {
    display: block;
    opacity: 1;
}

.dropdown.show li {
    animation: scaleIn 0.3s forwards;
}
.dropdown li {
    width: 200px; 
}

.dropdown li a {
    color: white; 
    padding: 8px 12px; 
    display: block; 
    transition: background 0.3s;
}

.dropdown li a:hover {
    background: #575757;
}

.dropdown-arrow {
    cursor: pointer;
    margin-left: 1px;
    color: white; 
}
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform:  scale(1);
    }
}

.intro {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    text-align: center;
    padding: 100px 20px;
    min-height: 70vh; 
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden; 
}
.intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/intro_back.jfif'); 
    background-size: cover;                       /* contain */
    background-position: top center; 
    filter: blur(10px); 
    z-index: 1; 
}

.intro p{
    font-size: 5rem;
    width: 900px; 
    font-weight: bold; 
    background: linear-gradient(50deg, #ff0000, #ffcc00);
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); 
    letter-spacing: 2px; 
    margin: 0; 
    padding: 10px;   
    position: relative;
    z-index: 2; 
}





.features {
    background-color: #f8dddd;
    padding: 60px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    margin: auto;
}

.features-wrapper {
    background-image: url('images/feature_back5.jfif');
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    padding: 20px;
}

.features h2 {
    font-size: 2.5rem; 
    color: transparent; 
    background: linear-gradient(90deg, #1f7de9, #e21d51); 
    -webkit-background-clip: text; 
    text-align: center; 
    position: relative; 
    margin-bottom: 30px; 
}

.features h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px; 
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #e0194e;
    border-radius: 5px; 
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature-unique {
    background-color: #fff;
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.feature-unique:hover {
    background-color: #f0f0f0;
}

.faq-title {
    font-size: 1.6rem;
    color: #2173cf;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.arrow {
    transition: transform 0.3s ease;
}

.faq-content {
    max-height: 0; 
    font-size: 1.3rem;
    overflow: hidden; 
    color: #242424;
    line-height: 1.6;
    margin-top: 10px;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

 




.what-we-do {
    padding: 40px;
    text-align: center;
    background-color: #1d1729; 
}

/* .what-we-do h2 {
    margin-bottom: 30px;
    font-size: 2em;
    color: #000000;
} */

.what-we-do h2{
    font-size: 2.5rem; 
    color: transparent; 
    background: linear-gradient(90deg, #0769d8, #ca0b3e); 
    -webkit-background-clip: text; 
    text-align: center; 
    position: relative; 
    margin-bottom: 30px; 
}
.what-we-do h2::after{
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px; 
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #e0194e;
    border-radius: 5px; 
}
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px; 
    transition: transform 0.3s,  box-shadow 0.3s;
    flex-direction: column; 
    justify-content: space-between;
    height: 380px; 
    position: relative; 
    /* overflow: hidden; */
    color: #333;
    /* padding: 10px;  */
}
.card.development {
    background-color: #f9f2f2; 
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.822);
}

.card.marketing {
    background-color: #f2f9f2;
    box-shadow: 0 4px 10px rgba(0, 255, 0, 0.822);
}

.card.maintenance {
    background-color: #f2f2f9; 
    box-shadow: 0 4px 10px rgba(0, 0, 255, 0.822);
}

.card.real-estate {
    background-color: #f9f9f2; 
    box-shadow: 0 4px 10px rgba(255, 255, 0, 0.897);
}

.card.solar {
    background-color: #f2f9f9;
    box-shadow: 0 4px 10px rgba(0, 255, 255, 0.925);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* border-radius: 20px;  */
    z-index: -1; 
    transition: opacity 0.3s;
}

.card.development::before {
    background: linear-gradient(50deg, rgba(255, 0, 0, 0.5), rgba(255, 0, 0, 0));
}

.card.marketing::before {
    background: linear-gradient(50deg, rgba(0, 255, 0, 0.5), rgba(0, 255, 0, 0));
}

.card.maintenance::before {
    background: linear-gradient(50deg, rgba(0, 123, 255, 0.5), rgba(0, 123, 255, 0));
}

.card.real-estate::before {
    background: linear-gradient(50deg, rgba(255, 255, 0, 0.5), rgba(255, 255, 0, 0));
}

.card.solar::before {
    background: linear-gradient(50deg, rgba(0, 255, 255, 0.5), rgba(0, 255, 255, 0));
}

.card:hover {
    transform: translateY(-5px); 
}

.card img {
    width: 100%; 
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
}

.card h3 {
    margin: 15px 5px 10px;
    font-size: 1.5em;
    color: #333; 
}

.card p {
    padding: 0 15px 15px;
    color: #666; 
}





/* .team {
    background-image: url('images/team_back1.jfif');
    background-size: cover; 
    background-position: center;
    background-repeat: no-repeat; 
    padding: 40px 0;
}

.professionals {
    max-width: 1400px;
    margin: 0 auto; 
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background-color: rgba(248, 249, 250, 0.356); 
}

.professionals-title {
    font-size: 2.5rem; 
    color: transparent; 
    background: linear-gradient(90deg, #066add, #cf093e); 
    -webkit-background-clip: text; 
    position: relative; 
    margin-bottom: 20px; 
    font-family: 'Arial', sans-serif; 
}

.professionals-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px; 
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background-color: #e0194e;
    border-radius: 5px; 
}

.carousel-images {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center;
    gap: 20px;
}

.slide {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    flex: 0 1 23%;
    max-width: 20%; 
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s;
}

.slide:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    text-align: center;
    transition: opacity 0.3s;
}

.slide:hover .caption {
    opacity: 1;
} */






.footer {
    background-color: #222;
    color: #fff; 
    padding: 20px 0;
    text-align: center; 
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 0 20px; 
}

.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;
}









@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
        align-items: center; 
    }

    .footer-text {
        margin-bottom: 10px; 
    }
}



@media (max-width: 768px) {
    .nav-links {
        display: none; 
        flex-direction: column; 
        width: 100%;
        position: absolute;
        top: 80px; 
        left: 0;
        background-color: #333;
        z-index: 1000;
        padding: 10px 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links li {
        margin: 10px 0; 
        text-align: right;
    }
    .intro p{
        font-size: 3.5rem;
    }
    .hamburger {
        font-size: 1.5rem;
        display: block;
    }
    .features h2 {
        font-size: 2rem;
    }

    .faq-title {
        font-size: 1.4rem;
    }

    .faq-content {
        font-size: 1.2rem;
    }

    .what-we-do h2 {
        font-size: 2rem; 
    }
  
    /* .professionals-title {
        font-size: 2rem; 
    }

    .professionals {
        padding: 20px 10px;
    } */

    /* .carousel {
        max-width: 80%; 
        margin: 0 auto;
        border-radius: 10px;
    } */
   /* .carousel-images {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    } */

    /* .slide {
        flex: 0 1 90%;
        max-width: 90%;
    } */
    /* .prev, .next {
        font-size: 20px;
    } */

    .social-icons {
        flex-direction: row;
        justify-content: center;
    }

    .social-icon {
        font-size: 1.2rem; 
        margin: 5px 0;
    }
}




@media (max-width: 576px) {
    .features h2 {
        font-size: 1.8rem; 
    }
    .features h2 {
        font-size: 1.8rem; 
    }

    .faq-title {
        font-size: 1.2rem;
    }

    .faq-content {
        font-size: 1rem;
    }

    .what-we-do h2 {
        font-size: 1.8rem; 
    }

    .card {
        width: 100%;
        margin: 0 auto;
        height: auto;
    }
    
    /* .professionals-title {
        font-size: 1.8rem; 
    } */

    .footer-container {
        flex-direction: column;
        align-items: center; 
    }

    .footer-text {
        margin-bottom: 5px; 
    }
}