:root {
  --primary-blue: #1e4e8c;
  --secondary-blue: #2f6db5;
  --accent-orange: #f37021;
}

body {
  font-family: "Inter", sans-serif;
  scroll-behavior: smooth;
  background-color: #f9fafb;
  color: #1f2937;
}

/* Custom Utilities */
.bg-primary-blue {
  background-color: var(--primary-blue);
}
.text-primary-blue {
  color: var(--primary-blue);
}
.bg-secondary-blue {
  background-color: var(--secondary-blue);
}
.bg-accent-orange {
  background-color: var(--accent-orange);
}
.text-accent-orange {
  color: var(--accent-orange);
}
.border-accent-orange {
  border-color: var(--accent-orange);
}

/* Buttons */
.btn-orange {
  background-color: var(--accent-orange);
  color: white;
  transition: all 0.3s ease;
}
.btn-orange:hover {
  background-color: #d65d18;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 112, 33, 0.3);
}

.btn-outline-blue {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  transition: all 0.3s ease;
}
.btn-outline-blue:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* Navigation */
.nav-link-custom {
  position: relative;
  transition: color 0.3s ease;
  font-weight: 500;
  color: #374151;
}
.nav-link-custom:hover {
  color: var(--primary-blue);
}
.nav-link-custom::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-orange);
  transition: width 0.3s ease;
}
.nav-link-custom:hover::after {
  width: 100%;
}
.nav-link-custom.active {
  color: var(--primary-blue);
}
.nav-link-custom.active::after {
  width: 100%;
}

.sticky-nav {
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
  transition:
    padding 0.3s ease,
    box-shadow 0.3s ease;
}

/* Components */
.service-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.gallery-item {
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
}
.gallery-item img {
  transition: transform 0.5s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-item:hover img {
  transform: scale(1.1);
}

.offer-badge {
  animation: pulse 2s infinite;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Advanced Hero Styling */
.hero-gradient-overlay {
  background: linear-gradient(
    135deg,
    rgba(30, 78, 140, 0.95) 0%,
    rgba(47, 109, 181, 0.8) 100%
  );
}

.hero-section {
  position: relative;
  padding: 160px 0 100px;
  color: white;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}

/* Footer Enhancements */
footer .footer-link {
  color: #dbeafe;
  transition: all 0.3s ease;
  display: inline-block;
}
footer .footer-link:hover {
  color: #f37021;
  transform: translateX(4px);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.social-icon:hover {
  background: #f37021;
  transform: translateY(-4px);
}

/* Hover Effects */
.hover-card {
  transition: all 0.5s ease;
}
.hover-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(-8px);
}

.img-zoom-container {
  overflow: hidden;
  border-radius: 1rem;
}

.img-zoom-container img {
  transition: transform 0.7s ease;
}
.img-zoom-container img:hover {
  transform: scale(1.1);
}

/* Specific Page Headers */
.about-hero {
  background-image: url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&q=80&w=1920");
}
.services-hero {
  background-image: url("https://images.unsplash.com/photo-1581094794329-c8112a89af12?auto=format&fit=crop&q=80&w=1920");
}
.contact-hero {
  background-image: url("https://images.unsplash.com/photo-1534536281715-e28d76689b4d?auto=format&fit=crop&q=80&w=1920");
}

.page-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
}
@media (min-width: 768px) {
  .page-hero {
    min-height: 85vh;
  }
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 78, 140, 0.8);
}

.page-hero .container {
  position: relative;
  z-index: 10;
}
