html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Titillium Web', sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .05em;
    background-color: #ffffff;
    color: #222729; /* Changed from white to dark for better readability */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
    margin-bottom: 0px;
}

a {
    color: #ffffff;
}

    a:hover {
        color: #ffffff;
        text-decoration: none;
        opacity: .9;
    }

section {
    padding: 80px 0;
}

.block-title {
    max-width: 700px;
    margin: 0 auto;
}

.topmargin-sm {
    margin-top: 30px !important;
}

.topmargin-lg {
    margin-top: 60px !important;
}

.primary-btn {
    background: #ffffff;
    color: #222729;
    border: 2px solid #ffffff;
    padding: 15px 40px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
}

    .primary-btn:hover {
        color: #222729;
        opacity: .9;
        text-decoration: none;
    }

.secondary-btn {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 15px 40px;
    display: inline-block;
    margin: 20px 5px 0 5px;
    text-decoration: none;
}

    .secondary-btn:hover {
        background-color: #ffffff;
        color: #2d3234;
        text-decoration: none;
    }

/*/////////////////////////////////////////
Navbar
////////////////////////////////////////*/

.navbar {
    background-color: #ffffff;
    z-index: 9999;
    padding: 0.5rem 1rem;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #222729;
    letter-spacing: .1em;
    text-transform: uppercase;
}

    .nav-link:hover {
        color: #222729;
        opacity: .9;
    }

.nav-item i {
    font-size: 20px;
    margin-left: 20px;
    color: #222729;
}

.navbar-toggler {
    font-size: 30px;
    color: #000000;
    border: none;
}

    .navbar-toggler:focus {
        outline: none;
        box-shadow: none;
    }

.header-logo {
    max-width: 75px;
    min-width: 75px;
    height: auto;
}

/*/////////////////////////////////////////
Hero
////////////////////////////////////////*/

#hero {
    padding: 0px 0;
}

.hero-container-desktop {
    position: relative;
    overflow: hidden;
}

    .hero-container-desktop img {
        width: 100%;
        height: auto;
        -moz-transition: all 0.8s;
        -webkit-transition: all 0.8s;
        transition: all 0.8s;
    }

    .hero-container-desktop:hover img {
        -moz-transform: scale(1.05);
        -webkit-transform: scale(1.05);
        transform: scale(1.05);
    }

.hero-details {
    position: absolute;
    top: 130px;
    left: 50px;
    max-width: 600px;
    z-index: 9000;
}

    .hero-details h1 {
        font-size: 50px;
        font-weight: 700;
        color: #ffffff;
        text-shadow: -2px -2px 0 black, 2px -2px 0 black, -2px 2px 0 black, 2px 2px 0 black, -2px 0px 0 black, 2px 0px 0 black, 0px -2px 0 black, 0px 2px 0 black;
        line-height: 1.2;
    }

    .hero-details p {
        font-size: 20px;
        font-weight: 700;
        color: #ffffff;
        letter-spacing: .1em;
        margin-top: 10px;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    }

.hero-details-mobile {
    color: #222729;
    text-align: center;
    padding: 20px;
}

    .hero-details-mobile h1 {
        font-size: 36px;
        font-weight: 400;
        letter-spacing: .1em;
        margin-bottom: 20px;
    }

    .hero-details-mobile p {
        font-size: 18px;
        font-weight: 200;
        line-height: 1.8;
        margin-bottom: 20px;
    }

.mobile-hero {
    width: 100%;
    height: auto;
}

/*/////////////////////////////////////////
About Us
////////////////////////////////////////*/

#aboutus {
    color: #222729;
    background-color: #f8f9fa;
}

    #aboutus h2 {
        font-size: 46px;
        font-weight: 400;
        letter-spacing: .1em;
        margin-bottom: 30px;
    }

    #aboutus p {
        font-size: 20px;
        font-weight: 500;
        line-height: 1.8;
        text-align: center;
    }

    #aboutus img {
        max-width: 150px;
        height: auto;
        margin-bottom: 20px;
    }

/*/////////////////////////////////////////
Call to Action
////////////////////////////////////////*/

#call-to-action {
    background-color: #2d3234;
    border-bottom: 1px solid hsla(0,0%,100%,.05);
    text-align: center;
}

    #call-to-action h3 {
        font-size: 48px;
        font-weight: 400;
        margin-bottom: 20px;
        color: #ffffff;
    }

    #call-to-action p {
        font-size: 20px;
        font-weight: 200;
        line-height: 1.8;
        color: #ffffff;
    }

    #call-to-action a {
        color: #ffffff;
        text-decoration: underline;
    }

        #call-to-action a:hover {
            color: #cccccc;
        }

/*/////////////////////////////////////////
Footer
////////////////////////////////////////*/

#footer {
    background-color: #2d3234;
    color: #ffffff;
    padding: 20px 0;
}

    #footer ul {
        margin-bottom: 0px;
    }

    #footer li {
        margin: 0 15px;
    }

/*/////////////////////////////////////////
Copyright
////////////////////////////////////////*/

#copyright {
    background-color: #222729;
    color: #919394;
    padding: 15px 0;
    letter-spacing: .1em;
    text-align: center;
}

    #copyright small {
        font-weight: 200;
    }

    #copyright a {
        color: #ffffff;
    }

/*/////////////////////////////////////////
Media Queries
////////////////////////////////////////*/

/* Mobile First - Extra Small devices */
@media (max-width: 575.98px) {
    .hero-container-desktop {
        display: none;
    }

    /* Mobile hero image fix */
    #hero {
        padding-top: 0;
    }

    .mobile-hero {
        margin-top: 70px; /* Push image below navbar */
        height: 50vh; /* Set specific height */
        object-fit: cover; /* Maintain aspect ratio */
    }

    .hero-container-mobile {
        margin-top: 0; /* Remove extra margin */
    }

    .hero-details-mobile {
        padding: 30px 20px;
    }

        .hero-details-mobile h1 {
            font-size: 28px;
        }

        .hero-details-mobile p {
            font-size: 16px;
        }

    #aboutus h2 {
        font-size: 32px;
    }

    #aboutus p {
        font-size: 16px;
        text-align: left;
    }

    #call-to-action h3 {
        font-size: 32px;
    }

    #call-to-action p {
        font-size: 16px;
    }

    section {
        padding: 40px 0;
    }

    .secondary-btn {
        padding: 12px 30px;
        font-size: 14px;
        margin: 15px 0;
        display: block;
        text-align: center;
    }
}

/* Small devices */
@media (min-width: 576px) and (max-width: 767.98px) {
    .hero-container-desktop {
        display: none;
    }

    /* Mobile hero image fix for small devices */
    #hero {
        padding-top: 0;
    }

    .mobile-hero {
        margin-top: 70px; /* Push image below navbar */
        height: 60vh; /* Slightly taller for small devices */
        object-fit: cover;
    }

    .hero-container-mobile {
        margin-top: 0;
    }

    .hero-details-mobile {
        padding: 30px;
    }

        .hero-details-mobile h1 {
            font-size: 32px;
        }

        .hero-details-mobile p {
            font-size: 18px;
        }

    #aboutus h2 {
        font-size: 38px;
    }

    #aboutus p {
        font-size: 18px;
    }

    #call-to-action h3 {
        font-size: 38px;
    }
}

/* Medium devices */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero-container-mobile, .mobile-hero {
        display: none;
    }

    .hero-details {
        max-width: 350px;
        top: 70px;
        left: 30px;
    }

        .hero-details h1 {
            font-size: 32px;
        }

        .hero-details p {
            font-size: 16px;
        }

    #aboutus h2 {
        font-size: 40px;
    }

    #aboutus p {
        font-size: 18px;
    }
}

/* Large devices */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .hero-container-mobile, .mobile-hero {
        display: none;
    }

    .hero-details {
        max-width: 450px;
        top: 100px;
        left: 40px;
    }

        .hero-details h1 {
            font-size: 42px;
        }

        .hero-details p {
            font-size: 18px;
        }
}

/* Extra large devices */
@media (min-width: 1200px) {
    .hero-container-mobile, .mobile-hero {
        display: none;
    }
}

/* Landscape orientation fixes */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-details {
        top: 50px;
    }

        .hero-details h1 {
            font-size: 28px;
        }

        .hero-details p {
            font-size: 14px;
        }

    section {
        padding: 40px 0;
    }

    /* Mobile landscape hero fix */
    .mobile-hero {
        height: 40vh;
        margin-top: 60px;
    }

    .hero-details-mobile {
        padding: 15px 20px;
    }
}
