/* ===  CONTENTS ===================================

GOOGLE FONTS
WHOLE PAGE STYLES 
BUTTONS
HEADER
DESKTOP NAV
HOMEPAGE HERO
NORMAL PAGE HERO 
FLEX CONTAINERS
SERVICES SECTION 
WHY CHOOSE US? SECTION 
LATEST WORK SECTION
REVIEWS SECTION
CTA SECTION
CONTACT FORM
FOOTER
JS CLASSES

=================================================== */


/* === GOOGLE FONTS =============================== */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600&family=Inter:wght@400;500;600;700&family=Libre+Bodoni:wght@400;500;600;700&display=swap');

/* === WHOLE PAGE STYLES ========================= */    
:root {
    --header-height: 110px;
    --header-height-reduced: 75px;
    --accent-color-1: rgb(156, 157, 160);
    --accent-color-2: rgb(81, 81, 83);
    --accent-color-3: #a56d57;
    --accent-color-1-dark: rgb(1,10,92);
    --gradient-1: linear-gradient(180deg, rgb(156, 157, 160) 0%, rgba(5, 4, 4, 0.664) 80%);
    --gradient-2: linear-gradient(150deg, rgb(94, 94, 94) 0%, rgba(48, 34, 5, 0.582) 100%);
    --dark-grey: #474747;
    --medium-grey: #7f7f7f;
    --light-grey: #b9b9b9;
    --very-light-grey: #e4e4e4;
    --paragraph-text:  'Inter', sans-serif;
    --header-text: 'Libre Bodoni', sans-serif;
    --border-radius: 5px;
}

* {
   /* border: 1px dashed grey; */
   box-sizing: border-box;
}

html {
    max-width: 100vw;
    scroll-behavior: smooth;
    font-family: var(--paragraph-text);
    font-size: 16px;
    background-color: rgb(156, 157, 160);
}

body {
    overflow-x: hidden;
    background-color: white;
}

h1, h2, h3 {
    color: var(--accent-color-3);
    font-family: var(--header-text);
    font-weight: 500;
}

h2 {
    font-size: clamp(3rem, 14vw, 5rem);
    margin: 0;
}

h3 {
    font-size: 4rem;
    font-family: var(--header-text);
    font-weight: 600;
    padding: 10px 0;
    margin: 0;  
}

h4 {
    font-family: var(--paragraph-text);
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent-color-2);
    padding: 0;
    margin: 0;  
}

p, ul {
    font-size: 1.4rem;
    line-height: 2.1rem;
    color: var(--dark-grey);
}

section, footer {
    padding: 100px 15%;
}

.normal-link {
    text-decoration: none;
    color: var(--accent-color-2);
    font-weight: 600;
    transition: color 0.3s;
}

.normal-link:hover {
    color: var(--accent-color-3);
}


.text-cols {
    columns: 2 300px;
    margin: 40px 0;
    column-gap: 40px;
}

.text-cols p, .text-cols ul {
    margin-top: 0;
}

.normal-list {
    color: var(--dark-grey);
    line-height: 2.1rem;
    padding-left: 2rem;
    list-style-type: square;
    list-style-position: outside;
}

.normal-list li {
    margin: 0;
    padding: 5px 0;
    line-height: 2.5rem;

    font-weight: 500;
}

.normal-list li::marker {
    color: var(--accent-color-3);
}


/* === BUTTONS =================================== */
button {
    padding: 12px 40px;
    margin: 10px 0;
    border-radius: var(--border-radius);
    font-family: var(--paragraph-text);
    font-size: 1.7rem;
    font-weight: 500;
    transition: 0.3s;
    cursor: pointer;
}

button:hover {
    background-color: var(--accent-color-3);
    border: 2px solid var(--accent-color-3);
    color: white;
}

.button-dark {
   margin: 10px 20px 10px 0;
   background-color: var(--accent-color-2);
   border: 2px solid var(--accent-color-2);
   color: white;
}

.button-light {
    background-color: rgba(255, 255, 255, 0);
    border: 2px solid var(--accent-color-1);
    color: var(--accent-color-1);
}
 
.hero-button-container {
    padding: 40px 0 0 0;
}

.hero-button-light {
    background-color: white;
    border: 2px solid white;
    margin-right: 20px;
    color: var(--accent-color-2);
}

.hero-button-dark {
    background-color: rgba(255,255,255,0);
    backdrop-filter: blur(3px);
    border: 2px solid white;
    color: white;
}

.hero-button-light:hover, .hero-button-dark:hover {
    background-color: var(--accent-color-3);
    border: 2px solid var(--accent-color-3);
    color: white;
}


/* === HEADER =================================== */
header {
    display: flex;
    width: 100vw;
    height: var(--header-height);
    position: fixed;
    top: 0;
    padding: 0 15%;
    background-color: rgb(156, 157, 160);
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    transition: height 0.5s, box-shadow 0.5s;
}

.header-box-shadow { /* Added/removed with "header.js" */
    box-shadow: 0px 1px 5px rgba(0,0,0,0.5);
}

.header-height-reduced { /* Added/removed with "header.js" */
    height: var(--header-height-reduced);
}

.logo {
    height: 85%;
    max-width: 300px;
    background-color: inherit;
}

.logo img {
    height: 100%;
    width: auto;
}

.square-logo {
    height: 110%;
    max-width: 300px;
    padding: 10px 15px 15px 15px;
    border-radius: 0 0 5px 5px;
}


/* === DESKTOP NAV =================================== */
                 /*  Mobile nav styles in "mobile.css" */ 
nav {
    display: flex;
    height: 100%;
    width: 60%;
    align-items: center;
}

.desktop-nav {
    display: flex;
    width: 100%;
    padding: 0;
    justify-content: end;
    gap: 0 4%;
    align-items: center;
    list-style-type: none;
}

.desktop-nav > li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    flex-wrap: nowrap;
    transition: 0.3s;
}

.desktop-nav > li a:hover {
    color: var(--accent-color-2);
}

#nav-cta {
    background-color: rgb(109, 109, 109);
    color: white;
    padding: 10px 18px;
    border-radius: var(--border-radius);
}

#nav-cta:hover {
    background-color: var(--accent-color-2);
}

.desktop-nav-dropdown-content {
    opacity: 0;
    position: absolute;
    padding: 0;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 0 0 5px 5px;
    box-shadow: 0 15px 10px -10px var(--dark-grey);
    transition: 0.5s ease;
    pointer-events: none;
}

.dropdown-item {
    display: block;
    padding: 20px 30px;
    background-color: white;
    z-index: 0;
}

.dropdown-item:first-child {
   border-top: 4px solid var(--accent-color-2);
}

.dropdown-item:last-child {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.desktop-nav-dropdown:hover .desktop-nav-dropdown-content {
    padding-top: 24px;
    opacity: 1;
    pointer-events: auto;
}


/* === HOMEPAGE HERO =================================== */
.hero {
    display: flex;
    height: 90vh;
    padding: 0;
    margin-top: calc(var(--header-height));
    align-items: center;
    text-align: left;
    background-color: var(--accent-color-3);
    background-image: 
        var(--gradient-1),
        url("../media/hero.jpg");
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-text {
    padding: 0 15%;
}

.hero-text h1 {
    font-size: 5.5rem;
    color: white;
}

.hero-text h2 {
    font-family: var(--paragraph-text);
    font-size: 2.4rem;
    color: white;
    font-weight: 400;
}

.hero-accreditations {
    margin-top: 30px;
}

.hero-accreditations img {
    height: 100px;
    width: auto;
    margin-right: 30px;
}

/* === NORMAL PAGE HERO =================================== */
.page-hero {
    display: flex;
    height: 40vh;
    padding: 0;
    margin-top: calc(var(--header-height));
    align-items: center;
    background-color: var(--accent-color-3);
    background-image: 
        var(--gradient-1),
        url("../media/hero-2.jpg");
    background-position-x: center;
    background-position-y: top;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-text {
    width: 100%;
    padding: 0 15%;
}

.page-hero-text {
    text-align: center;
}


.page-hero h1 {
    font-size: 6rem;
    text-align: center;
    color: white;
}

.page-hero h2 {
    font-family: var(--header-text);
    font-size: 2rem;
    font-weight: 400;
}

.page-hero p {
    color: white;
}


/* === INTRO SECTION =================================== */
.intro {
    background-color: white;
}

.intro-2 {
    background-color: var(--very-light-grey);
}


.credentials {
    background-color: white;
}


/* === FLEX CONTAINERS =================================== */
.flex-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
  }
  
  .flex-item-left, .flex-item-right {
    width: 50%;
  }
  
  .flex-container img {
    width: 100%;
  }


/* === SERVICES SECTION =================================== */
.services {
    background-color: white;
    text-align: center;
  }

.service-card-container {
    display: flex;
    margin: 70px 0;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.service-card {
	width: 30%;
	position: relative;
    transition: 0.3s;
}

.service-card img {
	display: block;
	width: 100%;
    border-radius: var(--border-radius);
}

.service-card-text-container {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
    width: 100%;
	height: 100%;
    padding: 5%;
	align-items: center;
	justify-content: center;
	background-image: var(--gradient-2);
    border-radius: var(--border-radius);
	color: white;
	font-size: 2.5rem;
    font-weight: 500;
    transition:  0.5s;
}

.service-card:hover {
    transform: scale(1.03, 1.03);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* === WHY CHOOSE US? SECTION =================================== */
.why-choose-us {
    text-align: center;
    background-color: var(--accent-color-1);
    background-image: 
        var(--gradient-2),
        url("../media/hero-3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.why-choose-us h2, .why-choose-us h3, .why-choose-us p {
    color: white
}

.why-choose-us-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.why-choose-us-item {
    display: block;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    align-self: flex-start;
    flex-basis: 33%;
    flex-grow: 0;
    min-width: 200px;
    text-align: center;
    color: white;
}

.why-choose-us-item img {
    display: block;
    height: 7vw;
    width: auto;
}

.why-choose-us-item p {
    display: block;
    font-size: 2rem; 
    font-weight: 500;
}

.icon {
    font-size: 6rem;
    color: white
}

.tick {
    color: white;
    font-size: 35px;
    margin-left: 10px;
}


/* === QUOTE SECTION =================================== */
.quote {
    text-align: center;
    background-color: var(--accent-color-1);
    background: 
        var(--gradient-2),
        url("../media/hero-2.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.quote p {
    font-family: var(--paragraph-text);
    font-size: 3rem; 
    font-style: italic;
    line-height: 3rem;
    color: white;   
}

.quote i {
    color: var(--accent-color-3);
    text-align: center;
}

.quote span {
    color: white;
    font-family: 'Caveat', cursive;
    font-size: 2.4rem;
    font-style: italic;
    float: right;
}


/* === LATEST WORK SECTION =================================== */
.latest-work {
    background-color: white;
}

.latest-work-img-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5%;
  justify-content: space-between;
}

.latest-work img {
    max-width: 47%;
    margin-bottom: 5%;
    flex-grow: 1;
    border-radius: var(--border-radius);
}


/* === REVIEWS SECTION =================================== */
.reviews {
    background-color: var(--very-light-grey);
    text-align: center;
}

.reviews h3 {
   color: #9e8d61;
}

.slideshow-container {
   max-width: 100%;
   position: relative;
   margin: 0 auto;
   padding: 30px 0;
   transition: 1s;
}
  
.prev-button, .next-button {
    width: auto;
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -22px;
    padding: 16px;
    color: grey;
    font-weight: bold;
    font-size: 18px;
    transition: 0.3s ease;
    user-select: none;
}
  
.prev-button {
   left: 0;
   border-radius: 0 3px 3px 0;
}

.next-button {
  right: 0;
  border-radius: 3px 0 0 3px;
}
  
.prev-button:hover, .next-button:hover {
  background-color: rgba(0,0,0,0.2);
}
  
.review-text {
    width: 100%;
    padding: 0px 5%;
    bottom: 8px;
    text-align: left;
    font-style: italic;
    font-size: 1.6rem;
    color: var(--dark-grey);
}
  
.review-name {
    padding: 0;
    margin: 0;
    font-family: Caveat, cursive;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color-3);
    text-align: right;
}

.review-text i {
    color: var(--accent-color-3);
}

.review-stars {
    color: var(--accent-color-2);
}
 
.dots-container {
    text-align: center;
    padding: 10px 0 40px 0;
}

.dot { 
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #526b8d;;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
  
.active, .dot:hover {
    background-color: var(--accent-color-2);
}
  
.fade {
   animation-name: fade;
   animation-duration: 1.5s;
}
  
@keyframes fade {
   from {opacity: 0}
   to {opacity: 1}
}

/* === ACCREDITATIONS SECTION =================================== */
.accreditations {
    background-color: var(--accent-color-1);
    background-image: var(--gradient-1);
} 

.accreditation-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5%;
}

.accreditation-img-container {
    flex-basis: 100%;
    text-align: center;
}

.accreditation-img-container img {
  height: 5vw;
}


/* === CTA SECTION =================================== */
.CTA {
    text-align: center;
    background-color: var(--accent-color-1);
    background: 
        var(--gradient-2),
        url("../media/hero-4.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.CTA h2 {
    font-size: 4rem;
    color: white;
    padding-bottom: 40px;
}

.CTA h4 {
    color: white;
}

.CTA p {
    color: white;
}

/* === FOOTER =================================== */
footer {
    width: 100%;
    padding-bottom: 0;
    text-align: center;
    background-color: rgb(31, 31, 31);
    color: white;
    z-index: -1;
}

.footer-col-container {
    display: flex;
    margin:  0;
    padding-bottom: 50px;
    justify-content: space-between;
    gap: 20px;
}

.footer-col {
    flex-basis: 100%;
}

footer p, #tel {
    color: white;
    font-weight: 500;
    font-size: 2rem;
}

footer h3 {
    padding-top: 20px;
}

.footer-icon {
    font-size: 3rem;
    margin: 25px 25px 0 25px;
    color: var(--accent-color-3);
    transition: color 0.3s;
}

a .footer-icon:hover {
    color: var(--accent-color-1);
}

.footer-accreditations {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 60px 0 10px 0;
}

.footer-accreditations img {
    display: inline-block;
    height: 70px;
    width: auto;
    filter: brightness(0.6);
}

.footer-bottom {
    display: flex;
    margin-top: 10px;
    flex-wrap: wrap;
    border-top: 1px solid grey;
    justify-content: space-between;
}

.footer-bottom a {
    color: grey;;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-copyright, .footer-built-by {
    display: inline-block;
    font-size: 1rem;
    text-align: left;
    color: grey;
}

.footer-built-by {
    text-align: right;
}

.mobile-full-width {
    display: none;
    width: 100%;
}

/* === HIDDEN-UNTIL-SCROLL JS CLASSES =================================== */
.hidden-until-scroll {
    opacity: 0;
    transition: height 0.5s, box-shadow 0.5s, opacity 1s;
}

.show-on-scroll {
    opacity: 1;
}

.delay-200ms{
    transition-delay: 200ms;
}

.delay-300ms{
    transition-delay: 300ms;
}

.delay-400ms{
    transition-delay: 400ms;
}

.delay-500ms{
    transition-delay: 500ms;
}

.delay-600ms{
    transition-delay: 600ms;
}

.delay-700ms{
    transition-delay: 700ms;
}

.delay-800ms{
    transition-delay: 800ms;
}

.delay-900ms{
    transition-delay: 900ms;
}

.delay-1000ms{
    transition-delay: 1000ms;
}