/* =============================================
   Hora Technologies — Custom Stylesheet
   ============================================= */

/* Base */
body {
  font-family: 'Quicksand', Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: #2F3230;
  scroll-behavior: smooth;
}

a {
  color: #0d6efd;
  transition: color 0.2s;
}

/* =============================================
   TOP BAR
   ============================================= */
.top-bar a {
  color: #ffffff !important;
}

.top-bar a:hover {
  color: #adb5bd !important;
}

/* =============================================
   HEADER / NAV
   ============================================= */
.site-header {
  z-index: 1030;
}

.navbar-brand {
  letter-spacing: -0.5px;
}

.nav-link {
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #2F3230 !important;
  position: relative;
}

.nav-link::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #0d6efd;
  transition: width 0.25s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 60%;
}

.nav-link:hover,
.nav-link.active {
  color: #0d6efd !important;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-size: cover;
  background-position: center center;
  /* Gradient fallback when image is missing */
  background-color: #1a2a3a;
  background-image:
    linear-gradient(135deg, #0d2137 0%, #1a4a6e 50%, #0d6efd22 100%),
    url('images/hero_1.jpg');
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 40, 0.55);
}

.hero-section h1 {
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* =============================================
   SECTION HEADINGS
   ============================================= */
.section-heading {
  position: relative;
  padding-bottom: 18px;
  margin-bottom: 1.5rem;
}

.section-heading::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #0d6efd;
  border-radius: 2px;
}

.text-center .section-heading::after {
  left: 50%;
  transform: translateX(-50%);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-img {
  /* Gradient placeholder when image is missing */
  min-height: 320px;
  background: linear-gradient(135deg, #1a4a6e, #0d6efd55);
  object-fit: cover;
}

/* =============================================
   FEATURES / SKILLS SECTION
   ============================================= */
.features-section {
  background: #111827;
}

.skills-img {
  min-height: 280px;
  background: linear-gradient(135deg, #1a3a5c, #0d6efd44);
  object-fit: cover;
  border-radius: 4px;
}

.feature-item h4 {
  font-weight: 700;
  color: #ffffff;
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.service-box {
  position: relative;
  overflow: hidden;
  border-top: 3px solid #0d6efd;
  background: #f9f9fb;
  transition: box-shadow 0.25s, transform 0.25s;
  border-radius: 4px;
}

.service-box:hover {
  box-shadow: 0 8px 32px rgba(13, 110, 253, 0.12);
  transform: translateY(-4px);
}

.service-number {
  position: absolute;
  top: -10px;
  right: 12px;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(13, 110, 253, 0.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-card {
  border-left: 4px solid #0d6efd;
}

.contact-card a {
  color: #0d6efd;
}

.contact-card a:hover {
  color: #0a4fb0;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  transition: filter 0.2s;
}

.cta-banner:hover {
  filter: brightness(1.08);
}

.cta-banner h4 {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0d1117 !important;
}

.footer-heading {
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ffffff;
}

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer a:hover {
  color: #ffffff !important;
}

/* =============================================
   UTILITIES
   ============================================= */
.z-1 {
  z-index: 1;
}

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 767.98px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }

  .hero-section .display-3 {
    font-size: 2.4rem;
  }

  .section-heading::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .service-number {
    font-size: 3.5rem;
  }
}

@media (min-width: 992px) {
  .hero-section .lead {
    font-size: 1.25rem;
  }
}
