@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
*{
    text-align: center;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    overflow-x: hidden;
}
/*Nav style*/
header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 5%;
    width: 100%;
    height: 80px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    box-sizing: border-box; 
}
.nav_bar{
    display: flex;
    align-items: center;
    gap: 60px;
}
nav .icons{
    display: flex;
}
nav .logo_img img {
  width: 150px;
  margin: 0;
}
nav ul{
  display: flex;
  gap: 25px;
  list-style: none;
}
nav ul li a{
    text-decoration: none;
    color: #fff;
    font-size: 18px;
}
nav ul li a:hover,
nav .icons a i:hover{
    color: #F25454;
}
nav .icons a{
    padding: 10px;
}
nav .icons a i {
  cursor: pointer;
  font-size: 22px;
  color: #fff;
}
.menu_toggle {
    display: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/*Home style*/
.section_home{
    height: 100vh;
    width: auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;                
    justify-content: center;
    align-items: center;
    animation: change_background 30s infinite;
    position: relative;
}
.section_home .home_content h1{
    color: #fff;
    font-size: 72px;
    font-weight: bold;
    position: relative;
    max-width: 450px;
}
.section_home .home_content h1::after{
    content: "We Build Great Brands.";
    animation: change_text 30s infinite;
    display: block;
}
@keyframes change_background{
    0%{
        background-image: url(Imgs/slideshow-1.jpg);
    }
    50%{
        background-image: url(Imgs/slideshow-2.jpg);
    }
    100%{
        background-image: url(Imgs/slideshow-3.jpg);
    }
}
@keyframes change_text{
    0%{ content: "We Build Great Brands.";}
    50%{ content: "Focused on Strategy.";}
    100%{ content: "Advanced in digital works.";}
}
@media (max-width: 768px) {
    .section_home .home_content h1 {
        font-size: 35px;
        padding: 0 15px;
    }
}
@media (max-width: 480px) {
    .section_home .home_content h1 {
        font-size: 28px;
    }
}

/*About style*/
.section_about,
.section_our_team{
    margin: 10rem 0;
}
.section_about .about_content .about_title h2,
.section_our_team .our_team_content .our_team_title h2,
.section_services .services_content .services_title h2,
.section_client .client_content .client_title h2,
.section_contact .contact_content .contact_title h2{
    font-family: "Montserrat", sans-serif;
    position: relative; 
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
}
.section_about .about_content .about_title h2::before,
.section_our_team .our_team_content .our_team_title h2::before,
.section_services .services_content .services_title h2::before,
.section_client .client_content .client_title h2::before,
.section_contact .contact_content .contact_title h2::before {
  content: "A";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translate(-50%);
  font-size: 90px;
  font-weight: bold;
  color: rgba(0, 0, 0, 0.05);
  z-index: -1;
}
.section_about .about_content .about_title h2::after,
.section_our_team .our_team_content .our_team_title h2::after,
.section_services .services_content .services_title h2::after,
.section_client .client_content .client_title h2::after,
.section_contact .contact_content .contact_title h2::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #000;
}
.section_about .about_content .about_title p,
.section_our_team .our_team_content .our_team_title p,
.section_services .services_content .services_title p,
.section_client .client_content .client_title p,
.section_contact .contact_content .contact_title p{
    font-family: "Roboto", sans-serif;
    color: #999999;
    font-size: 1.2rem;
    width: 60%;
    margin: 20px auto;
    padding: 0;  
}
.section_about .about_content .about_info .about_paragraphs p{
    font-size: 16px;
    color: #999999;
    text-align: left;
}
.about_paragraphs{
    width: 55%;
    margin: 20px 0px 0 50px;
}
.about_info{
    display: flex;
}
.about_info .about_percentage{
    width: 40%;
    margin: 30px 5px 20px 10px;
}
.about_percentage .percentage{
    justify-content: space-between;
    display: flex;
}
.about_percentage .percentage .text {
  font-size: 16px;
}
.about_percentage .percentage .percent{
  font-size: 16px;
  color: #999999;
}
.bar {
  margin-bottom: 15px;
  width: 100%;
  height: 4px;
  background: #ddd;
  border-radius: 10px;
  margin-top: 8px;
}
.bar .progress {
  height: 100%;
  background: #e63946;
  border-radius: 10px;
}
.p80 { width: 80%; }
.p95 { width: 95%; }
.p85 { width: 85%; }
.p70 { width: 70%; }

h3,h4{
    font-family: "Montserrat", sans-serif;
}
.section_our_team .our_team_content .our_team_title h2::before {
 content: "O";
}
p,.contact-us-btn{
    font-family: "Roboto", sans-serif;
}
.title-section h2{
    margin-bottom: 10px;
}
p{
    color: #999999;
}
.card h3{
    margin-bottom: 10px;
    transition: 0.3s;
}
.card h4{
    font-weight: 400;
    margin-top: 0;
}
.card-img {
    position: relative;
    width: 250px;
    height: 300px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 15px;
}
.card-img img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 4px;
    transform: scale(1);object-fit: cover;
}
.cards .card{
    margin-top: 25px;
    padding: 10px;
    display: block;
    flex: 0 1 280px;
}
.cards {
    display: flex;
    flex-wrap: wrap; 
    justify-content: center; 
    gap: 20px; 
    width: 100%;    

}
.contact-us{
    display: flex;
    align-items: center;
    gap: 50%;
    margin: 2% 0 0 15% ;
}
.contact-us h3{
    font-weight: 500;
}
#contact-us-btn{
    color: white;
    background-color: #F25454;
    height: 40px;
    width: 100px;
    border: none;
    border-radius: 3px;
}
.hover-card{
    position: absolute;
    inset: 0;
    background-color: #F25454;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    align-content: center;
}
.hover-card i {
    color: #fff;
    font-size: 15px;
    padding: 5px;
}
.card-img:hover .hover-card {
    opacity: 0.7;
}
.card:hover h3{
    color: #F25454;
}
.card:hover .card-img img {
    animation: zoomIn 0.4s ease forwards;
}
@keyframes zoomIn {
    from { transform: scale(1); }
    to   { transform: scale(1.15); }
}
@keyframes zoomOut {
    from { transform: scale(1.15); }
    to   { transform: scale(1); }
}


/*Services style*/
.section_services{
    background-color: #FAFAFA;
    position: relative;
    padding: 50px 0 ;
    z-index: 1;
}
.section_services .services_content .services_title h2::before{
    content: "S";
}
.service-icon {
    margin-right: 20px;
}
.services_container .services .service-text p {
    font-size: 14px;
    color: #999;
}
.services_cards_container {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.services_container {
    margin-bottom: 30px;
    width: 90%;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.services {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    flex: 1;
}
.services_container .services .service_icon i {
    color: #F25454;
    font-size: 40px;
    margin-top: 10px;
}
.service_text h3 {
    text-align: left !important;
    margin: 0;
}
.service_text p {
margin: 0;
    color: #999;
    text-align: left !important;
}
.service_text h3:hover {
    color: #F25454;
}

/*Client style*/
.section_client{
    margin-top: 100px;
}
.section_client .client_content .client_title h2::before{
    content: "c";
}

.client_info .client_img{
    display: inline;

}
.client_info .client_img img{
    width: 110px;
    height: 110px;
    border-radius: 55px;
    border: #F25454 solid 3px;
    margin: 50px 0 20px 0;
}
.dynamic-review #client_name::after {
    content: "";
    animation: changeName 15s infinite;
    color: #333;
    font-weight: bold;
}
.dynamic-review #client_cont::after {
    content: "";
    animation: changecont 15s infinite;
    color: #999;
}
.dynamic-review #client_desc::after {
    content: "";
    animation: changedesc 15s infinite;
    display: block;
    min-height: 80px; 
    font-size: 21px;
    width: 50%;      
    margin: 0 auto;  
    white-space: normal; 
}
@keyframes changeName {
    0%, 20% { content: "Martin Jack"; }
    21%, 40% { content: "David Dowsy"; }
    41%, 60% { content: "Dogals Kosta"; }
    61%, 80% { content: "Anthony Lee"; }
    81%, 100% { content: "Jane Doris"; }
}
@keyframes changecont {
    0%, 20% { content: "From Hooli"; }
    21%, 40% { content: "From Globex"; }
    41%, 60% { content: "From Soylent"; }
    61%, 80% { content: "From Initech"; }
    81%, 100% { content: "From Acme"; }
}
@keyframes changedesc {
    0%, 20% { content: "Aenean sit amet est orci. Aenean at nisi eget nulla lobortis commodo. Nam eget lorem in ex aliquam dapibus."; }
    21%, 40% { content: "Suspendisse non velit lacus. Mauris efficitur lorem a justo semper, ut suscipit ligula malesuada. Donec dui nulla."; }
    41%, 60% { content: "Vestibulum lectus massa, volutpat ut tristique nec, volutpat in turpis. In vehicula tempus odio. Nullam enim ligula."; }
    61%, 80% { content: "Nunc accumsan finibus sollicitudin. Integer malesuada purus sapien, sit amet volutpat sem fringilla ut."; }
    81%, 100% { content: "Fusce euismod eget nulla a tempus. Pellentesque in varius metus. Fusce iaculis cursus ante, vel vestibulum dui sagittis."; }
}

/*Contact style*/
.section_contact .contact_content .contact_title h2::before{
    content: "G";
}
.section_contact{
    background-color: #FAFAFA;
    position: relative;
    padding: 50px 0;
    z-index: 1;
    margin-top:100px;
}
.contact_info{
    display: flex;
}
.contact_info .contact{
    width: 50%;
}
.contact_info .contact_form input{
    width: 50%;
    display: flex;
    height: 50px;
    width: 600px;
    text-align: left !important;
    color: #CCD0DB;
    padding-left: 15px;
    border: #CCD0DB solid 2px;
}
.contact_container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    width: 85%;
    margin: 50px auto;
}
.contact_info_text {
    flex: 1;
    text-align: left;
}
.contact_info_text h3 {
    text-align: left;
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}
.info_box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}
.info_icon i {
    color: #F25454;
    font-size: 22px;
    margin-top: 5px;
}
.info_text h4 {
    margin: 0;
    font-size: 18px;
    text-align: left;
}
.info_text p {
    text-align: left !important;
    margin: 5px 0 0 0;
    color: #666;
}
.contact_form {
    flex: 1.2;
}
.contact_form input, 
.contact_form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    text-align: left;
    box-sizing: border-box;
}
.contact_form input::placeholder, 
.contact_form textarea::placeholder {
    text-align: left;
    color: #999;
}
.btn_send {
   background-color: #ef9b9b;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    float: left; 
    display: flex;
    align-items: center;
    gap: 10px;
}

/*Footer style*/
.main_footer {
    background-color: #2d2c2c;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); 
    color: #999;
    padding: 80px 0 30px 0;
}
.footer_container {
    width: 85%;
    margin: 0 auto;
    text-align: left !important;
}
.footer_logo {
    text-align: center !important;
    margin-bottom: 50px;
}
.footer_content {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}
.footer_column {
    flex: 1;
    min-width: 220px;
    text-align: left !important;
}
.footer_column h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 25px;
    text-align: left !important;
    display: block;
}
.footer_column p, .footer_column ul li {
    text-align: left !important;
    line-height: 1.8;
}
.footer_column p a{
    color: #999;
    text-decoration: none;
}

.footer_links {
    list-style: none;
    padding: 0;
}
.footer_links a {
    color: #999;
    text-decoration: none;
}
.footer_links a:hover,
.footer_column p a:hover{
    color: #F25454;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tag {
    border: 1px solid #444;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 4px;
}
.tag:hover{
    color: #F25454;
    border: 1px solid #F25454;
}
.footer_bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.social_icons a {
    color: #fff;
    margin-right: 20px;
    font-size: 16px;
    text-decoration: none;
}
.social_icons a:hover{
    color: #F25454;
}
.copyright {
    font-size: 14px;
    color: #999;
}


@media (max-width: 992px) {
    .menu_toggle {
        display: block;
    }
    .nav_bar {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
        display: none; 
    }
    .nav_bar.active {
        display: flex;
    }
    nav ul {
        flex-direction: column;
        gap: 15px;
        align-items: center; 
    }
    nav .icons {
        display: none !important;
    }
    .about_info {
        flex-direction: column;
        align-items: center;
    }
    .about_paragraphs, .about_info .about_percentage {
        width: 90%;
        margin: 20px auto;
    }
    .about_paragraphs p {
        text-align: center; 
    }
    .services_container {
        flex-direction: column;
        width: 100%;
        padding: 0 5%;
    }
    .contact_container {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }
    .contact_info_text, .contact_form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .section_home .home_content h1 {
        font-size: 42px;
    }
    .section_home .home_content h1::after {
        font-size: 42px;
    }
    .contact-us {
        flex-direction: column;
        gap: 20px;
        margin-left: 0;
        text-align: center;
    }
    .section_about .about_content .about_title h2,
    .section_our_team .our_team_content .our_team_title h2 {
        font-size: 2rem;
    }
    .cards {
        flex-direction: column;
        align-items: center;
    }
    .cards .card{
        flex: 0 1 90%;
        max-width: 350px;
    }
   .dynamic-review #client_desc::after {
        font-size: 16px;
        width: 95%;      
        min-height: 120px; 
    }
    .footer_bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section_home .home_content h1 {
        font-size: 32px;
    }
    .btn_send {
        width: 100%;
        justify-content: center;
        float: none;
    }
    .footer_column {
        min-width: 100%;
    }
}
