@import url('https://fonts.googleapis.com/css2?family=Griffy&family=Numans&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: #f5f5f5;
}

html {
  scroll-padding-top: 80px; /* offset for your fixed header */
}

html, body {
    overscroll-behavior: none;
}

html {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans';
}

body {
    margin: 0;
    padding: 0;
}

header {
    position: fixed;
    top: 0;
    width: 100vw;
    height: 80px;
    background-color: rgba(255, 255, 255); /* semi-transparent black */
    color: white;
    padding-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    backdrop-filter: blur(5px); /* optional: adds a blur effect behind */
    z-index: 1000; /* keeps it on top of other content */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    overflow: hidden;
}

header {
    align-items: center;
    padding-left: 0;
}

.name {
    flex-shrink: 1;
    flex-grow: 0;
    flex-basis: auto;
    width: 50vw;
    height: 100%;
    white-space: nowrap; /* optional: prevents name wrapping */
    padding-left: .5rem;
    display: flex;
    align-items: center;
}

#menu {
    flex-shrink: 1;
    flex-grow: 1;
    flex-basis: auto;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem; /* use rem instead of vw to avoid scaling weirdness */
    padding: 0 1.5rem;
    flex-wrap: nowrap;
}

#menu button {
    background: none;
    border: none;
    font-size: 18px;
    color: rgb(66, 71, 70);
    transition: color 0.3s, border-bottom 0.2s;
    font-weight: 500;
    transition: color .4s ease, border-bottom .2s ease;
}

#menu a {
    text-decoration: none;
}

#menu .active,
#menu button:hover {
    color: rgb(58, 103, 133);
    border-bottom: solid;
}

#hamburger {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
  }

#hero {
    height: 90vh;
    width: 100%;
    min-height: 600px;
    display: flex;
    margin-top: 80px;
}

#heroImg {
    width: 50%;
    height: 100%;
    background-image: url(/pages/d2880a_fd90a5ac4af949cc93f5ce6485515770~mv2.avif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 85% 40%;
}

#heroText {
    width: 50%;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem;
}

#heroText div {
    width: 90%;
}

#heroText h1 {
    color: rgb(66, 71, 70);
    font-size: 40px;
    margin: 0;
    font-weight: 600;
    margin-bottom: 0;
    padding-bottom: 0;
}

#heroText h2 {
    color: rgb(114, 130, 127);
    font-size: 25px;
    font-weight: 600;
    padding-left: 5px;
    margin: .5rem 0 0 0;
}

#heroText p {
    width: 80%;
    padding-left: 5px;
    margin-top: 2.5rem;
    color: rgb(114, 130, 127);
    font-weight: 600;
}

header { overflow: visible; }

/* Header */
@media (max-width: 1202px) {
    body.nav-no-anim #menu {
        transition: none !important;
      }
    
    #hamburger { display: block; margin-right: 1rem; font-size: 2rem; }

    #menu a {
        width: 100%;
    }

    #menu a button {
        border-color: black;
        width: 100%;
    }

    /* Drawer */
    #menu {
      position: fixed;
      top: 80px;                 /* below the fixed header */
      left: 0;
      height: calc(100vh - 80px);
      width: 35vw;
      max-width: 360px;
      background: #f5f5f5;
      z-index: 1002;
      display: flex;             /* not none! */
      flex-direction: column;
      align-items: start;
      justify-content: start;
      gap: 0;
      padding: 1rem 8px;
      box-shadow: 0 10px 30px rgba(0,0,0,.15);
      transform: translateX(-100%);
      transition: transform .35s ease;
    }
    body.nav-open #menu {
      transform: translateX(0);
    }
  
    /* Overlay behind drawer */
    #menuOverlay {
      display: none;
      position: fixed;
      top: 80px; left: 0; right: 0; bottom: 0;
      background: rgba(0,0,0,.2);
      backdrop-filter: blur(1px);
      z-index: 1001;
    }
    body.nav-open #menuOverlay { display: block; }
  
    /* Optional: prevent background scroll when open */
    body.nav-open { overflow: hidden; }
  
    /* Drawer item look */
    #menu button {
      text-align: left;
      padding: 14px 10px;
      border: none;
      border-bottom: 1px solid #eee;
      background: transparent;
      font-size: 18px;
    }

    #menu a .active {
        color:rgb(47, 130, 172);
    }

    header .name {
        padding-left: 0;
    }
  }

/* Content - Hero */
@media (max-width: 641px) {
    #hero {
        flex-direction: column;
        height: auto;
        align-items: center;
    }

    #hero #heroImg {
        height: 70vh;
        min-height: 400px;
        width: 100%;
        background-position: 70% 37%;
    }

    #hero #heroText {
        width: 80%;
        margin-top: 1rem;
        text-align: center;
    }

    #hero #heroText p {
        width: 100%;
    }

    #heroText div {
        width: 95%;
    }
}

#HomeSpecialty_section {
    width: 100%;
    height: auto;
    background-color: #d7e5e0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#HomeSpecialty_container {
    width: 80%;
    max-width: 1200px;
    height: 100%;
    padding: 5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#HomeSpecialty_left {
    display: flex;
    width: 50%;
    flex-direction: column;
    padding: 1rem 0;
    align-items: end;
}

#HomeSpecialty_left_text {
    width: 80%;
}

#HomeSpecialty_left_text h1 {
    color: rgb(66, 71, 70);
    font-weight: 400;
    font-size: 1.75rem;
}

#HomeSpecialty_left_text h2 {
    color: rgb(66, 71, 70);
    font-weight: 400;
    font-size: 1.5rem;
    display: none;
}

#HomeSpecialty_left_text li {
    color: rgb(66, 71, 70);
    font-weight: 400;
    font-size: 1.5rem;
}

#HomeSpecialty_right {
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 1rem 0 1rem 1rem;
}

#HomeSpecialty_right p {
    font-size: 1.25rem;
    color: rgb(66, 71, 70);
    font-weight: 400;
}

#HomeSpecialty_right a {
    text-decoration: none;
    text-align: center;
    color: rgb(254, 254, 254);
    padding-top: .75rem;
    padding-bottom: .75rem;
    width: 12rem;
    background-color: rgb(156, 176, 170);
    margin-top: 1rem;
}

#HomeSpecialty_right a:hover {
    background-color: rgb(193, 208, 204);
    transition: background-color .3s ease;
}

@media (max-width: 812px) {
    #HomeSpecialty_container {
        flex-direction: column;
        height: auto;
        padding: 2rem 1rem;
        align-items: center;
        width: 80%;
    }

    #HomeSpecialty_left {
        width: 100%;
    }

    #HomeSpecialty_left_text {
        width: 100%;
        text-align: center;
    }

    #HomeSpecialty_left_text h2 {
        display: block;
    }

    #HomeSpecialty_list {
        display: none;
    }

    #HomeSpecialty_left_text div {
        margin: 0 auto;
    }

    #HomeSpecialty_right {
        width: 100%;
        padding: 0 0 1rem 0;
        text-align: center;
        align-items: center;
    }

}

#Holly_section {
    background-color: white;
}

#Holly_section button {
    padding: 1rem 2rem;
    background-color: rgb(156, 176, 170);
    border: none;
    border-radius: 3px;
    font-weight: 400;
    color: white;
    font-size: 1rem;
    margin-top: .5rem;
}

#Holly_section button:hover {
    background-color: rgb(193, 208, 204);
    transition: background-color .3s ease;
}


#Holly_container {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    padding: 4.5rem 1rem;
    margin: 0 auto;
}

#Holly_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
}

#Holly_img img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    overflow: hidden;
    background-position: center;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.241);
}

#Holly_text {
    width: 50%;;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

#Holly_text h1 {
    margin-top: 0;
}

#Holly_text div {
    width: 90%;
}

#Holly_text div a {
    color: rgb(114, 130, 127);
}

@media (max-width: 803px) {
    #Holly_container {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        gap: 75px;
    }

    #Holly_img {
        width: 90%;
    }

    #Holly_text {
        width: 90%;
        text-align: center;
    }

    #Holly_text div {
        width: 100%;
    }

    #Holly_text div {
        margin: 0 auto;
    }
}

/* Expertise Page */

#specialization_section {
    margin-top: 80px;
    display: flex;
}

#specialization_img {
    width: 50%;
    background-image: url(/pages/hand.avif);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 75%;
}

#specialization_text {
    width: 50%;
    padding: 3rem 3rem 5rem 0;
}

#specialization_text_container {
    width: 80%;
    margin: 0 auto;
}

#specialization_text_backup {
    display: none;
}

#specialization_text_backup3 {
    display: none;
}

#specialization_text_backup2 {
    display: none;
}

#specialization_text_backup1 {
    display: none;
}

#specialization_text div .divider {
    width: 25%;
}

@media (max-width: 978px) {
    #specialization_text_backup {
        display: flex;
        flex-wrap: wrap;
        padding: 2rem 5rem 2rem 2rem;
    }

    #specialization_text {
        padding-bottom: 0;
    }

    #specialization_text .t3 {
        display: none;
    }

    #specialization_text_backup3 {
        display: block;
    }
}

@media (max-width: 775px) {
    
    #specialization_text_backup {
        padding: 1rem 5rem 1rem 2rem;
    }

    #specialization_text_backup2 {
        display: block;
    }

    #specialization_text .t2 {
        display: none;
    }
}

@media (max-width: 650px) {
    #specialization_text_backup {
        display: none;
    }

    #specialization_text .t3, #specialization_text .t2, #specialization_text .t1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: 1rem;
    }

    #specialization_text {
        width: 100%;
        text-align: center;
        padding: 3rem 4rem;
    }

    #specialization_text div div .divider {
        width: 40%;
    }

    #specialization_img {
        display: none;
    }

    #specialization_text_container {
        width: 100%;
    }

}

    #approach_section {
        display: flex;
    }
    
    #approach_img {
        width: 50%;
        background-image: url(/pages/cliff.avif);
        background-size: cover;
        background-repeat: no-repeat;
        background-position: 50% 75%;
    }
    
    #approach_text {
        width: 50%;
        padding: 3rem 3rem 5rem 2rem;
    }
    
    #approach_text_container {
        width: 80%;
        margin: 0 0;
    }
    
    #approach_text_backup {
        display: none;
    }
    
    #approach_text_backup3 {
        display: none;
    }
    
    #approach_text_backup2 {
        display: none;
    }
    
    #approach_text_backup1 {
        display: none;
    }
    
    #approach_text div .divider {
        width: 25%;
    }
    
    @media (max-width: 978px) {
        #approach_text_backup {
            display: flex;
            flex-wrap: wrap;
            padding: 2rem 2rem;
            background-color: white;
        }

        #approach_text {
            padding-bottom: 0;
        }
    
        #approach_text .t3 {
            display: none;
        }
    
        #approach_text_backup1 {
            display: block;
        }
    }
    
    @media (max-width: 775px) {
        
        #approach_text_backup {
            padding: 1rem 2rem;
        }
    
        #approach_text_backup2 {
            display: block;
        }
    
        #approach_text .t2 {
            display: none;
        }
    }
    
    @media (max-width: 650px) {
        #approach_text_backup {
            display: none;
        }
    
        #approach_text .t3, #approach_text .t2, #approach_text .t1 {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-top: 1rem;
        }
    
        #approach_text {
            width: 100%;
            text-align: center;
            padding: 3rem 4rem;
        }
    
        #approach_text div div .divider {
            width: 40%;
        }
    
        #approach_img {
            display: none;
        }
    
        #approach_text_container {
            width: 100%;
        }

    }

/* Fees Page */

#feesWrapper {
    max-height: 950px;
    padding: 4rem 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(213,225,223);
    margin-top: 80px;
}

#feesContent {
    width: 70%;
    max-width: 600px;
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 2rem;
    text-align: center;
}

#feesContent h1 {
    font-size: 55px;
    color: rgb(66, 71, 70);
    margin-top: 0;
    margin-bottom: 2rem;
}

#feesContent p {
    font-size: 17px;
    padding-left: 1rem;
    padding-right: 1rem;
    color: rgb(114, 130, 127);
}

#feesContent button {
    border: none;
    height: 2.5rem;
    width: 11rem;
    margin-top: 5%;
    background-color: rgb(163,184,180);
    color: white;
    font-weight: 500;
    font-size: 15px;
    transition: background-color 0.3s;
}

#feesContent button:hover {
    background-color: rgb(103, 115, 113);
}

@media (max-width: 830px) {
    #feesContent {
        width: 95%;
    }

    #feesContent h1 {
        font-size: 3rem;
    }
}

@media (max-width: 452px) {
    #Holly_title_backup {
        display: none;
    }
}

@media (max-width: 494px) {
    #feesContent h1 {
        font-size: 2rem;
    }
}