:root {
    --primary-dark: #0a3a6a;
    --primary: #0b5394;
    --primary-light: #e1f0ff;
    --text: #333;
    --text-light: #777;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #e8f0fe;
    color: var(--text);
    padding-top: 80px;
    line-height: 1.6;
}

/* Header */
.header-top {
    background: linear-gradient(to top, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-top-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top h1 {
    color: white;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Main Content */
.main-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 0;
}

.contact-section {
    background: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    margin-bottom: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

h1, h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

h2 {
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 0.8rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    border-radius: 3px;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(to bottom, #f0f7ff, #e1f0ff);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(11, 83, 148, 0.15);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.contact-card h3 {
    margin-top: 0;
    color: var(--primary-dark);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-card h3 i {
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-card p {
    margin: 0.5rem 0;
    color: var(--text);
    font-size: 1.05rem;
}

.contact-actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    padding: 0.5rem 0;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: var(--primary-dark);
    border-bottom: 1px solid var(--primary);
}

.contact-link.whatsapp {
    color: #25D366;
}

.contact-link.whatsapp:hover {
    color: #25D366;
}

.contact-link.email {
    color: #0a3a6a;
}

.contact-link.email:hover {
    color: #0a3a6a;
}

.flag-icon {
    display: inline-block;
    width: 16px;
    height: 12px;

    border-radius: 2px;
    margin-right: 5px;
    position: relative;
    top: -1px;
}

/* Contact Form */
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.05rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fbfd;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(11, 83, 148, 0.1);
    background-color: var(--white);
}

textarea {
    min-height: 180px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(to right, var(--primary-dark), var(--primary));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(11, 83, 148, 0.3);
}

/* Footer */
footer {
    background: linear-gradient(to top, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-link:hover {
    color: var(--white);
    transform: translateY(-2px);
}

.footer-link i {
    font-size: 1.2rem;
}

.footer-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text p {
    margin-bottom: 0.5rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    backdrop-filter: blur(5px);
}

.social-icon:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-info {
        flex-direction: column;
    }

    .contact-card {
        min-width: 100%;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header-top-container,
    .main-container,
    .footer-container {
        width: 92%;
    }
}
