/********** Template CSS **********/
:root {
    --primary: #35c3c5 ;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}
body { font-family: "Open Sans", Arial, Helvetica, sans-serif !important; font-size:15px; font-weight:500}
.body-text p,.body-text li  { 
	font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
	font-weight: 300;
    font-size: 22px;
    line-height: 1.2em;
    color: #204074;
    text-align: justify;
	}
h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
	color:#1f5852;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
	color:#1f5852;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
	color:#1f5852;
}

.sliderw { width:95% !important; margin:0 auto}
.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: #1a80b6;
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    padding: 35px 25px;
    font-size: 15px;
    text-transform: uppercase;
    color: #969696;
    outline: none;
    transition: .5s;
    font-weight: normal;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 35px 11px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
	.ps-5 {
    padding-left: 0rem !important;
}
    .navbar-light .navbar-nav .nav-link  {
        padding: 10px 0;
    }
	.top-shape::before {
		background: none !important;
	}
	.cell { font-size:12px !important;}
}
.cell { font-size:14px;}
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
	background:none;
    background: rgb(21 36 64 / 45%);
    z-index: 1;
}

@media (max-width: 576px) {
	.alignleft { width:100% !important; margin-bottom:20px;}
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.testimonial-carousel .owl-nav {
    margin-top: 30px;
    display: flex;
    justify-content: start;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

.testimonial-carousel .owl-item img {
    width: 90px;
    height: 90px;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}
.logo-title { 
		font-weight: bold !important;
		font-size: 20px;
		letter-spacing: 1px;
	}
.alignleft {
    text-align: left;
    float: left;
    margin-right: 20px;
}

.hero-slide {
  width: 100%;
  min-height: 60vh;
  background-image: url("https://avvocato-bologna.it/wp-content/uploads/2025/12/avvocato-bologna-1-1-1.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-content {
  width: 100%;
  background-color: #00000040;
  text-align: center;
  padding: 2rem 1rem;
}

.slide-content h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.slide-content h3 {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 400;
  margin: 0;
}

.servc {
  width: 100%;
  background-color: #ffffff;
  padding: 105px 30px 45px;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

.servc-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.servc-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.servc-icon {
  font-size: 21px;
  color: #a02027;
  margin-top: 4px;
}

.servc-item h2 {
  font-size: 18px;
  line-height: 23px;
  color: #3b4251;
  margin: 0;
}

/* Tablet */
@media (max-width: 992px) {
  .servc-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .servc-container {
    grid-template-columns: 1fr;
  }
}


.info-section {
  background-color: #f5f5f5;
  padding: 50px 30px 20px;
}

.section-divider {
  width: 100%;
  height: 5px;
  background-color: #a02027;
  margin-bottom: 40px;
}

.info-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.info-card {
  background-color: #ffffff;
  border: 1px solid #e2e2e2;
  padding: 40px 30px 60px;
  text-align: center;
}

.info-card h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

.info-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.info-card p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.highlight {
  font-weight: bold;
}

.small-text {
  font-size: 13px;
}

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background-color: #3b4251;
  color: #ffffff;
  text-decoration: none;
  border-radius: 25px;
}

.btn:hover {
  background-color: #2d3541;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
}

.contact-form button {
  background-color: #3b4251;
  color: #ffffff;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #2d3541;
}

/* Tablet */
@media (max-width: 992px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.parallax-testimonial {
  position: relative;
  padding: 50px 30px;
  overflow: hidden;
  color: #ffffff;
}

/* Parallax background */
.parallax-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://avvocato-bologna.it/wp-content/uploads/2025/12/showeare-parallax.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

/* Content wrapper */
.testimonial-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Testimonial */
.testimonial-logo {
  max-width: 220px;
  height: auto;
  margin-bottom: 20px;
}

.testimonial blockquote {
  margin: 0 auto 20px;
  font-size: 16px;
  line-height: 1.7;
}

.testimonial figcaption {
  font-size: 14px;
  letter-spacing: 0.5px;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .parallax-bg {
    background-attachment: scroll;
  }
}

.features {
  padding: 150px 30px 120px;
  background-color: transparent;
}

.section-divider {
  width: 100%;
  height: 5px;
  background-color: #a02027;
  margin-bottom: 60px;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: #ffffff;
  border: 1px solid #e2e2e2;
  padding: 45px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.feature-card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
}

/* Tablet */
@media (max-width: 992px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 576px) {
  .features {
    padding: 80px 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

.cta-parallax {
  position: relative;
  padding: 50px 30px;
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

/* Parallax background */
.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://avvocato-bologna.it/wp-content/uploads/2025/12/where-we-work-parallax.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

/* Content */
.cta-content {
  max-width: 900px;
  margin: 0 auto;
}

.cta-title {
  font-size: 18px;
  margin-bottom: 10px;
	color:#fff9ec !important;
}

.cta-divider {
  width: 170px;
  height: 1px;
  background-color: #444c56;
  border: none;
  margin: 20px auto 30px;
}

.cta-text {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 10px;
}

.cta-text a {
  color: #ffffff;
  text-decoration: underline;
}

.cta-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background-color: #d3d3d3;
  color: #000000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
}

.cta-button:hover {
  background-color: #ffffff;
}

/* Mobile fix */
@media (max-width: 768px) {
  .cta-bg {
    background-attachment: scroll;
  }
}

.site-footer {
  background-color: #ffffff;
  padding: 20px 30px;
  font-size: 13px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.footer-text {
  margin: 0;
  color: #333333;
}

.footer-text a {
  color: #333333;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  padding: 6px 10px;
  background-color: #55a098;
  color: #ffffff;
  border-radius: 4px;
  text-decoration: none;
  font-size: 12px;
}

.social-icon:hover {
  background-color: #3e8d86;
}

/* Mobile */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

.top-bar {
  background-color: #f5f5f5;
  font-size: 13px;
  padding: 8px 30px;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.top-bar-text a {
  color: #333333;
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 768px) {
  .top-bar-inner {
    flex-direction: column;
    text-align: center;
  }
}
.el-hero-slider {
  width: 100%;
  height: 250px;
  position: relative;
  overflow: hidden;
}

.el-hero-slide {
  width: 100%;
  height: 100%;
  position: relative;
}

.el-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.el-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding: 0 30px;
  gap: 10px;
}

.el-hero-box {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 12px 20px;
}

.el-hero-box h2 {
  margin: 0;
  color: #ffffff;
  font-size: 36px;
  line-height: 43px;
}

.el-hero-box h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 21px;
  font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
  .el-hero-content {
    align-items: center;
    text-align: center;
  }

  .el-hero-box h2 {
    font-size: 28px;
    line-height: 34px;
  }
}
