/*!
Theme Name: Thorp Web Design
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: thorp-web-design
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Thorp Web Design is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
	--primary: #1f3a5f;
	--secondary: #2d549b;
    --black: #333333;
	--white: #fff;
	--xxlarge: 36px;
    --xlarge: 28px;
    --large: 20px;
	--medium: 14px;
	--small: 12px;
	--font: 10px;
    --padding: 30px;
}

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

.sr-only {
    display: none;
}

body {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: var(--font);
}

body.noscroll {
	overflow: hidden;
	height: 100%;
}

.twd__heading {
    font-size: var(--xlarge);
    line-height: var(--xlarge);
    color: var(--white);
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

.twd__sub-heading {
    font-size: var(--large);
    line-height: var(--xlarge);
    color: var(--white);
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

p {
    margin: 0;
}

/* HEADER */

header {
    background: var(--primary);
}

body.home header {
    position: absolute;
    width: 100%;
    background: none;
}

.header-top,
.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    position: relative;
    z-index: 9999;
}

.site-branding {
    padding-top: 100px;
}

.header-top {
    flex-direction: column;
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    right: 0;
}

.header-top__btn {
    margin: 10px 0;
}

.header-top__contact {
    margin: 0;
}

.header__logo {
    position: relative;
    z-index: 999;
    flex-basis: 40%;
}

.header__logo img {
    max-width: 100%;
    height: 100%;
}

.header-top__btn a {
    background: var(--secondary);
    color: var(--white);
    padding: 10px;
    display: block;
    text-decoration: none;
    transition: ease-in-out 0.5s;
    font-size: var(--small);
}

.header-top__btn a:hover {
    background: var(--white);
    color: var(--primary);
    padding: 10px;
    display: block;
    text-decoration: none;
    transition: ease-in-out 0.5s;
}

.header-top__contact a {
    padding-left: 10px;
    color: var(--white);
    text-decoration: none;
    transition: ease-in-out 0.5s;
    font-size: var(--small);
    line-height: var(--large);
}

.header-top__contact a:hover {
    color: var(--secondary);
    transition: ease-in-out 0.5s;
}

nav a {
    text-decoration: none;
    color: var(--white);
    font-size: var(--large);
    padding: 10px;
}

nav .hamburger {
    display: inline-block;
    min-height: 36px;
    width: 36px;
    z-index: 9997;
    position: relative;
    cursor: pointer;
}

nav .hamburger span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: var(--white);
    margin-top: 4px;
	transition: ease-in-out 0.5s;
}

nav .hamburger span:first-child {
    margin-top: 4px;
}

.main-navigation.toggled .hamburger {
	margin-top: 8px;
}

.main-navigation.toggled .hamburger span {
    display: none;
	transition: ease-in-out 0s;
	background-color: var(--white);
}

.main-navigation.toggled .hamburger span:first-child {
	transform: rotate(135deg);
	display: block;
	transition: ease-in-out 0.5s;
}

.main-navigation.toggled .hamburger span:nth-child(3) {
    transform: rotate(45deg);
	display: block;
	transform-origin: 24px 0px;
	transition: ease-in-out 0.5s;
}

.menu-toggle {
	background: none;
    border: none;
}

.main-navigation ul {
    display: none;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

header .main-navigation ul#primary-menu {
    position: absolute;
    top: -120vh;
    background: var(--primary);
    bottom: 120vh;
    height: 100vh;
    flex-direction: column;
    transition: ease-in-out 0.5s;
    text-align: center;
    justify-content: flex-start;
    width: 100%;
    right: 0;
    left: 0;
    overflow: scroll;
    padding-top: 250px;
    padding-bottom: 100px;
}

header .main-navigation.toggled ul#primary-menu {
    display: flex;
    top: 0;
    bottom: 0;
    transition: ease-in-out 0.5s;
}

header .sub-menu {
    position: relative;
    float: none;
    box-shadow: none;
    top: unset;
    left: unset;
    right: unset;
    text-align: center;
}

header .sub-menu a {
    width: 100%;
}

header .main-navigation li {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    flex-direction: column;
}

header .menu-item-has-children > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .menu-item-has-children > a:after {
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 10px solid var(--white);
    content: '';
    margin-left: 10px;
    margin-top: 0;
}

header .main-navigation li {
    position: relative;
}

header .main-navigation li:hover > .sub-menu,
header .main-navigation li.focus > .sub-menu {
    display: block;
}

header .close-sub-menu {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    margin-top: 10px;
    margin-right: 18px;
}

header .sub-menu a {
    width: 100%;
    color: var(--white);
    width: 100% !important;
    font-size: var(--small);
}

.close-sub-menu span {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    transition: 0.3s ease-in-out;
}

.close-sub-menu span:first-child {
    transform: rotate(45deg);
}

.close-sub-menu span:last-child {
    transform: rotate(-45deg);
}

/* FOOTER */

footer {
    background: var(--primary);
    text-align: center;
    padding: var(--padding) 10px;
}

footer .custom-logo {
    max-width: 50%;
    height: 100%;
}

.copyright {
    margin-bottom: 5px;
}

.footer-navigation {
    padding: 0;
}

.footer-navigation ul {
    list-style: none;
}

.footer-navigation ul a {
    padding: 0;
    font-size: var(--medium);
    color: var(--white);
    line-height: var(--xlarge);
}

.footer-navigation ul li:first-child a {
    border-left: none;
}

.footer-navigation ul a:hover {
    color: var(--secondary);
}

.site-base {
    color: var(--white);
    font-size: var(--medium);
    line-height: var(--xlarge);
}

.site-base a {
    color: var(--white);
    text-decoration: none;
}

.site-base a:hover {
    color: var(--secondary);
}

footer .header-top {
    position: relative;
    flex-direction: column;
}

footer .header-top__contact {
    margin: 10px 0;
}

.footer-menu {
    padding: var(--padding);
    padding-top: 0;
    text-align: center;
    line-height: var(--large);
}

.footer-menu .twd__sub-heading {
    font-size: var(--medium);
    margin-bottom: 10px;
}

.footer-menu ul {
    margin: 0;
    padding: 0;
}

.footer-menu__1 ul {
    column-count: 2;
    margin-bottom: 20px;
}

/* Hero */


#hero {
    background-image: var(--bg-mobile);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.hero__image {
    display: none;
    max-width: 100%;
}

.hero__image-mobile {
    display: block;
    max-width: 100%;
}

.hero__wrap {
    color: var(--white);
    text-align: center;
    padding: 50px 30px;
    padding-top: 600px;
}

.hero__title {
    font-size: var(--xlarge);
    line-height: var(--xxlarge);
    font-weight: 600;
    margin: 0;
}

.hero__text {
    font-size: var(--large);
    line-height: var(--xlarge);
    margin: 0;
    padding: 20px 0;
}

.hero__links {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.hero__link-1 {
    background: var(--secondary);
    border: solid 1px var(--secondary);
    color: var(--white);
    padding: 15px 30px;
    margin: 10px 0;
    text-decoration: none;
}

.hero__link-1:hover {
    background: var(--white);
    border: solid 1px var(--secondary);
    color: var(--primary);
}

.hero__link-2 {
    background: var(--primary);
    border: solid 1px var(--white);
    color: var(--white);
    padding: 15px 30px;
    margin: 0;
    text-decoration: none;
}

.hero__link-2:hover {
    background: var(--white);
    color: var(--primary);
}

/* Hero END */

/* Tagline */

#tagline {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 30px 10px;
    font-size: var(--large);
    line-height: var(--xlarge);
}

/* Tagline END */

/* Services */

#services {
    background-image: var(--bg-mobile);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    color: var(--white);
}

.services__wrap {
    background: rgba(31, 58, 95, 0.7);
}

.services__flex {
    padding: var(--padding);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.services__image {
    display: none;
    opacity: 0.1;
}

.services__image-mobile {
    display: block;
    opacity: 0.1;
}

.services {
    font-size: var(--medium);
    line-height: var(--xlarge);
}

.services__block {
    position: relative;
    padding: 20px 0;
}

.services__icon {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.3;
    margin: 0 auto;
    z-index: 0;
    left: 0;
    right: 0;
}

.services__icon img {
    width: 40%;
}

.services__inner {
    position: relative;
    z-index: 1;
}

.services__title {
    font-size: var(--large);
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
    font-weight: 600;
}

/* Services END */

/* Portfolio */

#portfolio {
    padding: var(--padding);
    text-align: center;
    font-size: var(--medium);
    position: relative;
}

#portfolio .twd__heading {
    color: var(--primary);
}

.portfolio {
    padding-top: 20px;
}

.portfolio__block {
    padding: 30px;
    background: url(https://twd.sam-thorp.co.uk/wp-content/uploads/2026/03/twd-portfolio-diamond.webp);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top center;
}

.portfolio__img {
    border: solid 3px var(--primary);
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.portfolio__img img {
    width: 100%;
    height: 100%; /* 👈 critical */
    object-fit: cover;
    object-position: top;
    transition: object-position 1.5s ease-in-out;
}

.portfolio__block:hover img {
    object-position: bottom;
}

.portfolio__title {
    display: block;
    text-decoration: none;
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    margin-top: 10px;
    text-align: center;
}

.portfolio__block a:hover .portfolio__title {
    background: var(--secondary);
    color: var(--white);
}

.portfolio__link {
    background: var(--secondary);
    color: var(--white);
    padding: 20px;
    display: block;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.portfolio__link:hover {
    background: var(--primary);
    color: var(--white);
}

/* Portfolio END */

/* wcm */

#wcm {
    background: var(--primary);
    background: url(https://twd.sam-thorp.co.uk/wp-content/uploads/2026/03/wcm-background.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.wcm {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--padding) 10px;
    color: var(--white);
    text-align: center;
    font-size: var(--medium);
    line-height: var(--xlarge);
}

#wcm p {
    margin: 20px 0;
}

#wcm img {
    max-width: 20px;
    margin: 0 20px;
    display: none;
}

#wcm .twd__heading {
    margin-top: 0;
    margin-bottom: 20px;
}

/* wcm END */

/* Pricing */

#pricing {
    color: var(--primary);
    padding: var(--padding);
    font-size: var(--medium);
    text-align: center;
    position: relative;
    line-height: var(--large);
}

#pricing .twd__heading,
#pricing .twd__sub-heading {
    color: var(--primary);
}

.pricing {
    padding-top: 40px;
}

.pricing__block {
    margin-bottom: 40px;
}

#pricing p {
    margin-bottom: 10px;
}

#pricing p:last-child {
    margin-bottom: 0;
}

#pricing .twd__heading {
    margin-bottom: 20px;
    position: relative;
}

/* Pricing END */

/* cta */

#cta {
    background-image: var(--bg-mobile);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    color: var(--white);
    font-size: var(--xlarge);
}

.cta__wrap {
    background: rgba(31, 58, 95, 0.7);
}

.cta__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px var(--padding);
    flex-direction: column;
}

.cta__inner a {
    background: var(--primary);
    border: solid 1px var(--white);
    color: var(--white);
    padding: 10px 30px;
    margin-top: 20px;
    text-decoration: none;
    font-size: var(--medium);
}

.cta__inner a:hover {
    background: var(--white);
    border: solid 1px var(--white);
    color: var(--primary);
}

.cta__image {
    display: none;
    opacity: 0.1;
}

.cta__image-mobile {
    display: block;
    opacity: 0.1;
}

/* cta END */

/* General Pages */

#general-1,
#general-2 {
    padding: var(--padding);
    font-size: var(--small);
    line-height: var(--large);
    text-align: center;
}

#general-1 p,
#general-2 p {
    margin-bottom: 20px;
}

#general-1 p:last-child,
#general-2 p:last-child {
    margin-bottom: 0;
}

#general-1 .twd__heading,
#general-1 .twd__sub-heading,
#general-2 .twd__heading,
#general-2 .twd__sub-heading {
    color: var(--primary);
}

#general-1 .twd__sub-heading,
#general-2 .twd__sub-heading {
    font-weight: normal;
}

#general-1 a,
#general-2 a {
    color: var(--primary);
    text-decoration: none;
}

#general-1 a:hover,
#general-2 a:hover {
    color: var(--secondary);
}

#general-2 ol, #general-2 ul,
#general-1 ol, #general-1 ul {
    list-style-position: inside;
    margin-left: 0;
    padding-left: 0;

}

h3 {
    color: var(--primary);
    font-size: var(--large);
    line-height: var(--xlarge);
    margin-bottom: 0;
}

.general__hero .hero__title {
    margin-bottom: 30px;
}

.legal-block {
    background: var(--primary);
    color: var(--white);
    padding: 20px;
}

.legal-block a {
    color: var(--white) !important;
    text-decoration: none;
}

.legal-block a:hover {
    color: var(--secondary) !important;
}

.testimonial {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.testimonial__block {
    flex-basis: 48%;
    font-size: var(--medium);
    line-height: var(--xlarge);
    color: var(--primary);
    font-weight: 600;
    text-align: right;
    margin-bottom: 20px;
}

.testimonial__block:last-child {
    margin-bottom: 0;
}

.testimonial__quote {
    background: var(--primary);
    color: var(--white);
    padding: var(--padding);
    margin-bottom: 10px;
    font-size: var(--medium);
    line-height: var(--xlarge);
    font-style: italic;
    font-weight: normal;
    text-align: left;
}

.general-1 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.general-1__main {
    flex-basis: 50%;
    flex-grow: 1;
}

.general-1__side,
.general-1__form {
    flex-basis: 40%;
    margin-top: 20px;
}

.general-1__side .services {
    background: var(--primary);
    padding: var(--padding);
    color: var(--white);
    display: block;
    font-size: var(--small);
    line-height: var(--large);
}

.general-1__side .services__block:last-child {
    margin-bottom: 0;
}

.general-1__side .services__title {
    min-height: unset;
    display: block;
    font-size: var(--medium);
    margin: 0 !important;
}

.general-1__side .services__icon {
    display: none;
}

.process {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding);
    margin-bottom: 20px;
    background: var(--primary);
    color: var(--white);
    flex-direction: column;
}

.process__icon {
    flex-basis: 15%;
    background: var(--white);
    padding: 20px;
    margin-bottom: 20px;
}

.process__text {
    flex-basis: 80%;
}

.process__text h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--white);
}

.general-1__form {
    background: var(--primary);
    padding: var(--padding);
}

.general-1__form .wpforms-container .wpforms-field,
.general-1__form .wp-core-ui div.wpforms-container .wpforms-field {
    padding-top: 0;
    padding-bottom: 15px;
}

.general-1__form div.wpforms-container-full .wpforms-form .wpforms-submit-container {
    margin-top: 0;
}

.general-1__form div.wpforms-container-full:not(:empty) {
    margin: 0;
}

.general-1__form-submit {
    background: var(--secondary) !important;
    color: var(--white) !important;
    width: 100% !important;
}

.general-1__form-submit:hover {
    background: var(--white) !important;
    color: var(--primary) !important;
}

.contact-info {
    border-top: solid 1px var(--primary);
    border-bottom: solid 1px var(--primary);
    padding: 20px 0;
    margin-bottom: 20px;
}

.contact-info a {
    font-size: var(--medium);
    margin-bottom: 20px;
    display: block;
}

.contact-info a:last-child {
    margin-bottom: 0;
}

.contact-wcm p {
    background: var(--primary);
    color: var(--white);
    padding: 10px;
    margin: 0 !important;
}

.contact-wcm p:nth-child(even) {
    background: none;
    color: var(--primary);
}

.service {
    display: flex;
    padding-bottom: var(--padding);
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.service:last-child {
    padding-bottom: 0;
}

.service__text {
    flex-basis: 70%;
    order: 1;
}

.service__text h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.service__icon {
    flex-basis: 25%;
    margin-top: 20px;
    order: 2;
}

.maintenance h3 {
    text-align: center;
}

.maintenance__wrap {
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.maintenance__block {
    flex-basis: 32%;
    border: solid 1px var(--primary);
    padding: var(--padding);
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.maintenance__block:nth-child(even) {
    background: var(--primary);
    color: var(--white);
    margin: 0;
}

.maintenance__block .twd__sub-heading,
.pricing__block .twd__sub-heading {
    margin-bottom: 0 !important;
}

.maintenance__block:nth-child(even) .twd__sub-heading {
    color: var(--white) !important;
}

/* END General Pages */

@media only screen and (min-width: 480px) {

    :root {
        --xxlarge: 40px;
        --xlarge: 32px;
        --large: 24px;
        --medium: 18px;
        --small: 14px;
        --font: 12px;
        --padding: 50px;
    }

    .site-branding {
        padding-top: 70px;
    }
    
    .header-top {
        flex-direction: row;
        justify-content: flex-end;
    }

    .header-top__contact {
        margin: 0;
    }

    .hero__wrap {
        padding-top: 500px;
    }

    .hero__links {
        align-items: center;
        flex-direction: row;
    }

    .hero__link-1 {
        margin: 0 10px;
    }

    .hero__link-2 {
        margin: 0 10px;
    }
 
}

@media only screen and (min-width : 767px) {
    
    :root {
        --xxlarge: 40px;
        --xlarge: 32px;
        --large: 24px;
        --medium: 18px;
        --small: 14px;
        --font: 12px;
        --padding: 50px;
    }
    
    .menu-toggle {
        display: none;
    }

    header .main-navigation ul#primary-menu {
        background: none;
    }

    header .sub-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--primary);
        padding: 10px;
        z-index: 999;
    }

    .header__logo {
        flex-basis: 20%;
    }

    .header-top {
        position: relative;
    }
    
    header .main-navigation .menu-menu-1-container ul#primary-menu,
    header .main-navigation #primary-menu > ul {
        display: flex;
        list-style: none;
        margin: 0;
        padding-left: 0;
        position: relative;
        top: unset;
        bottom: unset;
        height: unset;
        padding: 0;
        overflow: visible;
        right: unset;
        left: unset;
        flex-direction: row;
        justify-content: flex-end;
    }

    .site-branding {
        padding: 20px;
        align-items: flex-start;
    }

    .nav-menu a {
        font-size: var(--small);
        padding: 12px;
        border-bottom: solid 3px rgba(255,255,255,0);
    }

    .nav-menu a:hover {
        border-bottom: solid 3px var(--white);
    }

    .sub-menu a {
        font-size: var(--font);
        padding: 12px;
        border-bottom: solid 1px rgba(255,255,255,0);
    }

    .nav-menu a:hover {
        border-bottom: solid 3px var(--white);
    }

    .sub-menu a:hover {
        border-bottom: solid 1px var(--white);
    }

    .nav-menu .menu-item-has-children > a:hover {
        border-bottom: solid 3px rgba(255,255,255,0);
        cursor: pointer;
    }

    .header-top__contact a {
        padding-right: 0;
    }

    footer {
        padding: 20px;
    }

    footer .header-top {
        flex-direction: column;
        padding: 0;
        justify-content: flex-start;
        align-items: flex-start;
    }

    footer .header-top__contact a {
        padding-left: 0;
    }

    footer .header-top__contact {
        margin: 0;
        display: flex;
        flex-direction: column;
    }

    footer ul {
        justify-content: flex-end;
    }

    .footer-menu {
        text-align: left;
        display: flex;
        justify-content: flex-end;
        padding: 0;
    }

    .footer-navigation {
        flex-basis: 60%;
    }

    .footer-menu__1 ul li {
        padding-right: 30px;
    }

    .footer__left {
        flex-basis: 40%;
        text-align: left;
    }

    footer .custom-logo-link img {
        width: 60%;
    }

    .site-info,
    .site-base {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    footer .site-info {
        align-items: stretch;
    }

    .site-base {
        padding-top: 10px;
    }

    footer .custom-logo-link {
        flex-basis: 20%;
    }

    footer .custom-logo-link img {
        max-width: 100%;
    }
    
    .hero__image {
        display: block;
    }

    .hero__image-mobile {
        display: none;
    }

    #hero,
    #services,
    #cta {
        background-image: var(--bg-desktop);
    }

    .home #hero {
        padding-top: 150px;
    }

    .hero__wrap {
        text-align: left;
        display: flex;
        flex-direction: column;
        width: 60%;
        padding: var(--padding);
    }

    .hero__links {
        justify-content: flex-start;
    }

    .hero__link-1 {
        margin-left: 0;
    }

    #tagline {
        padding: var(--padding);
    }

    #wcm img {
        display: unset;
    }

    .portfolio {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .portfolio__block {
        flex-basis: 32%;
        padding: 20px;
    }

    .portfolio__title {
        font-size: var(--small);
    }

    #pricing .twd__heading {
        position: relative;
        z-index: 2;
    }

    .pricing {
        display: flex;
        z-index: 0;
        position: relative;
        margin-bottom: 40px;
        justify-content: space-between;
    }

    .pricing__block {
        margin-bottom: 0;
        padding: var(--padding);
        border: solid 1px var(--primary);
        flex-basis: 50%;
    }

    #general-2 .pricing__block {
        flex-basis: 48%;
        text-align: center;
    }

    .services__block {
        position: relative;
        padding: 50px 100px;
    }

    .general-1__side .services__block {
        padding: 20px 0;
    }

    #general-1, #general-2 {
        text-align: left;
    }

    .testimonial {
        flex-direction: row;
    }

    .testimonial__block {
        margin-bottom: 0;
    }

    .process {
        flex-direction: row;
        padding: 30px;
    }

    .process__icon {
        margin-bottom: 0;
    }

    .service,
    .maintenance__wrap {
        flex-direction: row;
    }

    .service__text,
    .service__icon {
        order: unset;
    }

    .service__icon {
        margin-top: 0;
    }

    .service__text:nth-child(even) {
        text-align: right;
    }

    .maintenance__block {
        margin: 50px 0;
    }

    .maintenance__wrap {
        padding: 40px 0;
    }

}

@media only screen and (min-width : 979px) {

    :root {
        --xxlarge: 48px;
        --xlarge: 40px;
        --large: 30px;
        --medium: 24px;
        --small: 18px;
        --font: 14px;
    }

    footer .header-top {
        align-items: flex-end;
        text-align: right;
        flex-basis: 60%;
        align-self: flex-end;
    }

    .footer__left {
        display: flex;
        justify-content: space-between;
    }

    footer .custom-logo-link {
        flex-basis: 40%;
        align-self: center;
    }

    footer .custom-logo-link img {
        width: 100%;
        height: unset;
    }

    .services {
        display: flex;
        justify-content: space-between;
    }

    .services__block {
        padding: 0;
        flex-basis: 30%;
    }

    .services__title {
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .services__icon img {
        width: 100%;
    }

    .cta__inner a {
        margin-top: 40px;
    }

    .footer-navigation ul a {
        font-size: var(--small);
        line-height: var(--large);
    }

    .footer-menu {
        justify-content: space-evenly;
    }

    .site-base {
        font-size: var(--small);
        line-height: var(--large);
    }

    .header-top__contact a {
        font-size: var(--small);
        line-height: var(--large);
    }

    .footer-menu__1 ul {
        margin-bottom: 0;
    }

    .general-1__side,
    .general-1__form {
        margin-left: 10%;
        margin-top: 0;
    }

    .general-1 {
        flex-direction: row;
    }

}

@media only screen and (min-width : 1200px) {

    .hero__wrap {
        padding: 100px var(--padding);
    }

    .max-width {
        max-width: 1200px;
        margin: 0 auto;
    }

    .footer-menu__1 ul {
        column-count: 3;
        margin-bottom: 0;
    }
 
}

@media only screen and (min-width : 1400px) {    

    .twd__heading {
        margin-bottom: 40px;
    }

    .hero__wrap {
        padding: 100px 0;
    }

    #portfolio,
    #pricing,
    .wcm,
    .services__flex {
        padding: 100px 0;
    }

    .cta__inner {
        padding: 100px 0;
    }

    .portfolio__block {
        padding: 40px;
    }

    #pricing p {
        margin-bottom: 20px;
    }

}