/* --------------------------------- */
/* Css Styles                        */
/*---------------------------------- */

/**
	Stephens - Portfolio Template 
	Author : TavillaThemes
	Copyright 2016

/* Table of Content
==================================================
	
	1. Body and Core Css
	2. Home Section
	3. About Section
	4. Portfolio Section
	5. Contact Section
	6. Responsive
	7. Slider & Video Home


/*------------------------ 1 Body and Core Css ------------------------*/		

body{
	font-family: 'Montserrat', sans-serif;
}

html{
	height: 100%;
}

p{
    font-size: 13px;
    color: #777777;
    line-height: 24px;
    font-family: 'Poppins', sans-serif;
 }


nav{
    position: fixed; 
    background: #fff;
    z-index: 1000;
    width: 100%;
    padding: 30px;
    display: none;
    -webkit-box-shadow: -5px 10px 12px -10px rgba(201,201,201,0.67);
    -moz-box-shadow: -5px 10px 12px -10px rgba(201,201,201,0.67);
    box-shadow: -5px 10px 12px -10px rgba(201,201,201,0.67);
}

.nav-menu{
    float: right;
    line-height: 32px;
}

nav ul li{
    float: left;
    margin-right: 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

nav ul li a{
    color: #000;
}

nav ul li a:hover{
    color: #afafaf!important;
}

.logo{
    float: left;
}

 .responsive{
    display: none;
    font-size: 23px;
}
    
.active{
    color:#afafaf;
}


footer{
    background: #000;
    padding: 90px 0;
    margin-top:90px;
    text-align: center;
}

footer p{
    line-height: 20px;
    margin-top: 20px;
}

.site-button:focus{
    outline: 0;
}

.nav-menu li a:focus{
    color: #000;
} 

.ok{
    background: green !important;
    border: solid 2px green !important;
    color: white;
} 

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

.form-inp.reqError, .contact-form textarea.reqError {
    border-color: #f00;
}

.content{
    margin-top: 60px;
}

.subpage-nav{
    display:block !important; 
    position: relative;
}

.page-title{
   display: table-cell;
   vertical-align: middle;
   text-align: center;
   z-index: 2;
   position: relative;
}

.page-title h1{
   font-size: 75px;
   color: #fff;
   font-weight: bold;
   letter-spacing: -3px;
   margin-bottom: 20px;
}


/* Margins */

.top_15{
    margin-top: 15px;
}

.top_30{
    margin-top: 30px;
}

.top_45{
    margin-top: 45px;
}

.top_60{
    margin-top: 60px;
}

.top_90{
    margin-top: 90px;
}

.top_120{
    margin-top: 120px;
}

.padding_30{
   padding: 30px 0; 
}

.padding_45{
   padding: 45px 0; 
}

.padding_60{
   padding: 60px 0; 
}

.padding_90{
   padding: 90px 0; 
}

.bottom_15{
    margin-bottom: 15px;
}

.bottom_30{
    margin-bottom: 30px;
}

.bottom_45{
    margin-bottom: 45px;
}

.bottom_60{
    margin-bottom: 60px;
}

.bottom_90{
    margin-bottom: 90px;
}

.bottom_120{
    margin-bottom: 120px;
}

.padbot_15{
    padding-bottom: 15px;
}

.padbot_30{
    padding-bottom: 30px;
}

.padbot_45{
    padding-bottom: 45px;
}

.padbot_60{
    padding-bottom: 60px;
}

.padbot_90{
    padding-bottom: 90px;
}

.padbot_120{
    padding-bottom: 120px;
}

/*preloader */

#preloader {
    background-color:#000;
    position: fixed;
    top:0;
    left:0;
    width: 100%;
    height: 100%; 
    z-index: 10000;
    display:table;
    text-align: center;
}

.spinner {
    margin:auto;
    text-align: center;
    display:table-cell;
    vertical-align:middle;
} 

@-webkit-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@-webkit-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@-moz-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@-ms-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@-moz-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@-webkit-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@-o-keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
@keyframes uil-ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 0;
    margin: 0 0 0 0;
  }
  33% {
    width: 44%;
    height: 44%;
    margin: -22% 0 0 -22%;
    opacity: 1;
  }
  100% {
    width: 88%;
    height: 88%;
    margin: -44% 0 0 -44%;
    opacity: 0;
  }
}
.uil-ripple-css {
  background: none;
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.uil-ripple-css div {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  width: 0;
  height: 0;
  opacity: 0;
  border-radius: 50%;
  border-width: 12px;
  border-style: solid;
  -ms-animation: uil-ripple 2s ease-out infinite;
  -moz-animation: uil-ripple 2s ease-out infinite;
  -webkit-animation: uil-ripple 2s ease-out infinite;
  -o-animation: uil-ripple 2s ease-out infinite;
  animation: uil-ripple 2s ease-out infinite;
}
.uil-ripple-css div:nth-of-type(1) {
  border-color: #fff;
}
.uil-ripple-css div:nth-of-type(2) {
  border-color: #fff;
  -ms-animation-delay: 1s;
  -moz-animation-delay: 1s;
  -webkit-animation-delay: 1s;
  -o-animation-delay: 1s;
  animation-delay: 1s;
}


/*------------------------ 2 Home ------------------------*/		

.home{
    background:url(../images/home.jpg) bottom center;
    width: 100%;
    display: table;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
}

.diag .home{
    background: url(../images/home-2.jpg) 50% 50% fixed;
    background-size: cover;
}

.home-content{
   display: table-cell;
   vertical-align: middle;
   text-align: center;
   z-index: 2;
   position: relative;
}

.home-content h1{
   font-size: 75px;
   color: #fff;
   font-weight: bold;
   letter-spacing: -3px;
   margin-bottom: 20px;
}

.home:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.social{
    height: 30px;
}



.social a{
    color: #fff;
    font-size: 15px;
    margin:0 15px;
    transition: all ease 0.3s;
}


.social a:hover{
    transition: all ease 0.3s;
    opacity: 0.5;
}


.home-down {
    color: #fff;
    font-size: 40px;
    padding-top: 40px;
    padding-left: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}


.home-down:hover{
    color: #fff;
	transition:all 0.3s ease;
}

.home-down:focus{
    color: #fff;
}

/* arrow css3 animation */

@-webkit-keyframes bounce {
	 0%, 100% {-webkit-transform: translateY(0);} 
	 50% {-webkit-transform: translateY(-20px);}
}
 
@-moz-keyframes bounce {
	 0%, 100% {-moz-transform: translateY(0);}
	 50% {-moz-transform: translateY(-20px);}
}
 
@-o-keyframes bounce {
	 0%, 100% {-o-transform: translateY(0);}
	 50% {-o-transform: translateY(-20px);}
}

@keyframes bounce {
	 0%, 100% {transform: translateY(0);}
	 50% {transform: translateY(-20px);}
}
 
 .bounce {
	 -webkit-border-radius:50%;
	 -moz-border-radius:50%;
	 -ms-border-radius:50%;
	 border-radius:50%;
	 animation: bounce 2s infinite;
	 -webkit-animation: bounce 2s infinite;
	 -moz-animation: bounce 2s infinite;
	 -o-animation: bounce 2s infinite;
}

.diagonal{
    position: absolute;
    left: 0;
    bottom: 0;
    pointer-events: none;
    background: #fff;
    float: left;
    z-index: 1000;
}

.diagonal-gray{
    position: absolute;
    left: 0;
    bottom: 0;
    pointer-events: none;
    background: #fff;
    float: left;
    z-index: 100;
    margin-top: 90px;
}

.diagonal-gray path {
       fill: #f5f5f5;
}

.diagonal-white{
    background: #f5f5f5;
    margin-bottom: -6px;
    margin-top: 60px;
}

.diagonal-white path {
    fill: #fff;
    stroke: #f5f5f5;
    stroke-width: 0;
}

.diagonal.home-left{
    position: absolute;
    bottom: 0;
    left: 0;
    background: none;
    z-index: 99;
}

.diagonal.home-right{
    position: absolute;
    bottom: 0;
    right: 0 !important;
    background: none;
    z-index: 99;
    left: auto;
}

.diagonal.home-left, .diagonal.home-right path {
    fill: #f5f5f5;
    stroke: #f5f5f5;
    stroke-width: 4;
}

.diag p{
    font-size: 15px;
    color: #748182;
    line-height: 28px;
}

.diag .section-title.dleft{
    text-align: left;
    padding: initial;
}

.diag .section-title.dleft .portfolio_filter ul{
    float: left;
}

.diag .section-title.dright{
    text-align: right;
    padding: initial;
}

.diag section{
    position: relative;
}

.diag .contact .contact-info li{
    line-height: 36px;
    font-size: 14.5px;
    color: #414141;
    text-align: left;
    list-style: none;
}

.diag .page-title.sub{
    font-size: 23px;
    text-align: right;
    width: 100%;
    float: right;
}

.diag .page-title.sub h5{ 
        font-weight: bold;
    line-height: 30px;
    padding-bottom: 15px;
}

.diag .social-icons a {
    color: #000;
    font-size: 13px;
    width: 26px;
    height: 18px;
    display: inline-block;
}

.diag .home-content h1{
    text-align: left;
}

.diag .home-content .social{
    text-align: left;
}

.diag .home-content .home-down.bounce{
    float: left;
    padding: 50px 74px 0;
}

.social-icons a:hover {
    font-size: 15px;
}

.fb:hover{
    color: #3b5998!important;
    transition: all ease 0.1s;
}

.tw:hover{
    color: #55acee!important;
    transition: all ease 0.1s;
}

.ins:hover{
    color: #cd486b!important;
    transition: all ease 0.1s;
}

.bh:hover{
    color: #1769ff!important;
    transition: all ease 0.1s;
}

.dr:hover{
    color: #ea4c89!important;
    transition: all ease 0.1s;
}


.sitebtn{
    border: solid 2px #dfdfdf;
    background: none;
    font-size: 13px;
    padding:9px 11px;
    text-align: left;
    min-width: 140px;
    line-height: 17px;
    transition: all ease 0.3s;
    color:#000; 
}

.sitebtn:after{
    font-family: FontAwesome;
    content: "\f178";
    color: #000;
    float: right;
}

.sitebtn:focus{
    border: solid 2px #000;
}

.sitebtn:hover{
    background: #000;
    color: #fff;
    border-color: #000;
    transition: all ease 0.3s;
}

.sitebtn:hover:after{
    color: #fff;
}

.sitebtn:focus{
    border: solid 2px #dfdfdf;
}


/*------------------------ 3 About ------------------------*/	

.about.type-1 .about-image{
    padding-bottom: 70px;
    background: #e8e8e8;
}

.about.type-1 .about-image img:before{
    background: #e4e4e4; 
}

.about.type-1 .about-image img{
    width: 100%;
    box-shadow: 0px 0px 85px 0px rgba(0, 0, 0, 0.14);
    margin-top: -15%;
    margin-left: calc(15% - 15px);
}

.about.type-1.vertiqal .about-image img{
    width: 100%;
    box-shadow: 0px 0px 85px 0px rgba(0, 0, 0, 0.14);
    margin-top: -15%;
    margin-left: -15%;
}

.diagonal-title h5{
    padding-bottom: 20px;
    font-size: 25px;
    line-height: 31px;
}

.diagonal span{
    font-size: 15px;
    color: #b3b3b3;
    letter-spacing: 3px;
    margin-bottom: 5px;
    display: block;
}

.about{
    padding-top:90px;
 }   

.diag .about{
    position: relative;
 } 

.about-image img{
    width: 100%;
 }   


.work-areas{
    width: 100%;
    display: inline-block!important;
}

.work-areas .area .icon i:before{
    font-size: 40px;
    margin-left: 5px;
}

.work-areas .area .icon i{
    display: inline-block;
}

.work-areas .area .icon {
    width: 20%;
    float: left;
}

.work-areas .area .text {
    width: 80%;
    float: left;
}

.work-areas .area .text h6{
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.work-areas .area .text p{
    font-size: 13px;
    line-height: 24px;
}


.about h2{
    font-size: 23px;
    line-height: 30px;
 } 

.about-text{
    display: table;
    height: 407px;
 } 

.out{
    display: table-cell;
   vertical-align: middle;
 } 

.typed-cursor{
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}
@keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}


.gray-bg{
    margin-top: 90px;
    background: #f5f5f5; 
}

.dgray-bg{
    background: #f5f5f5; 
}

.what-can{
    padding: 90px 0;
}

.what-can .feature{
    text-align: center;
    margin-bottom: 30px;
}

.what-can .feature i{
    font-size: 40px;
}

.what-can .feature h3{
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 11px;
}

.what-can .feature p{
    line-height: 20px;
}



/*------------------------ 4 Portfolio ------------------------*/	


.section-title{
    text-align: center;
    padding: 90px 0 60px 0;
}

.section-title h2{
    font-size: 23px;
    font-weight: bold;
}

.section-title p{
    line-height: 20px;
}

.portfolio_filter{
    text-align: center;
    padding-top: 15px;
}

.portfolio_filter ul{
    margin: auto;
    display: inline-block;
}

.portfolio_filter ul li{
    font-size: 14px;
    color: #777777;
    font-family: 'Poppins', sans-serif;
    float: left;
    margin-right: 15px;
    list-style: none;
    cursor: pointer;
}

.single_item {
    margin-bottom: 10px;
    text-align: center;
    display:inline-block;
    margin:0 auto;
}

.single_item img{
    image-orientation: center;
    width: 300px;
    height: auto;
    transition: all ease 0.3s;
}

.single_item img:hover {
  background: #ffffff;
  transition: all ease 0.3s;
  box-shadow: 0px 16px 22px 0px rgba(90, 91, 95, 0.3);
  top: -5px;
}

.select-cat{
    color:#000 !important;
}

.popup-youtube {
    position: relative;
}

.popup-youtube i{
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    background: rgba(0, 0, 0, 0.66);
    padding: 28px 29px;
    color: #fff;
    margin: -31px;
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
}



/*------------------------ 5 Blog ------------------------*/

.blog-image img{
    width: 100%;
}

.blog-content{
    margin-bottom:60px;
}

.blog h1{
    font-size: 20px;
    line-height: 24px;
    margin: 25px 0 13px 0;
    color: #000;
    font-family: 'Montserrat', sans-serif;
}

.blog-info{
    font-size: 12px;
    font-weight: 400;
    color: #b9b9b9;
    margin-top: 20px;
    display: inline-block;
}

.blog .site-button{
    margin:0 auto 60px;
    display: table;
}

.blog-single h1 {
     font-size: 22px;
    line-height: 24px;
    margin: 25px 0 12px 0;
    color: #000;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.blog-single .blog-detail{
    font-size: 13px;
    color: #b9b9b9;
    margin-bottom: 30px;
}

.blog-single .blog-detail span{
    color: #000;
}

.blog-single blockquote {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 24px;
    color: #000;
    border-left: 4px solid #000;
    padding-left: 20px;
    margin: 40px 0;
}

.blog-single ul.list-style {
    padding: 30px;
    line-height: 24px;
}

.blog-single ul.list-style li {
    font-size: 14px;
    list-style: circle;
}

.lightbox-image img{
    width: 100%;
    padding-bottom: 30px;
}

.blog-single .post-lightbox{
    padding: 30px 0 0;
 }

.subtitle {
     font-size: 22px;
    line-height: 24px;
    margin: 25px 0 30px 0;
    color: #000;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.post-comment {
    float: left;
}

ul.post-comment li {
    width: 100%;
    float: left;
    border-bottom: 1px solid #efefef;
    padding: 15px 0;
    list-style: none;
}

ul.post-comment li img {
    width: 15%;
    float: left;
}

ul.post-comment li .comment-info {
    float: left;
    width: 85%;
    padding-left: 15px;
        margin-top: 15px;
}


ul.post-comment li h3 {
    float: left;
    font-size: 14px;
}

ul.post-comment li a {
    float: right;
    font-size: 11px;
    font-weight: bold;
    color: #000;
}

ul.post-comment li span {
    float: left;
    width: 100%;
    font-size: 12px;
    color: #c5c5c5;
    margin-top: 3px;
}

ul.post-comment li p {
    font-size: 12px;
    line-height: 20px;
    float: left;
    margin-top: 6px;
}

.send-message{
    margin-top:60px !important;
}

.send-message .subtitle{
    margin-bottom:30px;
}



/*------------------------ 5 Contact ------------------------*/


.contact-info{
    text-align: center;
}

.contact-info i{
    width: 60px;
    height: 60px;
    text-align: center;
    background: #000;
    border-radius: 50px;
    color: #fff;
    padding-top: 20px;
    font-size: 20px;
    margin-bottom: 15px;
}

.contact-info p{
    line-height: 20px;
}

.section-title p{
    margin-top:20px;
}

.form-inp {
    width: 100%;
    height: 45px;
    border: 0;
    color: #000;
    border-bottom: solid 1px #dfdfdf;
    font-size: 13px;
    padding-left: 10px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
       width: 100%;
    border: 0;
    border-bottom: solid 1px #dfdfdf;
    font-size: 13px;
    padding: 20px 0 0 10px;
    height: 119px;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
}

.contact-form{
    margin-top: 90px;
}

.contact-form .site-button{
    margin: auto;
    margin-top: 30px;
    display: block;
}

.button{
    text-align: center;
    padding: 45px 0;
}

.site-button{
    padding: 10px 50px;
    font-size: 12px;
    background: none;
    border: 2px solid;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    transition: all ease 0.3s;
}

a.site-button{
    border: 2px solid #000;
    color: #000;
}

.site-button:hover{
    background: #000;
    color: #fff;
    transition: all ease 0.3s;
}




/*------------------------ 6 Responsive ------------------------*/


/*max Width 992px */

@media screen and (max-width: 991px) {

    .home-content h1{
        font-size: 50px;
    } 
    
     .what-can .feature{
        padding: 0 30px;
    }
    
    .about.type-1 .about-image{
        background: none;
    }
    
    .about.type-1 .about-image img{
        margin: 0;
    }
    
}


/*max Width 768px */

@media screen and (max-width: 767px) {


    
    .home-content h1{
        font-size: 32px;
        margin-bottom: 10px;
    }
    
    .contact-info{
        margin-bottom: 30px;
        padding: 0 50px;
    }
   
    .social a{
        margin: 0 10px;
        font-size: 12px;
    }
    
    nav{
        padding:30px 15px;
    }
    
    .nav-menu{
        margin-top: 40px;
        display: none;
        float: none;
        width: 100%;
    }
    
    .nav-menu li{
        float: none; 
        width: 100%;
        text-align: center;
        height: 45px;
        border-top: 1px solid #f7f7f7;
        line-height: 45px;
    }
   
    .responsive{
        float: right;
        display: block;
    }
    
    .about {
    padding-top: 60px;
    }
    
    .about h2 {
        margin-top: 30px;
    }
    
    .gray-bg {
        margin-top: 30px;
    }
    
    .what-can {
        padding: 45px 0;
    }
    
    .section-title {
        padding: 60px 0 45px 0;
    }
    
    .portfolio_filter ul{
        margin-top: 15px;
    }
    
    .portfolio_filter ul li{
        height: 30px;
    }
    
    .diagonal, .diagonal-gray, .diagonal-white{
        height: 70px;
    }
    
    .row.bottom_90{
        margin-bottom: 0;
    }
    
    .diag .blog{
        padding-bottom: 60px;
    }
    
}


/*min Width 768px */
@media screen and (min-width: 768px) {
    
 .nav-menu{
        display: block!important;
    }
    
}


/*------------------------ 7 Slider & Video Home ------------------------*/


.home-slider{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
}

.slider{
    background: none !important;
}

.home-video{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.instagram-feed {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .instagram-feed img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  }

.img-fluid {
    border: 1px solid #000;
    width: 235px;
}

.img-fluid2 {
    border: 1px solid #000;
    width: 3000px !important;
    height: auto;
}

.what-can {
    display: flex;
    justify-content: center;
}

.what-can .feature {
    flex: 1;
    text-align: center;
    max-width: 300px; /* Or adjust to your desired width */
    margin: 0 10px; /* Add some horizontal spacing between items */
}

.what-can .feature i.icon {
    display: block;
    margin: 0 auto 10px;
}

.blog .row {
    display: flex;
    justify-content: center; /* Center the articles horizontally */
    flex-wrap: wrap; /* Allow articles to wrap onto multiple rows */
}

.blog .blog-content {
    flex: 1; /* Allow articles to grow and shrink equally */
    max-width: 350px; /* Adjust as needed */
    margin: 20px; /* Add spacing between articles */
}

.articles-wrapper {
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto; /* Center the wrapper */
    padding: 20px; /* Add padding if needed */
}

.articles-container {
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
}

#blog .container-fluid.gray-bg {
    padding: 0; /* Remove default padding */
    max-width: 100%; /* Allow the container to expand */
    margin: 0 auto; /* Center the container */
}

#blog .articles-container {
    max-width: 1200px; /* Adjust as needed */
    margin: 0 auto;
    padding: 20px; /* Add padding to the content */
}


.skills .section-title {
    text-align: center;
    margin-bottom: 20px; /* Adjust as needed */
}


.skills-bg {
    position: absolute;
    top: 20;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: #f5f5f5; /* Your desired gray color */
    z-index: -1; /* Place background behind content */
}



.skills .work-areas .area {
    display: flex;
    flex-direction: column; /* Stacks the icon and text vertically */
    align-items: center; /* Centers icon and text */
    text-align: center;
    width: 33%; /* Limits column width for better spacing */
    padding: 0px; /* Adds space around each section */
    margin-top: 0px; /* Adds space between sections */
}

/* Limit the image size */
.about-image img {
    max-width: 70%;
    max-height: 50%; /* Reduce height for a balanced look */
    display: block;
    margin: 0;
    border-radius: 100px;
}

.button-container {
    display: flex; /* Makes buttons align horizontally */
    gap: 20px; /* Adds uniform spacing between buttons */
    margin-top: 0px; /* Creates space above the buttons */
    justify-content: center;

}

.site-button {
    display: inline-block;
    padding: 12px 24px; /* Adjusts button size */
    background-color: #fff; /* Add a color for the buttons */
    color: white;
    text-decoration: none; /* Removes underline */
    border-radius: 5px;
    text-align: center;
    font-size: 16px; /* Adjust text size */
    transition: background-color 0.3s; /* Smooth hover effect */
}

.site-button:hover {
    background-color: #000; /* Darker shade on hover */
}


.skills {
    display: flex; /* Arrange the items in a row */
    flex-direction: column; /* Ensure the "SKILLS" title stays on top */
    align-items: center; /* Centers the elements horizontally */
    text-align: center; /* Centers text within each section */
}

.skills .work-areas {
    display: flex; /* Align the skill sections in a row */
    justify-content: center; /* Centers the skill sections below the title */
    gap: 40px; /* Adjust spacing between skill sections */
    margin-top: 0px; /* Adds space between the title and sections */
}

.skills .area {
    flex: 1; /* Ensures equal spacing between sections */
    max-width: 3500px; /* Constrains the width of each section */
}

.skills .work-areas .area h6 {
    margin-top: 0px; /* Adds space between the image and the subtitle */
    font-weight: bold; /* Ensures subtitles remain emphasized */
    text-align: center; /* Keeps the subtitles visually aligned */
}

.skills .work-areas .area .icon {
    margin-bottom: 10px; /* Adds space below the icons */
}

/* Blog Section */
.blog {
    width: 50; /* Ensures the section spans the entire viewport width */
    background-color: #f0f0f0; /* Desired background color */
    padding: 20px 0; /* Adds vertical padding */
    margin: 0; /* Removes any unintended margins */
    box-sizing:content-box; /* Ensures padding doesn't affect the total width */
}

/* Container Fluid Fix */
.container-fluid.gray-bg {
    max-width: 100%; /* Ensures full width of the container */
    padding: 0; /* Removes inner padding causing misalignment */
    margin: 0 auto; /* Centers the container */
    box-sizing: border-box; /* Proper box-sizing to prevent overflow */
}

/* Blog Content */
.blog-content {
    background-color: white; /* Keeps individual blog posts clean */
    padding: 20px; /* Internal padding for content spacing */
    border-radius: 8px; /* Optional: Rounds the corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
}


/* Target screens smaller than 768px (typical breakpoint for Bootstrap's 'sm') */
@media (max-width: 767.98px) {
    .skills .area .text p,
    .skills .area .text ul li { /* Target paragraphs or list items */
        font-size: 14px; /* Example: slightly smaller font */
        line-height: 1.4; /* Example: adjust line spacing */
        /* If you have very long words/tool names without spaces: */
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .skills .area .icon {
         /* Maybe center the icon or adjust its margin on mobile */
         margin-bottom: 15px;
    }

     .skills .area {
         /* Add some bottom margin between stacked areas */
         margin-bottom: 30px;
     }
     .skills .row.work-areas .area:last-child {
         /* Remove margin from the last item */
         margin-bottom: 0;
     }
}

/* Inside your mobile media query (e.g., max-width: 767.98px) */
.skills .area .text ul li {
    overflow-wrap: break-word; /* Standard property */
    word-wrap: break-word; /* Older alias, good for compatibility */

    /* Optional: Consider adding hyphenation for better breaks */
    -webkit-hyphens: auto; /* Safari */
    -moz-hyphens: auto;    /* Firefox */
    -ms-hyphens: auto;     /* IE/Edge */
    hyphens: auto;         /* Standard */

    /* You might still need to adjust font-size or line-height */
     font-size: 14px; /* Or adjust as needed */
     line-height: 1.4;
}

/* Also ensure the parent containers allow text to flow */
.skills .area .text ul {
    /* Reset any styles that might restrict width or wrapping */
    width: 100%;
    margin: 0;
    padding-left: 20px; /* Adjust default list padding if needed */
}

.skills .area .text {
    /* Ensure text container doesn't have conflicting styles */
}


/* ==========================================================================
   Responsive Styles (Mobile)
   ========================================================================== */

/* Target screens smaller than 768px (Bootstrap's 'sm' breakpoint) */
@media (max-width: 767.98px) {

    /* --- Skills Section Adjustments --- */
    .skills .area {
        margin-bottom: 40px; /* Add space between stacked skill areas */
        text-align: left;    /* Ensure text aligns left if needed */
    }

    .skills .row.work-areas .area:last-child {
        margin-bottom: 0; /* Remove margin from the very last area */
    }

    .skills .area .icon {
        /* Optional: Adjust icon size or spacing if needed on mobile */
        /* Example:
        width: 15%;
        i { font-size: 35px; }
        */
        margin-bottom: 15px; /* Add space below icon */
        width: 100%;         /* Make icon take full width if centered */
        text-align: center;  /* Center the icon */

    }

     .skills .area .text {
        width: 100%; /* Ensure text area takes full width */
        float: none;   /* Override float if necessary */
    }

    .skills .area .text h6 {
       text-align: center; /* Center the skill category title */
       margin-bottom: 15px;
    }


    .skills .area .text ul {
        padding-left: 20px; /* Adjust list indentation if needed */
        margin: 0;
    }

    .skills .area .text ul li {
        font-size: 14px;      /* Slightly smaller font for mobile */
        line-height: 1.5;     /* Adjust line spacing for readability */
        margin-bottom: 8px;  /* Space between list items */

        /* --- Crucial Word Wrapping --- */
        overflow-wrap: break-word; /* Allow breaking long words */
        word-wrap: break-word;     /* Legacy support */

        /* --- Optional Hyphenation (Requires lang="en" in HTML) --- */
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    /* --- General Adjustments --- */
    .section-title {
        padding: 60px 0 40px 0; /* Reduce padding on mobile */
    }

    .home-content h1 {
        font-size: 45px; /* Example: Smaller main heading */
    }

    /* Add any other mobile-specific style adjustments here */

}

/* Optional: Target even smaller screens if needed */
@media (max-width: 575.98px) {
     .skills .area .text ul li {
        font-size: 13px; /* Even smaller font on very small devices */
     }
     /* Add more specific styles for extra-small screens */
}

/* --- TARGET THE LIST ITEMS --- */
section#skills .area .text ul li { /* Using a fairly specific selector */
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 10px; /* Slightly more space between items */

    /* --- Center Align Text --- */
    text-align: center; /* <<< CENTER ALIGN AS REQUESTED */

    /* --- Word Wrapping Reset & Application (Attempting to Force Correct Behavior) --- */
    word-break: normal !important;      /* Reset word-break forcefully */
    overflow-wrap: break-word !important; /* Try forcing break-word */
    word-wrap: break-word !important;     /* Legacy support (forced) */

/* ... (Keep other mobile rules) ... */
}


.skills .area .text h6 {
    text-align: center;
    margin-bottom: 15px;
}

@media (max-width: 767.98px) {
    /* ... other mobile styles ... */

    .skills .area .text ul li {
        /* ... other list item styles ... */
        text-align: center; /* Center the text */
    }
}

.skills .area .icon {
    /* ... other icon styles ... */
    text-align: center; /* Center the icon */
}

@media (max-width: 767.98px) {
    /* --- Skills Section Adjustments --- */
    .skills .area {
        margin-bottom: 100px;
        text-align: center; /* Ensure text aligns left if needed */
    }

    .skills .row.work-areas .area:last-child {
        margin-bottom: 0;
    }

    .skills .area .icon {
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }

    .skills .area .text {
        width: 100%;
        float: none;
    }

    .skills .area .text h6 {
        text-align: center;
        margin-bottom: 15px;
    }

    .skills .area .text ul {
        padding-left: 20px;
        margin: 0;
    }

    .skills .area .text ul li {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 8px;
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        text-align: center; /* Center the list items */
    }

    /* --- General Adjustments --- */
    .section-title {
        padding: 60px 0 40px 0;
    }

    .home-content h1 {
        font-size: 45px;
    }
}

section#skills .area .text ul li {
    text-align: center;
    padding-left: 0; /* Remove default padding */
    list-style: none; /* Remove bullet points */
}

#skills .area .icon { /* Using the ID #skills */
    text-align: center;
    font-size: 35px;
}

@media (max-width: 767.98px) {
    #skills .area .text ul {
        list-style: none; /* Remove bullet points */
        padding-left: 0; /* Remove default padding */
    }

    #skills .area .text ul li {
        text-align: center;
    }

    /* ... other styles ... */
}

@media (max-width: 767.98px) {
    #skills .area .icon i {
        font-size: 35px; /* Adjust the size as needed */
    }

    /* ... other styles ... */
}

@media (min-width: 768px) {
    #skills .area .text ul {
        padding-left: 0px; /* Reset padding (adjust as needed) */
    }

    #skills .area .text ul li {
        text-align: center; /* Reset text alignment */
    }

    #skills .area .icon {
        text-align: center; /* Reset icon alignment */
    }

    #skills .area .icon i {
        font-size: 35px; /* Reset icon size */
    }

    /* ... other desktop styles (if needed) ... */
}

/* Desktop view */
@media (min-width: 768px) {
    .skills .area {
        margin-bottom: 0; /* Remove mobile spacing on desktop */
        margin-left: 0; /* Reset left margin */
    }
}



.about-image img {
    width: 100%; /* Make the image responsive */
}

@media (max-width: 767.98px) {
    .about-image {
        text-align: center; /* Center the image on mobile */
    }

    .about-image img {
        display: inline-block; /* Required for text-align: center to work */
    }
}

@media (min-width: 768px) {
    .about-image {
        text-align: center; /* Reset alignment for desktop (if needed) */
    }
}

/* ... BACKGROUND MOBILE */
@media (max-width: 767.98px) {
    .skills-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 200%;
        background-color: #f5f5f5; /* Your desired gray color */
        z-index: -1; /* Place background behind content */
    }

    /* ... other styles ... */
}