body {
    padding-top: var(--nav-height);
}

header {
    /* nav bar styling */
    & > nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: var(--nav-height);
        box-shadow: 0px 0px 25px -15px rgba(0, 0, 0, 0.75);
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #112f47;
        z-index: 99;
        padding: 0 40px;

        /* logo and title styling */
        & .nav-business {
            display: flex;
            align-items: center;
            gap: 5px;

            & > img {
                height: 50px;
                width: auto;
                margin: 0%;
            }

            & > h1 {
                font-family: "Aptos Display", sans-serif;
                font-size: 30px;
                font-weight: 600;
                letter-spacing: 1.5px;
                color: white;
                white-space: nowrap;
                margin: 0%;
            }
        }

        /* nav bar links styling */
        & .nav-links {
            display: flex;
            list-style: none;
            gap: 35px;
            margin: 0%;
            padding: 0%;

            & li {
                & a {
                    color: white;
                    text-decoration: none;
                    font-family: "Aptos", sans-serif;
                    font-size: 18px;
                    font-weight: 500;
                    transition: color 0.3s ease;

                    &:hover {
                        color: lightblue;
                    }
                }
            }
        }
    }
}

/* responsive design for tablets (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --nav-height: 120px;
    }

    header {
        & > nav {
            flex-direction: column;
            height: auto;
            padding: 15px 20px;
            
            & .nav-business {
                gap: 12px;
                
                & > img {
                    height: 40px;
                }
                
                & > h1 {
                    font-size: 36px;
                    letter-spacing: 1.2px;
                }
            }

            & .nav-links {
                gap: 20px;
                margin-top: 10px;
                
                & li a {
                    font-size: 16px;
                }
            }
        }
    }
    
    main {
        & > h1 {
            font-family: "Aptos Display", sans-serif;
            font-size: 36px;
        }
    }
}

/* responsive design for phones / smaller tablets (768px and below) */
@media (max-width: 767px) {
    :root {
        --nav-height: 120px; 
    }

    header {
        & > nav {
            flex-direction: column;
            height: auto;
            padding: 15px 20px;
            
            & .nav-business {
                gap: 10px;
                
                & > img {
                    height: 32px;
                }
                
                & > h1 {
                    font-size: 24px;
                    letter-spacing: 1px;
                }
            }

            & .nav-links {
                gap: 15px;
                margin-top: 10px;
                
                & li a {
                    font-size: 14px;
                }
            }
        }
    }
    
    main {
        & > h1 {
            font-family: "Aptos Display", sans-serif;
            font-size: 28px;
        }
    }
}

/* responsive design for small phones (320px - 480px) */
@media (max-width: 480px) {
    :root {
        --nav-height: 135px;
    }

    header {
        & > nav {
            & .nav-business {
                & > img {
                    height: 28px;
                }
                
                & > h1 {
                    font-size: 20px;
                    letter-spacing: 0.8px;
                }
            }

            & .nav-links {
                flex-wrap: wrap;
                justify-content: center;
                gap: 12px;
            }
        }
    }
    
    main {
        & > h1 {
            font-family: "Aptos Display", sans-serif;
            font-size: 24px;
        }
    }
}