/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;500;700&display=swap');

.footer-font {
    font-family: 'Assistant';
    font-size: 1.3rem;
}

/* Colors */
:root {
    --primary: #2f5062;
    --primary-light: #577983;
    --accent-main: #cd823F;
    --accent-main-light: #f5e6d8;
    --accent-secondary: #664228;
    --dark: #23313A;
    --light: #fffaed;
  }
  
* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
}

body {
    background-color: var(--light);
    color: var(--dark);
}


/* Utils */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-accent {
    background-color: var(--accent-main) !important;
}

.bg-primary-light {
    background-color: var(--primary-light) !important;
}

.bg-accent-red {
    background-color: var(--accent-secondary) !important;
}

.bg-light {
    background-color: var(--light) !important;
}

.color-primary {
    color: var(--primary) !important;
}

.color-light {
    color: var(--light) !important;
}

.color-dark {
    color: var(--dark) !important;
}

.color-red {
    color: var(--accent-secondary) !important;
}

.color-accent {
    color: var(--accent-main) !important;
}

.mt-1 {
    margin-top: 1rem;
}

.mb-1 {
    margin-bottom: 1rem;
}

.ptb-1 {
    padding: 1rem 0;
}

.ptb-5 {
    padding: .25rem 0;
}

.fs-1 {
    font-size: 1.15rem;
    line-height: 1.5;
}

.fs-2 {
    font-size: 1.25rem;
    line-height: 1.5;
}

.fs-3 {
    font-size: 1.85rem;
    line-height: 1.5;
}



.lh-2 {
    line-height: 1.4;
}

.container-narrow {
    margin: 0 auto;
    max-width: 60rem;
}
  

/* Navbar */
nav {
    background-color: var(--light) !important;
}

nav ul li a {
    color: var(--dark);
   
}

nav .nav-link a:hover {
    background-color: var(--accent-main) !important;
    color: var(--light);
}

.dropdown-content li a {
    color: var(--dark) !important;
}

.dropdown-content li:hover {
    background-color: #d9d9d9 !important;
}

.nav-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    height: 5vh;
    width: auto;
    display: grid;
    place-self: center;
}



/* Showcase */
#showcase { 
    height: 55vh;
    display: grid;
    place-items: center;
    position: relative;
    background-color: var(--accent-secondary);
}

#showcase-background::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('./img/showcase.jpg') center center/cover no-repeat;
    filter: grayscale(50%) contrast(32%) opacity(40%);
}

#showcase-background {
    display: grid;
    place-items: center;
}

#showcase-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    place-items: center;
}

#showcase-grid {
    display: flex;
    flex-direction: column;
    place-items: center;
    margin-top: 1rem;
}

#showcase-logo {
  padding: 1rem;
  height: 28vh;
  width: auto;
}

#showcase-text {
    color: #fff; 
    font-size: 1.5rem;  
}

#showcase-btn {
    margin-top: 0;
    background-color: var(--accent-main);
    color: var(--light);
}

#showcase-btn:hover {
    background-color: var(--primary);
}

/* Showcase Media */
@media only screen and (max-width: 600px) {
    .nav-logo {
        height: 4vh;
    }
    
    #showcase-header {
        font-size: 2.5rem;
    }

    #showcase-text {
        font-size: 1.3rem;
    }

  }


/* Sub-Showcase */

.sub-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 1.2rem 0;
    gap: 1rem;
}

#sub-showcase-img {
    border-radius: 50%;
    height: 11rem;
    max-width: 11rem;
}

.icon-block {
    margin-top: 1.5rem;
}

.icon-block h2 {
    margin-top: 0;
    margin-bottom: .5rem;
}

.icon-block h5 {
    margin-top: 1rem;
}

#learn-more-btn:hover {
    background-color: var(--primary-light) !important;
}

/* Sub-Showcase Media */
@media only screen and (max-width: 600px) {
    .sub-showcase-grid {
        grid-template-columns: 1fr;
    }
}



/* Team */

#team { 
    height: 55vh;
    display: grid;
    place-items: center;
    position: relative;
    background-color: var(--accent-secondary);
}

.team-header-bg::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('./img/team-3-rs.jpg') top center/cover no-repeat;
    filter: grayscale(50%) contrast(32%) opacity(40%);
    
}

.team-header-bg{
    display: grid;
    place-items: center;
}

.team-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    place-items: center;
}

.team-grid {
    display: grid;
    place-items: center;
}

.team-logo {
  padding: 1rem;
  height: 28vh;
  width: auto;
}

.team-text {
    color: #fff; 
    font-size: 2.5rem;  
}


#lawyers h2 {
    margin-top: 0;
    font-size: 2.1rem;
}



.bio-grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    place-items: center;
}

.bio-img {
    height: 20rem;
    width: 20rem;
}

.bio-content-grid {
    display: grid;
    gap: 1.5rem;
    font-size: 1.2rem;
}


.bio-list ul li{
    margin-left: 2rem;
    list-style: disc;
    color: var(--dark);
}

#bio-tabs {
    background-color: var(--light) !important;
}

#bio-tabs ul li {
    color: var(--accent-secondary) !important;
}

.bio-tab-text {
    font-size: 1.2rem;
}

/* Team Media */
@media only screen and (max-width: 600px) {
  .bio-grid {
      grid-template-columns: 1fr;
      place-items: center;
  }

  .bio-img {
    height: 15rem;
    width: 15rem;
}

  .bio-content-grid {
      font-size: 1.1rem;
  }

  .bio-tab-text {
    font-size: 1.1rem;
}
   
.team-header-bg::before{
    background: url('./img/team.jpeg') center center/cover no-repeat;
}

    .team-text {
        font-size: 1.8rem;
    }

   #lawyers h2 {
       font-size: 1.7rem;
       text-align: center;
}

  }


/* Services Page */
#services { 
    height: 55vh;
    display: grid;
    place-items: center;
    position: relative;
    background-color: var(--accent-secondary);
}

.services-header-bg::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('./img/services-2-rs.jpg') center center/cover no-repeat;
    filter: grayscale(50%) contrast(32%) opacity(40%);
    
}

.services-header-bg{
    display: grid;
    place-items: center;
}

.services-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    place-items: center;
}

.services-grid {
    display: grid;
    place-items: center;
}

.services-logo {
  padding: 1rem;
  height: 28vh;
  width: auto;
}

.services-text {
    color: #fff; 
    font-size: 2rem;  
}


/* Resources Page */
#resources { 
    height: 55vh;
    display: grid;
    place-items: center;
    position: relative;
    background-color: var(--accent-secondary);
}

.resources-header-bg::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('./img/resources.jpg') left center/cover no-repeat;
    filter: grayscale(50%) contrast(32%) opacity(40%);
    
}

.resources-header-bg{
    display: grid;
    place-items: center;
}

.resources-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    place-items: center;
}

.resources-grid {
    display: grid;
    place-items: center;
}

.resources-logo {
  padding: 1rem;
  height: 28vh;
  width: auto;
}

.resources-text {
    color: #fff; 
    font-size: 2rem;  
}

.resource-item {
    display: grid;
    place-items: center;
    gap: .8rem;
    grid-template-columns: 1fr 3fr;
    padding: 1rem 0;
}

.resource-item h5 {
    margin-top: 0;
    margin-bottom: 0;
    
    color: var(--accent-secondary)
}

.fa-balance-scale, .fa-calculator, .fa-building, .fa-wallet, .fa-pen-alt, .fa-flag-usa {
    color: var(--accent-secondary);
    font-size: 2rem;
}


/* Contact */

#contact-footer-logo {
    height: 15vh;
}

#contact-footer-logo-media {
    height: 20vh;
}

.contact-footer-icon {
    padding: .8rem 0;
    margin: .8rem 0;
    font-size: 1.3rem;
}

.contact-footer-icon i {
    font-size: 2.5rem;
}

.contact-footer-icon a:hover {

    color: var(--accent-main)  !important;
}

.contact-footer-font {
    font-size: 1.5rem;
}

.contact-footer-height {
    height: 48vh;
}

@media only screen and (max-width: 600px) {
    .contact-footer-height {
        height: 100%;
    }

}


/* Footer */
.place-center {
    display: grid;
    place-items: center;
    height: 100%;
}

#footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    place-items: center;
    padding-bottom: 1.3rem;
}



#footer-copyright {
    background-color: #303030 !important;
    color: #888;
}

#footer-logo-grid {
    display: grid;
    place-items: center;
}

#footer-contact-grid {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#footer-logo {
    height: 10vh;
}

#footer-logo-media {
    height: 15vh;
}


#footer-link-flex {
    display: flex;
}

#footer-link-flex li {
    padding: 0 .5rem;
    margin: 0 .5rem;
}

#footer-link-flex li a {
    color: var(--primary-light) !important;
}

#footer-link-flex li a:hover {
    color: var(--accent-main) !important;
}

.footer-icon {
    padding: .5rem 0;
    margin: .5rem 0;
}


.footer-icon a:hover {

    color: var(--accent-main)  !important;
}

@media only screen and (max-width: 600px) {

    #footer-logo-media {
        margin-bottom: .5rem;
    }

    #footer-grid {
        grid-template-columns: 1fr;
    }

    .place-center {
        padding: 1rem;
        margin: 1rem;
    }
  }