/* Reset and global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}
header {
    background-color: #000c1a; /* Dark blue background color */
    padding: 10px 0; /* Adjust padding as needed */
}

nav ul {
    display: flex;
    align-items: center; /* Vertically center the items */
    justify-content: center; /* Center the entire content as a group */
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 20px; /* Adjust spacing between menu items */
}

nav ul li img.favicon-header {
    width: 50px; /* Adjust logo size */
    height: 50px;
    vertical-align: middle; /* Align the logo with the text */
}


/* Styling for favicon in the header */
.favicon-header {
    width: 50px; /* Favicon size */
    margin-right: 10px; /* Space between the favicon and the menu item */
    vertical-align: middle; /* Align with text */
}


nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
}

/* Hero Section */
.hero {
    background-image: url('images/background.jpg'); /* Replace with a background image of your choice */
    background-size: cover;
    background-position: center;
    color: #fff;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-btn {
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.cta-btn:hover {
    background-color: #0056b3;
}

/* Background colors for the sections */
#liquidaciones {
    background-color: #f0f8ff; /* Light blue for Liquidaciones section */
    padding: 50px 0;
}

#contacto {
    background-color: #000c1a    ; /* Light yellow for Contact section */
    padding: 50px 0;
}

/* Liquidaciones Cards */
.liquidaciones {
    padding: 50px;
    text-align: center;
}

.liquidaciones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Creates a two-column layout */
    gap: 20px;
    padding: 20px;
}

.card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
    text-align: left; /* Ensures text is left-aligned inside cards */
}

.card:hover {
    transform: translateY(-5px); /* Adds a hover effect to cards */
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #000c1a;
}

.card p {
    font-size: 14px;
    color: #555;
}

/* Ensure PDF container background matches Liquidaciones */
.pdf-container {
    display: none; /* Initially hidden */
    padding: 20px;
    margin-top: 30px;
    background-color: #f0f8ff; /* Matching the Liquidaciones background color */
    border-radius: 8px;
}

.pdf-container ul {
    list-style-type: none;
    padding: 0;
}

.pdf-container ul li {
    padding: 8px;
    background-color: #fff;
    margin-bottom: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Contact Form Styles */
.contacto {
    padding: 50px;
    text-align: center;
    color: #eeeee4;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.contact-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Add a light shadow */
}

.contact-form h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #000c1a;
    text-align: center; /* Center the heading */
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #000c1a;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    font-size: 16px;
    transition: border-color 0.3s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    background-color: #fff;
}

.form-group textarea {
    resize: vertical;
    height: 150px;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Responsive Contact Form */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
    }

    .contact-form h2 {
        font-size: 22px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }
}

/* Footer */
footer {
    background-color: #000c1a;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    margin-top: 50px;
}


/* Contact Info Section */
.contact-info {
    background-color: #f4f4f4;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.contact-info-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Space between the info items */
    flex-wrap: wrap; /* Ensure it wraps on smaller screens */
}

.info-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #000c1a;
}

.info-item i {
    font-size: 20px;
    margin-right: 10px;
    color: #007bff;
}

.info-item a, .info-item span {
    color: #000c1a;
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Adjust layout for mobile */
@media (max-width: 768px) {
    .contact-info-container {
        flex-direction: column;
        gap: 20px; /* Adjust the gap for smaller screens */
    }
}

/* WhatsApp Contact Section */
.whatsapp-contact {
    background-color: #000c1a;
    padding: 30px 0;
    text-align: center;
}

.whatsapp-container {
    display: inline-block;
    text-align: center;
}

.whatsapp-container i {
    font-size: 40px;
    color: #25d366; /* WhatsApp green color */
    margin-bottom: 10px;
}

.whatsapp-container p {
    font-size: 18px;
    margin-bottom: 15px;
    color: #eeeee4;
}

.whatsapp-btn {
    background-color: #25d366;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.whatsapp-btn:hover {
    background-color: #1ebc5a;
}


/* Baranda Virtual Section */
.baranda-virtual {
    background-color: #f5f5f5; /* Light grey background */
    padding: 40px 0;
    text-align: center; /* Center all content */
}

.baranda-container {
    max-width: 400px; /* Constrain the container width for better layout */
    margin: 0 auto; /* Center the container */
    text-align: center;
}

.baranda-container img {
    width: 200px; /* Smaller logo */
    margin-bottom: 20px;
}

.baranda-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #000c1a;
}

.baranda-container p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.consultar-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.consultar-btn:hover {
    background-color: #0056b3;
}
