/*
Theme Name: Safs
Author: AL Mamun
Author URI: https://themeforest.net/user/aseven
Version: 1.0
*/

/*
[Table of contents]

* Glogbal Style
* Preloader
* Section Title
* Main Menu / Navbar
* Hero Area / Welcome Area / Slider Area
* Featured Area
* About Area
* Fact Counter Section
* Service Section
* Why choose Me Section
* Portfolio Section
* Frequently asked questions
* Blog Section
  - Blog Main Page
  - Sidebar
  - Single Blog
* Testimonial Section
* Team Section
* Call to Action Area
* Pricing Area
* Contact Area 
* Footer Area
*/

/*============Glogbal Style================ */
html,
body {
    height: 100%;
}

p {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #000;
    margin: 0;
}

a {
    -webkit-transition: .3s;
    transition: .3s
}

a:hover {
    color: #000;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Source Sans Pro', sans-serif;
    color: #000;
    font-weight: 600;
    line-height: 1.7;
    margin: 0;
}

.d-table {
    width: 100%;
    height: 100%;
}

.d-table-cell {
    vertical-align: middle;
}

img {
    max-width: 100%;
    height: auto;
}

.button {
    color: #fff;
    display: inline-block;
    text-transform: uppercase;
    border: 2px solid;
    padding: 10px 20px;
}

.button:hover {
    color: #000;
}

.bg-a {
    background-color: #000;
}

.section-padding {
    padding: 100px 0;
}

.pb-70 {
    padding-bottom: 70px;
}

.pb-85 {
    padding-bottom: 85px;
}

.bg-img {
    background-color: #ddd;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}

.bg-primari {
    background-color: #000 !important;
}

.bg-secondary {
    background-color: #ffc900 !important;
}

button:focus {
    outline: none;
}


/*::::::::::::::::::::::::::::::::::::
    Preloader
::::::::::::::::::::::::::::::::::::*/

.preloader {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 99999;
}

.spinner {
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: 50%;
    margin-bottom: -20px;
    width: 40px;
    height: 40px;
}

.cube1,
.cube2 {
    background-color: #ffc900;
    width: 25px;
    height: 25px;
    position: absolute;
    top: 0;
    left: 0;

    -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
    animation: sk-cubemove 1.8s infinite ease-in-out;
}

.cube2 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

@-webkit-keyframes sk-cubemove {
    25% {
        -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5)
    }
    50% {
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg)
    }
    75% {
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5)
    }
    100% {
        -webkit-transform: rotate(-360deg)
    }
}

@keyframes sk-cubemove {
    25% {
        transform: translateX(42px) rotate(-90deg) scale(0.5);
        -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
    }
    50% {
        transform: translateX(42px) translateY(42px) rotate(-179deg);
        -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
    }
    50.1% {
        transform: translateX(42px) translateY(42px) rotate(-180deg);
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% {
        transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }
    100% {
        transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
    }
}



/*::::::::::::::::::::::::::::::::::::
   Section Title
::::::::::::::::::::::::::::::::::::*/

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    text-transform: uppercase;
    position: relative;
    font-size: 32px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    line-height: 1;
}

.section-title h2:before,
.section-title h2:after {
    position: absolute;
    content: '';
    left: 50%;
    bottom: 0;
    width: 50px;
    height: 5px;
    background-color: #000;
}

.section-title h2:before {
    left: auto;
    right: 50%;
    background-color: #ffc900
}

/*::::::::::::::::::::::::::::::::::::
   Main Menu
::::::::::::::::::::::::::::::::::::*/
.navbar{
    -webkit-transition: .3s;
    transition: .3s;
}
.navbar-brand.logo img {
    max-height: 40px;
}

.navbar-expand-lg .navbar-nav .nav-link {
    color: #fff;
    font-size: 15px;
}

.navbar-expand-lg .navbar-nav .nav-link:hover,
.navbar-expand-lg .navbar-nav .nav-link.active {
    color: #ffc900;
}

/*::::::::::::::::::::::::::::::::::::
   Hero Area 
::::::::::::::::::::::::::::::::::::*/

.hero-aria,
.hero-area-slids,
.single-slider {
    height: 100%;
    position: relative;
    z-index: 1;
    background-position: center;
    background-size: cover;
}


.hero-aria:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    background-color: #ffc900;
    opacity: .8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    z-index: 2;
}

.hero-area-slids .owl-stage-outer,
.hero-area-slids .owl-stage,
.hero-area-slids .owl-item {
    height: 100%;
}

.slider-bg {
    height: 100%;
    width: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
    z-index: 1;
}


.slider-bg:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: .3;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
    z-index: -1;
}

.hero-content {
    position: absolute;
    z-index: 999;
    max-width: 40%;
}


.hero-content h2 {
    color: #fff;
    font-size: 90px;
    font-weight: 600;
    line-height: 1;
}

.hero-content .button {
    margin-top: 30px;
}

/*::::::::::::::::::::::::::::::::::::
   Featured Area
::::::::::::::::::::::::::::::::::::*/

.single-featured-item {
    padding: 15px;
    margin-bottom: 30px;
}

.single-featured-item-wrap {
    background-color: #fff;
    box-shadow: 0 0 10px #eee;
}

.single-featured-item-wrap h3 a {
    text-align: center;
    text-transform: uppercase;
    padding: 15px;
    color: #000;
    display: block;
    position: relative;
    z-index: 1;
}

.single-featured-item-wrap:hover a {
    color: #ffc900
}

.single-featured-item-wrap:hover a:after {
    height: 100%;
}

.single-featured-item-wrap h3 a:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 0;
    background-color: #000;
    z-index: -1;
    left: 0;
    top: 0;
    -webkit-transition: .3s;
    transition: .3s;
}

.featured-icon {
    font-size: 60px;
    position: absolute;
    top: 0;
    color: #ffc900;
    opacity: .5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}


/*::::::::::::::::::::::::::::::::::::
   About Area
::::::::::::::::::::::::::::::::::::*/

.about-bg {
    height: 100%;
    min-height: 400px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #ffc900;
}

.social-aria a {
    color: #fff;
    width: 30px;
    height: 30px;
    display: inline-block;
    border: 1px solid;
    text-align: center;
    line-height: 30px;
    margin: 0 5px;
    -webkit-transition: .3s;
    transition: .3s;
}

.social-aria {
    position: absolute;
    bottom: 0;
    text-align: center;
    width: 100%;
    z-index: 1;
    padding: 15px;
}

.social-aria a:hover {
    border-radius: 50%;
}

.social-aria:after {
    position: absolute;
    content: '';
    background-color: #000;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    z-index: -1;
    opacity: .5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}


.social-aria a.facebook:hover {
    color: #3b5998; /* Facebook blue */
}

.social-aria a.linkedin:hover {
    color: #0077b5; /* LinkedIn blue */
}

.social-aria a.github:hover {
    color: #333; /* GitHub black */
}

.social-aria a.youtube:hover {
    color: #ff0000; /* YouTube red */
}

.about-content h2 span {
    color: #ffc900;
    font-size: 100%;
}

.about-content h4 {
    font-weight: 400;
    font-size: 22px;
    margin-bottom: 15px;
}

.about-content p {
    font-weight: 400;
}

.about-content h5 {
    margin: 30px 0;
    text-transform: uppercase;
}

.skillbar {
    position: relative;
    display: block;
    margin-bottom: 15px;
    width: 100%;
    background: #eee;
    height: 35px;
    -webkit-transition-property: width, background-color;
    transition-property: width, background-color;
}

.skillbar-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    font-size: 13px;
    color: #ffffff;
    background: #000;
}

.skillbar-title span {
    display: block;
    width: 25%;
    padding: 0 20px;
    height: 35px;
    line-height: 35px;
}



.skillbar-bar {
    height: 35px;
    width: 0px;
    background-color: #ffc900;
}

.skill-bar-percent {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 14px;
    height: 35px;
    line-height: 35px;
}


/*::::::::::::::::::::::::::::::::::::
   Fact Counter Section
::::::::::::::::::::::::::::::::::::*/

.fact-counter:after {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: -1;
    opacity: .8;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}


.single-fun-fact {
    border: 1px solid #fff;
    padding: 15px;
    margin-bottom: 30px;
}

.single-fun-fact h2 {
    line-height: 1;
    color: #fff;
}

.single-fun-fact h2 span {
    margin-right: 5px;
}

.single-fun-fact p {
    color: #fff;
    position: relative;
    margin-top: 30px;
}

.single-fun-fact p:after {
    position: absolute;
    content: '';
    left: 50%;
    top: -15px;
    width: 60px;
    margin-left: -30px;
    height: 1px;
    background-color: #fff;
}


/*::::::::::::::::::::::::::::::::::::
   Service Section
::::::::::::::::::::::::::::::::::::*/
/* Education Section */
/* Education Section */
#education .timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
    text-align: left;
}

#education .timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff9f43;
    left: 50%;
    margin-left: -1px;
}

#education .timeline-item {
    position: relative;
    width: 60%; /* Adjusted width */
    padding: 20px;
    box-sizing: border-box;
}

#education .timeline-item.left {
    left: 0;
    text-align: right;
}

#education .timeline-item.right {
    left: 40%;
    text-align: left;
}

#education .timeline-item .timeline-content {
    padding: 15px;
    background: #ffe066; /* More yellow background */
    color: #000; /* Black text */
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

#education .timeline-item .timeline-content h6 {
    margin-top: 0;
    font-size: 20px;
    color: #000; /* Black text */
}

#education .timeline-item .timeline-content p {
    margin: 5px 0;
    font-size: 20px;
    color: #000; /* Black text */
}

#education .timeline-item .timeline-content span {
    font-size: 19px;
    color: #000; /* Black text */
}

#education .timeline-item:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #ff9f43;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #ff9f43;
    transform: translateY(-50%);
}

#education .timeline-item.left:before {
    right: -55px;
}

#education .timeline-item.right:before {
    left: -55px;
}




/* Experience Section */
#experience .timeline {
    position: relative;
    padding: 20px 0;
    list-style: none;
    text-align: left;
}

#experience .timeline:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ff9f43;
    left: 50%;
    margin-left: -1px;
}

#experience .timeline-item {
    position: relative;
    width: 60%; /* Adjusted width */
    padding: 10px;
    box-sizing: border-box;
}

#experience .timeline-item.left {
    left: 0;
    text-align: right;
}

#experience .timeline-item.right {
    left: 55%;
    text-align: left;
}

#experience .timeline-item .timeline-content {
    padding: 10px 20px;
    background: #ffcc80; /* More yellow background */
    color: #000; /* Black text */
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%; /* Ensure full width */
    max-width: 400px; /* Increase this value as needed for horizontal length */
    text-align: left; /* Ensure text starts from the beginning */
    margin-bottom: 20px; /* Space between items */
}

#experience .timeline-item .timeline-content h6 {
    margin: 0; /* Remove margin to ensure no space at the beginning */
    font-size: 20px;
    font-weight: bold; /* Make it bold */
    color: #000; /* Black text */
}

#experience .timeline-item .timeline-content p {
    margin: 5px 0;
    font-size: 19px;
    color: #000; /* Black text */
}

#experience .timeline-item .timeline-content span {
    font-size: 17px;
    color: #000; /* Black text */
    display: block;
    margin-top: 10px;
    font-style: italic; /* Make it italic */
}

#experience .timeline-item:before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: #ff9f43;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px #ff9f43;
    transform: translateY(-50%);
}

#experience .timeline-item.left:before {
    right: -55px;
}

#experience .timeline-item.right:before {
    left: -55px;
}






/*::::::::::::::::::::::::::::::::::::
   Portfolio Section
::::::::::::::::::::::::::::::::::::*/

.work-list {
    margin-bottom: 60px;
}

.portfolio-area .mix {
    display: none;
}

.work-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.work-list ul li {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid;
    -webkit-transition: .3s;
    transition: .3s;
    cursor: pointer;
}

.work-list ul li.filter.active,
.work-list ul li:hover {
    color: #000;
    background-color: #ffc900;
    border-color: #ffc900;
}

.row.portfolio .col-lg-4 {
    padding-left: 7.5px;
    padding-right: 7.5px;
}

.single-portfolio {
    height: 240px;
    margin-bottom: 15px;
    background-position: center;
    background-size: cover;
    background-color: #ddd;
    padding: 15px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.single-portfolio:after {
    position: absolute;
    content: '';
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background-color: #000;
    opacity: .5;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    -webkit-transition: .3s;
    transition: .3s;
    z-index: -1;

}

.single-portfolio:hover:after {
    height: 100%;
}

.portfolio-icon {
    position: absolute;
    top: 100%;
    margin-top: -20px;
    left: 50%;
    margin-left: -20px;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility: hidden;
    -webkit-transition: .6s;
    transition: .6s;
}

.single-portfolio:hover .portfolio-icon {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility: visible;
    top: 50%
}

.portfolio-icon a {
    font-size: 15px;
    color: #fff;
    width: 40px;
    height: 40px;
    border: 1px solid;
    display: inline-block;
    line-height: 40px;
    -webkit-transition: .3s;
    transition: .3s;
}

.portfolio-icon a:hover {
    border-radius: 50%;
}

.portfolio-hover h4 {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
}

.portfolio-hover {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -60px;
    padding: 5px;
    z-index: 1;
    -webkit-transition: .3s;
    transition: .3s;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    visibility: hidden;
}

.portfolio-hover:after {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-color: #000;
    z-index: -1;
}

.single-portfolio:hover .portfolio-hover {
    bottom: 0;
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    visibility: visible
}


/*::::::::::::::::::::::::::::::::::::
   Frequently asked questions
::::::::::::::::::::::::::::::::::::*/

.section-title.faq-title h2:after {
    background-color: #000;
}

.section-title.faq-title h2:before {
    background-color: #fff;
}

.faq-bg {
    height: 100%;
    min-height: 320px;
}

.single-faq {
    margin-bottom: 5px;
}

.single-faq h4 {
    color: #fff;
    padding: 5px 15px;
    background-color: #333;
    cursor: pointer;
    font-weight: 400;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.single-faq h4[aria-expanded="true"]:after {
    -webkit-transform: rotate(-180deg);
            transform: rotate(-180deg);
}

.single-faq h4:after {
    position: absolute;
    font-family: FontAwesome;
    content: "\f107";
    text-align: center;
    right: 0;
    top: 0;
    color: #fff;
    background-color: #000;
    width: 60px;
    height: 100%;
    line-height: 200%;
}

.faq-body {
    background: #3e3e3e;
    color: #fff;
    padding: 15px;
}


/*::::::::::::::::::::::::::::::::::::
   Blog Section
::::::::::::::::::::::::::::::::::::*/

.single-blog {
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 0 10px #ddd;
    margin-bottom: 30px;
}

.blog-thumb {
    height: 200px;
    background-position: center;
    background-size: cover;
}

h4.blog-title {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 15px;
    font-weight: 400;
}

h4.blog-title a {
    color: #000;
}

.blog-meta {
    font-size: 14px;
    color: #aaa;
    margin: 5px 0 10px 0;
}

.blog-meta a {
    color: #aaa;
}

.single-blog .button {
    color: #333;
    padding: 5px 15px;
    margin-top: 15px;
}

.single-blog .button:hover {
    background-color: #ffc900;
    border-color: #ffc900;
}

/*::::::::::::::::::::::::::::::::::::
   Blog Main Page
::::::::::::::::::::::::::::::::::::*/

.bg-overlay {
    position: relative;
    z-index: 1;
}

.bg-overlay:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background-color: #000000;
    z-index: -1;
    opacity: .6;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
}

.blog-section {
    padding: 100px 0 70px 0;
}


.page-title h2 {
    font-size: 50px;
    color: #fff;
    text-transform: uppercase;
    margin-top: 30px;
    line-height: 1;
}

.button.blog-btn {
    color: #000;
    margin-bottom: 30px;
    margin-top: 30px;
}

.button.blog-btn:hover {
    background-color: #ffc900;
    border-color: #ffc900;
}

/*::::::::::::::::::::::::::::::::::::
   Sidebar
::::::::::::::::::::::::::::::::::::*/

.sidebar-widget {
    margin-bottom: 50px;
}

.sidebar-title {
    line-height: 1;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.sidebar-widget form {
    border: 1px solid #aaa;
    position: relative;
}

textarea:focus,
input:focus {
    outline: none;
}

.sidebar-widget input {
    border: none;
    padding: 8px 15px;
    font-size: 14px;
    line-height: 1.5;
    width: 85%;
}

.sidebar-widget button {
    border: none;
    background-color: transparent;
    cursor: pointer;
    width: 13%;
    margin-left: 0;
    color: #aaa;
}

.sidebar-widget ol {
    margin: 0;
    padding: 0;
    list-style: none;
}


.sidebar-widget ol li {
    position: relative;
}

.sidebar-widget ol li:last-child a {
    border-bottom: none;
}

.sidebar-widget ol li a {
    color: #aaa;
    padding: 10px 5px;
    border-bottom: 1px solid #aaa;
    display: block
}

.sidebar-widget ol li a:hover {
    color: #ffc900;
}

.sidebar-widget ol.recent-post li {
    margin-bottom: 30px;
}

.sidebar-widget ol.recent-post li span {
    width: 100px;
    height: 75px;
    display: inline-block;
    background-position: center;
    background-size: cover;
}

.sidebar-widget ol.recent-post li a {
    border: none;
}

.sidebar-widget ol.recent-post li a:hover {
    color: #ffc900;
}

.blog-content {
    position: absolute;
    top: 0;
    padding-left: 115px;
    width: 100%;
    height: 100%;

}

.blog-date {
    color: #aaa;
    font-size: 12px;
}

.sidebar-widget .blog-content a {
    padding: 5px 0;
    color: #000;
    border: none;
    font-size: 15px;
}

.sidebar-widget ol.tags li {
    display: inline-block;
}

.sidebar-widget ol.tags li a {
    border: none;
    background-color: #aaa;
    color: #fff;
    margin-bottom: 5px;
    padding: 5px 10px;
}

.sidebar-widget ol.tags li a:hover {
    color: #000;
    background-color: #ffc900;
}




/*:::::::::::::::::::::::::::::::::::
        Footer Area
:::::::::::::::::::::::::::::::::::*/

.footer-area {
    padding: 30px;
    background-color: #000;
    border-bottom: 5px solid #ffc900;
}

.copyright-text a {
    color: #eee;
    -webkit-transition: .3s;
    transition: .3s;
}

.copyright-text a:hover {
    color: #ffc900;
}
