html {
    scroll-behavior: smooth;
}

.navbar {
    background-color: #1E3A8A !important;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-brand {
    color: white !important;
    font-size: 2rem;
    font-weight: 700;
    transition: all 0.3s ease;
}

.navbar-scrolled {
    padding: 12px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);
    background-color: rgba(30, 58, 138, 0.96) !important;
    backdrop-filter: blur(8px);
}

.navbar-scrolled .navbar-brand {
    font-size: 1.7rem;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin-left: 12px;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: #7BD389;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    background-color: rgba(123, 211, 137, 0.14);
    color: #7BD389 !important;
    transform: translateY(-2px);
}

.hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #284BA8 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 80px;
    width: 350px;
    height: 350px;
    background: rgba(123, 211, 137, 0.12);
    border-radius: 50%;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255,255,255,0.7),
        transparent
    );
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.5px;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-image {
    border-radius: 22px;
    box-shadow: 0 25px 55px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge {
    display: inline-block;
    background-color: rgba(123, 211, 137, 0.16);
    color: #7BD389;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 28px;
}

.services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E3A8A;
}

.services-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.service-card {
    border: none;
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid #7BD389;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background-color: rgba(123, 211, 137, 0.15);
    color: #4CAF50;

    font-size: 2.8rem;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    transition: 0.3s;
}

.btn-warning {
    background-color: #7BD389;
    border-color: #7BD389;
    color: #102A43;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: #4CAF50;
    border-color: #4CAF50;
    color: white;
}

.why-us {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-badge {
    display: inline-block;
    background-color: rgba(123, 211, 137, 0.16);
    color: #4CAF50;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    margin-bottom: 20px;
}

.why-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1E3A8A;
    line-height: 1.3;
}

.why-card {
    height: 100%;
    padding: 28px;
    border-radius: 18px;
    background-color: #f8f9fa;
    border: 1px solid rgba(30, 58, 138, 0.08);
    transition: all 0.3s ease;
}

.why-card i {
    font-size: 2rem;
    color: #4CAF50;
    margin-bottom: 15px;
}

.why-card h5 {
    color: #1E3A8A;
    font-weight: 700;
    margin-bottom: 10px;
}

.why-card p {
    color: #6c757d;
    margin-bottom: 0;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: rgba(76,175,80,0.35);
    background-color: #ffffff;
}

.projects {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.projects-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1E3A8A;
}

.projects-subtitle {
    color: #6c757d;
    font-size: 1.1rem;
}

.project-info {
    padding: 15px;
    background: white;
}

.project-info h5 {
    color: #1E3A8A;
    margin-bottom: 5px;
    font-weight: 600;
}

.project-info p {
    color: #6c757d;
    margin: 0;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.project-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.project-overlay {

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(0,0,0,0.65);

    color: white;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 20px;

    opacity: 0;

    transition: all 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.08);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h5,
.project-overlay p {

    transform: translateY(20px);

    transition: all 0.4s ease;
}

.project-card:hover .project-overlay h5,
.project-card:hover .project-overlay p {

    transform: translateY(0);
}

.contact {
    padding: 100px 0;
    background-color: #ffffff;
}

.contact-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #1E3A8A;
    line-height: 1.2;
}

.contact-text {
    color: #6c757d;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-info p {
    color: #334155;
    font-weight: 500;
    margin-bottom: 12px;
}

.contact-info i {
    color: #4CAF50;
    margin-right: 10px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.form-control {
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(30, 58, 138, 0.12);
    background-color: #f8f9fa;
}

.form-control:focus {
    border-color: #7BD389;
    box-shadow: 0 0 0 0.2rem rgba(123, 211, 137, 0.25);
}

.footer {
    background-color: #1E3A8A;
    color: white;
    padding: 70px 0 25px;
}

.footer h4,
.footer h5 {
    font-weight: 700;
    margin-bottom: 20px;
}

.footer p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.footer i {
    color: #7BD389;
    margin-right: 8px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #7BD389;
    padding-left: 5px;
}

.footer hr {
    border-color: rgba(255,255,255,0.2);
    margin: 40px 0 20px;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
}

.hero-title,
.hero-text,
.hero-badge,
.hero-buttons {
    animation: fadeUp 0.8s ease forwards;
}

.hero-image {
    animation: fadeIn 1s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.btn {
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.services,
.why-us,
.projects,
.contact {
    scroll-margin-top: 90px;
}

.service-card,
.why-card,
.project-card,
.contact-form {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        margin: 0 !important;
    }

    .hero-image {
        margin-top: 35px;
    }

    .services,
    .why-us,
    .projects,
    .contact {
        padding: 70px 0;
    }

    .services-title,
    .why-title,
    .projects-title,
    .contact-title {
        font-size: 2rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.whatsapp-float {
    position: fixed;

    bottom: 25px;
    right: 25px;

    width: 65px;
    height: 65px;

    background: #25D366;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 2rem;

    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0,0,0,0.25);

    z-index: 9999;

    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}