:root {
    --primary-color: #34AE42;
    --title-color: #34AE42;
    --secondary-color: #272637;
    --accent-color: #E2AA31;
    --text-dark: #54595F;
    --text-light: #fff;
    --color-green: #61CE70;
    --color-gold: #BC955B;
    --color-darkest: #1B1728;
    --transition: all 0.3s ease;
}
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    background-color: #f4f7fa;
}
.top-bar {
    padding: 0.3rem 1rem !important;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-bottom: 2px solid rgba(0,0,0,0.08);
}
.top-bar .nav-link {
    padding: 0.3rem 0.8rem !important;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 6px;
    color: #272637 !important;
}
.top-bar .nav-link:hover {
    background: rgba(0,0,0,0.06);
}
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 1rem;
    border-bottom: 2px solid var(--primary-color);
}
.navbar-brand img {
    transition: var(--transition);
}
.navbar-brand img:hover {
    transform: scale(1.05);
}
.nav-link {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}
.nav-link:hover {
    color: var(--primary-color) !important;
}
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #9AD7A1);
    color: white;
    padding: 80px 0;
    text-align: center;
}
.page-header h1 {
    font-weight: 700;
    font-size: 2.8rem;
}
.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}
.card-bachillerato {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    transition: var(--transition);
    height: 100%;
    border: 1px solid rgba(0,0,0,0.05);
}
.card-bachillerato:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(52, 174, 66, 0.15);
    border-color: var(--primary-color);
}
.card-bachillerato .card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}
.card-bachillerato .card-body {
    padding: 30px;
}
.card-bachillerato .card-body h3 {
    font-weight: 700;
    margin-bottom: 15px;
}
.card-bachillerato .card-body ul {
    list-style: none;
    padding: 0;
}
.card-bachillerato .card-body ul li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.card-bachillerato .card-body ul li:last-child {
    border-bottom: none;
}
.card-bachillerato .card-body ul li::before {
    content: "\2713";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 10px;
}
.button {
    background: var(--primary-color);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    color: white !important;
    text-decoration: none !important;
    display: inline-block;
}
.button:hover {
    background: transparent;
    color: var(--primary-color) !important;
}
footer {
    background: linear-gradient(135deg, var(--secondary-color), var(--color-darkest)) !important;
    color: white;
    padding: 60px 0 30px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    margin-top: 100px;
}

/* Utility classes */
.nav-top-bg {
    background-color: #B0FF34 !important;
}

.card-img-tics {
    background: linear-gradient(135deg, #34AE42, #9AD7A1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img-cont {
    background: linear-gradient(135deg, #E2AA31, #F5D78E);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img h3 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.text-primary-bold {
    color: var(--primary-color) !important;
}

.text-secondary-color {
    color: var(--secondary-color) !important;
}

.text-gold-bold {
    color: #E2AA31 !important;
}
