/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Gabarito:wght@400..900&display=swap');

/* Base font styles */
body {
    font-family: "Gabarito", sans-serif;
}

/* Heading styles with !important to override Bootstrap */
h1, .h1, h2, .h2, h3, .h3, h4, .h4 {
    font-family: "Gabarito", sans-serif !important;
    color: black !important;
    margin: 10px 0 !important;
    line-height: 1.2 !important;
}

h1, .h1 {
    font-size: 2rem !important;
    font-weight: 400 !important;
}

h2, .h2 {
    font-size: 1.5rem !important;
    font-weight: 300 !important;
}

h3, .h3 {
    font-size: 1.25rem !important;
    font-weight: 200 !important;
}

h4, .h4 {
    font-size: 1rem !important;
    font-weight: 100 !important;
}

html {
    height: 100%;
    background-color: #DCE4E8 !important; /* Alice Blue - matches your #bg-marble #F0F8FF */
}
.soft-sky {
  background-color: #DCE4E8  ; /* Light Gray Background */
  color: #333; /* Dark text for contrast */
  padding: 2rem;
}

body {
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    background-color: #DCE4E8 !important; /* Force same color as html */
}

main {
    background-color: #DCE4E8 !important; /* Ensure it's transparent */
    font-family: "Gabarito", sans-serif;
    flex: 1;
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
}

.table th {
    text-align: center;
}

#bg-marble {
    background-color: #F2F8FC; /* Marble #F2F8FC */
}

.bg-aliceblue {
    background-color: #F0F8FF !important; /*#F0F8FF*/
}

#item-color {
    color:#61CBF4;
}

#item-color-white {
    color:white;
}

.text-lightblue {
    color:#61CBF4 !important
}

.text-grey {
    color: gray !important
}

/* NAVBAR */
.navbar {
    min-height: 80px !important; /* Adjust this value as needed */
    padding-bottom: 0;
}

.navbar a {
    font-size: 1.25rem; /* Ajusta el tamaño según tus necesidades (1.25rem es aproximadamente 20px) */
}

.navbar-brand {
    font-size: 2rem; 
    padding-top: 0px;
    padding-left: 15px;
}

/* White navbar toggler icon (hamburger menu) */
.navbar-dark .navbar-toggler {
    border-color: rgba(255,255,255,0.1);
}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
/* Hover effects */
.navbar-dark .navbar-nav .nav-link:hover {
    color: #61CBF4 !important; 
    opacity: 1.1;
}

.navbar-nav {
    padding-bottom: 0px; /* Space from bottom */
}
.nav-item {
    margin: 0 4px; /* Horizontal spacing between items */
}
.nav-link {
    color: white !important;
    padding: 4px 8px;
    position: relative;
    border-bottom: 0px solid transparent;
    padding-bottom: 15px;
}

/* CAROUSEL */
.carousel {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: none;
}

.carousel-inner {
    width: 100%;
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 80vh; /* Adjust this value as needed */
}

/* Optional: Center carousel content */
.carousel-caption {
    left: 0;
    right: 0;
    bottom: 0;
    padding-bottom: 2rem;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* ======================
   STYLING card, button and control class
   ====================== */

.card {
    transition: all 0.3s ease;
    overflow: hidden;
    border: 0; /* Replaces border-0 */
    border-radius: 0.3rem !important; /* Replaces rounded-3 (0.3rem = 3 in Bootstrap) */
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075); /* Replaces shadow-sm */
    height: 100%; /* Replaces h-100 */
    border: 1px solid #61CBF4 ; /* Replaces border-card */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: #4CAFDB; /* Darker blue on hover */
    box-shadow: 0 0 0 3px rgba(97, 203, 244, 0.25) !important;
}

.card-title {
    font-weight: 500;
    margin-bottom: 1rem;
}

.form-control-effectifi {
    border: 2px solid #61CBF4 !important;
    border-radius: 4px;
    padding: 12px 15px;
    font-family: "Gabarito", sans-serif;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: none !important;
}

.form-control-effectifi:focus {
    border-color: #4CAFDB !important;
    box-shadow: 0 0 0 3px rgba(97, 203, 244, 0.25) !important;
}

.btn-effectifi {
    background-color: white !important;
    color: black !important;
    border: 1px solid #61CBF4 !important;
    padding: 5px 10px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-effectifi:hover {
    border-width: 3px !important;
    background-color: #4CAFDB;
    border-color: #4CAFDB;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(97, 203, 244, 0.25) !important;
}
.btn-effectifi:active {
    background-color: #4CAFDB;
    transform: translateY(0);
}

/* ALERT messages */
.alert {
    border-radius: 4px;
    padding: 12px 16px;
    margin: 10px 0;
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    border-left: 4px solid;
    animation: fadeIn 0.3s ease-in;
}

.alert-primary {
    border-left-color: #0d6efd;
}

/* Success message */
.alert-success {
    background-color: #e6f7ee;
    border-color: #28a745;
    color: #28a745;
}

/* Error message */
.alert-error {
    background-color: #f8c8c3 !important;
    border-color: #dc3545;
    color: #dc3545;
}

/* Info message */
.alert-info {
    background-color: #e7f4fe;
    border-color: #4CAFDB;
    color: #61CBF4;
}

/* Warning message */
.alert-warning {
    background-color: #fff8e6;
    border-color: #ffc107;
    color: #d39e00;
}

/* Close button */
.alert .btn-close {
    padding: 0.75rem;
    position: absolute;
    top: 0;
    right: 0;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bi-substack::before {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='currentColor' d='M22.539 8.242H1.46V5.406h21.08v2.836zM1.46 10.812V24h21.08V10.812H1.46zM18.3 15.554h-4.063v1.62H18.3v-1.62z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100%;
}

/* Tables */
.table {
    border-top-color: #4CAFDB !important;
    border-bottom-color: #4CAFDB !important;
    border-left-color: #4CAFDB !important;
    border-right-color: #4CAFDB !important;
}
.table th {
    background-color: #61CBF4 !important;
    border-top-color: #4CAFDB !important;
    border-bottom-color: #4CAFDB !important;
    border-left-color: #4CAFDB !important;
    border-right-color: #4CAFDB !important;
    color:white;
    font-size: large;
    position: sticky;
    top: 0;
}
.table-responsive {
    max-height: 400px;
    overflow-y: auto;
}
.fw-bold {
    font-weight: bold;
    color: #0d6efd;
}
.table td {
    background-color:white;
    font-size: medium;
    text-align: center;  
    vertical-align: middle;
    border-top-color: #4CAFDB !important;
    border-bottom-color: #4CAFDB !important;
    border-left-color: #4CAFDB !important;
    border-right-color: #4CAFDB !important;
}
.table-info td {
    background-color:white;
    font-size: medium;
    border-top-color: #4CAFDB !important;
    border-bottom-color: #4CAFDB !important;
    border-left-color: #4CAFDB !important;
    border-right-color: #4CAFDB !important;
}
.ta-right-cell {
  text-align: right !important;   
}
.ta-left-cell {
  text-align: left !important;   
}
.ta-center-cell {
  text-align: center !important;   
}
/* Modal Styling */
.modal-content {
    border-radius: 0.3rem;
    border: 1px solid #61CBF4;
}
.modal-header {
    background-color: #F0F8FF;
    border-bottom: 1px solid #4CAFDB;
}
.modal-footer {
    border-top: 1px solid #4CAFDB;
}