* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    background-color: rgb(6, 11, 84);
    padding: 10px 0;
}

.logo {
    color: #ffffff;
    font-size: 1.4rem;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .logo {
        font-size: 1.5rem;
    }
}

@media (min-width: 769px) {
    .logo {
        font-size: 1.6rem;
    }
}

@media (min-width: 1200px) {
    .logo {
        font-size: 2rem;
    }
}

.container {
    width: 100%;
    height: 20vh;
    display: flex;
    flex-direction: column;
}

.franja {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .franja {
        height: 24vh;
        display: flex;
    }
}

@media (min-width: 769px) {
    .franja {
        height: 25vh;
        display: flex;
    }
}

@media (min-width: 1200px) {
    .franja {
        height: 26vh;
    }
}

.animated-text {
    font-size: 2.5rem;
    color: rgb(239, 253, 38);
    position: relative;
    animation: fadeIn 2s;
}

@keyframes fadeIn {
    0% {
        transform: translateY(200%);
        opacity: 0;
    }
    25% {
        transform: translateY(100%);
        opacity: 1;
    }
    50% {
        transform: translateY(0);
        opacity: 1;
    }
    75% {
        transform: translateY(-100%);
        opacity: 1;
    }
    100% {
        transform: translateY(-200%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .animated-text {
        font-size: 1.9rem;
    }
}

@media (max-width: 480px) {
    .animated-text {
        font-size: 1.8rem;
    }
}

.call-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 10vh;
    background-color: rgb(6, 11, 84);    
}

.call-button {
    background-color: #5bd878;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.call-button:hover {
    background-color: #eaec76;
}

@media (max-width: 768px) {
    .call-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .call-button {
        padding: 15px 30px;
        font-size: 18px;
    }
}

.bounce-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 13vh;
}

.bounce-text {
    letter-spacing: 1.5px;
    color: rgb(31, 28, 28); 
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    .bounce-text {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .bounce-text {
        font-size: 28px;
    }
}

.independent-section * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.independent-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 40vh;
    padding: 20px;
    background-color: rgb(235, 235, 240);    
    color: #fff;
}

.independent-container {
    max-width: 800px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: #333;
}

.independent-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #083a8a;
}

.independent-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #555;
}

@media (max-width: 768px) {
    .independent-title {
        font-size: 1.9rem;
    }

    .independent-text {
        font-size: 1.4rem;
    }

    .independent-container {
        padding: 15px;
    }
}

@media (min-width: 769px) {
    .independent-title {
        font-size: 1.8em;
    }

    .independent-text {
        font-size: 1.4rem;
    }
}

#responsive-section {
    display: auto;
    background-color: #f4f4f4;
    padding: 20px;
    margin: 10px;
    text-align: center;
    max-width: 100%;
}

#responsive-section h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

#responsive-section p {
    font-size: 1.5rem;
    color: #666;
    line-height: 1.5;
}

@media (min-width: 768px) {
    #responsive-section h1 {
        font-size: 1.9rem;
    }
    #responsive-section p {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    #responsive-section h1 {
        font-size: 1.8rem; 
    }
    #responsive-section p {
        font-size: 1.4rem;
    }
}

.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: 50vh;
}

.treetittle {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.treetext {
    font-size: 1.4rem;
    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.9remrem;
    }

    .treetext {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .treetittle {
        font-size: 1.8rem;
    }

    .treetext {
        font-size: 1.3rem;
    }
}

.nuevotitle {
    font-size: 2rem;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .nuevotitle {
        font-size: 1.9rem;
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    .nuevotitle {
        font-size: 1.8rem;
        padding: 0 10px;
    }
}

.elegant-footer {
    background-color: rgb(41, 41, 44);    
    color: #ecf0f1;
    padding: 20px;
    min-height: 29vh;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

@media (min-width: 1200px) {
    .elegant-footer {
        min-height: 20vh;
    }
}

.footer-text {
    margin: 0;
    font-size: 1.3rem;
}

.footer-links {
    margin-top: 10px;
}

.footer-link {
    color: rgb(239, 253, 38);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
    color: #f39c12;
    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;
    }
}
.seccion-ondara {
  padding: 1rem;
  background-color: #f9f9f9;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.seccion-ondara .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  min-height: 50vh;
  margin: 0 auto;
  gap: 1rem;
}

.ondara-img {
  width: 70%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.ondara-texto {
  text-align: center;
}

.ondara-texto h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.ondara-texto p {
  font-size: 1.2rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .seccion-ondara .container {
    flex-direction: row;
    align-items: center;
    text-align: left;
    }

    .ondara-img {
    width: 40%;
    }
}

.whatsapp-banner {
    background-color: rgb(6, 11, 84);    
    color: #ffffff;
    padding: 1rem;
    font-family: system-ui, -apple-system, sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.banner-text {
    font-size: 1.4rem;
}

.banner-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  gap: 1.75rem;
  transition: background-color 0.3s ease;
}

.whatsapp-link:hover,
.whatsapp-link:focus {
  text-decoration: underline;
  outline: none;
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: currentColor;
}

@media (min-width: 768px) {
  .banner-text {
    font-size: 1.3rem;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}


.call-button-section {
    background-color: rgb(6, 11, 84);    
    padding: 1rem;
    font-family: system-ui, -apple-system, sans-serif;
    text-align: center;
}

.call-button-wrapper {
  display: flex;
  justify-content: center;
}

.call-now-button {
  background-color: #ffb811;
  color: rgb(0, 0, 0);
  padding: 1rem 1.9rem;
  font-size: 1.4rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.call-now-button:hover,
.call-now-button:focus {
  background-color: #0056b3;
  transform: translateY(-2px);
  outline: none;
}

.phone-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: currentColor;
}

/* Responsive Enhancements */
@media (min-width: 768px) {
  .call-now-button {
    font-size: 1.125rem;
    padding: 1rem 2rem;
  }

  .phone-icon {
    width: 24px;
    height: 24px;
  }
}