/* ========== AJMONEY - Brand Colors & Styles ========== */
:root {
  --primary: #387bbd;
  --primary-dark: #2d6299;
  --accent: #f59507;
  --accent-dark: #d17d06;
  --dark: #1a1d29;
  --body-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: #333;
  overflow-x: hidden;
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.7s ease-out forwards;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Navbar ---------- */
.navbar {
  background: #fff;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
  min-height: 80px;
  z-index: 1030;
}

.navbar.navbar-scrolled {
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  padding: 0.65rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.header-logo {
  height: 80px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.navbar-brand:hover .header-logo {
  transform: scale(1.05);
}

.brand-text {
  color: var(--dark);
}

.navbar .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.navbar .navbar-nav .nav-link:hover {
  color: var(--accent) !important;
  background: rgba(245, 149, 7, 0.1);
}

.navbar .navbar-nav .nav-link.active {
  color: var(--accent) !important;
  background: rgba(245, 149, 7, 0.15);
}

.navbar .dropdown-menu {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

.navbar .dropdown-item {
  color: var(--dark);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  transition: background 0.2s, color 0.2s;
}

.navbar .dropdown-item:hover {
  background: rgba(245, 149, 7, 0.15);
  color: var(--accent);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 2px rgba(245, 149, 7, 0.4);
}

@media (min-width: 992px) {
  .navbar .dropdown .dropdown-menu {
    margin-top: 0;
    border-radius: 0 0 12px 12px;
  }
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* ---------- Hero ---------- */
.hero-section {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.hero-section .carousel,
.hero-section .carousel-inner,
.hero-section .carousel-item {
  overflow: hidden;
}

.hero-section .carousel-item {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-origin: border-box;
}

.hero-bg-1 {
  background-image: url('../imgaes/hero-1.png');
}
.hero-bg-2 {
  background-image: url('../imgaes/hero-2.png');
}



.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 29, 41, 0.75) 0%, rgba(56, 123, 189, 0.5) 50%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 1;
}

.hero-section .container {
  z-index: 2;
}

.hero-caption {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  margin: 0 0.5rem;
  opacity: 1;
  transition: background 0.2s, transform 0.2s;
  z-index: 3;
}

.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

/* Hero slider: mobile and tablet - fixed height */
@media (max-width: 991.98px) {
  .hero-section .carousel,
  .hero-section .carousel-inner,
  .hero-section .carousel-item {
    height: 420px;
  }

  .hero-section .carousel-item {
    min-height: unset;
  }

  .hero-section .carousel-inner .carousel-item {
    height: 420px;
  }

  .hero-bg {
    background-position: center center;
  }

  .hero-section .carousel-control-prev {
    left: 8px;
    margin: 0;
  }

  .hero-section .carousel-control-next {
    right: 8px;
    margin: 0;
  }

  .hero-section .carousel-control-prev,
  .hero-section .carousel-control-next {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 575.98px) {
  .hero-section .carousel,
  .hero-section .carousel-inner,
  .hero-section .carousel-item {
    height: 380px;
  }

  .hero-section .carousel-item {
    min-height: unset;
  }

  .hero-section .carousel-inner .carousel-item {
    height: 380px;
  }

  .hero-section .carousel-control-prev {
    left: 4px;
  }

  .hero-section .carousel-control-next {
    right: 4px;
  }
}

.tracking-wide {
  letter-spacing: 0.2em;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 60%, var(--accent) 100%);
  padding: 140px 0 80px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  background: transparent;
  padding: 0;
}

.page-hero .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.page-hero .breadcrumb-item a:hover {
  color: var(--accent);
}

.page-hero .breadcrumb-item.active {
  color: var(--accent);
}

/* ---------- Section badges & titles ---------- */
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
}

.text-primary {
  color: var(--primary) !important;
}

.bg-primary {
  background-color: var(--primary) !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(56, 123, 189, 0.4);
}

.btn-outline-light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

/* ---------- About ---------- */
.about-placeholder {
  min-height: 320px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.about-img-wrap {
  max-width: 100%;
}

.about-team-img {
  width: 90%;
  height: auto;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

/* ---------- Service cards ---------- */
.service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(56, 123, 189, 0.15) !important;
  border-color: rgba(56, 123, 189, 0.2);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 1.25rem 1.25rem 0;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card .card-body {
  padding: 1rem 1.25rem 1.5rem;
}

/* ---------- Feature cards ---------- */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(56, 123, 189, 0.12) !important;
}

.feature-num {
  line-height: 1;
  color: var(--primary);
}

/* ---------- Stats section ---------- */
.stats-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 50%, var(--accent) 100%);
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

.stats-section .display-4 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* ---------- Partner logos ---------- */
.partner-logo {
  min-height: 100px;
  width: 100%;
  max-width: 180px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.partner-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(56, 123, 189, 0.15);
}

.section-intro {
  max-width: 600px;
}

/* Contact section cards (home) - hover on card only */
.contact-card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.contact-card-hover:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1) !important;
}

.contact-card-icon {
  transition: none;
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(160deg, var(--dark) 0%, var(--primary) 45%, var(--primary-dark) 100%);
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.15) 100%);
  pointer-events: none;
}

.footer .container {
  position: relative;
  z-index: 1;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.footer-text {
  color: rgba(255, 255, 255, 0.85);
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: var(--accent) !important;
  padding-left: 4px;
}

.footer-icon {
  color: var(--accent);
  opacity: 0.95;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15) !important;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.footer-social-link:hover {
  background: var(--accent);
  color: #fff !important;
  transform: translateY(-3px);
}

/* ---------- Service detail page ---------- */
.service-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.service-detail-icon:hover {
  transform: scale(1.1) rotate(5deg);
}

/* ---------- Scroll to top button ---------- */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(56, 123, 189, 0.4);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: scale(1.08);
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 149, 7, 0.45);
}

/* ---------- Contact page ---------- */
.contact-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.contact-page .contact-form-card {
  background: linear-gradient(145deg, #fff 0%, #f8f9fa 100%);
  border: 1px solid rgba(56, 123, 189, 0.08);
}

.contact-form-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.contact-page .contact-form .form-label {
  margin-bottom: 0.35rem;
}

.contact-page .contact-input,
.contact-page .contact-form .form-control {
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
}

.contact-page .contact-form .form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(56, 123, 189, 0.15);
}

.contact-page .tracking {
  letter-spacing: 0.04em;
}

.contact-info-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06) !important;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #fff;
}

.contact-info-icon-phone {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.contact-info-icon-email {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
}

.contact-info-icon-address {
  background: linear-gradient(135deg, #2d3142 0%, var(--dark) 100%);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 29, 41, 0.98);
    padding: 1rem;
    margin: 0.5rem -0.75rem 0;
    border-radius: 12px;
  }

  .navbar-collapse .nav-link {
    color: rgba(255, 255, 255, 0.95) !important;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    color: var(--accent) !important;
    background: rgba(255, 255, 255, 0.08);
  }

  .navbar-collapse .dropdown-menu {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    padding: 0.25rem 0 0 0.75rem;
  }

  .navbar-collapse .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  .navbar-collapse .dropdown-item:hover {
    color: var(--accent) !important;
    background: rgba(255, 255, 255, 0.08);
  }

  .header-logo {
    height: 46px;
  }

  .hero-section .display-3 {
    font-size: 2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .min-vh-100 {
    min-height: 80vh !important;
  }

  .page-hero {
    padding: 120px 0 60px;
  }
}

@media (max-width: 575.98px) {
  .hero-section .display-3 {
    font-size: 1.75rem;
  }

  .stats-section .display-4 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

/* ---------- Utility ---------- */
.shadow-sm {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
}

.rounded-4 {
  border-radius: 1rem !important;
}
