:root {
  --bs-primary: #1BC8D9;
  --bs-primary-rgb: 27, 200, 217;

  --accent-color: #0dcaf0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

.body {
  font-family: 'Poppins', sans-serif;
}
.navbar {
  backdrop-filter: blur(12px);
  background-color: rgba(var(--bs-body-bg-rgb), 0.85) !important;
  border-bottom: 1px solid var(--glass-border);
  transition: background-color 0.3s;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Logo SVG color: usa la variable principal para que la "C" sea #1BC8D9 */
.navbar-brand svg {
  color: var(--bs-primary);
}

/* TEXT GRADIENT */
.text-gradient {
  background: linear-gradient(45deg, #1BC8D9, #0dcaf0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* THEME SWITCH BUTTON */
.theme-switch-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--bs-body-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.theme-switch-btn:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  border-color: #1BC8D9;
  transform: rotate(15deg);
}
:root {
  --bs-primary-rgb: 27, 200, 217;
  --accent-color: #0dcaf0;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
}

body {
  font-family: 'Poppins', sans-serif;
}

.navbar {
  backdrop-filter: blur(12px);
  background-color: rgba(var(--bs-body-bg-rgb), 0.85) !important;
  border-bottom: 1px solid var(--glass-border);
  transition: background-color 0.3s;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.text-gradient {
  background: linear-gradient(45deg, #1BC8D9, #0dcaf0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.theme-switch-btn {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--bs-body-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.theme-switch-btn:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  border-color: #1BC8D9;
  transform: rotate(15deg);
}

.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 90% 10%, rgba(var(--bs-primary-rgb), 0.05) 0%, transparent 40%);
}

.hero-img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2.5rem;
}

.hero-icon {
  font-size: 12rem; 
  opacity: 0.8; 
  filter: drop-shadow(0 0 30px #042528);
  transition: transform 3s ease-in-out;
}

.card-cyber {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
  border-radius: 1rem;
}

.card-cyber:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px #042528;
  border-color: #0f7c86;
}

.icon-box {
  font-size: 2.5rem;
  color: #1BC8D9;
  margin-bottom: 1rem;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

footer {
  border-top: 1px solid var(--glass-border);
}

.ceo-photo {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(var(--bs-primary-rgb), 0.12);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.partner-logo {
  max-height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12));
}

@media (max-width: 991.98px) {
  .ceo-photo {
    width: 260px;
    height: 260px;
  }
  .hero-section {
    overflow: visible;
    padding-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .ceo-photo {
    width: 200px;
    height: 200px;
  }
  .partner-logo {
    max-height: 48px;
  }
}

/* Custom buttons for contact actions */
.btn-gmail {
  background: #d14836;
  color: #fff;
  border: none;
  box-shadow: 0 6px 18px rgba(209, 72, 54, 0.18);
}
.btn-gmail:hover,
.btn-gmail:focus {
  background: #c63f2e;
  color: #fff;
  transform: translateY(-1px);
}
.btn-linkedin {
  background: #0A66C2;
  color: #fff;
  border: none;
  box-shadow: 0 6px 18px rgba(10, 102, 194, 0.16);
}
.btn-linkedin:hover,
.btn-linkedin:focus {
  background: #084c8f;
  color: #fff;
  transform: translateY(-1px);
}
.btn-gmail .bx,
.btn-linkedin .bx {
  font-size: 1rem;
  vertical-align: -0.075em;
}

.social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
  margin: 0 6px;
}

.social-link:hover {
  background: #1BC8D9;
  color: white;
  border-color: #1BC8D9;
}

[data-bs-theme="light"] .navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
}

[data-bs-theme="light"] .card-cyber {
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border: 1px solid #eee;
}

[data-bs-theme="light"] .hero-section {
  background: radial-gradient(circle at 90% 10%, rgba(var(--bs-primary-rgb), 0.03) 0%, transparent 40%);
}

[data-bs-theme="light"] .social-link {
    border-color: #ddd;
    background: #f8f9fa;
}