html, body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    counter-reset: para-counter;
}

h1, h2 {
    font-family: 'Georgia', serif;
    line-height: 1.2;
    font-size: 2em;
}

h3, h4 {
    font-size: 1.25rem;
    line-height: 1;
}

p, li, a, div {
    font-family: "system-ui", "BlinkMacSystemFont", "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    text-decoration: none;
}

.bread {
    font-size: 1.8em;
    margin: auto;
    padding: 15px 2%;
    text-rendering: optimizeLegibility;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
    text-transform: capitalize;
}

header {
    margin: 0;
    top: 0;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    height: 50px;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    /*border-top: 5px solid #007185;*/
    border-bottom: 1px solid rgb(228, 225, 225);
        box-sizing: content-box !important;

}

.logo {
    position: absolute;
    background-image: url('assets/img/altre.png');
    top: auto;
    left: 20px;
    width: 180px;
    height: 1.8em;
    opacity: 1;
    z-index: 1000;
    font: italic bold 2em "adobe-garamond-pro", serif;
    text-align: center;
    line-height: 1.8em;
    box-sizing: content-box !important;

}

.header-right {
    display: flex;
    align-items: center;
}

.icon-plus {
    padding: 0.5em 0.5em;
    background-color: #fff;
    color: black;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 1px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 1em;
    text-transform: uppercase;
}

.hamburger-menu {
    margin: 0.1rem 0.2em;
    cursor: pointer;
}

.bar {
    width: 40px;
    height: 0.25em;
    background-color: #007185;
    margin: 0.75em 0.75em;
}

.spacer {
    flex: 1;
}

.icon-text {
    font-size: 10px;
    margin-top: 5px;
}

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100%;
    width: 20%;
    background: rgb(248, 249, 249);
    /*border-top: 2px solid #007185;*/
    padding: 0px;
    transition: right 0.1s ease-in-out;
    overflow-y: auto;
    z-index: 1000;
    text-align: right;
}

.drawer.active {
    right: 0;
}

nav ul {
    list-style-type: none;
    padding: 0;
    width: 80%;
    height: auto;
    padding: 10%;
    text-wrap: nowrap;
}

nav ul li {
    display: block;
    text-transform: capitalize;
    color: #007185;
    position: relative;
    font-size: 1.75em;
}

nav ul li a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: rgb(20, 36, 50);
    padding-top: 8px;
    font-weight: 500;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: #007185;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

nav ul li span {
    display: inline-block;
    width: 30px;
    text-align: left;
    font-size: 0.75em;
    font-weight: 600;
    
}

nav ul li:nth-child(1) {
    margin-left: 10px;
}

nav ul li:nth-child(2) {
    margin-left: 10px;
}

nav ul li:nth-child(3) {
    margin-left: 10px;
}

nav ul li:nth-child(4) {
    margin-left: 10px;
}

nav ul li:nth-child(5) {
    margin-left: 10px;
}

#drawer p {
    font-size: 14px;
    color: #555;
    margin: 10px 20px;
}

#drawer p:first-of-type {
    font-weight: bold;
}

#drawer p a {
    color: #007bff;
    text-decoration: none;
}

#drawer p a:hover {
    text-decoration: underline;
}

.close-button {
    position: absolute;
    /*border: 2px dotted #007185;*/
    top: 2%;
    right: 2%;
    font-size: 0.8em;
    color: #00673f;
    padding: 5px 15px;
    transition: color 0.1s ease-in-out;
    font-weight: 500;
    cursor: pointer;
    height:40px;
    width:40px;
    box-sizing: content-box !important;
}

span {
    display: inline-block;
}


#city-list {
    display: none;
    position: absolute;
    z-index: 1000;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    border-top: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

#city-list li {
    padding: 0.45rem 0.90rem;
    cursor: pointer;
    transition: background-color 0.1s ease;
    margin-bottom: 1px;
    text-transform: capitalize;
    font-size: 1rem;
    margin: auto;
}

#city-list li:hover,
  #city-list li.selected {
    background-color: #007185;
    color: #fff;
}

#city-list li a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

#city-list li i {
    margin-right: 10px;
}

@media screen and (max-width: 1024px) {
    nav ul li {
        font-size: 1.5em;
        text-align: left;
        line-height: 2;
    }
    
.drawer {
    
    min-width:30% ;
}
    
}


.menu-drawer {
    display: grid;
    flex-direction: Column;
    justify-content: space-evenly;
    height: auto;
    margin-bottom: 10px;
    padding: 2%;
    border-top: 2px solid #f2f2f2;
    letter-spacing: 4px;
}

.menu-item {
    font-size: 16px;
    color: #444;
    line-height: 2;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-icon {
    width: 30px;
    height: 30px;
    margin-right: 15px;
}

.menu-item-text {
    flex: 1;
    font-weight: bold;
}

@media screen and (max-width: 768px) {
 
    .menu-drawer {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-evenly;
        height: auto;
        margin-bottom: 20px;
        gap: 20px;
        align-items: center;
        letter-spacing: 4px;
    }

    .menu-item {
        font-size: 20px;
        color: #444;
        line-height: 1.5;
        display: flex;
        align-items: center;
        font-weight: 600;
    }
}

@media screen and (max-width: 768px) {

    p,span {
        font-size: 1.1rem;
    }

    header {
        padding: 0.25rem;
        border-top: 2px solid #007185;
    }

    .search-bar {
        display: none;
    }

    .call-icon {
        display: block;
    }

    .header-right {
        display: flex;
        align-items: right;
    }

    .logo {
        display: absolute;
        left: 0;
    }

    .icon-plus {
        display: none;
    }

    .drawer {
        width: 100%;
    }
}

body {
    margin: 0;
    padding: 0;
    background-color: white;
    box-sizing: border-box;
}

main {
    /*margin: 10px 5%;*/
    touch-action: auto;
}


.footer {
    max-width: 100%;
    background-color: transparent;
    margin: 0 auto;
    color: #9b9b9b;
    padding: 10px 0;
    position: relative;
}

.footer-bottom {
    text-align: center;
    bottom: 0px;
    top: 10px;
    position: relative;
    font-size: .75rem;
}

.footer-container {
    position: relative;
    width: 100%;
    bottom: 0;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 0;
    box-shadow: 0px -1px 1px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f2f2f2;
    color: #171717;
    font-size: .875rem;
    font-weight: 500;
}

.footer-link {
    margin-right: 15px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
    font-size: .85rem;
    color: #9b9b9b;
    line-height: 1;
    font-size: .75rem;
    font-weight: 500;
    -webkit-font-smoothing: antialiased !important;
}

.footer-link:hover {
    color: #007185;
}

.footer-link::before {
    content: '';
    position: relative;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background-color: #007185;
    width: 100%;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-link:hover::after {
    opacity: 1;
}

.footer-link:hover::before {
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    .footer-link {
        margin-bottom: 10px;
    }

    .footer {
        width: 100%;
        padding: 0px;
    }
}

.newsletter-section {
    background-color: #f9f9f9;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.newsletter-section h2, .newsletter-section p {
    margin-bottom: 15px;
}

.newsletter-section input[type="email"] {
    padding: 10px;
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 10px;
}

.newsletter-section button {
    padding: 10px 20px;
    background-color: #007185;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-section button:hover {
    background-color: #016577;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    padding: 10px 20px;
    background-color: #007185;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 999;
}

.back-to-top:hover {
    background-color: #016577;
}

@keyframes color-fill {
    0% {
        background-position: 0% 33%;
    }

    33% {
        background-position: 33% 66%;
    }

    66% {
        background-position: 66% 100%;
    }

    100% {
        background-position: 66% 33%;
    }
}

.animated-color-fill-text {
    font-weight: 800;
    background: linear-gradient(90deg, #000000, #0f58a5,#000000, #1059a7 );
    background-size: 400% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    animation: color-fill 5s ease infinite;
    display: inline-block;
    /*margin-bottom: 20px;*/
}

.material-symbols-outlined {
    margin-left: 5px;
    font-size: 1.1rem;
}

.gallery-section {
    padding: 20px;
    text-align: center;
}

.grid-container {
    width: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    position: relative;
}

.grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background-size: cover;
    background-position: center;
    height: 80px;
    width: 100%;
}

.grid-item span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 1rem;
    transition: background-color 0.3s ease-in-out;
}

.grid-item:hover span {
    background-color: #000000;
    transition: background-color 0.1s ease-in-out;
}

@media (max-width: 768px) {
    

    .gallery-section h2, .gallery-section p {
        text-align: center;
        margin-left: 0;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-item {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item {
        height: 80px;
    }

    .grid-item span {
        font-size: 14px;
        padding-left: 10px;
    }
}

.learn-more-button {
    padding: 10px 20px;
    margin-top: 15px;
    float: right;
    background-color: #007185;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    margin-right: 10px;
    display: block;
    font-size: larger;
    -webkit-font-smoothing: antialiased;
}

.content {
    padding: 15px;
}

.services-diagonal-section {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding: 100px 20px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.services-diagonal-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.06);
  background: #ffffffcc;
  backdrop-filter: blur(14px);
  transition: all 0.4s ease;
  clip-path: polygon(0 0, 100% 5%, 100% 100%, 0% 95%);
}

.services-diagonal-card:nth-child(even) {
  flex-direction: row-reverse;
  clip-path: polygon(0 5%, 100% 0%, 100% 95%, 0% 100%);
}

.services-diagonal-content {
  flex: 1 1 55%;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services-diagonal-image {
  flex: 1 1 45%;
  background: #f5f7f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-diagonal-image img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  padding: 24px;
}

.services-title {
  font-size: 2rem;
  font-weight: 600;
  color: #1c1c1c;
  margin-bottom: 16px;
}

.services-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 24px 0 10px;
  color: #007185;
}

.services-desc {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 24px;
  line-height: 1.6;
}

.services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.services-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #444;
}

.services-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.services-btn,
.services-btn-outline {
  display: inline-block;
  padding: 10px 20px;
  font-size: 0.95rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.25s ease;
}

.services-btn {
  background-color: #007185;
  color: #fff;
}

.services-btn:hover {
  background-color: #005b6e;
}

.services-btn-outline {
  border: 1px solid #007185;
  color: #007185;
  background-color: transparent;
}

.services-btn-outline:hover {
  background-color: #e6f4f7;
}

/* === Animation === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(60px) scale(0.98);
  filter: blur(6px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* === Responsive === */
@media (max-width: 960px) {
  .services-diagonal-card {
    flex-direction: column;
    clip-path: none !important;
  }

  .services-diagonal-content {
    padding: 32px;
  }

  .services-diagonal-image {
    order: -1;
  }
}

.contact-button {
    display: inline-block;
    text-align: center;
    vertical-align: top;
    font-size: 1rem;
    line-height: 1;
    text-transform: capitalize;
    border: none;
    border-radius: 2px;
    box-shadow: 0 20px 50px 10px rgba(20, 61, 80, .15);
    letter-spacing: .05em;
    appearance: none;
    text-decoration: none;
    background-image: linear-gradient(90deg, #287a9f 33%, #156380 66%);
    background-size: 150% 100%;
    background-position: 50% 0;
    color: #fff;
    padding: 12px 18px;
    white-space: nowrap;
    overflow: hidden;
    transition: transform 250ms ease-in-out, background-position 250ms ease-in-out;
}

.contact-button:hover {
    background-color: #007186;
}

.services-section h2 {
    text-align: center;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.service-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5% 2% 0.5% 4%;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    gap:20px;
    justify-content: flex-start;
    /*padding-bottom: 20px;*/
}

.service-item img {
    width: 50px;
    /*margin-bottom: 10px;*/
}

.service-content {
    text-align: inherit;
    width: 65%; 
    flex-grow: 1;   
    flex-shrink: 1; 
    overflow-wrap: break-word; 
}

.service-content h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
    line-height: 1.2;
}

.service-content p {
    font-size: 16px;
    margin: 5px 0 0;
    color: #666;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-section, .services-info-section {
        flex-basis: 100%;
        margin-bottom: 20px;
    }

    .info-image {
        flex: 0;
    }
}

.count-section {
    text-align: center;
    font-size: 1.2em;
    margin: 20px 0;
}

.call-icon {
    padding: 0px;
    text-decoration: none;
    color: #333;
}

.call-icon img {
    width: 30px;
    height: 30px;
    vertical-align: middle;
    display: none;
    cursor: pointer;
}

@media screen and (max-width: 768px) {

    .call-icon img {
        width: 30px;
        height: 30px;
        vertical-align: middle;
        display: inline-block;
    }
}



.p-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    margin: 1%;
    width: 100%;
}

.p-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
    margin: 1%;
    width: 100%;
}

.p-grid-item {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
    font-size: 18px;
    padding: 15px;
    box-sizing: border-box;
    font-weight: 400;
    text-decoration: none;
    background-color: #f5f5f5;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.p-grid-item:hover {
    background-color: #e0e0e0;
    cursor: pointer;
}

.p-grid-item a {
    color: inherit;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .p-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .p-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .p-grid {
        grid-template-columns: 1fr;
    }
    
    
}  
    
    
.search-bar {
  position: relative;
  display: inline-block;
  width: 300px;
  align-items: center;
  background: rgb(255, 255, 255);
  z-index: 1000;
  transition: all 0.3s ease; /* Transition for smooth display changes */
}

.search-bar input {
  width: 100%;
  height: 2.4em;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid #007185;
  border-radius: 1px;
  background-color: transparent;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56.966 56.966' fill='%23717790c7'%3e%3cpath d='M55.146 51.887L41.588 37.786A22.926 22.926 0 0046.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 00.083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z'/%3e%3c/svg%3e");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: 16px 50%;
  box-sizing: border-box;
  color: #333; /* Text color */
  outline: none; /* Remove outline on focus */
  padding: 0.75em 2.55em;
}

#search-bar input::placeholder {
  color: #999; /* Placeholder text color */
}

/* Styles for search icon */
.search-icon {
  display: none; /* Hide the search icon by default */
  cursor: pointer; /* Add cursor pointer for better UX */
  text-align: center; /* Center align the icon */
  font-weight: 200;
  color: #007185;
  width: 40px;
  align-items: center;
}

.search-icon img {
  width: 30px; /* Adjust size as needed */
  height: 30px; /* Adjust size as needed */
  display: block; /* Ensure the image is block level */
  margin: auto; /* Center the image horizontally */
}

/* Media queries for responsive behavior */
@media (max-width: 768px) {
  #search-bar {
      display: none; /* Hide the search bar on smaller screens */s
  }

  .search-icon {
      display: block; /* Show the search icon on smaller screens */
        padding: 1%;
        margin: auto;
    }
  }
}

@media (min-width: 769px) {
  #search-bar {
      display: inline-block; /* Show the search bar on larger screens */
  }

  .search-icon {
      display: none; /* Hide the search icon on larger screens */
  }
  
  .bar {
      
    width: 30px;
    height: 0.20em;
    background-color: #007185;
    margin: 0.75em 0.75em;   
    touch-action: manipulation;
      
  }
  
}



        
        