html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    height:100vh;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
    --primary-color: rgb(62, 84, 129);
    --accent-color: #BD9F66;
    --background-light: #F5F5F7;
    --background-dark: #18151d;
    --text-dark: #333333;
}

* {
    font-family: 'Public Sans', sans-serif;
}

body {
    background-color: var(--background-light);
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

    body.dark-mode {
        background-color: var(--background-dark);
        color: #E5E5E5;
    }

.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body.dark-mode .navbar {
    background-color: #2D2A33;
    border-bottom-color: #444;
}
.text-primary-color{
    color: var(--primary-color);
}

.text-secondary-color{
    color: var(--accent-color);
}
.link:hover{
    color: var(--primary-color);
}
.navbar-brand {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.25rem;
}
    .navbar-brand:hover,
    .navbar-brand:hover * {
        color: var(--accent-color) !important;
    }
.nav-link {
    color: var(--background-light) ;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    margin: 0.5rem;
}

body.dark-mode .nav-link {
    color: #E5E5E5 ;
}

.nav-link:hover {
    color: var(--accent-color) ;
}

body.dark-mode .nav-link:hover {
    color: var(--accent-color) ;
}
/* HERO PREMIUM */
.hero-premium {
    height: 20em;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

/* Overlay degradado diagonal profesional */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5), rgba(0,0,0,0.25));
}

/* TEXTO del Hero */
.hero-text {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    padding: 0 20px;
}

/* ANIMACIONES */
.animate-fade {
    animation: fadeIn 1.2s ease;
}

.animate-rise {
    animation: riseUp 0.9s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes riseUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section {
    background: linear-gradient(135deg, #415582 0%, #323742 100%);
    color: white;
    padding: 80px 20px;
    border-radius: 12px;
    margin: 40px 0;
}

    .hero-section h1 {
        font-size: 3rem;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .hero-section p {
        font-size: 1.25rem;
        margin-bottom: 30px;
        opacity: 0.95;
    }
.hover-card {
    transition: transform .25s ease, box-shadow .25s ease;
}

    .hover-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 1.25rem 2.5rem rgba(0,0,0,.2) !important;
    }

.btn-primary-custom {
    background-color: var(--accent-color);
    border: none;
    padding: 12px 30px;
    font-weight: bold;
    border-radius: 8px;
    transition: all 1s ease;
}

    .btn-primary-custom:hover {
        background-color: #3d5281;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(62, 84, 129, 0.3);
        color: white;
    }

.section-title {
    color: var(--accent-color);
    font-weight: 900;
    font-size: 2rem;
    margin-bottom: 15px;
}

.card-title{
    color:var(--accent-color);
}
body.dark-mode .section-title {
    color: var(--accent-color);
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

body.dark-mode .section-subtitle {
    color: var(--accent-color);
}

body.dark-mode > .text-muted{
    color: var(--accent-color);
}

.practice-card {
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    background-color: white;
    height: 100%;
}

body.dark-mode .practice-card {
    background-color: #2D2A33;
    border-color: #444;
    color: #E5E5E5;
}

.practice-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(62, 84, 129, 0.15);
    transform: translateY(-4px);
}
.practice-card:hover .fas{
    color: var(--accent-color);
}

.area-btn:hover{
    background-color: var(--accent-color);
    border-color: var(--accent-color)
}
body.dark-mode .practice-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(184, 159, 93, 0.15);
}

.practice-card i {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 15px;
}

body.dark-mode .practice-card i {
    color: var(--accent-color);
}

.practice-card h3 {
    color: var(--text-dark);
    font-weight: bold;
    margin: 15px 0;
}

body.dark-mode .practice-card h3 {
    color: white;
}

.team-card {
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background-color: white;
    transition: all 0.3s ease;
}

body.dark-mode .team-card {
    background-color: #2D2A33;
    border-color: #444;
    color: #E5E5E5;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(62, 84, 129, 0.15);
}

.team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #E5E5E5;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-color);
}

body.dark-mode .team-avatar {
    background-color: #444;
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
}

body.dark-mode .team-role {
    color: var(--accent-color);
}

.footer {
    border-top: 1px solid #E5E5E5;
    background-color: white;
    padding: 40px 0;
    margin-top: 60px;
}

body.dark-mode .footer {
    background-color: #2D2A33;
    border-top-color: #444;
    color: #E5E5E5;
}

.footer a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

body.dark-mode .footer a {
    color: #B0B0B0;
}

.footer a:hover {
    color: var(--accent-color);
}

body.dark-mode .footer a:hover {
    color: var(--accent-color);
}

.lang-selector {
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 6px 12px;
    border: 1px solid var(--primary-color);
    background-color: transparent;
    color: var(--accent-color);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

    .lang-btn.active {
        background-color: var(--primary-color);
        color: white;
    }

    .lang-btn:hover {
        background-color: var(--accent-color);
        color: white;
    }

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

    .theme-toggle:hover {
        transform: rotate(20deg);
    }

.about-text {
    color: #2F353D;
    line-height: 1.8;
}

body.dark-mode .about-text {
    color: #B0B0B0;
}

.link-arrow {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

body.dark-mode .link-arrow {
    color: var(--accent-color);
}

.link-arrow:hover {
    gap: 12px;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 50px 20px;
    }
}
.logo{
    font-family:"Lucida-Calligrafy";
    color:var(--background-light)
}
.logo:hover{
    color:var(--accent-color);
}
.miniLogo
{
    font-size: 0.8rem;
    font-family: "Palatino Linotype";
}

@font-face{
    font-family: "Lucida-Calligrafy";
    src: url("../Fonts/LCALLIG.TTF") format("truetype");
}
@font-face{
    font-family: "Palatino Linotype";
    src: url("../Fonts/PALA.TTF") format("truetype");
}