html {
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 100px;
    background: #fff;
    color: #64686d;
    font-family: "Lora", serif;
    font-size: 1.4rem;
    line-height: 1.85;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

a {
    color: #45aed6;
    text-decoration: none;
    transition: color 0.4s ease, background-color 0.4s ease;
}

a:hover,
a:focus {
    color: #2a95be;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 1rem;
    color: #272727;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

p {
    margin: 0 0 1rem;
}

ul {
    margin: 0 0 1rem;
    padding-left: 2rem;
}

.container {
    width: min(1170px, calc(100% - 30px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    font-family: "Poppins", sans-serif;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 100px;
}

.brand {
    display: inline-flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    padding: 1rem 0;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: #272727;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    display: block;
    padding: 4rem 0;
    color: #272727;
    border-top: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus {
    border-top-color: #f79420;
    color: #272727;
}

.hero-image {
    position: relative;
    height: 600px;
    background: url("/images/heros/dg-background-1.jpg") center / cover no-repeat;
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(90%, 980px);
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-text h1 {
    font-size: clamp(4.2rem, 8vw, 8.4rem);
}

.hero-text p {
    margin-top: 3rem;
    font-size: clamp(2rem, 4vw, 4rem);
}

#cta {
    padding: 50px 0;
    background: #eee;
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.btn {
    display: inline-block;
    border: 0;
    border-bottom: 3px solid #000;
    border-radius: 0;
    background: #4d4e4e;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 1.4rem;
    line-height: 1.2;
    cursor: pointer;
}

.btn:hover,
.btn:focus {
    background: #000;
    color: #fff;
}

.btn-primary {
    padding: 1.2rem 2rem;
}

.btn-lg {
    padding: 1.5rem 2.6rem;
    font-size: 1.8rem;
}

.btn-sm {
    padding: 0.8rem 1.4rem;
    font-size: 1.2rem;
}

#services,
#blog {
    padding: 100px 0 75px;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    font-size: 4.4rem;
    text-transform: uppercase;
}

.section-title::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 140px;
    height: 1px;
    margin-left: -70px;
    background: #ebebeb;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -11px;
    width: 24px;
    height: 24px;
    margin-left: -12px;
    border: 5px solid #fff;
    border-radius: 50%;
    background: #f79420;
}

.services-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    align-items: start;
}

.service-box {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
}

.service-icon img {
    border: 1px solid #4d4e4e;
    border-radius: 50%;
    padding: 5px;
}

.service-icon img:hover {
    border: 3px solid #f79420;
}

#testimonial {
    padding: 100px 0;
    background: #333 url("/images/testimonial/bg.jpg") center / cover no-repeat;
    color: #fff;
}

.testimonial-shell {
    display: flex;
    justify-content: center;
}

.testimonial-slider {
    width: min(760px, 100%);
    text-align: center;
}

.testimonial-item {
    display: none;
}

.testimonial-item.is-active {
    display: block;
}

.testimonial-item h4 {
    margin-bottom: 0;
    color: #fff;
}

.testimonial-item small {
    display: block;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
}

.img-thumbnail {
    display: inline-block;
    padding: 4px;
    border: 1px solid #ddd;
    background: #fff;
}

.img-circle {
    border-radius: 50%;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
}

.blog-sidebar {
    display: grid;
    gap: 3rem;
}

.blog-post {
    border: 1px solid #eee;
    padding: 15px;
}

.entry-thumbnail {
    position: relative;
}

.post-format {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #222534;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 1.2rem;
}

.blog-large .entry-thumbnail {
    margin: -15px -15px 15px;
}

.blog-large .post-format {
    position: absolute;
    right: 20px;
    bottom: -33px;
    width: 66px;
    height: 66px;
    line-height: 1.1;
}

.blog-media {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 1.5rem;
}

.blog-media .entry-thumbnail {
    margin: -15px 0 -15px -15px;
}

.blog-media .post-format {
    position: absolute;
    top: 20px;
    right: -10px;
}

.entry-date {
    margin-bottom: 0.5rem;
    color: #45aed6;
    font-size: 1.2rem;
    text-transform: uppercase;
}

.entry-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    line-height: 1.2;
}

.entry-title a {
    color: #64686d;
}

.entry-title a:hover,
.entry-title a:focus {
    color: #45aed6;
}

.entry-meta {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    color: #999;
}

.entry-meta span + span {
    margin-left: 1rem;
}

#blog-post {
    padding: 4rem 0 8rem;
}

.article-shell {
    width: min(970px, calc(100% - 30px));
}

.article-shell h1 {
    margin-bottom: 1.6rem;
    font-size: 3.4rem;
}

.article-shell .info {
    margin-bottom: 2rem;
}

.article-shell .content img {
    display: block;
    margin: 10px auto;
    border: 1px solid #ccc;
    padding: 5px;
}

blockquote {
    margin: 0 0 2rem;
    padding: 1rem 2rem;
    border-left: 5px solid #eee;
    font-size: 1.75rem;
}

#footer {
    padding: 30px 0;
    background: #2e2e2e;
    color: #fff;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: center;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-icons a {
    color: #fff;
}

.social-icons a:hover,
.social-icons a:focus {
    color: #45aed6;
}

@media (max-width: 900px) {
    .cta-grid,
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        text-align: left;
    }

    .blog-media {
        grid-template-columns: 1fr;
    }

    .blog-media .entry-thumbnail {
        margin: -15px -15px 0;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 82px;
    }

    .nav-inner {
        min-height: 82px;
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: 1.6rem;
    }

    .site-nav.is-open .nav-links {
        display: flex;
    }

    .nav-links a {
        padding: 0.5rem 0;
        border-top: 0;
    }

    .hero-image {
        height: 420px;
    }

    .section-title {
        font-size: 3.2rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-image {
        height: 250px;
    }

    .hero-text p {
        line-height: 1.2;
    }

    .cta-actions {
        text-align: center;
    }
}
