/*
Theme Name: My Central Heating 2025
Theme URI: http://hanningtondigital.com
Author: Jack Hannington
Author URI: hannigtondigital.com
Description: Customisable theme for My Central Heating
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my_central_heating
*/

:root {
  --bg-color: #fff;
  --body-text-color: #0e2438;
  --dark-grey: #414548;
  --light-grey: #eeeeee;
  --body-font-size: 1rem;
  --orange: #F16E00;
  --bronze: #D2881B;
  --silver: #9a9494;
  --gold: #F0AA22;
  --dark-blue: #0f3e61;
  --awo-blue: #0080c2;
  --animate-duration: 300ms;
  --base-border-radius: 6px;
}

* {
  box-sizing: border-box;
}



/*---- FONTS ----*/


@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter/Inter-VariableFont_slnt,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: oblique 0deg 10deg;
  font-display: swap;
}

@font-face {
  font-family: 'Manrope';
  src: url('assets/fonts/manrope/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: oblique 0deg 10deg;
  font-display: swap;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: var(--body-text-color)!important;
  text-align: left;
  line-height: 1.6;
  background-color: var(--bg-color);
  height: 100%;
}

.card {
  color: var(--body-text-color);
}

/*---- Colours ----*/

.orange {
  color:var(--awo-blue);
}
.background-orange {
  background-color:var(--awo-blue);
  color: var(--light-grey);
}

.altius-dark-grey-bg {
  background-color:var(--altius-dark-grey);
  color: var(--light-grey);
}

.bronze {
  color:var(--bronze);
}

.border-bronze {
  border:1px solid var(--bronze)
}
.background-bronze {
  background-color:var(--bronze);
}

.silver {
  color:var(--silver);
}
.border-silver {
  border:1px solid var(--silver)
}
.background-silver {
  background-color:var(--silver);
}

.gold {
  color:var(--gold);
}
.background-gold {
  background-color:var(--gold);
}
.border-gold {
  border:1px solid var(--gold)
}

.darkblue {
  color:var(--dark-blue);
}

.background-darkblue {
  background-color:var(--dark-blue);
}

.wp-block-cover h1:not(.has-text-color), .wp-block-cover h2:not(.has-text-color), .wp-block-cover h3:not(.has-text-color), .wp-block-cover h4:not(.has-text-color), .wp-block-cover h5:not(.has-text-color), .wp-block-cover h6:not(.has-text-color), .wp-block-cover p:not(.has-text-color), .wp-block-cover-image h1:not(.has-text-color), .wp-block-cover-image h2:not(.has-text-color), .wp-block-cover-image h3:not(.has-text-color), .wp-block-cover-image h4:not(.has-text-color), .wp-block-cover-image h5:not(.has-text-color), .wp-block-cover-image h6:not(.has-text-color), .wp-block-cover-image p:not(.has-text-color) {
  color:var(--body-text-color);
}



/*---- NAV ----*/

/* Utility bar */
.utility-bar {
  position: relative;
  width: 100%;
  background-color: #f9f9f9;
  padding: 8px 0;
  font-size: 14px;
}

.utility-bar p {
  margin: 0;
  padding: 0;
  text-align: center;
}

@media (max-width: 996px){
  .utility-bar p {
    font-size: 13px;
  }
}

nav {
  width: 100%;
  margin: 0;
  background-color:#fff;
  border-bottom: 1px solid #ededed;
  transition: 0.3s ease-in;
  position: relative;
  z-index: 1000;
}

/* .translucent-bg {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background-color: rgba(32, 33, 34, 0.86);
  transition: background-color 0.3s ease;
} */

.navbar {
  transition: 0.3s;
  z-index: 1;
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 10px 15px;
  color: var(--light-grey)
}

.navbar-light {
  background-color: var(--light-grey);
  color: var(--altius-dark-grey)
}



/* More specific selectors to override WordPress defaults */
 .header-nav-logo {
  width: 100px !important;
  height: auto !important;
  max-width: 100px !important;
}


.menu-container {
  position: fixed;
  top: 0;
  background-color: #fff;
  width: calc(100%);
  height: 100vh;
  left: 0px;
  display: none;
  box-sizing: border-box;
  overflow-y: auto;
}

.nav-item>button {
  font-size: 14px;
  border: 1px solid var(--awo-blue);
}

.nav-item {
  flex: 1;
}

#nav-toggle,
.close-menu {
  text-align: right;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 7px;
  transition: width 1s ease-in-out;
  position: relative;
}

#showMenu span {
  width: 60%;
  height: 2px;
  background-color: var(--body-text-color);
}

.close-menu span {
  font-size: 26px;
  color: black;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid #ededed;
}

.menu,
.sub-menu {
  list-style-type: none;
  padding-inline-start: 0;
  margin-block-start: 0;
  margin-block-end: 0;
}

.menu li {
  border-bottom: 1px solid #ededed;
}

.menu li a {
  color: var(--body-text-color);
  text-decoration: none;
  width: 100%;
  padding: 15px 15px;
  height: 100%;
  display: block;
  transition: 0.3s ease-in;
}

.menu li a:hover {
  color:var(--awo-blue);
}

.menu-cta {
  display: none;
}

.menu-footer {
  margin: 15px;
}

.menu-footer > .altius-btn__primary {
  width: 100%;
}

.menu-item-has-children>a>svg {
  margin-left: 5px;
  display: inline-block;
  /* Required for transform */
  transition: transform 0.3s ease;
  /* Animate the transform */
  float: right;
}

.rotate-icon {
  transform: rotate(180deg);
}



/* Alert bar */
.alert-bar {
  background-color: var(--awo-blue);
  text-align: center;
  width: 100%;
  padding: 6px;
}

.alert-bar a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

/* Services menu */

#services-toggle {
  display: none;
}

.services-menu {
  display: flex;
  flex-direction: column;
  padding-inline-start: 0;
  background-color: #fff;
  padding:20px;
  width:90%;
  border-radius:4px;
  border:0.5px solid #747474;
  /* box-shadow: 0 0 4px 0 rgb(0 0 0 / 23%); */
  position:sticky;
  top:90px;
}

@media (max-width:1000px){
  .services-menu {
    width: 100%;
    border-color:#f9f9f9;
  }
}

.services-menu .current-menu-item a {
  color: var(--awo-blue); 
  font-weight: 500;
}


.menu-services-container {
  height:100%;
}
 
.services-menu > li {
  list-style-type: none;
  padding-inline-start: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  padding:4px 0px;
  color:inherit!important;
};

.services-menu a {
  text-decoration: none;
  color:#051F29;
  width:100%;
  padding: 10px 0px;
}

@media (max-width:1000px){
  .services-menu{
    display:none;
  }
  .services-menu-toggle{
    display:block;
  }
  #services-toggle {
    display: block;
  }
  .menu-services-container {
    height:auto;
  }
}

/* Sidebar offers */

.sidebar-offers {
  font-size: 14px;
}

@media (min-width:996px){
  .sidebar-offers {
        display: flex;
    flex-direction: column;
    align-items: end;
}
.sidebar-offers .offer {
  width: 320px;
}
.sidebar-offers {
  position: sticky;
  top: 100px;
}
}

@media (max-width:996px){
  .sidebar-offers {
    margin-top:40px;
    font-size: 16px;
  }
}



/* Hide sub-menu by default */
.sub-menu {
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
  display: none;
  flex-direction: column;
}
/* Show sub-menu on hover */
.menu-item-has-children:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  display: flex;
  flex-direction: column;
}

.sub-menu > li {
  border-bottom: none;
}

.show {
  display: flex;
  flex-direction: column;
}

.hide-sm {
  display: none;
}


@media (min-width:1000px) {
  .navbar {
    align-items: center;
  }

  .nav-item {
    display: flex;
    flex: 1;
  }

  .menu-cta {
    text-align: right;
    display: inline-block;
  }

  .menu-container {
    display: flex;
    position: relative;
    border: none;
    height: auto;
    flex: 8;
    padding: 0;
    background-color: inherit;
  }

  .menu-body {
    width: 100%;
  }

  .menu-body ul {
    display: flex;
    flex-direction: row;
    justify-content: end;
    white-space: nowrap;
    font-size: 0.9rem;
  }

  .menu-body li {
    border-bottom: none;
  }

  .menu li a {
    /* color: var(--body-text-color); */
    padding:10px 15px;
  }

  .menu-toggle,
  #closeMenu,
  .mobile-menu-logo,
  .menu-header,
  .menu-number,
  .menu-footer {
    display: none !important;
  }

  .menu-item-has-children>.sub-menu {
    position: fixed;
    display: flex;
    flex-direction: column;
  }

  .menu-item-has-children>a>svg {
    float: none;
  }

  .sub-menu {
    background-color: #444446;
  }

  /* Show sub-menu on hover */
  .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
  }

  /* Rotate the chevron when the menu item is hovered */
  .menu-item-has-children:hover>a>svg {
    transform: rotate(180deg);
  }
  .hide-sm {
    display: block;
  }
}




/* Logged-in User Admin Menu Menu */

.admin-margin {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-margin {
    top: 46px;
  }
}


/*---- LAYOUT ----*/

/* Center default container */

.header {
  padding:40px 0px 20px 0px;
}

.row {
  --bs-gutter-x: 0; 
}

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

@media (max-width:1000px){
  .container {
    padding-left:20px;
    padding-right:20px;
  }
}

:where(.is-layout-flex) {
  gap: 0.3em;
}

.site-content {
  padding-left:0px;
  padding-right:0px;
}

/* Default gap between column container */
:where(.wp-block-columns.is-layout-flex) {
  gap: 4em;
}



/* Limit written content width  - useful for long text headings */

.max-450 {
  max-width: 450px;
}
.max-500 {
  max-width: 500px;
}
.max-650 {
  max-width: 650px;
}

.max-750 {
  max-width: 750px;
}

/*--- HEADINGS ----*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #0c2b45;
}
/* .wp-block-heading {
  max-width: 700px;
} */


h1 {
  letter-spacing: -0.5px;
}


@media (min-width : 1000px) {
  .heading-h1 {
    font-size: 3.5rem;
    line-height: 3.6rem;
  }
}

@media (max-width : 800px) {
  .heading-h1 {
    font-size: 44px;
    line-height: 50px;
  }
}

@media (max-width : 400px) {
  .heading-h1 {
    font-size: 40px;
    line-height: 44px;
  }
}



/* Paragrahs, strong, a*/
strong {
  font-weight: 500;
}

/* Borders */

.rounded {
  border-radius: 4px;
}

/* Text preceding a section's heading */

.brow-text {
  color: var(--awo-blue)!important;
  margin-bottom: 5px;
  font-weight: 600;
}



/* Override Wordpress defaults */


/* Covers */

.wp-block-cover {
  padding:0px;
}

/* Buttons and links */

a {
  text-decoration: none;
  color:var(--awo-blue);
  transition: all 0.3s ease;
}

a:hover {
  color:var(--awo-blue);
}

.wp-block-buttons {
  gap:10px;
}

.wp-block-button__link, .wp-element-button,
button, .btn {
  border-radius: var(--base-border-radius);
  background-color: var(--awo-blue);
  color: #F6F5F5!important;
  padding: 8px 14px;
  font-size: var(--body-font-size);
  border:1px solid transparent;
  font-weight: 500;
  transition: 0.3s;
}

.wp-block-button .wp-block-button__link.is-style-outline, .wp-block-button.is-style-outline>.wp-block-button__link {
  padding: 8px 14px;
  font-size: var(--body-font-size);
  background-color: #fff!important;
  color:var(--body-text-color)!important;
  font-weight: 500;
  border:1px solid var(--light-grey);
}
.wp-block-button.altius-btn__primary .wp-block-button__link {
  background-color: var(--awo-blue);
  color: #F6F5F5;
  border-radius: var(--base-border-radius);
}

.wp-block-button.altius-btn__secondary .wp-block-button__link {
  background-color: #F6F5F5;
  color:#051F29;
}

/* Buttons and links */

.btn__primary {
  background-color: var(--awo-blue);
  color: #F6F5F5;
  border-radius: var(--base-border-radius);
}

.altius-btn__primary > a {
  color:white;
}

.wp-block-button__link:hover {
  color:white;
  opacity: 0.7;
}

.btn__secondary {
  background-color: #fff;
  border-radius: var(--base-border-radius);
  color:#051F29;
  border:1px solid var(--light-grey);
}

/* .carousel-button {
  border:none;
  padding:10px 0px;
  background-color: transparent;
  color:#919191;
} */
/* 
.carousel-nav {
  padding:0px 12px;
} */
/* 
.carousel-indicators, .carousel-control-prev, carousel-control-next {
  display:none!important;
} */

.carousel-inner {
  padding:15px;
  background-color:white;
  font-size:0.9rem;
  border: 1px solid RGBA(0,0,0,0.17);
  border-radius:4px;
}


/* Padding and margins */

.py-4 {
  padding-top:2.2rem!important;
  padding-bottom:2.2rem!important;
}


/* Images */

img {
  max-width: 100%;
}

figure {
  margin: 0 0 0.5rem;
}

/* Cards */

.card {
  border-radius: 4px;
  padding:18px;
  transition:0.3s ease-in; 
  min-width: 250px;
  /* font-size: 0.9rem; */
}

.card a {
  text-decoration: none;
  color:inherit;
}

@media screen and (max-width:500px){
  .wp-block-columns > .card {
    /* max-width: 180px; */
    min-width: auto;
  }
  .wp-block-columns {
    justify-content: space-between;
    gap:10px!important;
    margin-bottom:10px;
  }
}
@media screen and (max-width:410px){
  .wp-block-columns > .card  {
    min-width: 100%;
    max-width: 100%;
  }
  .wp-block-columns {
    justify-content: space-between;
  }
}

.card:hover {
  /* box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
  border:1px solid var(--awo-blue);
  cursor:pointer; */
}

/* Forms */

label {
  margin-bottom:4px;
}

input, textarea {
  font-family: inherit;
  padding:10px;
  border-radius:4px;
  border:1px solid var(--light-grey);
  width:100%;
  margin-bottom:10px;
}

/* Features bar */
.features-bar {
  width:100%;
  flex-wrap:wrap;
  display:flex;
}

.feature {
  display:inline-flex;
  align-items:center;
  flex:1;
  justify-content:center;
  font-family:'Manrope', 'Inter', 'Sans-serif';
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.feature:nth-last-of-type(1) {
  border:none;
}

.feature-count {
  font-size:2.4rem;
  font-weight: 600;
}

.feature-caption {
  margin-left:10px;
  font-size:0.9rem;
  line-height: 1rem;
  font-weight: 500;
}

@media only screen and (max-width: 700px) {
  .feature {
    padding:10px;
    min-width:40%;
    border:none;
    display: flex;
  }
  .feature-caption {
    font-size:0.8rem;
  }
  .feature-count {
    font-size:1.8rem;
  }
}

@media only screen and (max-width: 300px) {
  .feature {
    padding:10px;
    min-width:100%;
    border:none;
  }
}


/* Autoscrolling slider */
/* Autoscrolling slider */
.logo-slider {
  --image-size: 300px;
  padding: 20px;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: flex;
}
.logo-slider:hover div {
  animation-play-state: paused;
}
.logo-slider div {
  display: flex;
  position: relative;
  animation: marquee 20s linear infinite;
  justify-content: space-around;
}
.logo-slider img {
  display: block;
  min-width: var(--image-size);
  height: auto;
  margin: 0 1vw;
}
.logo-slider:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0) 30px, rgba(255, 255, 255, 0) calc(100% - 30px), white);
}
@media (max-width: 900px) {
  logo-slider {
    --image-size: 280px;
    --image-size: min(max(50px, 10vw), 100px);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.reviews-carousel {
  width: 100%;

  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.reviews-carousel:hover .reviews-track {
  animation-play-state: paused;
}

.reviews-track {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 20px;
}

.review-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
  min-width: 340px;
  max-width: 340px;
  height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid #e1e5e9;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 4px;
}

.review-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.review-date {
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}

.stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.star {
  width: 20px;
  height: 20px;
  color: var(--awo-blue); /* Change this line */
  fill: currentColor;
}

.review-text {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.work-completed {
  margin-top: auto;
  padding-top: 12px;
  font-size: 13px;
  color: #666;
  font-weight: 500;
}

/* Fade effect on edges */
.reviews-carousel::before,
.reviews-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.reviews-carousel::before {
  left: 0;
  background: linear-gradient(to right, #f8f9fa, transparent);
}

.reviews-carousel::after {
  right: 0;
  background: linear-gradient(to left, #f8f9fa, transparent);
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-320px * 6 - 120px));
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .review-card {
      min-width: 280px;
      max-width: 280px;
      height: 340px;
      padding: 20px;
  }

  .review-name {
      font-size: 16px;
  }

  .review-text {
      font-size: 14px;
      -webkit-line-clamp: 7;
  }

  @keyframes scroll {
      0% {
          transform: translateX(0);
      }
      100% {
          transform: translateX(calc(-280px * 6 - 120px));
      }
  }
}

@media (max-width: 480px) {
  .reviews-carousel {
      padding: 10px 0;
  }

  .review-card {
      min-width: 260px;
      max-width: 260px;
      padding: 18px;
  }

  @keyframes scroll {
      0% {
          transform: translateX(0);
      }
      100% {
          transform: translateX(calc(-260px * 6 - 120px));
      }
  }
}



/* Hero section */
@media (max-width:768px){
.hero-btn-container > a {
   font-size: 14px;
}
}
/* Meta slider */
.flex-active {
  background-color:var(--awo-blue)!important;
}

/* Recent posts */

.recent-posts {
  display: flex;
  overflow:auto;
  flex-wrap:nowrap;
}



.recent-post {
  /* min-width: 250px; */
  max-width: 85%;
  padding:4px;
  display: flex;
  flex-direction: column;
}

@media only screen and (max-width: 1000px) {
  .recent-posts {
    gap:15px;
  }
  .recent-post {
    padding:0px;
  }
  .article-title {
    line-height: 36px;
    font-size: 40px;
  }
}

.recent-posts-title {
  font-size:20px;
}

.post-image {
  width: 100%;
  height: 0; /* This is important, as it allows the padding-top to determine the height */
}

.pagination {
  gap:10px;
}

.page-numbers {
  padding: 10px 20px;
  background: #ededed;
  border: 4px;
}
.current {
  background:var(--awo-blue);
}


/* Content pages */

.services-page h2, .article-container h2 {
  font-size:26px;
  margin-top:30px;
}

/* Blog - articles */

@media (min-width:768px){
.blog-page-card {
    padding-left:6px;
    padding-right:6px;
  }
}


.article-container {
  max-width:800px;
}

.page-title {
  position: relative;
  overflow: hidden;
  color: white;
  margin-top:20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.page-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;  /* Ensure the header content is above the image */
  position: relative;  /* Needed for z-index to take effect */
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}


.article-meta-info {
  font-size:14px;
}



ul.ticks {
  list-style-type: none; /* Removes the default bullets */
}

ul.ticks li::before {
  content: '\f058'; 
  font-family: "Font Awesome 5 Free"; 
  display: inline-block;
  margin-right: 10px; 
  color: var(--tick-color, var(--awo-blue)); /* Default color for ::before */
}

ul.bronzeticks li::before {
  --tick-color: var(--bronze);
}

ul.silverticks li::before {
  --tick-color: var(--silver);
}

ul.goldticks li::before {
  --tick-color: var(--gold);
}

ul.ticks li {
  padding-top: 6px; 
}


/* Details element */
details {
  padding: 16px 0px;
  background-color: inherit;
  border-bottom: 1px solid #ededed;
  width: 100%;
}

details:nth-of-type(1) {
  border-top: 1px solid #ededed;
}

details > summary {
  font-size: 18px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

/* Remove default arrow for WebKit browsers */
details > summary::-webkit-details-marker {
  display: none;
}

/* Plus icon (closed state) */
details > summary::after {
  content: '+';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease; /* Smoother, longer transition */
}

/* Minus icon (open state) with rotation */
details[open] > summary::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg); /* Adds rotation */
}

details p {
  font-size: 16px;
  margin-top: 16px;
}


/* Altius Services ring */


.circle-container {
/*   border: 1px solid #334155; */
  margin:auto;
  height: 400px;
  width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}

.circle {
  border-radius: 50%;
}


.circle-outline {
  width: 340px;
  height: 340px;
  border: 1px solid var(--awo-blue);
  position: absolute;
  z-index: 1;
}

@keyframes fade-in {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

.circle-inner {
  width: 310px;
  height: 310px;
/*   outline: 1px solid #cbd5e1; */
  background: #f9f9f9;
  border:2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  z-index: 1;
}

.inner-circle-content {
  position: relative; /* This will be the stacking context for absolute positioned content divs */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center; /* Center child divs vertically */
  justify-content: center; /* Center child divs horizontally */
}

.inner-circle-content > div {
  position: absolute;
  opacity: 0; 
  text-align: center;
/*   margin-bottom:20px; */
  font-size: 14px;
  padding: 35px;
  transition: opacity 1s;
  visibility: hidden; /* Initially set to hidden */
}

.inner-circle-content > div.active-content {
  opacity: 1;
  visibility: visible; /* Set to visible when active */
}


.icon {
    transition: border-color 2s; /* Set a 2s transition for border color if you want a gradual change */
}

.icon img {
  border-radius:50%;
  max-width:100%;
}

.active-ring { 
  border:3px solid var(--awo-blue); 
}


.icon {
    transition: border 0.2s ease-in-out;
  width: 60px;
  height: 60px;
  outline: 1px solid #64748b;
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background:#64748b;
  z-index:2;
}

.icon-title {
	margin-bottom:2px;
	font-weight:600;
}

.icon:hover {
  cursor:pointer;
}

#icon-1 {
  left: calc(50%); /* 0° */
  top: calc(50% - 170px);
}

#icon-2 {
  left: calc(50% + 170px * sin(72deg)); /* 72° */
  top: calc(50% - 170px * cos(72deg));
}

#icon-3 {
  left: calc(50% + 170px * sin(2*72deg)); /* 144° */
  top: calc(50% - 170px * cos(2*72deg));
}

#icon-4 {
  left: calc(50% + 170px * sin(3*72deg)); /* 216° */
  top: calc(50% - 170px * cos(3*72deg));
}

#icon-5 {
  left: calc(50% + 170px * sin(4*72deg)); /* 288° */
  top: calc(50% - 170px * cos(4*72deg));
}

@media screen and (max-width:600px){
	.circle-container {
		width:300px;
		height:300px;
		margin-top:40px;
	}
	.circle-inner {
		width:290px;
		height:290px;
	}
	.circle-outline {
		width:320px;
		height:320px;
	}
	.icon {
		width:62px;
		height:62px;
	}
	#icon-1 {
	  left: calc(50%); /* 0° */
	  top: calc(50% - 160px);
	}

	#icon-2 {
	  left: calc(50% + 160px * sin(72deg)); /* 72° */
	  top: calc(50% - 170px * cos(72deg));
	}

	#icon-3 {
	  left: calc(50% + 160px * sin(2*72deg)); /* 144° */
	  top: calc(50% - 170px * cos(2*72deg));
	}

	#icon-4 {
	  left: calc(50% + 160px * sin(3*72deg)); /* 216° */
	  top: calc(50% - 170px * cos(3*72deg));
	}

	#icon-5 {
	  left: calc(50% + 160px * sin(4*72deg)); /* 288° */
	  top: calc(50% - 170px * cos(4*72deg));
	}
}


/* Footers */

.site-footer {
  border-top:1px solid #ededed;
  background-color:white;
}

.footer-menu li {
  list-style-type:none;
  padding-inline-start:0;
  padding-inline-end: 0;  
  padding:0;
  margin:0;
  margin-bottom:1rem;
}
.footer-links {
  font-weight:300;
}

footer .custom-logo {
  width: 100px !important;
  height: auto !important;
  max-width: 100px !important;
  margin-bottom: 20px;
}

.footer-header {
  font-weight:400;
  font-size: 16px;
}

/* Contact Section */
.contact-section {
  border-top: 1px solid #e9ecef;
}

.contact-links .contact-item {
  font-size: 1rem;
}

.contact-links .contact-item svg {
  color: var(--awo-blue);
  flex-shrink: 0;
}

.contact-links .contact-item a {
  color: var(--body-text-color);
  text-decoration: none;
}

.contact-links .contact-item a:hover {
  color: var(--awo-blue);
}

/* Footer styling */
.footer-menu li a {
  color: #666666;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-menu li a:hover {
  color: var(--awo-blue);
}

@media (max-width: 768px) {
  .contact-section {
    text-align: center;
  }
  
  .contact-links .contact-item {
    justify-content: center;
  }
}