@font-face {
  font-family: "iransans";
  src: url("../../css/fonts/iransans/IRANSansX-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "iransans";
  src: url("../../css/fonts/iransans/IRANSansX-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "iransans";
  src: url("../../css/fonts/iransans/IRANSansX-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "iransans";
  src: url("../../css/fonts/iransans/IRANSansX-Black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary-color: #8bc34a;
  --primary-dark: #4a5568;
  --primary-light: #f1f8e9;
  --secondary-gray: #718096;
  --light-gray: #718096;
  --accent-red: #e53e3e;
  --accent-orange: #ff9500;
  --background-light: #f8f9fa;
  --border-color: #e2e8f0;
  --dark-gray: #4a5568;
}

/* Base Styles */
body {
  font-family: "iransans" !important;
  direction: rtl;
  text-align: right;
  font-weight: 400;
  overflow-x: hidden;
}
p {
  line-height: 35px;
}
.color-primary {
  color: var(--primary-color) !important;
}
.color-dark {
  color: var(--primary-dark);
}

/* Breadcrumb Styles */
.breadcrumb {
  background-color: transparent;
  padding: 0.5rem 0.75rem;
  padding-bottom: 0.5rem;
  border-radius: 0.375rem;
  box-shadow: none;
  margin-top: 0.5rem;
  border: 1px solid rgba(226, 232, 240, 0.6);
}
.breadcrumb a i {
  background: transparent;
  border-radius: 8px;
  box-shadow: none;
  color: #a0aec0;
  float: right;
  font-size: 14px;
  height: 28px;
  line-height: 28px;
  margin-left: 8px;
  margin-top: -2px;
  position: relative;
  text-align: center;
  top: 0;
  width: 28px;
}
.breadcrumb-item a {
  text-decoration: none;
  color: #a0aec0;
  font-size: 0.875rem;
}

.breadcrumb-item.active {
  color: var(--secondary-gray);
  font-size: 0.875rem;
}

/* Navbar & Menu Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2d3748 100%);
  padding: 0.75rem 0;
}

.navbar-brand {
  color: white !important;
  font-weight: bold;
  font-size: 1.5rem;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  border-radius: 0.375rem;
}

/* Mega Menu Base Styles */
.mega-menu {
  position: static !important;
}

.mega-menu-content {
  background: white;
  border: none;
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.mega-menu-column h6 {
  color: var(--primary-dark);
  font-weight: bold;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
  font-size: 20px;
}

.mega-menu-column i {
  color: var(--primary-color);
}

.mega-menu-item {
  color: var(--secondary-gray);
  text-decoration: none;
  padding: 0.5rem;
  display: block;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
}

.mega-menu-item:hover {
  color: #000;
}

/* Desktop Menu Styles */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu,
  .navbar-nav .mega-menu:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .mega-menu .dropdown-menu {
    position: absolute;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    top: 100% !important;
    margin-top: 0;
    border: none;
    border-radius: 0 0 1rem 1rem;
    background: white;
    padding: 2rem 0;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease-in-out;
  }

  .mega-menu-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 1rem;
    padding: 0 1rem;
  }

  /* Normal Dropdown Styles */
  .navbar-nav .dropdown > .dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease-in-out;
    margin-top: 0;
    border: none;
    border-radius: 0.5rem;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
  }

  .navbar-nav .dropdown:not(.mega-menu) .dropdown-menu {
    top: 100%;
    right: 0;
    line-height: 30px;
  }
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
  .navbar-nav .dropdown-menu,
  .mega-menu .dropdown-menu {
    display: none;
    position: static;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    width: 100%;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .mega-menu-content {
    padding: 0;
  }

  .mega-menu-column {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mega-menu-column:last-child {
    border-bottom: none;
  }

  .mega-menu-item {
    padding: 0.5rem 0;
  }

  .navbar-nav .show > .dropdown-menu {
    display: block;
  }

  .dropdown-toggle::after {
    float: left;
    margin-top: 8px;
  }
  
  /* Custom scrollbar for mobile menu */
  .navbar-nav .dropdown-menu::-webkit-scrollbar {
    width: 6px;
  }
  
  .navbar-nav .dropdown-menu::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }
  
  .navbar-nav .dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
  }
  
  .navbar-nav .dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }
}

.btn-primary-green {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-primary-green:hover {
  background-color: #7cb342;
  border-color: #7cb342;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}
.btn-primary-dark {
  background-color: var(--primary-dark);
  border-color: var(--primary-color);
  color: white;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-primary-dark:hover {
  background-color: var(--primary-dark);
  border-color:  var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}

.btn-outline-green {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
  font-weight: 500;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.btn-outline-green:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--light-gray) 0%, #edf2f7 100%);
  padding: 5rem 0;
}

.hero-title {
  color: var(--primary-dark);
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  color: var(--secondary-gray);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.custom-card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), #7cb342);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2d3748 100%);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5,
.footer h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer a {
  color: #3a4456;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 600s;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2d3748 100%);
}
.newsletter-form input {
  border-radius: 0.5rem;
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.newsletter-form input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(139, 195, 74, 0.15);
}
.trust-badges .badge-item {
  text-align: center;
}

/* Team Section */
.team-section {
  margin-bottom: 2rem;
}
.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.team-member {
  flex: 1 1 220px;
  max-width: 240px;
  min-width: 200px;
}
.member-card {
  background: #2d3748;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  padding: 1.5rem 1rem;
  text-align: center;
  color: #fff;
  position: relative;
  transition: transform 0.2s;
}
.member-card:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(139, 195, 74, 0.1);
}
.member-avatar {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
}
.member-avatar img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
}
.member-status {
  position: absolute;
  bottom: 6px;
  left: 8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff;
}
.member-status.online {
  background: #4caf50;
}
.member-status.away {
  background: #ff9500;
}
.member-info h6 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: bold;
}
.member-info p {
  font-size: 0.95rem;
  color: #cbd5e0;
  margin-bottom: 0.5rem;
}
.contact-btn {
  display: inline-block;
  background: var(--primary-color);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.95rem;
  margin-top: 0.25rem;
  transition: background 0.2s;
}
.contact-btn:hover {
  background: #7cb342;
  color: #fff;
}

/* Secondary Team */
.secondary-team .secondary-member {
  display: flex;
  align-items: center;
  background: #232b38;
  border-radius: 0.75rem;
  padding: 1rem;
  gap: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.secondary-team .secondary-member img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}
.secondary-team .member-details h6 {
  color: var(--primary-color);
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: bold;
}
.secondary-team .member-details p {
  color: #cbd5e0;
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}
.secondary-team .member-details a {
  color: #fff;
  font-size: 0.95rem;
  background: var(--primary-color);
  border-radius: 0.5rem;
  padding: 0.15rem 0.75rem;
  text-decoration: none;
  transition: background 0.2s;
}
.secondary-team .member-details a:hover {
  background: #7cb342;
  color: #fff;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-link {
  color: var(--primary-color) !important;
  font-size: 1.3rem;
  transition: color 0.2s;
}
.social-link:hover {
  color: var(--primary-dark);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.5rem;
}
.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary-color);
}

/* Responsive Mega Menu */
@media (max-width: 991.98px) {
  .mega-menu-content {
    position: relative;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
  }

  .hero-title {
    font-size: 2rem;
  }
  .team-grid {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}

/* Animation */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-title {
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--light-gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  padding: 12px 30px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: rgba(74, 85, 104, 0.19) 0px 10px 20px,
    rgba(74, 85, 104, 0.23) 0px 6px 6px;
}

.btn-primary-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary-custom-video {
  justify-content: center;
  display: inline-flex;
  width: 100%;
}

.btn-outline-primary-custom {
  color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 12px 30px;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.hero-section {
  padding: 6rem 0;
}

.pricing-table {
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.pricing-table:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.pricing-table.featured {
  border: 2px solid var(--primary-color);
  box-shadow: 0 10px 25px rgba(139, 195, 74, 0.2);
}

.pricing-table .card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.pricing-table.featured .card-header {
  background-color: var(--primary-light);
}

.pricing-table .price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
}

.pricing-table .price-period {
  font-size: 1rem;
  color: var(--light-gray);
}

.pricing-table .list-unstyled li {
  padding-right: 30px;
  position: relative;
  margin-bottom: 12px;
}

.pricing-table .list-unstyled li.item-included::before {
  content: "\f26a"; /* bi-check2-circle */
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0;
  color: var(--primary-color);
  font-size: 1.2rem;
}
.pricing-table .list-unstyled li.item-excluded::before {
  content: "\f659"; /* bi-x-circle */
  font-family: "bootstrap-icons";
  position: absolute;
  right: 0;
  color: var(--accent-red);
  font-size: 1.2rem;
}
.pricing-table .list-unstyled li::before {
  content: none;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.feature-item-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 5px;
}

.process-step {
  position: relative;
  padding-right: 40px;
}
.process-step .step-number {
  position: absolute;
  right: 0;
  top: -5px;
  width: 30px;
  height: 30px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--dark-gray);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(139, 195, 74, 0.25);
}
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: 8px !important;
}

.cta-section {
  background-color: var(--dark-gray);
  border-radius: 15px;
}
.cta-section button:hover {
  background-color: var(--primary-color);
}

.testimonial-card {
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
}
.testimonial-card .author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background-color: #000;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}
.video-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-placeholder .play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}
.video-placeholder:hover .play-button {
  color: var(--white);
  transform: translate(-50%, -50%) scale(1.1);
}
.text-justify {
  text-align: justify !important;
}
.section-subtitle {
  color: var(--light-gray);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.content-section .content-title {
  font-weight: 800;
  margin-bottom: 1.5rem;
}
.content-section .content-text {
  color: var(--light-gray);
  line-height: 1.8;
  text-align: justify;
}
.content-section .content-video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
}
.creative-title {
  font-weight: 700;
  color: var(--dark-gray);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 10px;
  font-size: 1.6rem;
}

.creative-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to left, var(--primary-color), #fff);
  border-radius: 3px;
  animation: expand-line 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.creative-title-full {
  font-weight: 700;
  color: var(--dark-gray);
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
  padding-bottom: 15px;
}

.creative-title-full::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0),
    var(--primary-color) 50%,
    rgba(255, 255, 255, 0)
  );
  border-radius: 3px;
}

.fullscreen-carousel-section {
  padding: 0.5rem 0;
  background-color: var(--background-light);
}
.carousel-item-content {
  text-align: center;
}
.carousel-item-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
}
.carousel-item-content p {
  text-align: center justify;
  font-size: 1.1rem;
  color: var(--light-gray);
}
.btn-custom-dark {
  border: 2px solid var(--border-color);
  color: #fff;
  padding: 12px 30px;
  font-weight: 700;
  background-color: var(--primary-dark);
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}
.btn-custom-dark:hover {
  background-color: var(--dark-gray);
  color: #fff;
  border-color: var(--primary-dark);
}
.carousel-image-container {
  margin-top: 3rem;
}
.carousel-image-container img {
  max-width: 100%;
  height: auto;
}
.carousel-image-container {
  margin-top: 3rem;
}
.carousel-image-container img {
  max-width: 100%;
  height: auto;
}

#marketingCarousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  background-color: rgba(0, 0, 0, 0.15);
  border: none;
  transition: background-color 0.2s ease, transform 0.15s ease;
  box-shadow: none;
}
#marketingCarousel .carousel-indicators .active {
  background-color: var(--primary-color);
  transform: scale(1.05);
}

#marketingCarousel .carousel-indicators {
  bottom: 12px;
  gap: 8px;
}

#marketingCarousel .carousel-control-prev,
#marketingCarousel .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 70%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  opacity: 1;
}

#marketingCarousel .carousel-control-prev-icon,
#marketingCarousel .carousel-control-next-icon {
  background-image: none !important;
  width: 50%;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.25rem;
  line-height: 1;
}

#marketingCarousel .carousel-control-prev-icon::after {
  content: "\2039"; /* ‹ */
  color: #fff;
  font-size: 1.5rem;
}
#marketingCarousel .carousel-control-next-icon::after {
  content: "\203A"; /* › */
  color: #fff;
  font-size: 1.5rem;
}

#marketingCarousel .carousel-control-prev:hover .carousel-control-prev-icon,
#marketingCarousel .carousel-control-next:hover .carousel-control-next-icon {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(139, 195, 74, 0.22);
}

@media (max-width: 576px) {
  #marketingCarousel .carousel-control-prev,
  #marketingCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  #marketingCarousel .carousel-control-prev-icon::after,
  #marketingCarousel .carousel-control-next-icon::after {
    font-size: 1.15rem;
  }
}
/* Logo carousel styles */
.logo-carousel .logo-card {
  max-width: 25%;
  box-sizing: border-box;
  padding: 0.75rem;
}

/* Ticker defaults: prevent stacking when navigating back or before JS init */
#titivar .ticker-inner .ticker-item {
  display: none;
  font-family: "iransans" !important;
  font-weight: 600;
}
#titivar .ticker-inner .ticker-item:first-child {
  display: block;
}

.logo-carousel .logo-box {
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid var(--border-color);
}

.logo-carousel .logo-box img {
  max-height: 85px;
  width: auto;
  display: block;
}

/* Responsive: mobile show 2 per row (each card 50%) */
@media (max-width: 767.98px) {
  .logo-carousel .logo-card {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0.5rem;
  }
}

/* small screens between 768 and 991 can show 3 per row if desired; keep 3 */
@media (min-width: 768px) and (max-width: 991.98px) {
  .logo-carousel .logo-card {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

/* smaller visual tweaks for carousel controls to match site */
#clientsCarousel .carousel-control-prev-icon,
#clientsCarousel .carousel-control-next-icon {
  background-image: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-dark);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
#clientsCarousel .carousel-control-prev-icon::after {
  content: "\2039";
  font-size: 1.25rem;
  color: #fff;
}
#clientsCarousel .carousel-control-next-icon::after {
  content: "\203A";
  font-size: 1.25rem;
  color: #fff;
}

/* small green accent stripe on the right (RTL) */
.services-costs-section .card.service-card::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 0;
  width: 6px;
  height: calc(100% - 32px);
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  opacity: 0.14;
  pointer-events: none;
}

/* card hover */
.services-costs-section .card.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(139, 195, 74, 0.08);
  border-color: rgba(139, 195, 74, 0.14);
}

/* body of card: keep content right-aligned for RTL */
.services-costs-section .card.service-card .card-body {
  position: relative;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
}

/* icon */
.services-costs-section .service-icon {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(139, 195, 74, 0.12),
    rgba(74, 85, 104, 0.03)
  );
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 1px solid rgba(139, 195, 74, 0.06);
  box-shadow: 0 6px 18px rgba(74, 85, 104, 0.04);
}
.services-costs-section .service-icon img {
  max-width: 56px;
  height: auto;
  display: block;
}

/* title & description */
.services-costs-section h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: var(--primary-dark);
}
.services-costs-section p {
  margin: 0;
  text-align: justify;
  line-height: 1.6rem;
}

/* spacing */
.services-costs-section .row {
  --bs-gutter-x: 1.6rem;
  --bs-gutter-y: 1.6rem;
}

/* responsive tweaks */
@media (max-width: 767.98px) {
  .services-costs-section .service-icon {
    width: 64px;
    height: 64px;
    border-radius: 10px;
  }
  .services-costs-section .card.service-card .card-body {
    gap: 0.75rem;
    padding: 0.9rem;
  }
  .services-costs-section .card.service-card::after {
    top: 12px;
    right: 0;
    width: 5px;
    height: calc(100% - 24px);
  }
}

/* highlight title on hover for better affordance */
.services-costs-section .card.service-card:hover h5 {
  color: var(--primary-color);
}

/* a11y: focus state for keyboard users */
.services-costs-section .card.service-card:focus,
.services-costs-section .card.service-card:focus-within {
  outline: 3px solid rgba(139, 195, 74, 0.12);
  outline-offset: 2px;
}

/* Staff carousel (matches services look) */
.staff-section .creative-title-full::after {
  height: 6px;
  bottom: 6px;
  opacity: 0.95;
}

.staff-carousel .staff-card {
  flex: 0 0 25%; /* 4 per slide on desktop */
  max-width: 25%;
  box-sizing: border-box;
  padding: 0.75rem;
}

.staff-carousel .staff-card-inner {
  background: linear-gradient(180deg, #fff 0%, rgba(139, 195, 74, 0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(139, 195, 74, 0.06);
  width: 100%;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.staff-section .staff-card-inner:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(139, 195, 74, 0.08);
  border-color: rgba(139, 195, 74, 0.14);
}

/* avatar */
.staff-avatar {
  width: 170px;
  height: 170px;
  border-radius: 999px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 6px solid rgba(139, 195, 74, 0.1);
  background: linear-gradient(
    135deg,
    rgba(139, 195, 74, 0.06),
    rgba(74, 85, 104, 0.02)
  );
  box-shadow: 0 18px 40px rgba(139, 195, 74, 0.16),
    0 6px 16px rgba(74, 85, 104, 0.05);
}
.staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text */
.staff-name {
  font-weight: 800;
  color: var(--primary-dark);
}
.staff-role {
  color: rgba(74, 85, 104, 0.65);
}

/* carousel controls reuse existing style but smaller */
#staffCarousel .carousel-control-prev,
#staffCarousel .carousel-control-next {
  width: 40px;
  height: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
}
#staffCarousel .carousel-control-prev-icon,
#staffCarousel .carousel-control-next-icon {
  background-image: none !important;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(74, 85, 104, 0.06);
}
#staffCarousel .carousel-control-prev-icon::after {
  content: "\2039";
  color: #fff;
  font-size: 1.15rem;
}
#staffCarousel .carousel-control-next-icon::after {
  content: "\203A";
  color: #fff;
  font-size: 1.15rem;
}

/* responsiveness */
@media (max-width: 991.98px) {
  .staff-carousel .staff-card {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  } /* 3 per row tablet */
  .staff-avatar {
    width: 110px;
    height: 110px;
  }
}

@media (max-width: 767.98px) {
  .staff-carousel .staff-card {
    flex: 0 0 50%;
    max-width: 50%;
  } /* 2 per row mobile */
  .staff-avatar {
    width: 110px;
    height: 110px;
  }
  .staff-section .section-subtitle {
    max-width: 420px;
  }
}

/* small polish: spacing and alignment */
.staff-section .carousel-inner {
  padding-bottom: 8px;
}
.staff-section .container {
  position: relative;
}

/* Accessibility: focus */
.staff-carousel .staff-card-inner:focus-within {
  outline: 3px solid rgba(139, 195, 74, 0.12);
  outline-offset: 4px;
}

/* Motion samples / portfolio section (dark-accent background + green highlights) */
.portfolio-section.motion-samples {
  background: linear-gradient(
    180deg,
    rgba(74, 85, 104, 0.03) 0%,
    rgba(139, 195, 74, 0.02) 100%
  );
}

/* container card */
.portfolio-card {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(139, 195, 74, 0.01) 100%
  );
  border-radius: 14px;
  border: 1px solid rgba(74, 85, 104, 0.06);
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.28s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* thumb area */
.portfolio-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}
.portfolio-thumb .portfolio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

/* overlay play (visual cue) */
.portfolio-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.portfolio-thumb .overlay-play {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(139, 195, 74, 0.95),
    rgba(74, 85, 104, 0.06)
  );
  box-shadow: 0 14px 40px rgba(139, 195, 74, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s;
}
.portfolio-thumb .overlay-play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 14px solid #fff;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 3px;
}

/* meta */
.portfolio-meta {
  flex: 0 0 auto;
}
.portfolio-meta h5 {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 0.3rem;
}
.portfolio-meta p {
  color: rgba(74, 85, 104, 0.65);
  line-height: 1.4;
}

/* hover effects */
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(74, 85, 104, 0.06);
  border-color: rgba(139, 195, 74, 0.12);
}
.portfolio-card:hover .thumb-overlay .overlay-play {
  transform: scale(1.06) translateY(-6px);
  box-shadow: 0 28px 70px rgba(139, 195, 74, 0.22);
}

/* larger visuals on desktop */
@media (min-width: 992px) {
  .portfolio-thumb .overlay-play {
    width: 80px;
    height: 80px;
  }
}

/* responsive grid adjustments */
@media (max-width: 991.98px) {
  .portfolio-card {
    border-radius: 12px;
  }
}
@media (max-width: 767.98px) {
  .portfolio-thumb {
    aspect-ratio: 4/3;
  }
  .portfolio-thumb .overlay-play {
    width: 64px;
    height: 64px;
  }
}

/* accessibility: focus */
.portfolio-card:focus-within {
  outline: 3px solid rgba(139, 195, 74, 0.1);
  outline-offset: 4px;
}

/* small polish: spacing */
.portfolio-section .section-subtitle {
  max-width: 820px;
  margin: 0 auto 1.6rem;
}

/* Refreshed logo-portfolio styles — bigger logos, creative dark tiles with green accent */
.logo-portfolio-section {
  background: linear-gradient(180deg, #fff 0%, rgba(239, 247, 236, 0.6) 100%);
}

.logo-portfolio-section .section-subtitle {
  max-width: 820px;
  margin-bottom: 1rem;
  color: rgba(74, 85, 104, 0.75);
}

/* Grid tiles */
.logo-grid .logo-card {
  background: #434e60;
  border-radius: 14px;
  width: 100%;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.28s;
  border: 1px solid rgba(255, 255, 255, 0.04);
  overflow: hidden;
  position: relative;
  padding: 22px;
}

/* Bigger logo plate so logos appear prominent */
.logo-thumb {
  width: 100%;
  max-width: 260px; /* larger plate */
  height: 150px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 12px 36px rgba(10, 14, 20, 0.45);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.logo-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* caption */
.logo-caption strong {
  color: #ffffff;
  font-weight: 800;
}
.logo-caption .text-secondary {
  color: rgba(255, 255, 255, 0.75);
}

/* hover/focus: lift + green glow */
.logo-grid .logo-card:hover,
.logo-grid .logo-card:focus-within {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 36px 90px rgba(139, 195, 74, 0.12);
  border-color: rgba(139, 195, 74, 0.14);
}
.logo-grid .logo-card:hover .logo-thumb,
.logo-grid .logo-card:focus-within .logo-thumb {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 28px 70px rgba(139, 195, 74, 0.1),
    0 10px 28px rgba(10, 14, 20, 0.45);
}

/* responsive: adjust sizes */
@media (max-width: 991.98px) {
  .logo-grid .logo-card {
    min-height: 190px;
    padding: 16px;
  }
  .logo-thumb {
    max-width: 200px;
    height: 120px;
    padding: 12px;
  }
}

@media (max-width: 575.98px) {
  .logo-grid .logo-card {
    min-height: 160px;
    padding: 12px;
  }
  .logo-thumb {
    max-width: 160px;
    height: 92px;
    padding: 10px;
  }
}

/* accessibility focus ring */
.logo-grid .logo-card:focus-within {
  outline: 3px solid rgba(139, 195, 74, 0.1);
  outline-offset: 6px;
}

/* keep link appearance clean */
.logo-tile {
  display: block;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

/* ...existing code... */

/* Blog cards with thumbnails */
.blog-section {
  padding: 3rem 0;
  background: linear-gradient(180deg, rgba(239, 247, 236, 0.35), #fff);
}
.blog-section .content-title {
  margin-bottom: 0.25rem;
}

/* Card */
.blog-card {
  background: linear-gradient(180deg, #fff 0%, rgba(139, 195, 74, 0.02) 100%);
  border: 1px solid rgba(74, 85, 104, 0.06);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.28s;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(74, 85, 104, 0.06);
  border-color: rgba(139, 195, 74, 0.12);
}

/* thumbnail */
.blog-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}
.blog-thumb-link:hover .blog-thumb img,
.blog-card:focus-within .blog-thumb img {
  transform: scale(1.05);
}

/* header */
.blog-card-header {
  margin-bottom: 0.5rem;
}
.blog-date {
  font-size: 0.85rem;
  color: rgba(74, 85, 104, 0.7);
  background: rgba(139, 195, 74, 0.06);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  display: inline-block;
}

/* title & excerpt */
.blog-title {
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
}
.blog-excerpt {
  color: rgba(74, 85, 104, 0.75);
  line-height: 1.5;
  margin-bottom: 0;
}

/* footer */
.blog-card-footer {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}
.blog-card .btn-primary-green {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
}

/* responsive */
@media (max-width: 767.98px) {
  .blog-section {
    padding: 2rem 0;
  }
  .blog-thumb {
    aspect-ratio: 4/3;
  }
}

/* accessibility */
.blog-card:focus-within {
  outline: 3px solid rgba(139, 195, 74, 0.1);
  outline-offset: 4px;
}

/* Updated counters (use root colors; larger responsive cards; compact numbers + full on hover) */
.counters-section {
  padding: 2.6rem 0;
  background: linear-gradient(
    90deg,
    var(--primary-dark) 0%,
    rgba(74, 85, 104, 0.95) 100%
  );
  color: #fff;
  margin: 1.25rem 0;
}

.counter-wrap {
  gap: 1.25rem;
  align-items: stretch;
}

.counter-item {
  flex: 1 1 320px; /* cards grow, at least 320px */
  min-width: 260px;
  max-width: 420px;
  text-align: center;
  padding: 1.4rem 1.2rem;
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.01)
  );
  box-shadow: 0 14px 40px rgba(10, 14, 20, 0.18);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.counter-number {
  font-size: 2.1rem; /* larger on desktop */
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  letter-spacing: 0.6px;
  margin-bottom: 0.6rem;
  direction: ltr; /* keep numerals readable */
  display: inline-block;
  min-height: 1em;
  transition: transform 0.28s ease;
}

/* slightly bigger number emphasis on wide screens */
@media (min-width: 1200px) {
  .counter-item {
    min-width: 320px;
    max-width: 480px;
    padding: 1.8rem 1.6rem;
  }
  .counter-number {
    font-size: 2.1rem;
  }
}

.counter-label {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  margin-bottom: 0.65rem;
  font-size: 1rem;
}

/* underline uses primary-green */
.counter-underline {
  width: 72px;
  height: 8px;
  margin: 0.35rem auto 0;
  border-radius: 6px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    var(--primary-color),
    rgba(255, 255, 255, 0)
  );
  box-shadow: 0 10px 30px rgba(139, 195, 74, 0.16);
}

/* hover & focus: lift and show full number (title already set) */
.counter-item:hover .counter-number,
.counter-item:focus-within .counter-number {
  transform: translateY(-6px) scale(1.02);
  text-shadow: 0 6px 20px rgba(74, 85, 104, 0.18);
}

/* Responsive: stack nicely on small screens */
@media (max-width: 991.98px) {
  .counter-item {
    flex: 1 1 46%;
    min-width: 180px;
    max-width: 48%;
    padding: 1.1rem;
  }
  .counter-number {
    font-size: 2.4rem;
  }
  .counter-underline {
    width: 56px;
    height: 6px;
  }
}

@media (max-width: 575.98px) {
  .counter-wrap {
    gap: 0.8rem;
  }
  .counter-item {
    flex: 1 1 100%;
    min-width: auto;
    max-width: 100%;
    padding: 0.9rem;
  }
  .counter-number {
    font-size: 2rem;
  }
  .counter-label {
    font-size: 0.95rem;
  }
  .counter-underline {
    width: 48px;
    height: 5px;
  }
}
.counter-number .cn-num {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate; /* isolate embedding */
  font-variant-numeric: tabular-nums;
}
.counter-number .cn-unit {
  display: inline-block;
  direction: rtl;
  margin-inline-start: 0.35rem; /* space between number and unit (works in RTL/LTR) */
  font-weight: 700;
}

/* ensure .counter-number can contain html safely */
.counter-number {
  white-space: nowrap;
}
/* accessibility focus ring */
.counter-item:focus-within {
  outline: 3px solid rgba(139, 195, 74, 0.14);
  outline-offset: 6px;
}

/* ...existing code... */

/* Testimonials section - light on brand colors, responsive & creative */
.testimonials-section {
  padding: 3rem 0;
  background: linear-gradient(
    180deg,
    rgba(139, 195, 74, 0.03),
    rgba(241, 248, 233, 0.6)
  );
  position: relative;
  overflow: visible;
}

.testimonial-heading .short-line,
.testimonial-heading .long-line {
  display: inline-block;
  vertical-align: middle;
  height: 4px;
  border-radius: 4px;
  background: var(--primary-color);
}
.testimonial-heading .short-line {
  width: 40px;
  margin-left: 0.6rem;
}
.testimonial-heading .long-line {
  width: 80px;
  opacity: 0.45;
}

/* Card inside carousel */
.testimonial-card {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    rgba(139, 195, 74, 0.02) 100%
  );
  border: 1px solid rgba(74, 85, 104, 0.06);
  border-radius: 12px;
  padding: 1.25rem;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 18px 40px rgba(74, 85, 104, 0.04);
}

.avatar-box {
  width: 76px;
  height: 76px;
  min-width: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(139, 195, 74, 0.06),
    rgba(74, 85, 104, 0.02)
  );
  border: 1px solid rgba(139, 195, 74, 0.06);
  padding: 6px;
}
.avatar-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid var(--primary-color);
}

/* testimonial text */
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--dark-gray);
  margin: 0 0 0.6rem 0;
  text-align: justify;
}
.testimonial-meta .author-name {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 800;
}
.testimonial-meta .company-name {
  color: rgba(74, 85, 104, 0.65);
  font-weight: 600;
  margin-inline-start: 0.65rem;
}

/* carousel controls and indicators (match theme) */
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
}
#testimonialCarousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(74, 85, 104, 0.18);
  border: none;
  margin: 0 0.35rem;
}
#testimonialCarousel .carousel-indicators .active {
  background: var(--primary-color);
  box-shadow: 0 6px 18px rgba(139, 195, 74, 0.12);
}

/* decorative images */
.testimonial-deco {
  position: absolute;
  left: 1rem;
  bottom: -30px;
  pointer-events: none;
  opacity: 0.95;
}
.testimonial-deco img {
  max-width: 320px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 40px rgba(74, 85, 104, 0.06));
}

/* smaller screens: stack and tighten spacing */
@media (max-width: 991.98px) {
  .testimonial-heading {
    text-align: center;
  }
  .testimonial-deco {
    display: none;
  }
  .testimonial-card {
    padding: 1rem;
  }
  .avatar-box {
    width: 64px;
    height: 64px;
    min-width: 64px;
  }
  .avatar-img {
    width: 52px;
    height: 52px;
  }
}

/* very small screens: full width quote */
@media (max-width: 575.98px) {
  .testimonial-quote {
    font-size: 0.98rem;
    line-height: 1.6;
  }
  .testimonial-meta .company-name {
    display: block;
    margin-top: 0.4rem;
    margin-inline-start: 0;
  }
}
.cta-section-register {
  padding: 0.5rem 0;
  background-color: var(--dark-gray);
}
.cta-section-register .cta-icon {
  font-size: 4rem;
  color: var(--primary-color);
}
.cta-section-register h2 {
  color: #fff;
  font-weight: 800;
}
.cta-section-register p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 900px;
  margin: 1rem auto 2rem;
  font-size: 1.5rem;
}
.cta-section-register .highlight {
  color: var(--primary-color);
  font-weight: 700;
}
.btn-primary-custom.btn-lg {
  padding: 15px 40px;
  font-size: 1.2rem;
  font-weight: 700;
}
.btn-primary-custom.btn-lg:hover {
  background-color: var(--background-light);
  color: #000;
}
.audio-testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}
.audio-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
}
.audio-testimonial-card audio {
  width: 100%;
  margin-bottom: 1rem;
}
.audio-testimonial-card .customer-info {
  display: flex;
  align-items: center;
}
.audio-testimonial-card .customer-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-left: 10px;
}
.audio-testimonial-card .customer-name {
  font-weight: 600;
  color: var(--dark-gray);
}
.why-us-section .section-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-left: 15px;
}
.why-us-section .feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}
.why-us-section .feature-list i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-left: 10px;
  margin-top: 6px;
}
.why-us-section .comparison-box {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-right: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 1.5rem;
}
.why-us-section .comparison-box p {
  margin-bottom: 0.5rem;
}
.pricing-section {
  padding: 1rem 0;
}

/* Styles for the table on desktop */
.pricing-table-long-container {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* Ensures rounded corners on the table itself */
}
.pricing-table-long {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.pricing-table-long th,
.pricing-table-long td {
  padding: 1rem;
  text-align: right;
  border-bottom: 1px solid var(--border-color);
}
.pricing-table-long th {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 700;
}

/* Alternating row colors */
.pricing-table-long tbody tr:nth-child(odd) td {
  background-color: var(--primary-light);
  color: var(--dark-gray);
}
.pricing-table-long tbody tr:nth-child(even) td {
  background-color: #fff;
  color: var(--dark-gray);
}

.pricing-table-long tbody tr:last-child td {
  border-bottom: none;
}
.pricing-table-long .colspan-row td {
  text-align: center;
  font-style: italic;
  color: var(--secondary-gray);
  background-color: var(--background-light);
}

/* Styles for the cards on mobile */
@media (max-width: 767.98px) {
  .pricing-table-long-container {
    display: none; /* Hide table on small screens */
  }
  .pricing-card {
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  }
  .pricing-card:nth-child(odd) {
    background-color: var(--primary-light);
  }
  .pricing-card-header {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
  }
  .pricing-card-body {
    color: var(--secondary-gray);
  }
  .pricing-card-footer {
    text-align: center;
    font-style: italic;
    color: var(--secondary-gray);
    margin-top: 1.5rem;
    background-color: var(--background-light);
    padding: 1rem;
    border-radius: 0 0 1rem 1rem;
    border-top: 1px solid var(--border-color);
  }
}

/* Hide cards on desktop */
@media (min-width: 768px) {
  .pricing-card-container {
    display: none; /* Hide cards on large screens */
  }
}

.tariff-table-container {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  overflow-x: auto; /* Enables horizontal scroll */
  -webkit-overflow-scrolling: touch;
}
.tariff-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 600px; /* Minimum width for the table on small screens */
}
.tariff-table th,
.tariff-table td {
  padding: 1rem;
  text-align: right;
  border-bottom: 1px solid var(--border-color);
}

/* Darker header color */
.tariff-table th {
  background-color: var(--primary-dark);
  color: #fff;
  font-weight: 700;
}

/* Alternating row colors with hover effect */
.tariff-table tbody tr:nth-child(odd) {
  background-color: var(--primary-light); /* Lighter green */
}
.tariff-table tbody tr:nth-child(even) {
  background-color: #fff; /* White */
}
.tariff-table tbody tr:hover {
  background-color: var(--secondary-light-green);
}

.tariff-table tbody tr:last-child td {
  border-bottom: none;
}
.tariff-table .colspan-row td {
  text-align: center;
  font-style: italic;
  color: var(--secondary-gray);
  background-color: var(--background-light);
  transition: none; /* No hover effect on this row */
}
.tariff-table .colspan-row:hover {
  background-color: var(--background-light); /* Override hover effect */
}

header {
  transition: all 0.3s ease;
}

header.sticky {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1060;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.14);
  background: linear-gradient(135deg, var(--primary-dark) 0%, #2d3748 100%);
  animation: slideDown 0.35s ease-in-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-10px);
    opacity: 0.5;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

body.has-sticky-nav {
  padding-top: var(--header-height, 90px);
}

@media (max-width: 991.98px) {
  body.has-sticky-nav {
    padding-top: var(--header-height-mobile, 150px);
  }
}

#titivar {
  background: rgba(70, 81, 99, 0.1); /* lighter shade of #465163 */
  color: var(--dark-gray, #222);
  font-family: iransans, sans-serif;
}
#titivar .ticker-inner {
  position: relative;
  overflow: hidden;
  min-height: 2.5rem; /* ensure stable height */
}
#titivar .ticker-item {
  display: none;
  text-align: right;
  line-height: 1.2;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  font-size: 1rem;
}
#titivar .ticker-item strong {
  color: var(--primary-color, #8bc34a);
  margin-left: 0.5rem;
}
/* small visual cue */
#titivar .ticker-controls {
  display: none;
}
@media (max-width: 991.98px) {
  #titivar .ticker-item {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    display: none !important;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
  #titivar .mobile-ticker-scroll {
    white-space: nowrap;
    display: block !important;
    animation: scroll-text 935s linear infinite;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    font-size: 0.95rem;
    width: max-content;
    min-width: 100%;
    font-family: "iransans" !important;
    font-weight: 600;
  }
  #titivar {
    overflow: hidden;
  }
  #titivar .ticker-inner {
    font-family: "iransans" !important;
    font-weight: 600;
    overflow: hidden;
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    width: 100%;
  }
  #titivar .ticker-inner::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }
}

@keyframes scroll-text {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
#team.hero-team {
  position: relative;
  background-image: url("../../img/teamraya.JPG");
  background-size: cover;
  background-position: center center;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 3.25rem 0;
  color: #fff;
}

/* subtle dark overlay so white text and inputs read well on any photo */
#team.hero-team .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgb(10, 20, 25) 0%,
    rgba(10, 20, 25, 0.46) 25%,
    rgba(10, 20, 25, 0) 70%,
    rgba(10, 20, 25, 0) 100%
  );
  z-index: 0;
  backdrop-filter: none;
}

#team .hero-content {
  position: relative;
  z-index: 2;
}

#team .hero-title {
  color: #fff;
  font-size: 3.6rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 0.6rem;
  text-align: center;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

#team .hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* phone form */
#team .hero-cta {
  display: flex;
  margin-top: 100px;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

/* phone input: softer, semi-transparent and dotted per request */
#team .hero-cta .phone-input {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0.6rem;
  border: 2px solid var(--primary-color);
  backdrop-filter: blur(4px);
  transition: all 0.18s ease;
  min-width: 500px;
}

#team .hero-cta .phone-input:focus-within {
  border-style: solid;
  border-color: rgba(139, 195, 74, 0.95); /* primary green */
  box-shadow: 0 8px 28px rgba(139, 195, 74, 0.08);
  background: #fff;
}

#team .hero-cta input[type="tel"] {
  border: none;
  outline: none;
  font-size: 0.95rem;
  padding: 0.55rem 0.6rem;
  background: transparent;
  color: #fff;
  caret-color: var(--primary-color);
  direction: ltr;
  min-width: 500px;
  text-align: center;
}

#hero-phone::placeholder {
  color: #ccc;
}

#team .hero-cta .btn-primary-green {
  border-radius: 0.6rem;
  padding: 0.55rem 0.9rem;
}
#team .hero-cta .btn-outline-green {
  border-radius: 0.6rem;
  padding: 0.45rem 0.8rem;
}
#team .call-now {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 991.98px) {
  #team.hero-team {
    padding: 2.25rem 0;
    min-height: 380px;
  }
  #team .hero-title {
    font-size: 3rem;
  }
  #team .hero-subtitle {
    font-size: 1rem;
  }
}

/* Flash Messages Animations */
@keyframes slideInFromTop {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Flash Messages Responsive Styles */
.flash-message-container {
  position: relative;
  z-index: 1050;
}

.flash-message-content {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.flash-message-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

/* Icon Container Styles */
.flash-icon-container {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.flash-message-content:hover .flash-icon-container {
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 576px) {
  .flash-message-content {
    border-radius: 12px !important;
    margin: 0.5rem !important;
  }

  .flash-message-content .d-flex {
    flex-direction: column !important;
    text-align: center;
  }

  .flash-icon-container {
    margin-bottom: 1rem !important;
    margin-right: 0 !important;
    align-self: center !important;
  }

  .btn-close {
    position: absolute;
    top: 10px;
    left: 10px;
  }
}

/* Tablet Responsive */
@media (min-width: 577px) and (max-width: 991.98px) {
  .flash-message-content {
    border-radius: 14px !important;
  }
}

/* Desktop Enhanced */
@media (min-width: 992px) {
  .flash-message-content {
    border-radius: 16px !important;
  }
}

@media (max-width: 575.98px) {
  #team.hero-team {
    padding: 1.6rem 0;
    min-height: 360px;
  }
  #team .hero-title {
    font-size: 2.55rem;
  }
  #team .hero-subtitle {
    font-size: 1.9rem;
    font-weight: 600;
  }
  #team .hero-cta {
    width: 100%;
    gap: 0.5rem;
  }
  #team .hero-cta .phone-input {
    flex: 1 1 auto;
    min-width: 0;
  }
}
/* Mobile: force ticker to behave left-to-right by toggling this class via JS */
#titivar .ticker-inner {
  overflow: hidden;
}
/* If the ticker uses CSS animations, reverse them on mobile */
#titivar.mobile-ltr .ticker-inner,
#titivar.mobile-ltr .ticker-item {
  direction: ltr;
  text-align: left;
  -webkit-animation-direction: reverse !important;
  animation-direction: reverse !important;
}

/* Robust bidi handling: keep ticker RTL and isolate any LTR segments */
#titivar .ticker-inner,
#titivar .ticker-item {
  direction: rtl;
  font-family: iransans, sans-serif;
  unicode-bidi: plaintext; /* each run adopts its own base direction */
  white-space: nowrap; /* avoid wrapping that can mix runs */
}
/* Wrap English/Latin fragments safely */
#titivar .bdi-ltr {
  direction: ltr;
  unicode-bidi: isolate;
}
#ajax-backdrop{position:fixed;inset:0;z-index:20000;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,0.45);}
#ajax-backdrop[aria-hidden="false"]{display:flex;}
.ajax-backdrop-inner{background:#fff;padding:18px 22px;border-radius:12px;display:flex;flex-direction:column;align-items:center;gap:12px;box-shadow:0 12px 36px rgba(74,85,104,0.18);min-width:220px}
.ajax-loader{width:44px;height:44px;border-radius:50%;border:4px solid rgba(0,0,0,0.08);border-top-color:var(--primary-dark);animation:spin 1s linear infinite}
.ajax-loader-text{font-weight:700;color:var(--primary-dark);}
@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}

/* CTA Cost Button Simple */
.cta-cost-button-simple {
    background: linear-gradient(135deg, var(--primary-color) 0%, #689f38 100%);
    color: white;
    border: none;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    padding: 0.8rem 1.5rem;
}

.cta-cost-button-simple:hover {
    background: linear-gradient(135deg, #689f38 0%, var(--primary-color) 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.cta-cost-button-simple i {
    transition: transform 0.3s ease;
}

.cta-cost-button-simple:hover i {
    transform: rotate(-15deg) scale(1.1);
}


    .benefit-card {
        background-color: #fff;
        border-radius: 1rem;
        padding: 2rem;
        text-align: center;
        transition: all 0.3s ease;
        border: 1px solid transparent;
        box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    }
    .benefit-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border-color: var(--primary-color);
    }
    .benefit-icon {
        font-size: 2.75rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
    }
    .benefit-title {
        font-size: 1.2rem;
        font-weight: bold;
        color: var(--primary-dark);
        margin-bottom: 0.75rem;
    }
    .benefit-text {
        font-size: 0.9rem;
        color: #6c757d;
        line-height: 1.7;
    }

   
    /* Why Us Section */
.why-us-item {
    display: flex;
    align-items: flex-start;
    background-color: #ffffff;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.why-us-icon {
    flex-shrink: 0;
    width: 4rem;
    height: 4rem;
    background-color: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-left: 1.5rem;
}

.why-us-title {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.why-us-text {
    color: var(--secondary-gray);
    font-size: 1rem;
    line-height: 1.7;
    font-size: bold;
}

/* Feature Card Styles */
.feature-card {
    background-color: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 5rem;
    height: 5rem;
    margin: 0 auto 1.5rem;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.4);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 2rem;
}

.feature-text {
    color: var(--secondary-gray);
    font-size: 1rem;
    line-height: 1.7;
}

/* Process Timeline Styles */
.process-timeline {
    position: relative;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    right: 2.5rem; /* Adjust for icon size */
    height: 100%;
    width: 4px;
    background-color: var(--primary-light);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    right: 50px;
    top: 30px;
    transform: translateX(50%);
    width: 5rem;
    height: 5rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 4px var(--primary-color);
    z-index: 1;
}

.timeline-content {
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-right: 6rem; /* Space for the icon and line */
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.timeline-title {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: var(--secondary-gray);
    line-height: 1.7;
}

/* Benefit List Styles */
.benefit-list {
    padding-right: 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 1rem;
}

/* Suggested Links */
.suggested-link {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.suggested-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 195, 74, 0.3);
}


/* Responsive adjustments */
@media (max-width: 767.98px) {
    .process-timeline::before {
        right: 1.5rem; /* Smaller offset for mobile */
    }

    .timeline-icon {
        width: 3rem;
        height: 3rem;
        font-size: 1.5rem;
        right: 0;
        transform: translateX(50%);
    }

    .timeline-content {
        margin-right: 2.5rem; /* Adjust space for smaller icon */
        padding: 1rem;
    }
}
         /* Audience & Tools Redesigned Section */
                .audience-tools-section .nav-pills .nav-link {background: #fff; border:1px solid var(--primary-color); color: var(--primary-color); font-weight:600; border-radius: 50rem; padding:.6rem 1.2rem; transition:.3s;}
                .audience-tools-section .nav-pills .nav-link.active {background: var(--primary-color); color:#fff; box-shadow:0 4px 14px -4px rgba(0,0,0,.18);}
                .mini-tile {position:relative; background:#fff; border:1px solid #e4e8ec; border-radius:16px; padding:1.1rem .7rem; text-align:center; display:flex; flex-direction:column; gap:.55rem; justify-content:center; align-items:center; box-shadow:0 4px 10px -6px rgba(0,0,0,.08); transition:.35s; cursor:default; overflow:hidden; min-height:130px;}
                .mini-tile:before {content:""; position:absolute; inset:0; background: radial-gradient(circle at 30% 20%, rgba(0,0,0,.04), transparent 70%); opacity:0; transition:.4s;}
                .mini-tile:hover {transform:translateY(-6px); box-shadow:0 10px 28px -10px rgba(0,0,0,.18);}
                .mini-tile:hover:before {opacity:1;}
                .mini-tile .icon-wrapper {width:48px; height:48px; display:flex; align-items:center; justify-content:center; border-radius:14px; background:linear-gradient(135deg,var(--primary-color), var(--primary-dark)); color:#fff; font-size:1.4rem; box-shadow:0 6px 14px -6px rgba(0,0,0,.35);}
                .mini-tile .tile-label {font-size:.85rem; font-weight:600; line-height:1.4; color:#2d2f31; display:block;}
                @media (max-width: 575.98px){ .mini-tile{min-height:110px; padding:.9rem .5rem;} .mini-tile .icon-wrapper{width:42px;height:42px;font-size:1.15rem;} .mini-tile .tile-label{font-size:.74rem;} }
                .tool-card {position:relative;display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; background:#fff; border-radius:20px; padding:1.4rem 1rem 1.8rem; border:1px solid #e0e5ea; box-shadow:0 6px 18px -8px rgba(0,0,0,.15); transition:.4s; overflow:hidden;}
                .tool-card:after {content:""; position:absolute; inset:0; background:linear-gradient(140deg, rgba(255,255,255,.0) 30%, rgba(255,255,255,.55) 100%); opacity:0; transition:.5s; pointer-events:none;}
                .tool-card:hover {transform:translateY(-8px) scale(1.015); box-shadow:0 18px 36px -14px rgba(0,0,0,.25);} 
                .tool-card:hover:after {opacity:.9;}
                .tool-icon {width:60px; height:60px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; color:#fff; margin-bottom:.9rem; box-shadow:0 8px 18px -10px rgba(0,0,0,.4);}
                .gradient-premiere {background:linear-gradient(135deg,#25005a,#6f2bff);} 
                .gradient-after {background:linear-gradient(135deg,#1c1f4d,#5f89ff);} 
                .gradient-mobile {background:linear-gradient(135deg,#004d3d,#00b894);} 
                .gradient-basic {background:linear-gradient(135deg,#3a3a3a,#8e8e8e);} 
                .tool-title {font-size:1.05rem; font-weight:700; margin:0 0 .35rem; color:#222;}
                .tool-desc {font-size:.78rem; margin:0 0 .65rem; line-height:1.5; color:#555;}
                .tool-badge {display:inline-block; background:var(--primary-color); color:#fff; font-size:.65rem; font-weight:600; letter-spacing:.5px; padding:.35rem .55rem; border-radius:50rem; box-shadow:0 4px 12px -6px rgba(0,0,0,.3);}                
                .stack-chip {background:#f1f5f9; color:#334155; font-size:.7rem; padding:.45rem .75rem; border-radius:40px; border:1px solid #e2e8f0; font-weight:600; display:inline-flex; align-items:center; gap:.25rem; transition:.3s;}
                .stack-chip:hover {background:#fff; box-shadow:0 6px 16px -10px rgba(0,0,0,.22);}
                @media (max-width: 991.98px){ .tool-card {padding:1.2rem .9rem 1.5rem;} .tool-icon{width:54px;height:54px;font-size:1.45rem;} }
                @media (max-width: 575.98px){ .tool-desc {font-size:.72rem;} .tool-title{font-size:.95rem;} }
             /* Pagination Styles */
    .pagination-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .pagination-wrapper .page-numbers {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 50px;
        height: 50px;
        padding: 0 18px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 16px;
        text-decoration: none;
        transition: all 0.3s ease;
        border: 2px solid transparent;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        color: var(--primary-dark);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        cursor: pointer;
    }
    
    .pagination-wrapper .page-numbers:hover {
        background: linear-gradient(135deg, var(--primary-color) 0%, #9dc544 100%);
        color: white;
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 6px 16px rgba(139,195,74,0.4);
        border-color: var(--primary-color);
    }
    
    .pagination-wrapper .page-numbers.current {
        background: linear-gradient(135deg, var(--primary-color) 0%, #9dc544 100%);
        color: white !important;
        box-shadow: 0 4px 12px rgba(139,195,74,0.5);
        border-color: var(--primary-color);
        transform: scale(1.1);
        pointer-events: none;
    }
    
    .pagination-wrapper .disabled {
        background: #e9ecef;
        color: #adb5bd !important;
        cursor: not-allowed;
        box-shadow: none;
        opacity: 0.6;
    }
    
    .pagination-wrapper .disabled:hover {
        transform: none;
        background: #e9ecef;
        box-shadow: none;
    }
    
    /* SVG Arrow Buttons */
    .pagination-wrapper .btn-next,
    .pagination-wrapper .btn-prev {
        width: 50px;
        height: 50px;
        padding: 12px;
        border-radius: 12px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        fill: var(--primary-dark);
    }
    
    .pagination-wrapper .btn-next:hover,
    .pagination-wrapper .btn-prev:hover {
        background: linear-gradient(135deg, var(--primary-color) 0%, #9dc544 100%);
        fill: white;
        transform: translateY(-3px) scale(1.1);
        box-shadow: 0 6px 16px rgba(139,195,74,0.4);
    }
    
    .pagination-wrapper a:has(.btn-next),
    .pagination-wrapper a:has(.btn-prev) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border-radius: 12px;
        transition: all 0.3s ease;
    }
    
    .pagination-wrapper a:has(.btn-next):hover .btn-next,
    .pagination-wrapper a:has(.btn-prev):hover .btn-prev {
        background: linear-gradient(135deg, var(--primary-color) 0%, #9dc544 100%);
        fill: white;
        transform: scale(1.1);
    }
    
    /* Pagination Ellipsis */
    .pagination-wrapper span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 50px;
        font-size: 20px;
        font-weight: bold;
        color: var(--primary-dark);
    }
    
    /* Float Classes */
    .floatLeft {
        margin-right: auto;
    }
    
    .floatRight {
        margin-left: auto;
    }
    
    /* Responsive Pagination */
    @media (max-width: 768px) {
        .pagination-wrapper .page-numbers {
            min-width: 45px;
            height: 45px;
            font-size: 14px;
            padding: 0 14px;
        }
        
        .pagination-wrapper .btn-next,
        .pagination-wrapper .btn-prev {
            width: 45px;
            height: 45px;
            padding: 10px;
        }
        
        .pagination-wrapper {
            gap: 6px;
        }
    }
    
    @media (max-width: 480px) {
        .pagination-wrapper .page-numbers {
            min-width: 40px;
            height: 40px;
            font-size: 13px;
            padding: 0 10px;
        }
        
        .pagination-wrapper .btn-next,
        .pagination-wrapper .btn-prev {
            width: 40px;
            height: 40px;
            padding: 8px;
        }
    }
        .category-item:last-child {
        border-bottom: none !important;
    }
    .category-item:hover .category-title {
        color: var(--primary-color) !important;
    }