:root {
    --primary-dark: #124749;
    --bg-light: #ffffff;
    --bg-soft: #f4f7f7;
    --accent-teal: #1a6366;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-dark);
}

header {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
                url('bg.jpg');
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.main-title {
    font-size: 3.2rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
}

.header-contact, .sub-title-header {
    margin-top: 15px;
    font-size: 1.2rem;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
    opacity: 0.95;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 20px;
}

.section-box { padding: 40px; border-radius: 8px; margin-bottom: 40px; }
.bg-soft { background-color: var(--bg-soft); }

.row { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.col { flex: 1; min-width: 300px; }
img { max-width: 100%; height: auto; border-radius: 4px; }

.btn, .back-btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary-dark);
    color: white !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

.btn:hover, .back-btn:hover {
    background-color: var(--accent-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

ul { list-style: none; padding: 0; }

.edu-list li {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
}
.edu-list li:before {
    content: "•";
    color: var(--primary-dark);
    font-weight: bold;
    font-size: 1.5em;
    position: absolute; left: 5px; top: 8px;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 30px;
    background: var(--bg-soft);
    border-radius: 10px;
    transition: all 0.3s;
}
.step:hover { transform: translateX(10px); box-shadow: 0 5px 15px rgba(18, 71, 73, 0.1); }

.step-number {
    background: var(--primary-dark);
    color: white;
    width: 60px; height: 60px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8em; font-family: 'Playfair Display', serif;
    font-weight: bold; flex-shrink: 0; margin-right: 25px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.spec-box {
    background: var(--bg-soft);
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.3s;
}
.spec-box:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.spec-box li { padding: 4px 0; padding-left: 20px; position: relative; font-size: 0.95rem; }
.spec-box li:before { content: "→"; color: var(--primary-dark); position: absolute; left: 0; }

.pride-section { background: white; padding: 40px; margin-bottom: 40px; border-radius: 10px; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.pride-flag {
    height: 60px;
    background: linear-gradient(to right, #E40303 0%, #E40303 16.66%, #FF8C00 16.66%, #FF8C00 33.33%, #FFED00 33.33%, #FFED00 50%, #008026 50%, #008026 66.66%, #24408E 66.66%, #24408E 83.33%, #732982 83.33%, #732982 100%);
    border-radius: 5px; margin: 20px 0;
}
.terms-box { background: #f9f9f9; border-top: 3px solid var(--primary-dark); padding: 35px; margin-top: 50px; }

.contact-footer { text-align: center; padding: 60px 20px; background: var(--primary-dark); color: white; margin-top: 60px; }
.contact-footer h2 { color: white; }

@media (max-width: 768px) {
    header { height: 50vh; }
    .main-title { font-size: 2.2rem !important; }
    .row { flex-direction: column; }
    .step { flex-direction: column; text-align: center; align-items: center; }
    .step-number { margin-right: 0; margin-bottom: 20px; }
}
