:root {
    --primary-color: #1a365d;
    --secondary-color: #c9a227;
    --accent-color: #2c5282;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) !important;
}

.navbar-brand img {
    border-radius: 50%;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 20px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="2"/></svg>') repeat;
    background-size: 100px 100px;
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.card {
    border: none;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 10px;
    overflow: hidden;
}

.card:hover {
    transform: none;
    box-shadow: none;
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #198754;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: white;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.6);
}

.contact-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    height: 100%;
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.team-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.team-card .no-photo {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card .no-photo i {
    font-size: 4rem;
    color: #adb5bd;
}

.col-xl-2 .team-card .no-photo {
    height: 150px;
}

.col-xl-2 .team-card .no-photo i {
    font-size: 3rem;
}

.team-card .card-body {
    padding: 1rem;
}

.col-xl-2 .team-card img {
    height: 150px;
}

.col-xl-2 .team-card .card-body {
    padding: 0.75rem;
}

.col-xl-2 .team-card .card-title {
    font-size: 0.75rem !important;
}

.col-xl-2 .team-card .small {
    font-size: 0.65rem !important;
}

.documents-list .document-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.documents-list .document-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.documents-list .document-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.academy-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.academy-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.academy-card .card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 1.5rem;
    text-align: center;
    font-weight: bold;
}

.program-card {
    background: white;
    border-radius: 15px;
    overflow: visible;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    transform: scale(1);
    border: 3px solid #1a365d;
}

.program-card:hover {
    transform: scale(1.08) translateY(-15px) rotate(2deg);
    box-shadow: 0 20px 50px rgba(26, 54, 93, 0.5);
    border: 3px solid #c9a227;
}

.program-card .card-header {
    background: var(--secondary-color);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: bold;
}

.flip-card {
    background-color: transparent;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    overflow: hidden;
}

.flip-card-back {
    transform: rotateY(180deg);
}

.document-card {
    transition: all 0.4s ease;
}

.document-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(26, 54, 93, 0.4) !important;
    border-color: #1a365d !important;
}

.stat-box {
    background: transparent !important;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: none !important;
}

.stat-box .number {
    font-size: 3rem;
    font-weight: bold;
    color: inherit;
}

.stat-box .label {
    font-size: 1.1rem;
    opacity: 0.7;
    color: inherit;
}

.stat-box .label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.bg-warning {
    background-color: var(--secondary-color) !important;
}

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

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .stat-box .number {
        font-size: 2rem;
    }
}

@keyframes rebotar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px) !important;
    }
}

.badge .correo, span.badge .correo, div.badge .correo {
    text-decoration: none !important;
    color: #333 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-weight: normal !important;
}

.badge .correo:hover, span.badge .correo:hover, div.badge .correo:hover {
    text-decoration: none !important;
}

.bg-light a {
    text-decoration: none !important;
}

.card-academia {
    transition: all 0.3s ease;
}

.card-academia:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4) !important;
}

.efectoacademia {
    transition: all 0.3s ease;
}

.efectoacademia:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4) !important;
}



