/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  --primary-color: #0f172a; /* Sophisticated slate-charcoal (very dark neutral) */
  --secondary-color: #2563eb; /* Premium modern accent blue */
  --accent-color: #f59e0b; /* Sophisticated golden amber */
  --text-dark: #1e293b; /* Crisp slate-dark */
  --text-light: #64748b; /* Soft slate-gray */
  --bg-light: #f8fafc; /* Beautiful clean off-white */
  --white: #ffffff;
  --transition-speed: 0.3s;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
}

a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: #1d4ed8; /* Darker blue accent on hover */
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
.ket-topbar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

.ket-topbar a {
  color: var(--white);
  opacity: 0.9;
}

.ket-topbar a:hover {
  opacity: 1;
}

.topbar-social a {
  display: inline-block;
  margin-left: 15px;
  font-size: 16px;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
.ket-navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  transition: all var(--transition-speed) ease;
}

.ket-navbar.navbar-scrolled {
  padding: 5px 0;
}

.ket-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  height: 43px;
  width: auto;
  object-fit: contain;
  transition: height var(--transition-speed) ease, transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-scrolled .brand-logo-img {
  height: 25px;
}

.ket-brand:hover .brand-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.brand-text {
  display: flex;
  flex-direction: column;
  animation: brandEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.2px;
  background: linear-gradient(135deg, var(--primary-color) 30%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: var(--text-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
  transition: all var(--transition-speed) ease;
}

/* Hover micro-interactions for branding text */
.ket-brand:hover .brand-name {
  transform: translateX(4px);
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ket-brand:hover .brand-sub {
  transform: translateX(6px);
  color: var(--secondary-color);
  letter-spacing: 1.5px;
}

@keyframes brandEntrance {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.nav-link {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px !important;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--secondary-color);
  transform: scaleX(0);
  transition: transform var(--transition-speed) ease;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.ket-btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white) !important;
  border: none;
  border-radius: 30px;
  padding: 8px 20px !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.18);
  transition: all var(--transition-speed) ease;
}

.ket-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-slider {
  height: 80vh;
  min-height: 600px;
  position: relative;
}

.swiper-slide {
  position: relative;
  background-size: cover;
  background-position: center;
}

.swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  color: var(--white);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 30px;
  max-width: 600px;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-btn {
  animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
.section-padding {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Features / Objectives
--------------------------------------------------------------*/
.objective-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: all var(--transition-speed) ease;
  border-bottom: 3px solid transparent;
}

.objective-card:hover {
  transform: translateY(-10px);
  border-bottom-color: var(--secondary-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.objective-icon {
  width: 60px;
  height: 60px;
  background: rgba(37, 99, 235, 0.06);
  color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  transition: all var(--transition-speed) ease;
}

.objective-card:hover .objective-icon {
  background: var(--secondary-color);
  color: var(--white);
}

.objective-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Gallery
--------------------------------------------------------------*/
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: var(--white);
  font-size: 32px;
  transform: translateY(20px);
  transition: transform var(--transition-speed) ease;
}

.gallery-item:hover .gallery-icon {
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.ket-footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding-top: 60px;
}

.footer-brand {
  margin-bottom: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.footer-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-speed) cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-brand:hover .footer-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.footer-logo .logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-heading {
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact-list i {
  color: var(--accent-color);
  margin-top: 5px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-right: 10px;
  transition: all var(--transition-speed) ease;
}

.social-link:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  margin-top: 40px;
  font-size: 14px;
}

.footer-admin-link {
  color: rgba(255, 255, 255, 0.5);
}

.footer-admin-link:hover {
  color: var(--white);
}

/*--------------------------------------------------------------
# Back to Top
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
# Floating Contact Panel
--------------------------------------------------------------*/
.floating-contact-panel {
  position: fixed;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-contact-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  position: relative;
}

.floating-btn:hover {
  transform: translateY(-5px) scale(1.08);
  color: var(--white);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.btn-call {
  background: linear-gradient(135deg, #0078ff 0%, #00c6ff 100%);
  animation: pulseCall 2.5s infinite;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  animation: pulseWhatsapp 2.5s infinite;
}

@keyframes pulseCall {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 120, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 120, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 120, 255, 0);
  }
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .ket-navbar {
    padding: 6px 0;
  }
  
  .navbar-collapse {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 15px;
  }
}
