html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

p {
    margin: 0;
}

:root {
    --font-primary: "Playfair Display", serif;
    --font-secondary: "PT Sans Caption", sans-serif;
    --color-primary: #F5821F;
    --color-secondary: #e1e1e1;
    --h1: bold 100px/100px var(--font-primary);
    --h2: bold 36px/36px var(--font-primary);
    --links: bold 24px/24px var(--font-secondary);
    --p: 18px/30px var(--font-secondary);
    --spacing: 10px;
    --transition: 0.2s ease-in-out;
    --shadow: #00000030 0px 0px 10px 0px;
    --shadow-dark: #00000030 0px 5px 10px 5px;
    --hero-height: 500px;
}

header {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: rgba(255, 255, 255, 1);
    transition: background-color 0.3 ease;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 1px 0px 5px #00000097;
}

.navbar {
    width: 100%;
    height: 80px;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-left {
    position: absolute;
    left: 20px;
}

.nav-right {
    position: absolute; 
    right: 20px;
}

.nav-left a, .nav-right a {
    height: 35%;
    align-items: center;
    display: flex;
    font-family: var(--font-secondary);
    margin-right: 30px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.nav-left a:hover, .nav-right a:hover {
    color: #5f5f5f;
}

.primary-button {
    font-family: var(--font-secondary);
    padding: 8px 20px;
    font-size: 16px;
    color: white;
    background-color: var(--color-primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.primary-button:hover {
    background-color: #d7741c;
    color: #ebebeb;
}

.secondary-button {
    font-family: var(--font-secondary);
    padding: 8px 20px;
    font-size: 16px;
    background-color: #cbcbcb00;
    color: white;
    border: 1px solid #f9f9f9;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.nav-left a:hover, .nav-right a:hover {
    font-size: 28px/28px var(--font-primary);
    transition: var(--transition)
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 100%
}

.logo img {
    height: 64px;
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.hidden {
    display: none;
}

.dropdown-list {
    list-style: none;
    text-align: center;
}

#dropdown {
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}
  
#dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
  
#dropdown li {
    display: flex;
    border-bottom: 1px solid #ddd;
    align-items: center;
    justify-content: center;
    margin: 0;
    height: 50px;
}
  
#dropdown li a {
    text-decoration: none;
    font-family: var(--font-secondary);
    color: black;
    font-size: 16px;
    display: block;
    text-align: center;
    line-height: 50px;
    height: 100%;
    width: 100%;
}

#dropdown li a:hover {
    background-color: rgba(128, 128, 128, 0.16)
}

.navbar-toggle {
    position: absolute;
    right: 20px;
    display: none;
    cursor: pointer;
}

#hero-section {
    height: var(--hero-height);
    background: url("img/Premium\ Photo\ _\ Business\ accounting\ in\ office\ concept.jpeg") center/cover no-repeat;
}

.hero-overlay {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 3, 3, 0.5);
    backdrop-filter: blur(2px);
}

.hero-text {
    display: flex;
    flex-direction: column;
    position: absolute;
    height: 100%;
    width: 90%;
    justify-content: center;
    align-items: flex-start;
    color: #ffffff;
    font-family: var(--font-primary);
}

.hero-text h1 {
    font-size: 54px;
    line-height: 60px;
    margin-bottom: 24px;
    font-weight: 400;
    width: 80%;
    font-family: var(--font-primary);
}

.hero-text p {
    font-size: 20px;
    font-weight: 400;
    font-family: var(--font-secondary);
    margin-bottom: 30px;
    width: 70%;
}

.hero-button {
    display: flex;
    gap: 15px
}

.secondary-button:hover {
    background-color: #ffffff11;
    color: #ebebeb;
}

.tertiary-button {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.section-one {
    display: flex;
    min-height: 250px;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 20px;
}

.section-one h2 {
    font-size: 30px;
    text-align: center;
    line-height: 40px;
    font-weight: 400;
    font-family: var(--font-primary);
    width: 80%;
    margin: auto;
    margin-bottom: 20px;
}

.section-one p {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 26px;
    width: 60%;
    margin: 0 auto;
    text-align: center;
    color: #555;;
}

.highlight {
    color: #d7741c;
}

.section-two {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eeeeee;
}

.column-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: 450px;
    width: 90%;
    gap: 60px;
    padding: 0px;
}

.column, .column-two {
    flex: 1;
}

.column img {
    width: 100%;
    max-height: 340px;
    border-radius: 18px;
    border: 1px solid #9696969f;
    object-fit: cover;
}

.column-two  h2 {
    font-size: 30px;
    text-align: center;
    line-height: 40px;
    font-weight: 400;
    font-family: var(--font-primary);
    width: 100%;
    margin-top: 0;
    margin-bottom: 24px;
}
.column-two p {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 26px;
    width: 100%;
    margin-bottom: 24px;
    text-align: left;
    color: #555;
}

.section-three {
    display: flex;
    justify-content: center;
    padding: 32px;
    background-color: #ffffff;
    min-height: 340px;
    column-gap: 20px;
}

.row-container {
    display: flex;
    flex-direction: row;
    width: 90%;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.link-box {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #dadada;
    border-radius: 8px;
    transition: 0.3s;
    overflow: hidden;
}

.box-1, .box-2, .box-3 {
    height: 340px;
    display: flex;
    flex-direction: column;
    max-width: 250px;
    overflow: hidden;
}

.link-box:hover {
    box-shadow: 0 2px 8px 2px rgba(0,0,0,0.2);
  }

.box-1:hover img, .box-2:hover img, .box-3:hover img{
    transform: scale(1.05);
}

.h3 {
    justify-content: center;
    flex: 1;
}

.img {
    flex: 1;
    width: 100%;
    height: 100%;
}

.box-1 img, .box-2 img, .box-3 img {
    flex: 1;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}


.half-box {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    align-items: center;
    justify-content:flex-start;
    width: 100%;
}

.half-box h3 {
    font-size: 18px;
    text-align: center;
    line-height: 22px;
    font-weight: 500;
    font-family: var(--font-secondary);
    margin-top: 20px;
    text-decoration: none;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #eff0f5fc;
    min-height: 250px;
    width: 100%;
}

.footer-section {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 96%;
    gap: 25px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #b3b3b3af;
    transition: width 0.3s ease;
}

.footer-section p {
    font-family: var(--font-secondary);
    font-size: 16px;
    color: #2a2a2a;
}

.svg-logo {
    width: 25px;
    height: 25px;
}

.social-icon {
    fill: #fff;
    transition: fill 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.instagram-icon {
    fill: #2a2a2a;
}

.instagram-icon:hover {
    fill: #E1306C; 
    transform: scale(1.1);
}

.facebook-icon {
    fill: #2a2a2a;
}

.facebook-icon:hover {
    fill: #1877F2;
    transform: scale(1.1);
}

.footer-section-two {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 96%;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer-section-two img {
    height: 54px;
    width: auto;
}

footer-contact {
    display: flex;
    flex-direction: column;
}

.footer-contact h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 18px;
    text-align: left;
    color: #2a2a2a;
}  

.footer-contact li {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    margin-bottom: 10px;
    text-align: left;
    color: #656565;
}  

.footer-contact li svg {
    height: 22px;
    margin-right: 10px;
    fill: #2a2a2a;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 10px;
}

ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.footer-navbar {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.footer-navbar a {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 16px;
    text-align: left;
    color: #656565;
    margin-bottom: 6px;
    text-decoration: none;
}  

.footer-navbar h2 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 18px;
    text-align: left;
    color: #2a2a2a;
}  

.footer-navbar li {
    display: flex;
    align-items: center;
    gap: 0px;
    margin-bottom: 0px;
}

#about-section {
    height: 350px;
    background: url("img/Premium\ Photo\ _\ Business\ accounting\ in\ office\ concept.jpeg") center/cover no-repeat;
}

.about-overlay {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 3, 3, 0.5);
    backdrop-filter: blur(2px);
}

.about-text {
    display: flex;
    flex-direction: column;
    position: absolute;
    height: 100%;
    width: 90%;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-family: var(--font-primary);
}

.about-text h1 {
    font-size: 54px;
    line-height: 60px;
    margin-bottom: 0;
    font-weight: 400;
    font-family: var(--font-primary);
}

#section-un {
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eeeeee;
}

.column-container-un {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 80%;
    min-height: 450px;
    gap: 10%;
    padding: 0px;
}

.column-un {
    flex: 1;
}

.column-deux {
    flex: 3;
}

.column-un img {
    width: 100%;
    max-width: 400px;
    min-height: 340px;
    margin-top: 100px;
    margin-bottom: 100px;
    margin-right: 100px;
    border-radius: 18px;
    border: 1px solid #9696969f;
    object-fit: cover;
}

.column-deux  h2 {
    font-size: 30px;
    text-align: center;
    line-height: 40px;
    font-weight: 400;
    font-family: var(--font-primary);
    width: 100%;
    margin-top: 30px;
}
.column-deux p {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 26px;
    width: 100%;
    margin-bottom: 30px;
    text-align: left;
    color: #555;
}

.cards-section h2 {
    font-size: 30px;
    text-align: center;
    line-height: 40px;
    font-weight: 400;
    font-family: var(--font-primary);
    width: 100%;
    margin-top: 0;
    margin-bottom: 40px;
}

.cards-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
    border-bottom: 1px solid #eeeeee;
}
  
.cards-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}
  
.box {
    position: relative;
    flex: 1 1 250px;
    max-width: 250px;
    height: 320px;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    transition: box-shadow 0.3s ease;
    text-align: left;
}
  
.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
  
.icon-circle {
    position: absolute;
    top: -25px;
    right: -25px;
    width: 70px;
    height: 70px;
    background-color: #f3923d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
  
.icon-circle svg {
    width: 40px;
    height: 40px;
    color: white;
}

.box h2 {
    font-size: 22px;
    text-align: left;
    line-height: 30px;
    font-weight: 500;
    font-family: var(--font-primary);
    margin-top: 0;
    margin-bottom: 20px;
}

.box p {
    font-family: var(--font-secondary);
    font-size: 18px;
    color: #555;
    line-height: 1.5;
}

.person-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.person-container {
    display: flex;
    flex-direction: row;
    width: 60%;
    align-items: center;
}
      
.image-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 300px;
}
      
.image-container img {
    object-fit: cover;
    width: 300px;
    height: 300px;
    border-radius: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);object-fit: cover;
    border-radius: 50%;
    border: 2px solid #ddd;
}
      
.person-info {
    text-align: center;
    margin-left: 40px;
}
      
.person-info h2 {
    font-size: 24px;
    text-align: left;
    line-height: 26px;
    font-weight: 400;
    font-family: var(--font-primary);
    margin-top: 0;
    color: #2a2a2a;
    margin-bottom: 20px;
}

.person-info p {
    text-align: left;
    font-family: var(--font-secondary);
    font-size: 20px;
    font-weight: 600;
    color: #2a2a2a;
    line-height: 1.5;
    margin-top: 0px;
}

.section-services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid #eeeeee;
}

.services {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    gap: 10%;
    border-bottom: 1px solid #eeeeee;
    padding: 36px;
}

.services h2 {
    font-size: 30px;
    text-align: right;
    line-height: 36px;
    font-weight: 400;
    font-family: var(--font-primary);
    margin-top: 0;
    margin-bottom: 20px;
}
      
.services ul {
    font-family: var(--font-secondary);
    font-size: 18px;
    color: #3b3b3b;
    line-height: 2;
    list-style-type: disc;
    padding-left: 20px;
}

.headie-one {
    flex: 1;
}

.paragraph {
    flex: 1;
}


@media (min-width: 900px) {
    #menu-icon {
        display:none;
    }
}

@media (max-width: 900px) {
    .services {
        flex-direction: column;
        gap: 20px;
    }
    
    .services h2 {
        text-align: center;
    }
}

@media (max-width: 800px) {
    .navbar {
        height: 50px;
    }

    .logo img {
        height: 40px;
    }

    .nav-left, .nav-right {
        display: none;
    }

    .navbar-toggle {
        display: flex;
    }

    .dropdown-menu.show {
        display: flex;
    }

    .hero-text {
        width: 82%;
        justify-self: flex-start;
    }

    .hero-text h1 {
        font-size: 42px;
        line-height: 45px;
    }

    .hero-text p {
        font-size: 16px;
        line-height: 18px;
    }

    #hero-section {
        height: 500px;
    }

    .hero-text h1, .hero-text p {
        width: 86%;
    }

    .secondary-button, .primary-button {
        padding: 10px 16px;
        font-size: 14px;
    }

    .section-one p {
        width: 92%;
    }

    .column, .column-two {
        flex-basis: 100%;
    }

    .column img {
        margin-top: 30px;
    }

    .column-two  h2 {
        margin-top: -30px;
    }

    .section-two {
        flex-direction: column;
    }

    .footer-navbar {
        margin-bottom: 10px;
    }

    .footer-container {
        margin-bottom: 10px;
    }

    .person-container {
        flex-direction: column;
        width: 90%;
        align-items: center;
    }

    .person-info {
        margin-top: 20px;
        margin-left: 0;
    }

    .person-section {
        padding: 0px;
        margin-top: 50px;
        margin-bottom: 50px;
    }
}

@media screen and (max-width: 1024px) {
    .footer-section, .footer-section-two {
      width: 94%;
    }

    .column-container-un {
        flex-direction: column-reverse;
        gap: 0;
    }

    .column-un img{
        margin-top: 10px;
        margin-bottom: 40px;
        margin-right: 0;
    }

    .person-container {
        width: 80%;
    }
}
  

  @media screen and (max-width: 768px) {
    .footer-section, .footer-section-two {
      width: 92%;
    }
  }
  

  @media screen and (max-width: 480px) {
    .footer-section, .footer-section-two {
      width: 90%;
    }
  }

  @media screen and (max-width: 946px) {
    .footer-section-two {
        flex-direction: column;
    }
}

