/* CSS for the Westwood site */

/*GLobal Colours*/

:root {
  --primary-gold: #d3af37;
  --hover-gold: #a58722;
  --secondary-green-light: rgba(170, 213, 174, 0.38); 
  --secondary-green-light02: rgba(170, 213, 174);
  --secondary-green-dark: #016401; 
  --secondary-green-hover: #078907; 
  --accent-color: #1a1b1f;
  --text-color: #000000;
  --link-hover-color: #32343a;  
  --link-active-color: #43464d;
  --white: #fff;
  --off-white: #eee;
}

/*General Site*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Montserrat, sans-serif;
  color: var(--text-color);
  font-size: 16px;
  line-height: 28px;
  font-weight: 400;
}

h1 {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 44px;
  line-height: 70px;
  font-weight: 700;
  text-align: center;
} 


h2 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 36px;
  line-height: 70px;
  font-weight: 700;
  text-align: center;
}

h3 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 55px;
  font-weight: 600;
  text-align: center;
}

h4 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 28px;
  font-weight: 600;
  text-align: center;
}

h5 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 25px;
  font-weight: 500;
  text-align: center;
}

h6 {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  text-align: center;
}

p {
  margin-bottom: 15px;
}

a {
  display: block;
  -webkit-transition: opacity 200ms ease;
  transition: opacity 200ms ease;
  color: var(--accent-color);
}

a:hover {
  color: var(--link-hover-color);
}

a:active {
  color: var(--link-active-color);
}

ul {
  margin-top: 20px;
  margin-bottom: 10px;
  padding-left: 40px;
  list-style-type: disc;
}

li {
  margin-bottom: 10px;
}

img {
  display: block;
  width:100%;
  height:auto;
}

.divider {
  height: 1px;
  background-color: var(--off-white);
  width:60%;
  margin:auto; 
}

.green-section{
  background-color: var(--secondary-green-light);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

#noPadd-top {
  padding-top:0px;
}

/*---Fade in effect for logo---*/

.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 1.3s;
}

@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

/* Fade in for sections... */
.fade-up-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.fade-up-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up-section.visible[data-delay] {
  transition-delay: var(--delay, 10s);
}


/*---Header and Nav---*/

 header {
  background-color: var(--white);
  color: var(--text-color);
  padding: 0.8rem 0;
  position: relative;
}

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

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

.nav-links li a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: 0.5s;
}

.nav-links li a:hover {
  color: var(--primary-gold);
}

.logo {
  font-size: 1.5rem;
}

nav {
  margin-top: 0.5rem;
  position: relative;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--text-color);
  opacity: 0.6;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding-right: 10px;
}

.nav-links a:hover {
 opacity: 0.9;
}

.nav-links a:active {
 opacity: 0.8;
 font-weight:bold;
}

.Head-sm {
  max-width:30px;
}

#sm-head a {
  padding-right: 4px;
  transition: 0.5s;
}

#sm-head a i{
  transition: 0.5s;
}

#sm-head {
  display: flex;
  flex-wrap: wrap;
}

#sm-head i:hover {
  color:var(--secondary-green-dark);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
  transform: scale(1.1);
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: var(--text-color);
  margin: 4px 0;
  transition: all 0.3s ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100%;
  width: 100%;
  background-color: var(--secondary-green-light02);
  padding: 2rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transition: right 0.3s ease-in-out, opacity 0.3s ease-in-out;
  z-index: 1000;
}

 .mobile-nav.active {
  right: 0;
  opacity: 1;
 }

 .mobile-nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.4rem;
 }

 .close-btn {
  align-self: flex-end;
  margin-right: -30px;
  font-size: 4.5rem;
  color: var(--text-color);
  cursor: pointer;
  transition: transform 0.3s ease;
}

 .close-btn:hover {
  transform: rotate(90deg);
}

/*---Hero Section---*/

 .hero {
  text-align: center;
  background: url(../images/TSP-red-banner.jpg) no-repeat fixed bottom;
  background-size: cover;
}

.home-banner {
  background-color: rgb(255 255 255 / 87%);
  padding: 2.7rem 0;
}

.home-banner .container {
  padding-bottom:20px;
}

.home-banner .container .logo {
  margin:auto;
  max-width:380px;
  height: auto;
}

.home-banner p {
  margin-top: 40px;
  margin-bottom: 10px;
  font-size: 18px;
  line-height: 32px;
  font-weight: 500;
  font-style: italic;
}

/*---Announcement---*/

#announcement {
  background-color: var(--accent-color); 
  text-align:center; 
  padding:0px;
  color: var(--white);
  max-width: 65%;
  margin: auto;
  border-radius: 10px;
  margin-top: -30px;
}

#announcement .container {
  padding: 30px 40px;
}

#announcement p {
  opacity:1;
}

#announcement .btn {
  margin-bottom:20px;
  background-color:var(--primary-gold);
}

#announcement .btn:hover {
  background-color: var(--hover-gold);
}


/*---Sections---*/

.section {
  padding: 3rem 0;
}

.section .container{
  padding:10px 40px; 
}

.section-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top:20px;
}

.section p {
  opacity: 0.84;
  text-align: center;
}

.section .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 25px;
  font-weight:bold;
  background-color: var(--accent-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 0px;
  -webkit-transition: background-color 400ms ease, opacity 400ms ease, color 400ms ease;
  transition: background-color 400ms ease, opacity 400ms ease, color 400ms ease;
  font-size: 12px;
  line-height: 20px;
  letter-spacing: 2px;
  text-decoration: none;
  text-transform: uppercase;
  border-radius:10px;
}

.section .btn:hover {
  background-color: var(--link-hover-color);
  color: var(--white);
}

.section .btn:active {
  background-color: var(--link-active-color);
}


/*---What were good at section---*/

.ServiceBkImg{
  background: rgb(255 255 255 / 90%) url(../images/Westwood-gal-03.png) no-repeat fixed center;
  background-blend-mode: lighten;
  background-size: cover;
}

#Services{
  padding-bottom: 40px;
}

.iconBox {
  background-color: var(--secondary-green-dark);
}

.wwd-icons{
  width: 60px;
  margin: auto;
  padding: 20px 0px;
  transition: transform .5s;
}

.section-item:hover .wwd-icons{
  transform: scale(0.8); 
  transition:0.6s;
}

.section-item:hover .iconBox {
  background-color: var(--secondary-green-hover);
  transition:0.6s;
}

.section-item:hover {
   border: 2px solid var(--secondary-green-hover);
    transition:0.6s;
}

.section-item {
  flex: 1 1 30%;
  border-radius: 5px;
  background-color: var(--white);
  border: 2px solid var(--secondary-green-dark);
  min-height: 410px;
  margin-top:15px; 
}

.section-item h4, .section-item p {
  padding: 20px; 
}

.section-item h4 {
  padding-bottom:0px;
}

/*---Clients---*/

#Clients .container  {
  max-width: 95%;
  width: 100%;
  padding: 20px 30px 60px;
}

#Clients  p {
  max-width: 940px;
  margin:auto;
}

.slider  {
  margin-top: 40px;
}

.w-container { 
  margin-left: auto;
  margin-right: auto;
  max-width: 940px;

}


/*---Post...---*/

.post-hero {
  text-align: center;
  background: url(../images/Westwood-office-02.png) no-repeat fixed center;
  background-size: cover;
}

.post-hero .home-banner .container {
    padding-bottom: 0px;
}


#post p{
   text-align:left;
}

#post a {
  display: inline;
  font-weight:bold;
  text-decoration: none;
  color: var(--accent-color);
}

#post a:hover {
  opacity:0.7;
}

#post .imgRight {
  width:350px;
  height:auto;
  margin-left:20px;
  float:right;
}

/*---Contact---*/

#Contact {
  padding:0px; 
}

#col-red{
  color:red;
}

#full-green-con {
  padding:0px;
  max-width: 95%;
  width: 100%;
}

.split-grid {
  display: flex;
  gap: 0rem;
  flex-wrap: wrap;
}

.contact-item {
  flex: 1 1 30%;
  border-radius: 5px;
  font-size: 24px;
  text-align: center;
  padding:30px;
}

.contact-item a {
  opacity: 0.84;
}

.OfficeImg {
  background-image: url("../images/Office-images.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: transform .5s;
}

.OfficeImg:hover {
	transform: scale(0.9); 
}

#contact-sm {
  margin:auto;
  padding-top:35px;
}

#contact-sm a {
  display:inline-block;
}

#contact-sm a i {
  transition: 0.5s;
}



#contact-sm i:hover {
  color: var(--secondary-green-dark);
}


/*---Maps ---*/

#map-section {
  padding: 0px;
}

#map {
  padding:0px;
  max-width: 95%;
  width: 100%;
  margin:auto;
}

/*---Footer ---*/

footer {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 1rem 0;
  text-align: center;
}

footer p {
  margin-bottom:0px;
}


/*---Tablet Responsive...---*/

 @media (max-width: 768px) {

.nav-links, .desktop-nav, .OfficeImg  {
  display: none;
}

.menu-toggle {
  display: flex;
}

.section-grid, .split-grid {
  flex-direction: column;
}

.section-item, .contaact-item {
  flex: 1 1 100%;
}

#announcement{
  max-width: 85%
}

}


/*---Mobile Responsive...---*/

 @media (max-width: 470px) {

#post .imgRight  {
  float:none;
  margin-bottom:20px; 
  margin-left: 0px;
  width: 100%;
}

}