/* Section gradients for home, services, contact */
.home-gradient {
  background: linear-gradient(to right, #e0eafc, #cfdef3);
}
.services-gradient {
  background: linear-gradient(to right, #e0eafc, #cfdef3);
}
.contact-gradient {
  background: linear-gradient(to right, #e0eafc, #cfdef3);
}
/* About section line height */
.about-content {
  line-height: 1.8;
}
/* Technology logos height */
.tech-logo {
  height: 60px;
}
/* Contact page styles (from contact.html) */
body.contact-bg {
  background-color: #0b1a2d;
  color: #ffffff;
}
.form-label {
  color: #ffffff;
}
.form-control {
  background-color: #132a44;
  border: none;
  color: white;
}
.form-control::placeholder {
  color: #ccc;
}
.form-control:focus {
  border: 1px solid #4dd0e1;
  box-shadow: none;
}
.btn-primary {
  background-color: #4dd0e1;
  border: none;
}
.btn-primary:hover {
  background-color: #36b9cc;
}
/* Portfolio cards (from portfolio.html) */
.portfolio-card {
  background-color: black;
  border: none;
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s ease;
  height: 100%;
  color: #fff;
}
.portfolio-card:hover {
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.08);
  transform: translateY(-6px);
}
.portfolio-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.portfolio-icon {
  font-size: 2rem;
  color: #0dcaf0;
}
.portfolio-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}
.portfolio-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #e0e0e0;
}
body.portfolio-bg {
  background-color: #f8f9fa;
}
/* Service cards (from services.html) */
.service-card {
  border-radius: 12px;
  padding: 25px;
  background-color: black;
  height: 100%;
  transition: all 0.3s ease;
}
.service-card:hover {
  background-color: grey;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.service-icon {
  font-size: 2rem;
  color: #0d6efd;
  margin-right: 10px;
}
.service-title {
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
}
/* Hero image max height for SEO and maintainability */
.hero-img {
  max-height: 330px;
}
body {
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  background: url('assets/images/solidbg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  overflow-x: hidden;
}

main {
  flex: 1 0 auto;
  padding: 2rem 0;
  animation: smoothFadeIn 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(4px);
}

@keyframes smoothFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

footer {
  flex-shrink: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transition: background-color 0.3s ease-in-out;
}
