body {
    font-family: Arial, sans-serif;
}

header {
    background-color: rgb(3, 10, 103);
    padding: 10px 10px;
}

.logo-alicante {
    color: rgb(236, 236, 7);
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .logo-alicante {
        font-size: 1.3rem;
    }
}

@media (min-width: 769px) {
    .logo-alicante {
        font-size: 1.4rem;
    }
}

@media (min-width: 1200px) {
    .logo-alicante {
        font-size: 1.6rem;
    }
}

.independent-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.independent-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 20vh;
    padding: 20px 20px;
    background-color: rgb(3, 10, 103);
    color: #fff;
}

.independent-container {
    max-width: 800px;
    background-color: #e8eef6;
    padding: 20px 40px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(185, 184, 177, 0.918);
    text-align: center;
    color: #333;
}

.independent-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #0a0a0a;
}

.independent-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .independent-title {
        font-size: 1.4rem;
    }

    .independent-text {
        font-size: 1.2rem;
    }

    .independent-container {
        padding: 15px;
    }
}

@media (min-width: 769px) {
    .independent-title {
        font-size: 1.4rem;
    }

    .independent-text {
        font-size: 1.3rem;
    }
}

.sectiontree {
    text-align: center;
    padding: 20px;
    max-width: 90%;
    margin: auto;
    background-color: #f0f4f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.treetittle {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.treetext {
    font-size: 1.25rem;
    color: #34495e;
    line-height: 1.6;
    opacity: 0;
    animation: fadeIn 2s ease-in-out 1 forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .treetittle {
        font-size: 1.6rem;
    }

    .treetext {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .treetittle {
        font-size: 1.5rem;
    }

    .treetext {
        font-size: 1.3rem;
    }
}

.links {
    justify-content: center;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 100%;
    text-align: center;
    justify-content: center;
}

.elegant-footer {
    background-color: rgb(32, 33, 38);
    color: #ffffff;
    min-height: 17vh;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}


.footer-text {
    margin: 0;
    font-size: 1rem;
}

.footer-links {
    margin-top: 20px;
}

.footer-link {
    color: #f1d815;
    font-size: 1.3rem;
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
    color: #14a40d;
    transform: translateY(-3px);
}

@keyframes elegant-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    }
}

@media (max-width: 600px) {
    .footer-text {
        font-size: 1.2rem;
    }

    .footer-link {
        display: block;
        margin: 5px 0;
    }
}

.faq-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.faq-container h1 {
    text-align: center;
    color: #333;
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: #02101f;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding: 10px 0;
    color: #666;
    font-size: 1.2em;
}

.toggle-icon {
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    transition: max-height 0.5s ease;
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .faq-container {
        padding: 15px;
    }

    .faq-question h3 {
        font-size: 1em;
    }
}

.image-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 50vh;
    background-color: #fff;
}

.image-container {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, opacity 0.5s ease;
    border-radius: 10px;
}

.description-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    text-align: center;
    transition: opacity 0.5s ease;
    opacity: 0;
    border-radius: 0 0 10px 10px;
}

.image-container:hover img {
    transform: scale(1.1);
    opacity: 0.8;
}

.image-container:hover .description-container {
    opacity: 1;
}

@media (min-width: 768px) {
    .image-section {
        padding: 40px;
    }

    .description-container {
        padding: 20px;
        font-size: 1.2rem;
    }
}

@media (min-width: 1200px) {
    .image-container {
        max-width: 800px;
    }
}

.mapa {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.titulo-mapa {
    display: flex;
    justify-content: center;
}


.image-arbitraje {
    max-width: 100%;
    max-height: 190px;
    max-width: 190px;
    height: auto;
    border-radius: 5px;
}

.image-logo {
    max-width: 100%;
    max-height: 260px;
    max-width: 260px;
    height: auto;
    border-radius: 5px;
}

.description {
    margin-top: 10px;
    text-align: center;
    font-size: 1.2rem;
    color: #333;
}

.call-button-container-alicante {
    position: relative;
    display: flex;
    justify-content: center;
    z-index: 1000;
}

.call-button-alicante {
    padding: 9px 20px;
    background-color: rgb(255, 255, 129);
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1.5rem;
}


@media (max-width: 600px) {
    .call-button {
        font-size: 1.5rem;
        padding: 11px 20px;
    }
}

#seccion-logo-GCD {
    position: relative;
    width: 100%;
    height: 69vh;
    background-image: url('dioni2.jpg');
    background-size: cover;
    background-position: center;
    max-width: 330px;
    max-height: 330px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#seccion-logo-GCD::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

#seccion-logo-GCD .contenido {
    position: relative;
    text-align: center;
    z-index: 2;
}

#seccion-logo-GCD .titulo {
    font-size: 1.6rem;
    color: white;
    margin: 0;
    font-family: 'Arial', sans-serif;
    animation: fadeInUp 2s ease-out;
}

#seccion-logo-GCD .subtitulo {
    font-size: 1.3rem;
    color: white;
    margin-top: 10px;
    font-family: 'Arial', sans-serif;
    opacity: 0;
    animation: fadeInUp 2s ease-out 1s forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #seccion-logo-GCD .titulo {
        font-size: 1.5rem;
    }

    #seccion-logo-GCD .subtitulo {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    #seccion-logo-GCD .titulo {
        font-size: 1.4rem;
    }

    #seccion-logo-GCD .subtitulo {
        font-size: 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #seccion-logo-GCD .titulo, 
    #seccion-logo-GCD .subtitulo {
        animation: none;
    }
}

.seccion-cerrajeroalicante {
    background-color: rgb(233, 234, 242);
    padding: 20px;
    border-radius: 8px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 10px auto;
    text-align: center;
}

.seccion-arbitraje {
    padding: 20px;
    border-radius: 8px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 10px auto;
    text-align: center;
}
  
.titulo-animado {
    font-size: 1.3rem;
    font-weight: bold;
    color: #010a5f;
    margin-bottom: 15px;
    animation: animarTitulo 2s ease-in-out;
}

@keyframes animarTitulo {
    0% {
      opacity: 0;
      transform: translateY(-20px);
    }

    50% {
      opacity: 1;
      transform: translateY(0);
    }

    100% {
      opacity: 0;
      transform: translateY(20px);
    }
}
  
.descripcion {
    font-size: 1.3rem;
    color: #333;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto; 
}

.descripcion-arbitraje {
    font-size: 1.3rem;
    color: #070606;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto; 
}
  
@media (max-width: 600px) {
    .titulo-animado {
      font-size: 1.2rem;
    }
}

  
.alicante-cerrajeros {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    background-color: #f4f4f4;
    padding: 20px;
    flex-direction: column;
}
  
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}
  
.image {
    width: 60%;
    max-width: 260px;
    height: auto;
    border-radius: 10px;
    opacity: 0;
    animation: fadeInImage 1.5s ease-in-out forwards;
}
  
.text h2 {
    font-size: 1.4rem;
    color: #333;
    margin: 20px 0;
    opacity: 0;
    animation: fadeInText 1s ease-in-out forwards;
    animation-delay: 0.5s;
}
  
.text p {
    font-size: 1.3rem;
    color: #555;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInText 1.5s ease-in-out forwards;
    animation-delay: 1s;
}

@keyframes fadeInImage {
    to {
      opacity: 1;
    }
}
  
@keyframes fadeInText {
    to {
      opacity: 1;
    }
}
  
@media (min-width: 768px) {
    .content {
      flex-direction: row;
      justify-content: space-around;
      align-items: center;
    }
  
    .image {
      max-width: 600px;
    }
  
    .text h2 {
      font-size: 1.5rem;
    }
  
    .text p {
      font-size: 1.2rem;
    }
}


.imagen-con-animacion {
    max-width: 100%;
    padding: 20px;
    text-align: center;
    background-color: #f9f9f9;
}
  
.imagen-con-animacion h2 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 15px;
}
  
.imagen-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
  
.imagen {
    width: 100%;
    height: auto;
    max-height: 309px;
    max-width: 309px;
    display: inline-block;
    border-radius: 10px;
    transition: transform 0.6s ease, opacity 0.6s ease;
}
  
.imagen-container:hover .imagen {
    transform: scale(1.05); 
    opacity: 0.8;
}
  
.descripcion {
    font-size: 1.25rem;
    color: #555;
    margin-top: 20px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    line-height: 1.6;
    font-weight: 300;
}
  
@media (min-width: 600px) {
    .imagen-con-animacion {
      padding: 40px;
    }
  
    .imagen-container {
      max-width: 80%;
    }
  
    .descripcion {
      font-size: 1.2rem;
    }
}
  
@media (min-width: 1024px) {
    .imagen-con-animacion {
      padding: 60px;
    }
  
    .imagen-container {
      max-width: 60%;
    }
  
    .descripcion {
      font-size: 1.3rem;
    }
}

.animatextsect {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 10px;
    background-color: #f9f470c5;
    border: 2px, solid, black;
    text-align: center;
}

.animatextclass {
    font-size: 1.4rem;
    font-weight: bold;
    color: #444;
    animation: fadeInUp 2s ease-in-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}