:root {
    --primary-color: #D8BFD8; /* Light pastel purple */
    --secondary-color: #F5F5F5; /* Light grey */
    --text-color: #333;
    --white-color: #FFFFFF;
    --header-footer-bg: #4A4A4A; /* Dark grey for contrast */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    background-color: var(--header-footer-bg);
    color: var(--white-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo img {
    height: 50px;
}

header nav ul {
    list-style: none;
    display: flex;
}

header nav ul li {
    margin-left: 2rem;
}

header nav ul li a {
    color: var(--white-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* Main Content */
main {
    padding-top: 80px; /* Adjust for fixed header height */
}

/* Hero Section */
.hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white-color);
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

/* Sedes Section */
.sedes-section {
    padding: 4rem 0;
    background-color: var(--secondary-color);
}

.sedes-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.sedes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.sede-card {
    background-color: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sede-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.sede-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sede-card p {
    margin-bottom: 0.5rem;
}

.sede-card a {
    color: #C71585; /* MediumVioletRed */
    text-decoration: none;
    font-weight: bold;
}

.sede-card a:hover {
    text-decoration: underline;
}

/* Contact Section */
.contact-section {
    padding: 4rem 0;
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.contact-section .intro-text {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.contact-content {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

#contact-form {
    flex: 2;
}

.contact-info {
    flex: 1;
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #C71585;
    text-decoration: none;
}

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


.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #c9a9c9;
}

/* Footer */
footer {
    background-color: var(--header-footer-bg);
    color: var(--white-color);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 0.5rem;
    }

    header nav ul {
        padding-top: 0.5rem;
    }

    header nav ul li {
        margin: 0 0.75rem;
    }
    
    main {
        padding-top: 120px;
    }
    
    .hero {
        height: 50vh;
    }

    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1.2rem;
    }
    
    .contact-content {
        flex-direction: column;
    }
}

