@import url('https://fonts.googleapis.com/css2?family=Hanalei&family=Work+Sans:wght@200;300;400;500;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

:root {
    --primary-color: #181B33;
    --secondary-color: #948b3e;
    --border-color: #666666;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

.container {
    max-width: var(--max-width);
    width: 95%;
    margin: 0 auto;    
}

/* body {
background: #333;
} */

a {
    text-decoration: none;
    color: #fff;
}

a:hover {
    /* color: var(--secondary-color); */
    transition: .3s;
}

ul {
    list-style: none;
}

h2 {
    font-size: 54px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 28px;
}



.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* Top Bar */
.top-bar,
.header {
    background: var(--primary-color);
}

.top-bar-infos {
    color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);    
}

.top-bar-infos i {
    color: var(--secondary-color);
    margin-right: 20px;
}

.second-part a:hover {
    color: var(--secondary-color) !important;   
    transition: .3s;
}

.second-part {
    position: relative;
}

.second-part span::before {
    background-color: var(--border-color);
    content: '';
    position: absolute;
    top: -5px;
    bottom: 0;
    left: 190px;
    width: 1px;
    height: 30px;   
}

.second-part span {
    margin-right: 60px;
}




@media (max-width: 768px) {
    .top-bar-infos {
        display: flex;
        flex-direction: column;        
    }
    .first-part {
        margin-bottom: 20px;
    }    
}

@media (max-width: 500px) {
    .second-part {
        display: flex;
        flex-direction: column;        
    }
    .second-part span::before {
        display: none;
    }
    .second-part span {
        margin-right: 0px;
        margin-bottom: 20px;
    }
}




/* Navigation Style */
.logo a,
.logo-mobile a {
    color: #fff;   
    font-family: 'Hanalei', cursive;
    letter-spacing: 10px;
    font-size: 50px;
    font-weight:  200;
}

.logo span,
.logo-mobile span {
    color: var(--secondary-color);
    font-family: 'Hanalei', cursive;
    font-weight: bold;
}

.logo a:hover {
    color: var(--secondary-color);
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;   
    padding: 20px 0;
}

nav ul {
    display: flex;    
    align-items: center;
}

nav ul li {    
    margin-left: 50px;
}

/* nav .fa {
color: #fff;
} */

.line-under::after {
    content: '';
    display: block;    
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width .3s;
    margin-top: 3px;
}

.line-under:hover::after {
    width: 100%;
    transition: width .3s;
}

nav .button {
    border: 1px solid var(--secondary-color);
    padding: 15px;
    border-radius: 5px;
    position: relative;

}

nav .button:hover {
    border-radius: 25px;
    transition: .3s;
}

nav .button a:hover {
    color: var(--secondary-color);    
}



/* nav .button::after {
content: '';
display: block;
position: absolute;
top: 0;
left: -0px;
width: 0;
height: 49px;
background: var(--secondary-color);
opacity: .4;
transition: width .3s;        
}

nav .button:hover::after {
width: 50%;
transition: width .3s;       
} */


/* Mobile Menu */
.menu-btn {
    cursor: pointer;
    position: absolute;
    top: 150px;
    right: 30px;
    z-index: 5;
    color: #fff;
    display: none;
}

@media (min-width: 968px) {
    .logo-mobile {
        display: none;
    }
}

@media (max-width: 968px) {
    .menu-btn {
        cursor: pointer;
        position: absolute;
        top: 114px;
        right: 30px;
        z-index: 5;
        color: #fff;
        display: none;
    }
    .navigation {
        padding: 30px 0;
    }
    .menu-btn {
        display: block;
    }
    .menu-btn:hover {
        opacity: 0.5;
    }       
    .navigation nav ul {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        background: var(--secondary-color);        
        width: 40%;
        height: 100%;
        border-right: #fff 1px solid;
        opacity: 1;
        z-index: 999;
        padding: 80px 30px 30px 30px;
        transform: translateX(-580px);
        transition: transform .5s ease-in-out;
    }
    .navigation ul .logo-mobile a {        
        display: block;
        position: absolute;
        z-index: 2;
        top: 10px;
        left: 80px;
    }   
    .logo-mobile span {
        color: #fff;
    }   
    .navigation .logo span:hover,
    .navigation .logo a:hover {
        color: #fff;
    }
    .navigation nav ul.show {
        transform: translateX(-50px);
    }

    .navigation nav ul li a {
        color: var(--primary-color);
        font-weight: 500;
    }

    .navigation nav ul li {
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
        font-size: 16px;        
    }

    .navigation nav ul li:last-child {
        border-bottom: 0;
    }
    .line-under::after {
        content: none;
    }
    .navigation nav ul .button {
        margin-top: 30px;
        background: var(--primary-color);
        border: none;
        font-size: 16px;
        text-align: center;
        padding: 10px;
        line-height: 1.6;        
    }      
    .navigation nav ul .button a {
        color: #fff;
    }
    .navigation nav ul .button a:hover,
    .navigation nav ul li a:hover {
        color: #fff;
    }
}

@media (max-width: 768px) {
    .menu-btn {
        top: 147px;        
    }
}

@media (max-width: 500px) {
    .menu-btn {      
        top: 187px;               
    }
    .navigation .logo {        
        left: 15px;
    }
    .navigation nav ul {               
        width: 80%;        
    }
}

/* Hero Section Style */
.hero {
    display: flex;    
    text-align: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background: url(img/Boss-in-Firm.jpg) no-repeat center center/cover; 
    position: relative;
    overflow: hidden;    
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;    
    left: 0; 
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.65);    
}

.hero * {
    z-index: 1;
}

.hero .content p {
    color: #fff;
    margin: 60px 0 100px 0;
    line-height: 1.8;
    font-size: 18px;       
}

.hero .content .lead {
    width: 70%;
    margin: 0 auto;
}

.hero .content .button {   
    background-color: var(--secondary-color);
    padding: 15px 35px;
    border-radius: 5px;
    text-transform: uppercase;    
}

.hero .content .button:hover {
    opacity: .8;
    transition: .3s;
}

@media (max-width: 768px) {
    .hero .content h2 {    
        font-size: 42px;     
    }
}

@media (max-width: 500px) {
    .hero .content .lead {
        width: 90%;   
    }
}


/* About me Style */
.about-me .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.about-me {
    margin-bottom: 100px;
}

.about-me .column {
    display: flexbox;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1;
}

.about-me .left-part,
.about-me .right-part {
    height: 100%;
}

.about-me img {
    width: 100%;    
    object-fit: cover;
    margin-top: 60px;
    -webkit-box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 5px -7px rgba(0,0,0,0.75);
}

.about-me .left-part {    
    line-height: 1.8;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-right: 50px;
}

.about-me .left-part h2 {
    color: #000;
    margin-bottom: 20px;
}

.about-me .left-part h4 {
    font-family: 'Dancing Script', cursive;
    font-size: 28px; 
    margin-bottom: 30px;
    font-weight: 300;
}

.about-me .middle-paragraph {
    margin-bottom: 20px;
}

.about-me .signiture {
    margin-top: 60px;
    font-family: 'Dancing Script', cursive;
    font-size: 28px; 
}

/* About Me: Counter  */
.about-me .right-part {
    position: relative;
}

.about-me .counter {
    position: absolute;
    padding: 30px;
    bottom: -10px;
    right: -20px;
    background-color: var(--primary-color);
}

.about-me .number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-me .number .rate {
    display: flex;    
    align-items: center;
    justify-content: center;
}

.about-me .number .num {
    font-size: 30px;
}

.about-me .number i {
    font-size: 48px;
    margin-bottom: 10px;
}

.about-me .counter {
    color: var(--secondary-color);
}

@media (max-width: 992px) {
    .about-me .row {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        width: 100%;
    }
    .about-me .left-part h2 {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {    
    .about-me .number .num {
        font-size: 20px;
    }
    .about-me .number i {
        font-size: 28px;
        margin-bottom: 10px;
    }
    .about-me .counter {        
        background-color: #181b339a;
    }
}

@media (max-width: 500px) {
    .about-me .counter {   
        bottom: 0px;
        right: 0px;        
    }
}

/* Our Services: Title */
.our-services {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
}

.our-services .title h2{
    text-align: center;
    margin-bottom: 20px;
}

.our-services .title p {
    color: #999999;
    text-align: center; 
    line-height: 1.8;
}

/* Our Services: Service */
.service {
    display: flex;
    margin-top: 60px;      
}

.services .top-part,
.services .bottom-part {
    display: flex;
}

.service {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.service .icon {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.service .icon i {
    font-size: 40px;
    margin-right: 20px;
    color: var(--secondary-color);
}

.service .icon h4 {
    font-size: 22px;
    font-weight: 400;    
}

.service p {
    line-height: 1.8;
}

@media (max-width: 768px) {
    .services .top-part,
    .services .bottom-part {
        display: flex;
        flex-direction: column;          
    }
    .service {        
        text-align: center;
    }
    .icon {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .our-services .title h2 {        
        margin-bottom: 20px;
        font-size: 40px;
    }
}















