/*main blue #3f57a3 rgba(63, 87, 163, 1)*/
/*navy blue #17213f rgba(23, 33, 63, 1)*/
/*blue grey #b2b7c6 rgba(178, 183, 198, 1)*/

/*font face*/
@font-face {
    font-family: 'Avenir Black';
    src: url('/static/fonts/Avenir Black.ttf') format('truetype'), 
    url('/static/fonts/avenir_black-webfont.woff2') format('woff2'),
    url('/static/fonts/avenir_black-webfont.woff') format('woff');
}

@font-face {
    font-family: 'Avenir Book';
    src: url('/static/fonts/Avenir Book.ttf') format('truetype'),  
    url('/static/fonts/avenir_book-webfont.woff2') format('woff2'),
    url('/static/fonts/avenir_book-webfont.woff') format('woff');
}

@font-face {
    font-family: 'Avenir Heavy';
    src: url('/static/fonts/Avenir Heavy.ttf') format('truetype');
}

@font-face {
    font-family: 'Avenir Light';
    src: url('/static/fonts/Avenir Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Avenir Medium';
    src: url('/static/fonts/Avenir Medium.ttf') format('truetype'), 
    url('/static/fonts/avenir_medium-webfont.woff2') format('woff2'),
    url('/static/fonts/avenir_medium-webfont.woff') format('woff');
}

@font-face {
    font-family: 'Avenir Regular';
    src: url('/static/fonts/Avenir Regular.ttf') format('truetype');
}

body {
    color: #17213f; 
    font-family: 'Avenir Regular', sans-serif;
}
/*background-color: #b2b7c6;*/

/*nav*/
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    z-index: 999;
    width: 100%;
    transition: background-color 0.3s ease-in-out;
    background-color: rgba(0,0,0,0)
}

.navbar a:hover {
text-decoration: none;}

.navbar.scrolled {background-color: #fff;}

.logo img {max-width: 280px;
    cursor: pointer;
}

.nav {
    color: #17213f;
    font-size: 1.5em;
    cursor: pointer;
}

.navbar a:hover {font-weight: 500;}

.sidenav .unstyled {list-style-type: none;}

.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 99999;
  left: 0;
  background-color: #17213f;
  overflow-x: hidden;
  padding-top: 60px;
  transition: 0.3s;
  text-transform: uppercase;
  font-family: "Avenir Black", sans-serif;
  font-size: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-content: flex-start;
  flex-wrap: wrap;
  flex-direction: column;
}

/*.sidenav a i {font-size: 1.5rem; margin-left: 1.5rem;}*/

/* The navigation menu links */
.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  display: block;
  transition: 0.3s;
  color: #fff;
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #b2b7c6;
  text-decoration: none;
}

.sidenav .content {margin-left: 2rem;}
.sidenav .content a {font-size: 1.8rem;}
.sidenav .content a:hover {color: #f48304;}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

.sidenav .closebtn:hover {
text-decoration: none;
}

.nav-contact-details {
padding-bottom: 32px;}
.nav-contact-details a, .nav-contact-details i {font-size: 1.4rem;}
.nav-contact-details a:nth-child(2) {text-transform: lowercase;}
.nav-contact-details a:nth-child(3) {text-transform: capitalize;}
.nav-contact-details i {margin-right: 8px;}
.nav-contact-details a {font-family: 'Avenir Medium', sans-serif;}


/*scroll to top*/
#scrollToTopBtn {
      position: fixed;
      bottom: 10px;
      right: 20px;
      display: none;
      background-color: #17213f;
      color: #fff;
      border: none;
      border-radius: 5px;
      padding: 5px;
      cursor: pointer;
      font-size: 10px;
      width: 20px;
      height: 20px;
      z-index: 999;
      transition: background-color 0.3s ease-in-out;
}

/*collapsible*/
.collapsible {
    cursor: pointer;
}

.content {
    display: none;
}

/*typefaces fonts*/
p, strong, em {line-height: 1.2rem; margin-bottom: 0.5rem; margin-top: 0.5rem; font-size: 18px; font-family: 'Avenir Regular', sans-serif;}
h1 {line-height: 3.5rem; margin-bottom: 2rem; margin-top: 2rem; text-transform: uppercase; font-size: 4rem; font-family: 'Avenir Black', sans-serif;}
h2 {line-height: 2.5rem; margin-bottom: 1.5rem; margin-top: 1.5rem; font-size: 3rem; font-family: 'Avenir Black', sans-serif;}
h3, h4 {line-height: 1.5rem; margin-bottom: 1rem; margin-top: 1rem; font-family: 'Avenir Black', sans-serif;}
h3 {font-size: 2rem;}
h4 {font-size: 1.8rem; font-weight: 400;}

.caps {text-transform: uppercase;}

a {
    text-decoration: none;
    color: #3f57a3;
    font-weight: 500;
}
a:hover {
    text-decoration: underline;
}

/*general theme styling*/
.hidden {display: none;}
.active {display: block;}

body {
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    flex-direction: column;
}

.row {
    width: 100%;
    box-sizing: border-box;
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    margin-left: 25%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay a {
color: #17213f;
}

.centered-text {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 8rem 0 8rem 0;
    flex-direction: column;
    text-align: center;
}

.inner-block h4 {
    max-width: 70%;
    line-height: 2.2rem;
}

.two-columns {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.column-half {
    flex: 0 0 50%;
}

.full-screen-hero {
    position: relative;
    flex: 1;
    background: url('another-hero-image.jpg') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.two-columns.centered-text {justify-content: space-around; flex-direction: row;}
.two-columns.centered-text .column-half {flex: 0 0 46%; justify-content: center; display: flex; }

.contact-form {display: flex; flex-direction: column; padding-left: 15%; padding-right: 15%;}
.contact-form .row {display: flex; flex-direction: row; justify-content: space-between;}
.contact-form input[type="email"], .contact-form textarea, .contact-form input[type="text"], .contact-form input[type="tel"] {width: 100%; font-family: "Avenir Regular", sans-serif; border-bottom: solid 2px #000; border-top: solid 0px; border-left: solid 0px; border-right: solid 0px; padding: 8px; margin-bottom: 12px; background-color: rgba(0,0,0,0); font-size: 18px;}
.contact-form input[type="email"], .contact-form input[type="text"], .contact-form input[type="tel"] {height: 40px;}
/*.contact-form input[type="submit"] {width: 100%; height: 40px; border: solid 2px #000;}*/
.contact-form input[type="submit"] {height: 40px; border-bottom: solid 2px #000; border-top: solid 0px; border-left: solid 0px; border-right: solid 0px; margin-bottom: 48px; background-color: rgba(0,0,0,0); text-align: left; font-family: "Avenir Black", sans-serif; padding: 0px 8px; font-size: 18px; font-weight: 500; text-transform: uppercase; font-weight: 600;}
.contact-form input[type="submit"]:hover {color: #3f57a3; border-bottom: solid 2px #3f57a3;}
.contact-form h4 {margin-bottom: 12px;}
.contact-form .row .column-half {flex: 0 0 49%;}

.contact-details {margin-bottom: 24px;}
.contact-details a {font-size: 18px; font-family: 'Avenir Black', sans-serif;}

#hero-top {background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35),rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)), url('/static/images/tax-connect-hero2.jpg'); background-size: cover;}
#contact {background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), url('/static/images/tax-connect-contact.jpg'); background-size: cover;}
#hero-top i {font-size: 1.5rem; margin-top: 1rem;}
/*#contact {background: url('/static/images/herolo.png'); background-size: cover;}*/

.full-screen {height: 100vh; width: 100%;}

/*background-color: #fff; padding: 48px; border-radius: 12px; border: solid 2px #17213f;}*/

/*sliders*/
/* Reset default margins and paddings for all elements */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#slider-row {
    background-color: rgba(63, 87, 163, 1);
    padding: 4rem 2rem 4rem 2rem;
}

/* Style the slider container to control the slider's visibility and positioning */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Format the slider element to align the slides properly */
.slider {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

/* Style the slide elements to make them responsive and visually appealing */
.slide {
    flex: 0 0 calc((100%)  / 3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0,0,0,0);
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Style the images and headers within the slide elements */
.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 1rem;
}

.slide h3 {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #fff;
}

.slide p, .slide a {color: #fff}
.slide a {font-weight: 600;}

.slide-text {padding-left: 1rem; padding-right: 1rem;}

.column-half-inner {border: solid 1px #17213f;}
.column-half-inner img {width: 100%;}
.profile {padding: 2rem;}
#profiles .column-half {flex: 0 0 33%; justify-content: center; display: flex; }

.profiles-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}
.profile-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    width: 100%;
    text-align: center;
}
.profile-card h3 {
    margin-top: 0;
    color: #333;
}
.profile-card p {
    margin: 10px 0;
    color: #555;
}

#two-col .extra-padding {
    margin-top: 2.5rem;
}

#collapsibleId {background-color: rgba(63, 87, 163, 1);
    padding: 4rem 2rem 4rem 2rem; color: #fff;}
#collapsibleId img {width: 90%;}
#accounting-text, #tax-text, #startup-text {flex-direction: column; flex-wrap: wrap;}

.spinner.active {width: 30px; height: 30px; margin-left: 30px;}
.spinner img {width: 100%; height: auto;}
.response-message {margin-bottom: 2rem;}

#about {margin-top: 8rem;padding-left: 4rem;margin-bottom: 2rem;}

/*team profiles*/
.profile-row img {max-height: 50vh; aspect-ratio: 4/5 !important;}

.profile-row {
    display: flex;
    flex-direction: row;
    margin-left: 0%;
    margin-right: 0%;
    border: solid 1px #17213f;
    }

#teamrow {
width: 100%;
padding-left: 8rem;
padding-right: 8rem;
box-sizing: border-box;
}

.team-row {
width: 80%; margin-left: 20%; border: solid 1px #17213f;}

.collapsible {
            background-color: rgba(63, 87, 163, 1);
            color: #fff;
            cursor: pointer;
            padding: 18px;
            border: none;
            text-align: left;
            outline: none;
            font-size: 18px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
        }

        .collapsible.active, .collapsible:hover {
            background-color: #17213f;
        }

        .collapsible i {
            transition: transform 0.3s;
        }

        .collapsible.active i {
            transform: rotate(180deg); /* Rotate to chevron up */
        }

        .content {
            padding: 1rem;
            display: none;
            overflow: hidden;
            background-color: #f9f9f9;
        }

/*footer*/
.footer {
    min-height: 40px;
    background-color: #fff;
    padding: 0px 20px;
    color: #17213f;
    align-items: center;
    display: flex;
}

.grecaptcha-badge {
    visibility: hidden;
}

#disclosure {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: rgba(63, 87, 163, 1);
    color: #fff;
}

.disclosure .inner-block {
padding-left: 8rem;
padding-right: 8rem;
padding-top: 4rem;
padding-bottom: 4rem;
}

 .disclosure .inner-block ul {
 list-style-type: none;

}

.disclosure .inner-block a {
color: #fff;
font-weight: 600;
}

.disclosure .inner-block li {
    margin-top: 1rem;
    margin-left: 2rem;
}

@media (max-width: 1440px) and (min-width: 1025px) {
    .profile-row {
        flex-wrap: wrap;
        justify-content: center;
        align-content: center;
    }

    .profile-row img {margin-top: 4rem;}
}

/* Media queries to adjust the slider's layout based on the viewport width */
@media (max-width: 1024px) {
    .slide {
        flex: 0 0 calc(100% / 2);
    }

    .profile-row {
        flex-direction: column;
        flex-wrap: wrap;
    }
}

@media (min-width: 769px) {
        .desktop-hide {
            display: none !important;
        }
    }

@media (max-width: 768px) {
    .row {padding-left: 5%; padding-right: 5%;}

    .mobile-hide {display: none !important;}

    .overlay {width: 100%; margin-left: 0%;}

    .desktop-hide .overlay {
        position: relative;
    }

    .desktop-hide .overlay h1 {
        font-size: 2.6rem;
        line-height: 3rem;
    } 

    #hero-top {height: 50vh; background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)), url('/static/images/tax-connect-hero2-mobile.jpg'); background-size: cover; background-position: right;}
    #contact {min-height: 50vh; background: #fff; position: relative; padding-top: 0rem; padding-bottom: 4rem;}
    #mobile-contact {position: relative; height: 50vh; background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)), url('/static/images/tax-connect-contact-mobile.jpg'); background-size: cover; background-position: right;}

    .centered-text {text-align: left; align-items: flex-start; margin: 0;}

    h2 {
        font-size: 2.2rem;
        line-height: 2.5rem;
    }

    h4 {
        font-size: 1.4rem;
        line-height: 1.8rem;
    }

    .inner-block h4 {
        max-width: 100%;
    }

    .profile-row {
        flex-direction: column;
        flex-wrap: wrap;
        min-width: 90vw;
    }

    .profile-row img {max-height: 80vh; width: 100%;}

    .team-row {
        width: 100%;
        margin-left: 0%;
        margin-top: 4rem;
        min-width: 90vw;
    }

    #about {margin-top: 4rem;padding-left: 0rem;margin-bottom: 2rem; width: 90%; margin-left: 5%;}
    #section2 {margin-top: 4rem; margin-bottom: 2rem;}
    
    .slider {flex-direction: column; margin-bottom: 2rem;}

    .slide {
        flex: 1 0 100%;
    }

    .slide-text {
        padding-bottom: 2rem;
    }

    .two-columns, .two-columns.centered-text {flex-direction: column;}
    .two-columns.centered-text .column-half, .column-half {
        flex: 1;
        }

    #two-col .column-half:nth-child(2) {
        margin-top: 1.5rem;
    }

    .contact-form {padding-left: 0px; padding-right: 0px; padding-top: 2rem;}
    .contact-form .row {padding-left: 0px; padding-right: 0px;}

    .contact-form input[type="email"]::placeholder, .contact-form input[type="text"]::placeholder, .contact-form input[type="tel"]::placeholder, .contact-form input[type="submit"], .contact-form textarea::placeholder {color: #000;}

    .footer {padding: 20px 20px;}

    .disclosure .inner-block {
        padding-left: 0rem;
        padding-right: 0rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
        }
}



