:root {
  --primary-blue: #0d6efd;
  --primary-dark: #0046b3;
  --light-blue-bg: #f8fbff;
  --secondary-blue: #e7f1ff;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --accent: #38bdf8;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg:
    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  color: var(--text-dark);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Custom Utilities (Tailwind-like) */
.bg-light-blue {
  background-color: var(--light-blue-bg);
}
.text-slate-600 {
  color: var(--text-muted);
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}

.btn-primary-custom {
  background-color: var(--primary-blue);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 14px 0 rgba(13, 110, 253, 0.39);
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(13, 110, 253, 0.23);
}

.card-custom {
  border: none;
  border-radius: 1.25rem;
  padding: 2rem;
  background: white;
  box-shadow: var(--shadow-md);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.get-in-touch {
  padding: 80px 0;
  background: var(--primary-blue);
  color: white;
}

.icon-box {
  width: 60px;
  height: 60px;
  background: var(--secondary-blue);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Section Spacing */
section {
  padding: 100px 0;
}

.navbar {
  padding: 1rem 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-weight: 800;
  color: var(--primary-blue) !important;
  font-size: 1.5rem;
}

.hero-section {
  padding: 150px 0 100px;
  background: radial-gradient(
    circle at top right,
    var(--secondary-blue) 0%,
    transparent 40%
  );
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  section {
    padding: 60px 0;
  }
}

/* Portfolio Styles */
.portfolio-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  height: 100%; /* Ensure card takes full height */
}

.portfolio-card img {
  height: 280px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-card:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%
  );
  padding: 2rem 1.5rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h4 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.portfolio-overlay p {
  color: #f8fafc !important; /* Slightly off-white for hierarchy */
  margin-bottom: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.portfolio-badge {
  background: var(--accent);
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

/* Client Styles */
.client-logo {
  filter: grayscale(1);
  opacity: 0.5;
  transition: all 0.3s ease;
  max-width: 140px;
  height: auto;
}

.client-logo:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 3rem;
  align-items: center;
  justify-items: center;
}

/* Footer Link Hover */
.hover-white:hover {
  color: var(--white) !important;
}

.hover-accent:hover {
  color: var(--accent) !important;
}

/* Pricing Styles */
.pricing-card {
  border: none;
  border-radius: 1.5rem;
  padding: 3rem 2rem;
  background: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.pricing-card.featured {
  background: var(--primary-blue);
  color: white;
  transform: scale(1.05);
  box-shadow: 0 20px 25px -5px rgba(13, 110, 253, 0.2);
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured:hover {
  transform: translateY(-10px) scale(1.05);
}

.price-tag {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.price-tag span {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.8;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.pricing-card.featured .old-price {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-card.featured h3,
.pricing-card.featured .price-tag {
  color: white !important;
}

.pricing-card.featured .btn-outline-primary {
  background: white;
  color: var(--primary-blue);
  border: none;
}

.pricing-card.featured .btn-outline-primary:hover {
  background: var(--secondary-blue);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.feature-list li {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.feature-list li i {
  margin-right: 0.75rem;
  color: var(--accent);
}

.pricing-card.featured .feature-list li i {
  color: white;
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: var(--accent);
  color: var(--text-dark);
  padding: 0.25rem 1rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 700;
}

@media (max-width: 991.98px) {
  .pricing-card.featured {
    transform: scale(1);
    margin: 2rem 0;
  }
}
