/* General */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f7fb;
  color: #111827;
}

/* Light section backgrounds by default */
section {
  background-color: #f5f7fb;
}

.bg-section {
  background-color: #f5f7fb;
}

.bg-white {
  background-color: #ffffff !important;
}

.section-title {
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

/* Stronger intro paragraph color */
.section-intro {
  color: #374151;
  max-width: 640px;
  font-size: 0.95rem;
}

.text-accent {
  color: #f9b233 !important;
}

.btn-accent {
  background-color: #f9b233;
  border-color: #f9b233;
  color: #111827;
}
.btn-accent:hover {
  background-color: #d9971e;
  border-color: #d9971e;
  color: #111827;
}

.logo {
  height: 40px;
}

/* Navbar */
.bg-dark-transparent {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
}
.navbar .nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #f9b233 !important;
}

/* Hero */
.hero {
  min-height: 100vh;
  overflow: hidden;
}
.hero-bg,
.hero-overlay,
.hero-pattern {
  position: absolute;
  inset: 0;
}
.hero-bg {
  background-size: cover;
  background-position: center top;
  /* Less zoom, softer */
  transform: scale(1.01);
  filter: brightness(0.4) saturate(0.9);
}
.hero-pattern {
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mix-blend-mode: screen;
}
.hero-overlay {
  background:
    radial-gradient(circle at top, rgba(249,178,51,0.3), transparent 55%),
    linear-gradient(to bottom, rgba(15,23,42,0.95), rgba(15,23,42,0.98));
}
.hero .container {
  padding-top: 6rem;
  padding-bottom: 4rem;
}
.hero-highlight {
  background: rgba(15,23,42,0.95);
  color: #e5e7eb;
}

/* Badge visibility */
.hero-badge {
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Ensure hero card text is bright, not muted */
.hero-card-text {
  color: #e5e7eb !important;
}

/* Services */
.service-card {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}
.service-img {
  height: 160px;
  background-size: cover;
  background-position: center;
}
.service-card .card-body {
  padding: 1rem 1.1rem 1.1rem;
}

/* Projects */
.project-card {
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
}
.project-img {
  height: 190px;
  background-size: cover;
  background-position: center;
}

/* 4-image grid thumbs – equal heights */
.thumb-grid {
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(15,23,42,0.12);
}
.thumb-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* About */
.about-image-wrap {
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
}
.about-image-wrap::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 1.25rem;
  border: 2px solid rgba(15,23,42,0.15);
  pointer-events: none;
}
.about-stat {
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
  background-color: #ffffff;
  box-shadow: 0 10px 20px rgba(15,23,42,0.05);
}
.image-tilt {
  transform: rotate(-2.5deg);
}

/* Forms */
.form-control, .form-select {
  border-radius: 0.6rem;
}
.form-control:focus, .form-select:focus {
  border-color: #f9b233;
  box-shadow: 0 0 0 0.2rem rgba(249,178,51,0.3);
}

/* Footer */
footer {
  font-size: 0.8rem;
}

.tech-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(15,23,42,0.85), rgba(15,23,42,0.95)),
    rgba(0,0,0,0.25);
}
.hero-badge {
  font-size: 0.9rem !important;          /* Slightly larger than default */
  font-weight: 600 !important;           /* Semi-bold, not too heavy */
  padding: 0.35rem 0.75rem !important;   /* Small comfortable badge */
  border-radius: 0.4rem !important;
  background-color: rgba(249, 178, 51, 0.85) !important; /* Soft gold */
  color: #111 !important;                /* High readability */
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
::placeholder {
  color: #adb5bd; /* Bootstrap gray-500 */
  opacity: 1;
}



/* Responsive tweaks */
@media (max-width: 991.98px) {
  .hero .container {
    padding-top: 5.5rem;
  }
}
