@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Open+Sans:wght@400;500;600;700&display=swap');

html {
    --primary-color: #cb252b;
    --secondary-color: #2f2e7a;
    --font-amiri: 'Amiri', serif;
    --font-open-sans: 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-amiri)
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

p {
    font-size: 1.5rem;
    color: rgb(83, 83, 83);
    font-weight: 400;
    font-family: var(--font-open-sans);
    margin: 1.5rem 0;
}

/* Typography  */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-amiri);
    text-transform: capitalize;
}

h1 {
    font-size: 4rem;
    font-weight: 500;
}

h2 {
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
}

.text-blue {
    color: var(--secondary-color);
    transition: color .3s ease-in-out;
}

.text-blue:hover {
    color: var(--primary-color);
}

/* page titles for each page  */

.page-section {
    padding-top: 10rem;
    padding-bottom: 10rem;
}

.bg-cover {
    background-size: cover;
    background-position: 50%;
    background-repeat: no-repeat;
}

.overlay {
    position: relative;
}

.overlay::before {
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: #000;
    opacity: .6;
}

.page-title {
    position: relative;
    z-index: 999;
}

.breadcrumb-active {
    color: var(--primary-color);
}

/* dividers border  */

.section-title-border {
    position: relative;
    height: 5px;
    width: 30px;
    background: var(--secondary-color);
    border-radius: 10px;
    margin-bottom: 20px;
}

.section-title-border::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 50%;
    background: var(--primary-color);
    border-radius: 10px;
    right: -60%;
    top: 0;
}

.section-title-border::after {
    position: absolute;
    content: "";
    height: 100%;
    width: 25%;
    background: var(--secondary-color);
    border-radius: 10px;
    right: -100%;
    top: 0;
}

/* social share icons  */

.social-share-icons .bx {
    padding: 10px;
    font-size: 20px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
}

.bxl-facebook {
    background: #3B5998;
    color: white;
}

.bxl-linkedin {
    background: #007bb5;
    color: white;
}

.bxl-whatsapp {
    background: #00b489;
    color: white;
}

.bxl-twitter {
    background: #55ACEE;
    color: white;
}


/* top header  */

.container {
    z-index: 99;
}


.top-header {
    background: var(--secondary-color);
    min-height: 5rem;
    display: flex;
    align-items: center;
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.top-left-header {
    display: flex;
}

.top-left-header .phone .bi,
.mail .bi {
    color: white;
    font-size: 1.2rem;
    padding-right: .5rem;
}

.top-left-header .phone a,
.mail a {
    color: white;
    font-size: 1.3rem;
}

.top-left-header .phone {
    padding-right: 1rem;
}

/* button  */

.btn {
    padding: .5rem 1.3rem;
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    border-radius: 0px;
}

.btn:hover {
    background: white;
    color: var(--secondary-color);
}

/* navigation menu  */

nav {
    display: flex;
    justify-content: space-between;
}

.nav-links {
    display: grid;
    place-content: center;
}

.nav-links ul {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin: 0.6rem;
}

.nav-links a {
    color: var(--secondary-color);
    padding: .5rem 1rem;
    font-size: 1.2rem;
    transition: all .2s linear;
}

.nav-active {
    background-color: var(--primary-color);
    color: white !important;
    padding: .5rem 1rem;
    font-size: 1.2rem;
}

.nav-links a:hover {
    background-color: var(--primary-color);
    color: white;
}

header {
    box-shadow: #5858581c 0px 3px 14px 0px;
    padding: 0;
}

.nav-logo img {
    width: 70%;
}

/* custom dropdown menu  */

.dropbtn {
    background-color: #ffffff;
    color: var(--secondary-color);
    padding: 16px;
    font-size: 16px;
    border: none;
  }
  
  .dropdown {
    position: relative;
    display: inline-block;
    font-size: 1rem;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 162px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }
  
  .dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
}
  
  .dropdown-content a:hover {
      color: #fff;
      background-color: var(--secondary-color);
    }
  
  .dropdown:hover .dropdown-content {display: block;}
  
  .dropdown:hover .dropbtn {
      background-color:var(--primary-color);
       color:#fff;}

 

/* custom dropdown menu end */

.bg-light {
    
    display: none;
}
@media (max-width:762px) {
    .bg-light {
    
        display: block;
    }
    nav {
        display: none;
    }
    .top-header{
        display: none;
    }
}
 /* header section design  */
 img{
    max-width: 100%;
}

a{
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all .3s ease-in-out;
}

 /* header section design end */

/* hero section design  */
.hero-banner {
    background-image: url(../images/private-blog-img/banner.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 4rem 0;
    object-fit: cover;
    
}

.hero-content h1 {
    font-size: 3rem;
    letter-spacing: -.021rem;
    line-height: 1.2;
    margin-bottom: 54px;
    color: var(--primary-color);
    font-weight: 600;
}
.hero-content p {
	font-size: 1.5rem;
	letter-spacing: -0.120rem;
	font-weight: 300;
    color: var(--secondary-color);
}
.hero-item{
    padding-top: 2rem;
}
.hero-item ul{
    list-style: none;
    padding-left: 0;
}
.hero-item ul li i{
    margin-right: 0.6rem;
}
.hero-item ul li a{
    text-decoration: none;
    color: var(--heading-color);
    font-size: 1.2rem;
    font-weight: 500;
    transition: all .3s ease-in-out;
    
}
.hero-item ul li a:hover{
    color: var(--secondary-color);
    
}

/* hero section design end */

/* blog left menu design  */



.menu-item{
    padding-top: 2.5rem;
}
.menu-item ul{
    list-style: none;
    padding-left: 0;
}
.menu-item ul li{
    padding: 1rem 0;
    border-top: 1px solid var(--secondary-color);
}
.menu-item ul li:last-child{
    border-bottom: 1px solid var(--secondary-color);
}
.menu-item ul li a{
    color: var(--primary-color);
    font-weight: 400;
    transition: all .3s ease-in-out;
    
}
.menu-item ul li a:hover{
    color: var(--seconery-color);
}
/* blog left menu design end */

/* blog design  */
.blog-box{
    border-bottom: 1px solid #ddd;
    padding-bottom: 2.5rem;
    padding-top: 2.5rem;
}
.blog-content h2{
    font-size: 1.5rem;
}
.blog-content p{
    font-size: 1rem;
    padding: 1rem 0;
}
.blog-content span{
    color: var(--secondary-color);
}
.blog-content a,i{
color: var(--primary-color);
}
.ancor-icon a{
    transition: all .3s ease-in-out;
}
.blog-content a:hover,i:hover{
color: var(--secondary-color);
}
.blog-image{
    padding: 0;
}
.blog-image img{
    object-fit: cover;
    max-width: 100%;
    
}
/* blog design end */


/* footer  */

footer h5 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--secondary-color);
    border-left: .4rem solid var(--primary-color);
    padding: 0rem 1.5rem;
}

footer p {
    margin-top: 1rem;
}

.footer-icon {
    margin-top: 2rem;
    display: flex;
    
    height: 5rem;
}


.footer-icon i {
    color: white;
    background: var(--primary-color);
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    padding-left: 12px;
    border-radius: 50%;
    padding-top: 9px;
    margin-right: 1rem;
    transition: all .3s ease-in-out;
}
.footer-icon i:hover{
    background-color: var(--secondary-color);
    cursor: pointer;
}


.footer-info .mail a,
.footer-info .phone a {
    color: #2f2e7a;
    font-size: 1.5rem;
}

.footer-info .mail .bi, .footer-info .phone .bi {
    color: #cb252b;
    font-size: 1.2rem;
    font-size: 1.8rem;
}
.footer-info .phone .bi {
    color: #cb252b;
    font-size: 1.2rem;
}

.footer-info .phone .bi {
    margin-right: .5rem;
    font-size: 1.8rem;
}

.footer-text {
    margin-top: 1.5rem;
}

.footer-copyright {
    background: var(--secondary-color);
    padding: .5rem 0;
}

.footer-copyright p {
    color: white;
    font-size: 1.2rem;
    padding: 0;
    margin: 0;
}
/* footer end */