@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Red Hat Display";
}

.yellow{
    color: yellow !important;
}
.logo {
    background-color: #ffffffd1;
}
.logo img {
    filter: invert(1);
    height: 3rem;

    mix-blend-mode: difference;
}



.container{
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow-x: hidden;
    
}

.new_hero{
    height: 100vh;
    width: 100%;
    /* border: 2px solid black; */
    position: relative;
}

.f_image{
    position: absolute;
    top: calc( 5vh + 5rem);
    right: -5rem;
    width: 60%;
}
.f_image img{
    width: 100%;
}

.t_left{
    position: absolute;
    width: 40rem;
    height: 55rem;
    top: -20rem;
    left: -40rem;
    transform: rotate(60deg);
    background: url(../assets/divinethedevelopers_hero.png), rgba(55, 55, 55, 0.127);
    background-size: cover;
    background-blend-mode: overlay;
    background-position: center;    border-radius: 10rem;

}
.b_left{
    position: absolute;
    width: 40rem;
    height: 55rem;
    bottom: -40rem;
    left: -40rem;
    transform: rotate(-160deg);
    background: url(../assets/divinethedevelopers_hero.png);
    background-size: cover;
    background-position: center;
     border-radius: 10rem;

}

.hero_text{
    position: absolute;
    color: #222;
    margin-top:  calc(5% + 5vh + 5rem);
    padding: 5vw;
    width: 55%;
 
}

.hero_text h1{
    font-size: 4rem;
    font-weight: 300;
    margin-top: 2rem;
    text-transform: capitalize;
}
.p{
    margin-top: 4rem;
    font-weight: 200;
    font-size: .9rem;
    line-height: 1.5rem;
}
.hero_text .btn{
    margin-top: 4rem;
    
}
.bg1{
    margin-top: -10vh;
    margin-left: -10vw;
    height: 125vh;
    width: 125vw;
    position: absolute;
    left: 0;
    right: 0;
     background: url(../assets/Screenshot\ 2025-01-12\ at\ 6.16.14\ PM.png);
    background-size: cover;
    background-position: center;
     background-repeat: no-repeat;
    opacity: .2;
    transition: 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  


}
.cart {
    position: relative;
}
.cart a {
    color: white;
    text-decoration: none;
}
.cart a:hover {
    color: white;
}
.cart-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 200px;
    z-index: 1000;
    margin-top: 10px;
}
.cart-dropdown.show {
    display: block;
}
.cart-content {
    padding: 15px;
}
.empty-cart-message {
    color: #666;
    text-align: center;
    margin: 0;
    font-size: 0.9em;
}
.cart-dropdown:before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.bg1.active{
    opacity: 1;
    margin-top: 0vh;
    margin-left: 0vw;
    height: 100vh !important;
    width: 100vw !important;
}
.bg1_c{
    height: 100%;
    width: 100%;
    background: #e8e8e8;
    position: absolute;
    left: 0;
    top: 0;
    transition: 1s ease-in-out;
    z-index: -1;
}

.bg1_c.active{
    background: #e8e8e800;


}

.text_section{
    position: absolute;
    right: 0;
    bottom: 0;
    height: 50%;
    width: 42%;
     display: flex;
    flex-direction: column;
     padding-left: 2%;

}

.text_section h4{
    font-size: 4rem;
}

.text_section h6{
    font-size: 400;
    margin-top: 3rem;
    font-size: 1.3rem;
}
.line{
    width: 5rem;
    height: 5px;
    background: rgba(128, 128, 128, 0.386);
    border-radius: 1rem;
    margin-top: 3rem;
}

.mockup{
    margin-top: 10vh;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: max-content;
}

.sec{
    padding: 6vw;


}
.mockup h1{
    font-size: calc(3vw + 1rem);
    line-height: calc(4vw + 1rem);
}
.mockup .sec ul li, .normal_text{
    font-size: 1rem;
    line-height: 1rem;
    margin-top: .8rem;
    font-weight: 200;
}
strong{
    font-weight: 400 !important;
}
h1 span{
    color:  #fa709a;
    font-size: 3.7rem;
}

.mockup img{
    width: 70%;
}

.sec button{
    padding: 1.2rem 3rem;
    margin-top: 2rem;
}
.sec{
     padding: 2vw;
}

.sec h2{
    font-size: 4.5rem;
    line-height: 4.5rem;
    color: #fa709a;
}

.bottom{
    width: 100%;
    position: absolute;
    bottom: -7rem;
    left: 0;
}

.templates{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10rem;

}

.templates .template {
    height: 30rem;
    width: 20rem;
     margin: 3rem;
    position: relative;
    margin-top: 6rem;
    cursor: pointer;
 
 }

.t_scroll {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: start; /* Align image to the top initially */
    overflow: hidden; /* Ensures the image doesn't spill out of the container */
    transition: .6s cubic-bezier(0.455, 0.03, 0.515, 0.955);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.046);
}

.template:hover .t_scroll{
    height: 110%;
    width: 110%;
    margin-left: -5%;
    margin-top: -5%;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);


 
}

.templates{
    padding: 4rem 2rem;
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

.partners{
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-wrap: wrap;

}

.partners img{
    width: 20%;
 }
@media (max-width: 768px) {

    .partners{
        flex-wrap: wrap;
     }
    .partners img{
        width: 40%;
    }
}
.templates h2 {
    font-size: 4.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #222;
    line-height: 4.5rem;
}
.article_name{
    position: absolute;
    bottom: -3rem;
    width: 100%;
    text-align: center;
    font-weight: 300;
    opacity: 1;
    color: #222;
    background: rgba(255, 255, 255, 0);
}
.mt6{
    margin-top: 12rem;
}
.template-intro {
    text-align: center;
    color: #666;
    max-width: 600px;
    margin: 0 auto 5rem;
    line-height: 1.6;
    font-size: 1rem;
    font-weight: 200;
}

.t_scroll img {
    position: absolute;
    width: 100%; /* Scale image to container width */
    height: auto; /* Maintain aspect ratio */
    transform: translateY(0); /* Start at the top */
    transition: transform 8s cubic-bezier(0.455, 0.03, 0.515, 0.955); /* Smooth transition on hover */
}

.template:hover .t_scroll img {
    transform: translateY(calc(-100% + 30rem)); /* Scroll to the bottom */
}



.template h4{
    position: absolute;
    bottom: -3rem;
    width: 100%;
    text-align: center;
    font-weight: 300;
    opacity: 1;
    color: #222;
    background: rgba(255, 255, 255, 0);
    padding: 1rem;
    background: rgba(255, 255, 255, 0);
    transition: 2s cubic-bezier(0.215, 0.610, 0.355, 1);

  
}

.template:hover h4{
    opacity: 0;
    bottom: 2rem;
    background: white;
    color: white;

}
.gif{
    background: white;
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gif img{
    width: 10rem;
}

.gif.active{
    opacity: 0;
}
.cen{
    display: flex;
    align-items: center;
    justify-content: center;
}
.see_more{
    margin-top: 5rem;
    margin-bottom: 5rem;
}

.ft span{
    background: #222;
    color: white;
    padding: .5rem 1rem;
    border-radius: .5rem;
    padding-left: 1.7rem;
    padding-top: .7rem;
    padding-right: .2rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.why-choose-us {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
}

.why-choose-us h2 {
    font-size: 4.5rem;
    font-weight: 300;
    text-align: center;
    color: #222;
    margin-bottom: 5rem;
    line-height: 4.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    padding: 0 2rem;
}

.benefit {
    position: relative;
    padding: 2rem;
    transition: transform 0.3s ease;
}

.benefit:hover {
    transform: translateY(-5px);
}

.benefit h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fa709a;
    margin-bottom: 1.5rem;
}

.benefit p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    font-weight: 200;
}

/* Responsive Design */
@media (max-width: 768px) {
    .invisible{
        opacity: 0;
    }
    .hero_text{
        width: 100%;
        padding: 2rem;
    }
    .hero_text h1{
        font-size: 2.5rem;
    }
    .hero_text .btn{
        margin-top: 2rem;
    }
    .mockup{
        flex-direction: column;
         margin-top: -7vh;
        z-index: 1;
    }
    .mockup img{
        width: 100%;
    }
    .b_left{
        z-index: 0;
        display: none
    }
    .sec{
        padding: 2rem;
    }
    .sec h1{
        font-size: 2.5rem;
        line-height: 3.3rem;
    }
    .sec button{
        padding: 1rem 2rem;
    }

    .why-choose-us {
        padding: 4rem 1rem;
    }

    .why-choose-us h2 {
        font-size: 3rem;
        line-height: 3.2rem;
        margin-bottom: 3rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
    }

    .benefit {
        padding: 1.5rem;
    }

    .benefit h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

   


  
    
    
}
