html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

html, body {
    flex-direction: column;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(to right, #96897B, #628395);
}

/*==== Hero Section ====*/
.hero-section {
    background: url('/images/construccion-bg.jpg') no-repeat center center/cover;
    height: 50vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

    .hero-content h1 {
        font-size: 3rem;
        color: #ffc107;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

/* ==== Botones personalizados ==== 
*/ .btn-glass {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease;
}

    .btn-glass:hover {
        background: rgba(255, 255, 255, 0.4);
    }

/*==== Sección de servicios ====*/
.section-cards {
    padding: 60px 20px;
    background-color: rgba(255, 255, 255, 0.2);
    text-align: center;
    
}
.h2 {
    color: #ffc107;
    /*font-style: italic;*/
}

.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}
    

.card.glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 15px;
    width: 280px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

    .card.glass:hover {
        transform: translateY(-5px);
    }

/*==== Call to Action ====*/
.cta-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #343a40;
    color: white;
}

.btn-glow {
    padding: 15px 35px;
    border-radius: 30px;
    background: #c6aa40;
    color: whitesmoke;
    text-decoration: none;
    box-shadow: 0 0 20px #ff6f00;
    transition: transform 0.2s ease;
}

    .btn-glow:hover {
        transform: scale(1.05);
        color: darkred;
    }

/*==== Footer (heredado del layout) ====*/
/*footer.footer {
    padding: 1rem 0;
    background-color: #eaeaea;
    color: #333;
    font-size: 0.9rem;
    text-align: center;
}*/
/*==== Animaciones suaves ====*/
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in.delay-1 {
    animation-delay: 0.5s;
}

.fade-in.delay-2 {
    animation-delay: 1s;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

    .fade-in-up.delay-2 {
        animation-delay: 0.7s;
    }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}


.projects-section {
    padding: 60px 0;
    box-shadow: 5px 4px 15px 15px rgba(183,198,203,10);
}

.project-card h5 {
    color: #9d3d0cf8;
    transition: transform 0.3s ease;
}

.project-card p {
    color: #0c1f2f;
    font-size: 18px;
}

.project-card:hover {
    transform: translateY(-5px);
}

/*box-shadow: 0 4px 8px rgba(0,0,0,0.1);*/

.testimonials-section {
    background: #4c7aa8;
    position: relative;
}

.testimonial-item {
    max-width: 700px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(6px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

    .testimonial-item blockquote {
        font-style: italic;
        font-size: 1.2rem;
        color: #fff;
        margin-top: 15px;
    }

    .testimonial-item footer {
        margin-top: 10px;
        font-weight: bold;
        font-size: 1rem;
    }

.testimonial-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-bottom: 15px;
}




.stats-section {
    background-color: #f0f0f0;
}

    .stats-section h3 {
        font-size: 2.5rem;
        color: #ff9800;
        font-weight: bold;
    }

    .stats-section p {
        color: #333;
    }

/* Contador animado */
.counter {
    transition: 0.5s ease;
}
.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

    .timeline::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 4px;
        background: #ccc;
        transform: translateX(-50%);
    }

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0px 15px;
    box-sizing: border-box;
}

    .timeline-item::after {
        content: "";
        position: absolute;
        top: 30px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #ff6f00;
        border: 4px solid white;
        box-shadow: 0 0 0 2px #ff6f00;
        z-index: 1;
    }

.timeline-left {
    left: 0;
    text-align: right;
}

    .timeline-left::after {
        right: -10px;
    }

.timeline-right {
    left: 50%;
    text-align: left;
}

    .timeline-right::after {
        left: -10px;
    }

.timeline-year {
    font-weight: bold;
    font-size: 1.2em;
    color: #333;
    margin-bottom: 5px;
}

.timeline-content {
    background: #f3f3f3;
    padding: 15px;
    border-radius: 6px;
    display: inline-block;
    max-width: 90%;
}
/*.timeline {
    border-left: 4px solid #004080;
    padding-left: 20px;
    margin-left: 20px;
}

.timeline-item {
    margin-bottom: 25px;
    position: relative;
}

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -14px;
        top: 5px;
        width: 10px;
        height: 10px;
        background-color: #004080;
        border-radius: 50%;
    }

.timeline-year {
    font-weight: bold;
    color: #004080;
    margin-bottom: 5px;
}

.timeline-content {
    color: #444;
}*/


form .form-label {
    font-weight: bold;
    color: #004080;
}

form input[type="text"],
form input[type="email"],
form textarea,
form input[type="file"] {
    border-radius: 8px;
}



.parr {
    font-size: 22px;
    color : black;
    text-align: justify;


}

.ax {
    font-size: 30px;
    text-align: center;
    text-justify: auto;
    padding: 4px;
}

.fndsec {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 30px 20px;
}

/*.cab {
    background-color: black;
    opacity: 0.75;
    border-radius: 8px;
    padding: 10px 30px 10px 20px;
}*/

.card-title {
    color: #004080;
    font-weight: bold;
}

form .form-label {
    color: #004080;
    font-weight: bold;
}
.card-title {
    font-weight: bold;
    color: #004080;
}

.card-text {
    font-size: 1rem;
}

/*.content-wrapper {
    padding-bottom: 80px;
}*/