/* Import Google Font (Nunito) */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* ================================
   Global Colors & Fonts
================================ */
:root {
  --primary: #2C63F4;    /* Strong Blue */
  --secondary: #32B768;  /* Fresh Green */
  --accent: #1d974e;     /* Dark Green Accent */
  --background: #F9F9F9; /* Light Gray Background */
  --text-dark: #333333;  /* Dark Text */
  --font-main: 'Nunito', sans-serif;
}

/* Global Text */
body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--text-dark);
  background-color: var(--background);
  line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

/* ================================
   Buttons
================================ */
.btn-primary {
  background-color: var(--secondary);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.hover-btn {
  font-weight: 600;
  transition: all 0.3s ease;
}
.hover-btn:hover {
  background-color: var(--secondary);
  color: #fff !important;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ================================
   Breadcrumb
================================ */
.aximo-breadcrumb {
  position: relative;
  text-align: center;
}
.aximo-breadcrumb h1 {
  font-weight: 800;
  color: #fff;
  animation: fadeDown 1s ease-in-out;
}
.aximo-breadcrumb nav ul li { font-weight: 600; }
.aximo-breadcrumb a:hover {
  color: var(--accent) !important;
  transition: color 0.3s ease;
}

/* ================================
   Section Title
================================ */
.section h2 {
  font-weight: 700;
  color: var(--primary);
}
.section h2 span.text-primary {
  color: var(--secondary) !important;
}

/* ================================
   Service Cards
================================ */
.service-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.service-card img {
  border: 4px solid var(--primary);
  transition: transform 0.4s ease;
}
.service-card:hover img {
  transform: rotate(5deg) scale(1.05);
}
.service-card .card-title {
  font-weight: 700;
  color: var(--secondary);
}
.service-card .card-text {
  font-weight: 400;
  font-size: 0.95rem;
  min-height: 70px;
}

/* ================================
   Footer
================================ */
.aximo-footer-section {
  background-color: var(--primary);
  color: #fff;
  font-family: var(--font-main);
}
.aximo-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
}
.aximo-footer-bottom p {
  margin: 0;
  color: #fff;
  animation: fadeUp 1s ease-in-out;
}
.aximo-footer-section a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.aximo-footer-section a:hover {
  color: var(--secondary);
}

/* ================================
   Navbar
================================ */
#sticky-menu {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: whitesmoke;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  padding: 12px 0;
}
#navbarLogo {
  height: 45px;
  transition: transform 0.3s ease;
}
#navbarLogo:hover { transform: scale(1.05); }

/* Menu Items */
#navbarMenu .nav-link-item {
  color:var(--primary)!important;
  font-weight: 600;
  margin: 0 12px;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}
#navbarMenu .nav-link-item:hover { color: var(--secondary); }
#navbarMenu .nav-link-item::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background: var(--secondary);
  transition: width 0.3s ease;
}
#navbarMenu .nav-link-item:hover::after { width: 100%; }

/* Auth Buttons */
.btn-login, .btn-register {
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-login {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-login:hover {
  background: #fff;
  color: var(--primary);
}
.btn-register {
  background: var(--secondary);
  color: #fff;
  margin-left: 8px;
}
.btn-register:hover {
  background: var(--accent);
  color: #fff;
}

/* Logout Button */
.btn-logout {
  color: #fff !important;
  font-weight: 600;
}
.btn-logout:hover { color: var(--secondary) !important; }

/* ================================
   Animations
================================ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================
   Mobile Responsive
================================ */
.navbar-toggler { display: none; }
.toggler-icon {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
@media (max-width: 991px) {
  #navbarMenu {
    display: none;
    flex-direction: column;
    background: var(--primary);
    padding: 20px;
    border-radius: 10px;
  }
  #navbarMenu.show { display: flex; }
  .navbar-toggler { display: block; }
  #navbarMenu .nav-link-item { margin: 10px 0; }
}

/* ================================
   Footer
================================ */
.aximo-footer-section {
  background: var(--primary);   /* Strong Blue */
  color: #fff;
  font-family: var(--font-main);
  position: relative;
}

.aximo-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 0;
  color: #fff;
  transition: all 0.3s ease;
}

.aximo-footer-bottom p {
  margin: 0;
  color: #fff;
  animation: fadeUp 1s ease-in-out;
  letter-spacing: 0.5px;
}

/* Footer Links */
.aximo-footer-section a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.aximo-footer-section a:hover {
  color: var(--secondary); /* Fresh Green hover */
}

/* Optional Decorative Accent Bar */
.aximo-footer-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--secondary); /* Green accent line */
  border-radius: 2px;
}

/* Footer Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* ================================
   Single Service Page
================================ */

/* Service Image */
.section img {
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}
.section img:hover {
  transform: scale(1.03);
}

/* Title */
.aximo-section-title h2 {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 20px;
}

/* Description */
.section p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Navigation Arrows */
.section .btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  border-radius: 30px;
  padding: 0.5rem 1.3rem;
  transition: all 0.3s ease;
}
.section .btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}

/* ================================
   Projects Carousel
================================ */
.project-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.12);
}

/* Image Overlay */
.project-card .position-relative {
  border-radius: 12px;
  overflow: hidden;
}
.project-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,99,244,0.75); /* Primary blue overlay */
  opacity: 0;
  transition: all 0.4s ease;
}
.project-card:hover .overlay {
  opacity: 1;
}
.project-card .overlay h6 {
  color: #fff;
  font-weight: 700;
}
.project-card .overlay .btn {
  background: var(--secondary);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
  transition: all 0.3s ease;
}
.project-card .overlay .btn:hover {
  background: var(--accent);
}

/* Carousel Controls */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--secondary);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  background-size: 50%;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--accent);
}

/* Projects Section Title */
h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* View All Projects Button */
.btn-primary.btn-lg {
  border-radius: 30px;
  font-weight: 700;
  background: var(--secondary);
  border: none;
  transition: all 0.3s ease;
}
.btn-primary.btn-lg:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
/* ================================
   Portfolio Cards
================================ */
.portfolio-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
.portfolio-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

/* Image Wrapper */
.portfolio-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}
.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.08);
}

/* Overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44, 99, 244, 0.75); /* var(--primary) */
  opacity: 0;
  transition: opacity 0.4s ease;
}
.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}
.portfolio-overlay h6 {
  font-size: 0.95rem;
}
.portfolio-overlay .btn {
  font-size: 0.8rem;
  border-radius: 20px;
}

/* Card Body */
.portfolio-card .card-body {
  padding: 0.8rem 1rem;
}
.portfolio-card .card-title {
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
}
.portfolio-card .card-text {
  font-size: 0.85rem;
  color: #666;
}

/* Card Footer */
.portfolio-card .card-footer {
  background: #fff;
  padding: 0.6rem 1rem;
  border-top: 1px solid #f0f0f0;
}
.portfolio-card .badge {
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}
.portfolio-card .badge.bg-primary {
  background: var(--primary) !important;
}
.portfolio-card .badge.bg-light {
  background: var(--background) !important;
  color: var(--text-dark) !important;
}
/* ================================
   Blog Cards
================================ */
.blog-card {
  background: #fff;
  border-radius: 15px;
  transition: all 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Blog Titles */
.blog-card .entry-title {
  color: var(--primary);
  font-size: 1.35rem;
  transition: color 0.3s ease;
}
.blog-card .entry-title:hover {
  color: var(--secondary);
}

/* Post Date */
.blog-card .post-date {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 600;
}

/* Read More */
.blog-card .post-read-more {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.blog-card .post-read-more:hover {
  color: var(--secondary);
  margin-left: 5px;
}

/* ================================
   Sidebar
================================ */
.right-sidebar .widget {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}
.right-sidebar .widget h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Recent Post Items */
.right-sidebar .post-item {
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #eee;
}
.right-sidebar .post-item:last-child {
  border-bottom: none;
}
.right-sidebar .post-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}
.right-sidebar .post-title:hover {
  color: var(--secondary);
}
.right-sidebar .post-date {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.3rem;
}

/* ================================
   Animations
================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.blog-card, .right-sidebar .widget {
  animation: fadeUp 0.8s ease-in-out;
}
/* Single Project Styling */

/* Card hover effect */
.card {
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12) !important;
}

/* Title */
h1 {
  font-weight: 800;
  animation: fadeDown 0.8s ease-in-out;
}

/* List items */
.list-group-item {
  border: none;
  padding: 0.6rem 0;
  font-size: 0.95rem;
}
.list-group-item strong {
  color: var(--secondary);
}

/* Buttons */
.btn-outline-success {
  border: 2px solid var(--secondary);
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-outline-success:hover {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--primary);
  border: none;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Base nav link */
.site-menu-main .nav-link-item {
  position: relative !important;
  color: #fff !important;
  transition: color .25s ease !important;
}

/* Hover */
.site-menu-main .nav-link-item:hover {
  color: var(--secondary) !important;
}

/* Active state */
.site-menu-main li.active > .nav-link-item,
.site-menu-main .nav-link-item.active {
  color: var(--secondary) !important;
  font-weight: 600 !important;
}

/* Underline bar for active */
.site-menu-main li.active > .nav-link-item::after,
.site-menu-main .nav-link-item.active::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -6px !important;
  width: 100% !important;
  height: 2px !important;
  background: var(--secondary) !important;
  border-radius: 2px !important;
}

/* Desktop (>=992px) → menu visible inline */
@media (min-width: 992px) {
  #navbarMenu {
    display: flex !important;
    position: static !important;
    flex-direction: row !important;
    background: transparent !important;
    padding: 0 !important;
  }
}

/* Mobile (<992px) → hidden by default */
@media (max-width: 991px) {
  #navbarMenu {
    display: none !important; /* hidden by default */
    position: absolute;
    top: 70px; /* adjust for your header height */
    left: 0;
    right: 0;
    background: #111;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    z-index: 999;
  }

  #navbarMenu li {
    margin: 10px 0;
  }

  #navbarMenu.show-menu {
    display: flex !important;
    animation: fadeIn 0.3s ease-in-out;
  }

  /* Hamburger bars */
  #menuToggle .toggler-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
}

/* Small fade-in effect */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
