/*
Theme Name: eTekhnos 2025
Template: twentytwentyfive
Author: eTekhnos
Author URI: https://etekhnos.com
*/

/* Restrict right/left aligned images */
.wp-block-image.alignright,
.wp-block-image.alignleft {
  max-width: var(--wp--style--global--content-size, 100%);
  height: auto;
}

/* Make sure image scales down inside the figure */
.wp-block-image.alignright img,
.wp-block-image.alignleft img {
  max-width: 100%;
  height: auto;
}

/* Spacing for text wrap */
.wp-block-image.alignright {
  margin-left: 1em;
  margin-bottom: 1em;
}
.wp-block-image.alignleft {
  margin-right: 1em;
  margin-bottom: 1em;
}

.alignright,
.single-post .alignright,
.blog .alignright{
    display: inline;
    float: right;
    margin-left: 15px;
}




html {
  scroll-behavior: smooth;
}
.portfolio .wp-block-cover:hover .wp-block-buttons .wp-block-button__link{
    display:block;
    transition: opacity 0.3s ease, transform 0.3s ease!important;
}
.portfolio .wp-block-buttons .wp-block-button__link:hover{
    opacity:1!important;
}
.portfolio .wp-block-button__link{
    display:none;
}
.nounderline a,
.nounderline{
    text-decoration:none!important;
}
.home .wp-site-blocks{
    position:relative;
}
.home .wp-site-blocks>header.wp-block-template-part{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:1;
}

.wp-block-buttons .wp-block-button__link:hover{
    opacity:0.8!important;
}
header.wp-block-template-part nav a{
    padding:15px 0;
    line-height:normal;
}
header.wp-block-template-part .menubtn a{
   background-color:#D85500!important; 
   padding-left:35px!important;
   padding-right:35px!important;
   border-radius:35px;
   color:#fff!important;
   text-decoration:none;
}
.wline:after,
strong.wline:after{
    display:block;
    content:'';
    width:100%;
    height:43.8px;
    background-size:contain;
    background-image:url(../../uploads/2025/09/Line.png);
    background-repeat:no-repeat;
    position:absolute;
    bottom:0;
    left:0;
}
.wline,
strong.wline{
    position:relative;
    padding-bottom:44px;
    display:inline;
}
.strongwithgraphics{
    position:relative;
}
.strongwithgraphics::after{
    position:absolute;
    top:-22px;
    right:-34px;
    content:'';
    display:block;
    width:62px;
    height:44px;
    background-image:url(../../uploads/2025/09/Element.png);
    background-repeat: no-repeat;
}
.wp-block-group.dropbox{
    box-shadow: 0px 14px 34px 0px rgba(216, 85, 0, 0.12)!important;
}
.benefit-card{
    box-shadow: 0px 14px 74px 0px rgba(0, 0, 0, 0.04);
}
.teamcards .wp-block-group .wp-block-group{
    box-shadow: 0px 14px 74px rgba(0, 0, 0, 0.09)!important;
}
.brokenline::after{
    content: '';
    display: block;
    width: 189px;
    height: 88px;
    position: absolute;
    right: -150px;
    top: -50px;
    background-image: url(../../uploads/2025/09/Icon-4.png);
    background-repeat: no-repeat;
    z-index: 0;
}
.listwithcheck li{
    background-image:url(../../uploads/2025/09/5.png);
    background-repeat:no-repeat;
    background-position: center left;
    padding-left:30px;
}
.listwithcheck{
    list-style:none;
    padding-left:0;
}
.brokenline p{
    width:100%;
    max-width:408px;
    z-index:1;
    position:relative;
}
.brokenline{
    max-width:408px;
    width:100%;
    position:relative;
    box-shadow: 0px 7px 14px rgba(0, 0, 0, 0.07)!important;
}
.dollaricon img{
    margin-top:-65px;
}
.groupshadow{
    box-shadow: 0px 24px 64px rgba(39, 115, 180, 0.10)!important;

}
.elevateshadow{
    box-shadow: 0px 24px 64px rgba(39, 115, 180, 0.1);
    border-radius:10px;
    overflow:hidden;
}
footer a{
    text-decoration:none;
}
footer ul.wp-block-social-links a svg{
    padding: 8px;
    border-radius: 50%;
    background-color: #D85500;
}

/* H4 Footer Heading Styles */
footer h4,
.site-footer h4{
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 25px;
    margin-top: 0;
    letter-spacing: 0.5px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 15px;
    display: inline-block; /* This makes the element only as wide as its content */
    width: 100%; /* But still allow it to be full width for layout */
    
}

/* Orange accent line */
footer h4::before{
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #D85500;
    border-radius: 2px;
    z-index: 2;
}

/* White/gray separator line that stops at text end */
footer h4::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0; /* This will respect the inline-block width */
    height: 1px;
    background-color: #fff;
    /* or use #444444 for a darker gray line */
    /* background-color: #444444; */
}

/* Alternative approach using fit-content */
footer.wp-block-template-part h4{
    width: fit-content;
    max-width: 100%;
}

/* Alternative approach using a wrapper span */
footer h4 span{
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

footer h4 span::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #ff6600;
    border-radius: 2px;
    z-index: 2;
}

footer h4 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Dark theme specific */
.dark-footer h4,
.has-dark-background h4 {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Animation for the lines (optional) */
@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 40px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

footer h4.animated::before {
    animation: slideIn 0.5s ease-out forwards;
}

footer h4.animated::after {
    animation: fadeIn 0.8s ease-out forwards;
}



/*PORTFOLIO*/
.et-portfolio--overlay {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.et-featured-portfolio img,
.et-portfolio-item .elevateshadow{
    border:1px solid #ddd5d5;
    max-width:100%;
}
.et-portfolio-item:hover .et-portfolio--overlay {
    opacity: 1;
    visibility: visible;
}

.et-portfolio-item h2{
    color:#fff;
    font-size:20px;
    text-align:center;
}
.et-portfolio-item{
    margin-bottom:30px;
}
.et-portfolio-item>div{
    position:relative;
    
}
.et-portfolio--overlay{
    top:0;
    left:0;
    position: absolute;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    align-items:center;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.45);
}
.portfolio-button{
    width:fit-content;
    border-radius:30px;
        background-color: #d85500;
    border-width: 0;
    color: var(--wp--preset--color--base);
    font-family: inherit;
    font-size: var(--wp--preset--font-size--medium);
    line-height: inherit;
    padding-top: 1rem;
    padding-right: 2.25rem;
    padding-bottom: 1rem;
    padding-left: 2.25rem;
    text-decoration: none;
}
footer .has-global-padding>svg{
    max-width:100%;
}

/* Responsive adjustments */
@media(max-width:1480px){
    .wp-site-blocks>header.wp-block-template-part nav ul.wp-block-navigation__container li a{
        font-size:18px!important;
    }
}
@media(max-width:1380px){
    .wp-site-blocks>header.wp-block-template-part nav ul.wp-block-navigation__container{
        gap:15px;
    }
    .wp-site-blocks>header.wp-block-template-part nav ul.wp-block-navigation__container li a{
        font-size:16px!important;
    }
}
@media(max-width:1280px){
    .wp-site-blocks>header.wp-block-template-part nav ul.wp-block-navigation__container li a{
        font-size:14px!important;
    }
    header .wp-block-site-logo img{
        max-width:250px;
    }
}
@media(max-width:1180px){
    .wp-site-blocks>header.wp-block-template-part nav ul.wp-block-navigation__container li a{
        font-size:13px!important;
    }
    header .wp-block-site-logo img{
        max-width:200px;
    }
}
@media(max-width:1023px){
    .wp-site-blocks>header.wp-block-template-part .wp-block-navigation__responsive-container-open{
        display:flex;
    }
    .wp-site-blocks>header.wp-block-template-part .wp-block-navigation .wp-block-navigation__responsive-container:not(.is-menu-open){
        display:none;
    }
    header.wp-block-template-part .menubtn a{
        padding-top:15px!important;
        padding-bottom:15px!important;
    }
    #homebanner h2{
        font-size:30px!important;
    }
    #homebanner .wp-block-columns>div:last-child .wp-block-cover{
        /*max-width:60%;*/
        padding-left:0!important;
        padding-right:0!important;
    }
    #homebanner .wp-block-columns>div:last-child {
        flex-basis:61%;
    }
}
@media(max-width:1260px){
    .brokenline::after{
        display:none;
    }
    .witharrowcol>div{
        max-width:711px;
    }
    .witharrowcol{
        align-items: center !important;
        flex-direction:column!important;
    }
    .teamcards .wp-block-column >.wp-block-group{
        margin-top:-50px!important;
        padding-left:30px!important;
        padding-right:30px!important;
    }
    .teamcards .wp-block-group .wp-block-group{
        max-width:300px;
    }
}
@media(max-width:781px){
    .alignright, .single-post .alignright, .blog .alignright{
        display: block;
        float: none;
        margin: 0 0 15px;
    }
    .groupshadow .wp-block-columns{
        gap:0!important;
    }
    footer .wp-block-heading.has-text-color{
        margin-top:30px;
    }
    footer.wp-block-template-part > .wp-block-group>div{
        max-width:320px!important;
    }
    footer .wp-block-column> .wp-block-group > .wp-block-columns-is-layout-flex{
        flex-direction:row;
        flex-wrap:nowrap!important;
    }
    footer .wp-block-column> .wp-block-group > .wp-block-columns-is-layout-flex .wp-block-column:first-child{
        flex-basis:20px!important;
    }
    footer .wp-block-image.aligncenter{
            justify-content: flex-start;
    display: flex
    }
    .teamcards:first-child{
        margin-bottom:60px;
    }
    .groupshadow .wp-block-group.is-content-justification-center{
        flex-direction:column;
    }
    #about-etekhnos .wp-block-column>.wp-block-columns .wp-block-column{
        justify-content:center;display:flex;
    }
    .benefit-card{
        max-width:300px;
    }
    .stratpart .wp-block-columns{
        max-width:300px;
    }
    #homebanner .wp-block-columns>div:first-child > div{
        padding-top:0!important;
        padding-bottom:30px!important;
    }
    #homebanner .wp-block-columns>div:last-child .wp-block-cover{
        padding-left:30px!important;
        padding-right:30px!important;
    }
    #homebanner .wp-block-columns{
        flex-direction: column-reverse;
    }
}
@media (max-width: 768px) {
    footer h4{
        font-size: 16px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    footer h4::before {
        width: 35px;
        height: 2px;
    }
}