/* Premier Coding Solutions - Custom Styles */

:root {
  --primary-dark: #0a1f3f;
  --primary: #0d2e5c;
  --primary-light: #143d7a;
  --accent: #00b4d8;
  --accent-light: #48cae4;
  --accent-dark: #0096b7;
  --text-dark: #1a1a2e;
  --text-muted: #4a5568;
  --bg-light: #f7f9fc;
  --bg-white: #ffffff;
}

/* Smooth scrolling and prevent horizontal overflow on mobile */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

/* Hero gradient */
.hero-gradient {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}

/* Accent stripe inspired by logo */
.accent-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

/* Service cards hover */
.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(10, 31, 63, 0.12);
}

/* Tech grid items */
.tech-item {
  transition: transform 0.2s ease;
}

.tech-item:hover {
  transform: scale(1.05);
}

/* Testimonial cards */
.testimonial-card {
  border-left: 4px solid var(--accent);
}

/* CTA button */
.btn-accent {
  background: var(--accent);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* Nav link hover */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Section fade-in (optional enhancement) */
.section-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 300px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
}
