/* Global styles */
body {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-weight: 400;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333333;
    font-size: 18px;
    text-align: justify !important;
}

/* Testimonials Section */
.alumno-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 20px auto;
    display: block;
}

.carousel-item blockquote {
    text-align: center;
    padding: 20px;
}

.carousel-item footer {
    margin-top: 10px;
    font-weight: bold;
}

/* Ensure hero section starts immediately after navbar */
.navbar + .hero-section {
    margin-top: 0;
}

.fullwidth-img-containerindex {
    margin-top: -1px !important;
    margin-bottom: -3% !important;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.news-img-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.poomsae-video {
    width: 100%;
    height: auto;
}

.colvarios {
    margin-top: 10% !important;
    margin-bottom: 10% !important;
}

.containerpsustento {
    padding: 3% !important;
}

.h2comentarios {
    margin-bottom: 0 !important;
}

.rowpoomsae {
    margin-bottom: 10% !important;
}

.ppoomsae {
    text-align: justify !important;
}

.h5poom {
    margin: 3%;
    margin-bottom: 10%;
    text-align: center;
}

.sedesnombres {
    text-align: center;
    margin-bottom: 2%;
    margin-top: 5%;
}

.map-wrapper {
    margin-bottom: 0;
}

/* Logo styles */
.navbar .logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: contain;
    background: linear-gradient(145deg, #f5f5f5, #ffffff);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05), inset 0 1px 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 4px;
    margin-left: 2%;
}

/* Navbar container */
.navbar.navbar-expand-lg {
    background-color: #ffffff;
    border-bottom: 1px solid #75757542;
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0;
}

/* Ensure all navbar elements use Inter font */
.navbar * {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

/* Navbar toggler button */
.navbar .navbar-toggler {
    border: none;
    padding: 8px;
    color: #0a0a0a;
    box-shadow: none;
    outline: none;
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
    border: none;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navbar links */
.navbar .nav-link {
    color: #5c5c5c;
    font-size: 14px;
    padding: 8px 16px;
    transition: color 0.2s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: #0e0e0e;
    border: none;
    text-decoration: underline;
}

.navbar .nav-link.active {
    color: #0e0e0e;
    font-weight: 700;
    text-decoration: underline;
}

/* Dropdown menu */
.navbar .dropdown-menu {
    background-color: #1a1a1a;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    padding: 8px 0;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.navbar .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
}

/* Dropdown items */
.navbar .dropdown-item {
    color: #ffffff;
    font-size: 13px;
    padding: 6px 18px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background-color: #b3b3b3;
    color: #ffffff;
}

/* Override Bootstrap's container-fluid padding */
.navbar .container-fluid {
    padding-left: 24px;
    padding-right: 24px;
    margin: 0;
    padding-top: 0;
    padding-bottom: 0;
}

/* Align navbar items to the right */
.navbar .navbar-nav.ms-auto {
    margin-left: auto;
}

/* Hero Section */
.hero-section {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    margin: 0;
    padding: 20px 0;
    width: 100%;
    background-color: #ffffff;
    overflow: hidden;
}

/* Index page hero section - no padding when it contains only an image */
body:not(.body-about) .hero-section {
    padding: 0;
}

.hero-section .container {
    max-width: 1200px;
}

.hero-img-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-img-container .responsiveimg {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 2px;
}

.hero-text-content {
    padding-left: 40px;
    padding-right: 20px;
    padding-top: 0;
}

.hero-text-content .quienesh1 {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 30px;
    margin-top: 0;
    margin-left: 0;
    padding-left: 0;
    line-height: 1.2;
    text-align: left;
}

.hero-text-content .ricardo {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 20px;
    margin-left: 0;
    padding-left: 0;
    text-align: justify;
}

.hero-text-content .ricardo2 {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    margin-top: -13px;
    margin-bottom: 20px;
    margin-left: 0;
    padding-left: 0;
    text-align: justify;
}

.hero-section .responsiveimgindex {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-section .responsiveimgnoticias {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.hero-section .container {
    max-width: 1200px;
    padding: 20px 15px;
}

.hero-section h1 {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #0a0a0a;
    text-align: center;
}

.hero-section p {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
    text-align: center;
}

.hero-section .card {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.hero-section .news-card {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    border: none;
    border-radius: 0;
    overflow: visible;
}

.hero-section .card-title {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 10px;
}

.hero-section .card-text {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333333;
}

.hero-section .containerpsustento {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #333333;
    margin-bottom: 20px;
    text-align: justify;
    padding: 3% !important;
}

.hero-section .col-md-4 ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.hero-section .col-md-4 ul li {
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

.hero-section .col-md-4 ul li a {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.hero-section .col-md-4 ul li a:hover {
    color: #545464;
}

.hero-section .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.hero-section .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #ececec;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .col-md-4 {
    margin-bottom: 30px;
}

.hero-section .col-md-3 {
    margin-bottom: 30px;
}

.hero-section .btn.btn-danger {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    background-color: #dc3545;
    color: #ffffff;
    font-weight: 600;
    padding: 12px 24px;
    border: none;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.hero-section .btn.btn-danger:hover {
    background-color: #c82333;
}

/* Contact Button */
.btn-contact {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    background: linear-gradient(135deg, #2c2c2c, #0a0a0a);
    color: #ffffff;
    font-weight: 700;
    padding: 16px 32px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: block;
    width: fit-content;
    margin: 20px auto;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transform: scale(1);
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 50%;
}

.btn-contact:hover::before {
    width: 300px;
    height: 300px;
}

.btn-contact:hover {
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    transform: scale(1.05);
}

.btn-contact span {
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact-section {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    background-color: #ffffff;
    padding: 60px 0;
    text-align: center;
}

.contact-section .container {
    max-width: 1200px;
    padding: 20px 15px;
}

.contact-section h1 {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.2;
    color: #0a0a0a;
    margin-bottom: 20px;
}

.contact-section p {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #333333;
    margin-bottom: 30px;
}

.contact-section .contact-icons {
    margin-top: 30px;
}

.contact-section .contact-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 25px;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.contact-section .contact-icons a:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.contact-section .contact-icons img.contact-icon {
    width: 50px;
    height: 50px;
    margin-right: 0;
}

.contact-section .contact-icons span {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #0a0a0a;
    margin-left: 10px;
}

/* Sedes Hero Section */
.sedes-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #0a0a0a 100%);
    padding: 120px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sedes-hero::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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.sedes-hero-content {
    position: relative;
    z-index: 2;
}

.sedes-hero h1 {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sedes-hero p {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #e0e0e0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Sedes Section Styling */
.sedes-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.sede-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sede-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.sede-header {
    padding: 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 1px solid #e9ecef;
}

.sede-title {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.sede-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 12px;
    border-left: 4px solid #28a745;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(40, 167, 69, 0.15);
    transform: translateX(5px);
}

.info-item i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.info-item span {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #2c2c2c;
    flex: 1;
}

.sede-map {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.sede-map .map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 0;
}

.sede-map .map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) brightness(1.1);
    transition: filter 0.3s ease;
}

.sede-map:hover .map-wrapper iframe {
    filter: grayscale(0%) brightness(1);
}

.sede-footer {
    padding: 30px 40px;
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e9ecef;
}

.btn-sede-contact {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    background: linear-gradient(135deg, #2c2c2c, #0a0a0a);
    color: #ffffff;
    font-weight: 600;
    padding: 15px 35px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-sede-contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 50%;
}

.btn-sede-contact:hover::before {
    width: 200px;
    height: 200px;
}

.btn-sede-contact:hover {
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(40, 167, 69, 0.4);
}

.btn-sede-contact span {
    position: relative;
    z-index: 1;
}

.map-section .container {
    max-width: 1200px;
    padding: 0;
}

/* Full width container override for sedes */
.map-section .fullwidth-container .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.map-section h1 {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    color: #0a0a0a;
    margin-bottom: 30px;
}

.map-section .sedesnombres {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #0a0a0a;
    margin-top: 20px;
    margin-bottom: 20px;
    text-transform: capitalize;
    text-align: center;
    padding: 0 20px;
}

.map-section .container-map {
    width: 100%;
    margin-bottom: 0;
    padding: 0;
    display: block;
}

/* Full width for sedes page maps */
.map-section .fullwidth-container .container-map {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Específico para el iframe del mapa */
.map-section iframe.maps {
    width: 100% !important;
    height: 450px !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.map-section .map-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 0;
}

/* Full width map wrapper for sedes */
.map-section .fullwidth-container .map-wrapper {
    position: relative;
    padding-bottom: 35%;
    height: 0;
    overflow: hidden;
    margin: 0;
    width: 100%;
}

.map-section .map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    box-shadow: none;
    display: block;
    margin-bottom: 0;
}

/* About Section */
.about-section {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    text-align: justify;
    background-color: #ffffff;
    padding: 80px 0;
}

.about-section .container {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
}

.about-section h1 {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 48px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 30px;
    padding: 15px;
    width: 100%;
}

.about-section img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

.about-section h3 {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #141414;
    margin: 10px 15px;
    width: 100%;
}

.about-section p {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    margin: 0 15px 30px 15px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: #141414;
    flex: 1;
    min-width: 0;
}

.about-section .col-md-4 ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.about-section .col-md-4 ul li {
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

.about-section .col-md-4 ul li a {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.about-section .col-md-4 ul li a:hover {
    color: #545464;
}

.sustento-teorico {
    display: block;
}

.sustento-teorico .container {
    display: block;
    max-width: 1200px;
    margin: 0 auto;
}

.sustento-teorico .containerpsustento {
    display: block;
    width: 100%;
    margin: 0 auto 30px auto;
}

.sustento-teorico ul {
    display: block;
    width: 100%;
    margin: 0 auto 30px auto;
    padding: 0;
    list-style-type: none;
}

.sustento-teorico ul li {
    margin: 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
    text-align: justify;
}

.sustento-teorico ul li a {
    display: block;
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.sustento-teorico ul li a:hover {
    color: #545464;
}

/* Testimonials Section */
.testimonials-section {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    background-color: #ececec;
    padding: 100px 0;
    text-align: center;
}

.testimonials-section .container {
    max-width: 700px;
}

.testimonials-section h2 {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 50px;
    color: #181818;
}

.testimonials-section .carousel {
    width: 100%;
}

.testimonials-section .carousel-inner {
    width: 100%;
}

.testimonials-section .carousel-item {
    width: 100%;
}

.testimonials-section .carousel-item blockquote {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    background-color: #f0f0f0;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(173, 173, 173, 0.3);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #303030;
    width: 100%;
    height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
}

.testimonials-section .carousel-item blockquote p {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    text-align: justify;
    margin: 0;
    flex: 1;
    display: flex;
    align-items: center;
    overflow-y: auto;
}


.testimonials-section .carousel-item footer {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-top: 10px;
    margin-bottom: 0;
    text-align: center;
    flex-shrink: 0;
}

.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next {
    width: 5%;
    opacity: 1;
    background-color: rgba(46, 46, 46, 0.342);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-color 0.3s ease;
}

.testimonials-section .carousel-control-prev:hover,
.testimonials-section .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.testimonials-section .carousel-control-prev:hover,
.testimonials-section .carousel-control-next:hover {
    opacity: 1;
}

/* Footer */
.footer {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    background-color: #f0f0f0;
    padding: 40px 0;
    text-align: center;
    margin: 0;
    border: none;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-content p {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    margin: 5px 0;
    font-size: 14px;
    color: #313131;
}

.footer-content a {
    font-family: "Noto Sans", "Segoe UI", "Roboto", sans-serif;
    color: #545464;
    text-decoration: none;
}

.footer-content a:hover {
    color: #6b6b7d;
    text-decoration: underline;
}

.footer-content .social-icons {
    margin-top: 20px;
}

.footer-content .social-icons a {
    margin: 0 7px;
    display: inline-block;
}

.footer-content .social-icons img.social-icon {
    width: 45px;
    height: 45px;
    transition: transform 0.3s ease;
}

.footer-content .social-icons img.social-icon:hover {
    transform: scale(1.05);
}

.footer-logos-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer-logos-label {
    padding-top:5%;
    padding-bottom: 5%;
    padding-left: 0px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    margin-right: 8px;
    letter-spacing: 1px;
}

.federacion-logo-footer {
    height: 28px;
    width: auto;
    margin: 0 2px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    object-fit: contain;
    vertical-align: middle;
    transition: transform 0.2s;
    padding: 2px 3px;
    border: 1px solid #e0e0e0;
    opacity: 0.95;
    position: relative;
    cursor: pointer;
    z-index: 2;
}

.federacion-logo-tooltip-wrapper {
    position: relative;
    display: inline-block;
}

.logo-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 50%;
    bottom: 110%;
    transform: translateX(-50%);
    background: #fff;
    color: #222;
    border-radius: 7px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.13);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    z-index: 10;
    min-width: 180px;
    max-width: 220px;
    white-space: normal;
    border: 1px solid #e0e0e0;
    transition: opacity 0.18s, visibility 0.18s;
    pointer-events: none;
}

.federacion-logo-tooltip-wrapper:hover .logo-tooltip,
.federacion-logo-tooltip-wrapper:focus-within .logo-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Separator Line Styling */
.separator-line {
    width: 80%;
    height: 3px;
    background: rgb(29, 29, 29);
    margin: 70px auto;
    border-radius: 8px;
}

/* Media Queries for Responsivity */
@media (min-width: 769px) {
    .sedesnombres {
        font-size: 40px;
    }

    .fullwidth-img-containerindex {
        width: 100%;
        margin: -3% auto;
    }

    .hero-section .responsiveimgindex {
        width: 100%;
        margin: 0 auto;
        display: block;
    }
    .news-img-container {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-section .responsiveimgnoticias {
        max-width: 100%;
        margin: 0 auto;
        display: block;
    }

    .hero-section .news-card {
        max-width: 600px;
        margin: 0 auto;
        display: block;
    }

    .hero-section .row {
        display: flex;
        flex-wrap: wrap;
    }

    .hero-section .card-title {
        text-align: center;
    }

    .hero-section .card-text {
        text-align: justify;
    }

    .hero-section .poomsae-video {
        width: 25%;
        padding: 0 15px;
    }

    .hero-section .poomsae-video .video-wrapper {
        max-width: 300px;
        margin: 0 auto;
    }

    .sustento-teorico {
        display: block;
    }

    .sustento-teorico .container {
        display: block;
        max-width: 1200px;
        margin: 0 auto;
    }

    .sustento-teorico .containerpsustento {
        display: block;
        width: 100%;
        margin: 0 auto 30px auto;
    }

    .sustento-teorico ul {
        display: block;
        width: 100%;
        margin: 0 auto 30px auto;
        padding: 0;
    }

    .sustento-teorico ul li {
        margin: 20px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #000;
        text-align: justify;
    }

    .sustento-teorico ul li a {
        display: block;
    }

    .container-map {
        width: 100% !important;
        margin-bottom: 0;
    }

    /* Full width maps for sedes in desktop */
    .map-section .fullwidth-container .container-map {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .map-section .col-12 {
        margin-bottom: 80px;
        padding: 0;
    }

    /* Sedes Desktop Styles */
    .sedes-hero h1 {
        font-size: 64px;
    }

    .sedes-hero p {
        font-size: 22px;
    }

    .sede-title {
        font-size: 36px;
    }

    .info-item {
        flex-direction: row;
        text-align: left;
    }

    .info-item span {
        font-size: 18px;
    }

    .about-section {
        padding: 3%;
    }

    .bioflex {
        display: flex;
    }

    .imgbio {
        width: 300px !important;
    }

    .responsiveimg {
        width: 600px !important;
    }

    .ricardo {
        font-size: 13px !important;
        margin-top: -5% !important;
    }

    .quienesh1 {
        margin-top: 0;
        margin-left: 0;
        padding-left: 0;
        font-size: 42px !important;
    }

    /* Desktop hero section alignment */
    .hero-section .row {
        margin-top: 0;
        margin-bottom: 0;
    }

    .hero-section .col-lg-6 {
        padding-top: 0;
    }

    .hero-text-content {
        padding-top: 0;
        margin-top: -13px;
    }

    .maestrosp {
        font-size: 15px !important;
        margin-top: -5% !important;
        padding: 3% !important;
    }

    .maestros {
        font-weight: 1000 !important;
        font-size: 30px !important;
        padding: 3% !important;
        margin-top: -2% !important;
    }

    .contact-section .contact-icons img.contact-icon {
        width: 70px;
        height: 70px;
    }

    .contact-section .contact-icons span {
        font-size: 18px;
    }

    .btn-contact {
        padding: 14px 28px;
        font-size: 15px;
        transform: scale(1);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        margin: 15px auto;
    }

    .btn-contact:hover {
        transform: scale(1.03);
        background: linear-gradient(135deg, #28a745, #1e7e34);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }

    /* Sustento Teorico Desktop Adjustments */
    .hero-section .container {
        display: block;
    }

    .hero-section .containerpsustento {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto 30px auto;
    }

    .hero-section .containerpsustento .col-md-4 {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .hero-section .containerpsustento .col-md-4 ul {
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 15px;
    }

    .hero-section .containerpsustento .col-md-4 ul li {
        width: 100%;
        text-align: center;
        margin: 15px 0;
        padding: 10px 0;
    }

    .federacion-logo-footer {
        height: 38px;
        width: auto;
        margin: 0 8px;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 1px 6px rgba(0,0,0,0.07);
        object-fit: contain;
        vertical-align: middle;
    }
}

/* Medium screens (tablets, max-width: 768px) */
@media (max-width: 768px) {
    /* Hero section responsive adjustments */
    .hero-section {
        padding: 15px 0;
    }

    .hero-text-content {
        padding-left: 0;
        padding-top: 30px;
        text-align: left;
    }

    .hero-text-content .quienesh1 {
        font-size: 36px;
        margin-bottom: 20px;
        text-align: left;
    }

    .hero-text-content .ricardo {
        font-size: 15px;
        text-align: justify;
    }

    .sedesnombres {
        font-size: 25px !important;
        text-align: center;
        margin-bottom: 2%;
        margin-top: 5%;
    }

    .container-map {
        margin-bottom: 0;
    }

    /* Sede spacing for tablets */
    .map-section .col-12 {
        margin-bottom: 50px;
        padding: 0;
    }

    .map-section .sedesnombres {
        font-size: 28px !important;
        padding: 0 15px;
    }

    /* Sedes Tablet Styles */
    .sedes-hero {
        padding: 100px 0 60px;
    }

    .sedes-hero h1 {
        font-size: 48px;
    }

    .sedes-hero p {
        font-size: 18px;
        padding: 0 20px;
    }

    .sedes-section {
        padding: 60px 0;
    }

    .sede-card {
        margin-bottom: 50px;
    }

    .sede-header {
        padding: 30px 25px;
    }

    .sede-title {
        font-size: 28px;
    }

    .sede-footer {
        padding: 25px 30px;
    }

    .info-item span {
        font-size: 15px;
    }

    .navbar .container-fluid {
        padding-left: 16px;
        padding-right: 16px;
    }

    .navbar .nav-link {
        font-size: 13px;
        padding: 6px 12px;
    }

    .navbar .logo {
        width: 36px;
        height: 36px;
    }

    .body-about p {
        font-size: 16px !important;
        padding: 3%;
    }

    .quienesh1 {
        margin-left: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-left: 0 !important;
    }

    .maestros {
        font-size: 25px !important;
        margin-left: 4% !important;
    }

    .responsiveimgindex {
        width: 100% !important;
    }

    .responsiveimg {
        padding: 3%;
    }

    .hero-section {
        padding: 30px 0;
    }

    .hero-section .container {
        padding: 20px 15px;
    }

    .hero-section h1 {
        font-size: 36px;
        margin-bottom: 15px;
    }

    .hero-section p {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .hero-section .containerpsustento {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .hero-section .card-title {
        font-size: 18px;
    }

    .hero-section .card-text {
        font-size: 14px;
    }

    .hero-section .fullwidth-img-container {
        height: auto;
        margin: 0;
        padding: 0;
    }

    .about-section {
        padding: 40px 0;
    }

    .about-section h1 {
        font-size: 36px;
        font-weight: 500;
        margin-top: -0% !important;
        margin-bottom: -4%;
        margin-left: 3%;
    }

    .about-section h3 {
        font-size: 14px;
        margin: 10px;
    }

    .about-section p {
        font-size: 16px;
        margin: 0 10px 20px 10px;
    }

    .textquienes {
        display: block;
    }

    .about-section .col-md-4 ul li {
        margin: 15px 0;
    }

    .testimonials-section {
        padding: 40px 0;
    }

    .testimonials-section h2 {
        font-size: 32px;
    }

    .testimonials-section .carousel-item blockquote {
        font-size: 16px;
        height: 450px;
        padding: 15px;
    }

    .testimonials-section .carousel-item blockquote .alumno-img {
        width: 70px;
        height: 70px;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-section .container {
        padding: 15px 10px;
    }

    .contact-section h1 {
        font-size: 34px;
        margin-bottom: 15px;
    }

    .contact-section p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .contact-section .contact-icons img.contact-icon {
        width: 60px;
        height: 60px;
    }

    .contact-section .contact-icons span {
        font-size: 14px;
    }

    .footer {
        padding: 20px 0;
    }

    .footer-content p {
        font-size: 13px;
    }

    .footer-content .social-icons img.social-icon {
        width: 30px;
        height: 30px;
    }

    .btn-contact {
        padding: 12px 22px;
        font-size: 14px;
        margin: 12px auto;
    }
}

/* Small screens (mobiles, max-width: 576px) */
@media (max-width: 576px) {
    /* Hero section mobile adjustments */
    .hero-section {
        padding: 10px 0;
    }

    /* Imagen sin márgenes laterales en móvil */
    .hero-img-container {
        margin-left: -15px;
        margin-right: -15px;
        width: calc(100% + 30px);
    }

    .hero-text-content {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 20px;
        text-align: left;
    }

    .hero-text-content .quienesh1 {
        font-size: 28px;
        margin-bottom: 15px;
        text-align: left;
        margin-left: 0;
        padding-left: 0;
    }

    .hero-text-content .ricardo {
        font-size: 14px;
        text-align: justify;
        margin-bottom: 15px;
        margin-left: 0;
        padding-left: 0;
    }

    .navbar .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar .nav-link {
        font-size: 15px;
        padding: 5px 10px;
    }

    .navbar .logo {
        width: 42px;
        height: 42px;
        margin-left: 2%;
    }

    .containerinicial p {
        text-align: justify;
        padding: 7%;
    }

    .dropdown-menu li a {
        font-size: 16px;
    }

    .hero-section .container {
        padding: 15px 10px;
    }

    .hero-section p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .hero-section .containerpsustento {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .hero-section .card-title {
        font-size: 16px;
    }

    .hero-section .card-text {
        font-size: 13px;
    }

    .hero-section .responsiveimgnoticias {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .hero-section .card {
        overflow: visible;
    }

    .about-section {
        padding: 40px 0;
    }

    .about-section h3 {
        font-size: 12px;
    }

    .about-section p {
        font-size: 14px;
        margin: 0 5px 15px 5px;
    }

    .about-section .col-md-4 ul li {
        margin: 10px 0;
    }

    .testimonials-section {
        padding: 20px 0;
    }

    .testimonials-section h2 {
        font-size: 24px;
    }

    .testimonials-section .carousel-item blockquote {
        font-size: 14px;
        height: 420px;
        padding: 12px;
    }

    .testimonials-section .carousel-item blockquote .alumno-img {
        width: 60px;
        height: 60px;
    }

    .contact-section {
        padding: 30px 0;
    }

    .contact-section .container {
        padding: 10px 5px;
    }

    .contact-section h1 {
        font-size: 28px;
        margin-bottom: 10px;
        margin-top: 70px;
    }

    .contact-section p {
        font-size: 19px;
        margin-bottom: 75px;
        margin-top: 20px;
        padding: 5%;
    }

    .contact-section .contact-icons img.contact-icon {
        width: 90px;
        height: 90px;
    }

    .contact-section .contact-icons span {
        font-size: 14px;
    }

    .footer {
        padding: 10px 0;
    }

    .footer-content p {
        font-size: 12px;
    }

    .footer-content .social-icons img.social-icon {
        width: 25px;
        height: 25px;
    }

    .btn-contact {
        padding: 14px 24px;
        font-size: 14px;
        transform: scale(1);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        margin: 15px auto;
    }

    .btn-contact:hover {
        transform: scale(1.02);
        background: linear-gradient(135deg, #28a745, #1e7e34);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
    }

    /* Sede spacing for mobiles */
    .map-section .col-12 {
        margin-bottom: 40px;
        padding: 0;
    }

    .map-section .sedesnombres {
        font-size: 22px !important;
        padding: 0 10px;
        margin-bottom: 15px;
    }

    /* Adjust map wrapper for mobile */
    .map-section .fullwidth-container .map-wrapper {
        padding-bottom: 60%;
    }

    /* Sedes Mobile Styles */
    .sedes-hero {
        padding: 80px 0 50px;
    }

    .sedes-hero h1 {
        font-size: 36px;
    }

    .sedes-hero p {
        font-size: 16px;
        padding: 0 20px;
    }

    .sedes-section {
        padding: 40px 0;
    }

    .sede-card {
        margin-bottom: 40px;
        border-radius: 15px;
    }

    .sede-header {
        padding: 25px 20px;
    }

    .sede-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .info-item {
        padding: 10px 15px;
        gap: 12px;
        margin-bottom: 8px;
    }

    .info-item i {
        font-size: 18px;
        width: 20px;
    }

    .info-item span {
        font-size: 14px;
    }

    .sede-map {
        height: 300px;
    }

    .sede-footer {
        padding: 20px 15px;
    }

    .btn-sede-contact {
        padding: 12px 25px;
        font-size: 14px;
        border-radius: 8px;
    }
}
