:root {
    --primary-color: #9b72aa;
    /* Lilac purple */
    --secondary-color: #6a4c93;
    /* Darker purple */
    --accent-color: #efe6f5;
    /* Light lilac background */
    --text-color: #333333;
    --light-text: #ffffff;
    --background-white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-white);
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    margin-bottom: 3rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header & Nav */
header {
    background-color: var(--background-white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(106, 76, 147, 0.8), rgba(155, 114, 170, 0.8)), url('Foto Perfil.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text);
    padding: 0 2rem;
    margin-top: 80px;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease;
}

.hero h1 {
    color: var(--light-text);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--light-text);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--light-text);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--light-text);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

/* About Section */
.about {
    background-color: var(--background-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.about-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-text .quote {
    font-style: italic;
    color: var(--secondary-color);
    font-size: 1.2rem;
    border-left: 4px solid var(--primary-color);
    padding-left: 1rem;
    margin-top: 2rem;
}

/* Studies Section */
.studies {
    background-color: var(--accent-color);
}

.studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.study-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.study-card:hover {
    transform: translateY(-10px);
}

.study-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.diploma-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin-bottom: 1rem;
    border: 2px dashed #ddd;
    border-radius: 10px;
}

/* Locations Section */
.locations {
    background-color: var(--background-white);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.location-card {
    border: 1px solid #eee;
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.location-card:hover {
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

.location-info {
    padding: 1.5rem;
}

/* Contact Section */
.contact {
    background-color: var(--accent-color);
}

.contact-container {
    background: var(--background-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(155, 114, 170, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--secondary-color);
    color: var(--light-text);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background-color: var(--primary-color);
}

.response-message {
    margin-top: 1rem;
    text-align: center;
    display: none;
}

.response-message.success {
    color: green;
    display: block;
}

.response-message.error {
    color: red;
    display: block;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--light-text);
    text-align: center;
    padding: 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--background-white);
        padding: 2rem;
        box-shadow: var(--shadow);
        animation: fadeIn 0.3s ease;
    }
}