/* Centralized CSS for NovusVista */

/* === Source: assets/css/style.css === */
@import url('design-tokens.css');
@import url('global-enterprise.css');

/* Services Dropdown - Simplified to Scroll Link */
.navbar .scrollto.active {
  color: #0867c8 !important;
}



/* Service Tech Cards - Optimized Responsive Foundation (Implementation located in Services Section Refined) */
.tech-card {
  width: 100% !important;
  box-sizing: border-box !important;
}

.glass-service-list li {
  margin-bottom: 8px;
  transform: translateX(-20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.tech-card:hover .glass-service-list li {
  transform: translateX(0);
  opacity: 1;
}

.glass-service-list li:nth-child(1) {
  transition-delay: 0.1s;
}

.glass-service-list li:nth-child(2) {
  transition-delay: 0.15s;
}

.glass-service-list li:nth-child(3) {
  transition-delay: 0.2s;
}

.glass-service-list li:nth-child(4) {
  transition-delay: 0.25s;
}

.glass-service-list li:nth-child(5) {
  transition-delay: 0.3s;
}

.glass-service-list li:nth-child(6) {
  transition-delay: 0.35s;
}

.glass-service-list li:nth-child(7) {
  transition-delay: 0.4s;
}

.glass-service-list li:nth-child(8) {
  transition-delay: 0.45s;
}

.glass-service-list li a {
  color: var(--color-brand-primary) !important;
  font-size: 0.9rem !important;
  font-weight: 500;
  transition: color 0.3s ease;
  display: inline-block;
}

.glass-service-list li a:hover {
  color: #e56203 !important;
  text-decoration: underline !important;
}

.glass-service-list li {
  margin-bottom: 6px;
  transform: translateX(-20px);
  opacity: 0;
  transition: all 0.3s ease;
}

.glass-service-list li a {
  text-decoration: none !important;
}

.glass-service-list a:hover {
  color: var(--color-brand-primary) !important;
  padding-left: 5px;
}

/* Service Modal for Mobile */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-modal.active {
  display: flex;
}

.modal-glass-container {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-modal.active .modal-glass-container {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--color-text-primary);
}

.modal-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-brand-primary);
}

.modal-service-list {
  list-style: none;
  padding: 0;
}

.modal-service-list li {
  margin-bottom: 12px;
}

.modal-service-list a {
  display: block;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  color: var(--color-text-primary) !important;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
}

.modal-service-list a:hover {
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary) !important;
}

/* Image Integrity Fixes */
.portfolio-item img,
.tech-card-icon img,
.member img {
  max-width: 100%;
  height: auto;
  object-fit: contain !important;
  /* Show complete image without cropping */
  transition: transform 0.4s ease;
}

/* Responsiveness Fixes */
@media (max-width: 991px) {

  .portfolio-item img,
  .tech-card-icon img {
    object-fit: contain !important;
    /* Show complete image on smaller screens */
    aspect-ratio: 4/3;
    /* Maintain professional proportions */
    background: rgba(0, 0, 0, 0.02);
  }
}

@media (max-width: 767px) {
  .responsive-title {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }

  .section-padding {
    padding: 60px 0 !important;
  }

  .tech-card {
    margin-bottom: var(--spacing-03);
  }

  /* Disable hover overlay on mobile as we use Modal */
  .tech-card-glass-overlay {
    display: none !important;
  }

  /* Team Section Mobile Fix */
  .member {
    margin-bottom: 30px;
  }

  .member img {
    width: 100% !important;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    object-fit: contain !important;
  }

  /* Portfolio Mobile Alignment */
  .portfolio-carousel .swiper-container {
    padding: 20px 0 50px 0 !important;
  }

  /* Contact Section Fixes */
  .info-boxes {
    margin-bottom: 30px;
  }

  .info-box {
    display: flex !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 20px !important;
    background: #fff !important;
    box-shadow: 0 0 30px rgba(214, 215, 216, 0.4) !important;
    border-radius: 10px !important;
    margin-bottom: 20px !important;
  }

  .info-box i {
    font-size: 24px !important;
    color: var(--color-brand-primary) !important;
    background: var(--color-brand-primary-light) !important;
    padding: 12px !important;
    border-radius: 50% !important;
    margin-right: 20px !important;
    flex-shrink: 0 !important;
  }

  .info-box-content h3 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 0 5px 0 !important;
  }

  .info-box-content p,
  .info-box-content a {
    font-size: 0.9rem !important;
    margin: 0 !important;
    line-height: 1.4 !important;
  }
}

/* Specific iPad (768px) Grid Fix */
@media (min-width: 768px) and (max-width: 991px) {
  .tech-cards-row>.col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding: 10px !important;
  }
}


/* Foldable (Surface Duo) and Short Device Optimizations */
@media (max-height: 750px) {
  .modal-glass-container {
    padding: 20px !important;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal-body h2 {
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
  }

  .modal-service-list a {
    padding: 8px 12px !important;
    font-size: 0.85rem !important;
  }
}

@media (min-width: 1280px) {

  /* Ensure proper scaling on Smart Hubs */
  .portfolio-carousel .swiper-slide {
    transition: transform 0.3s ease;
  }
}

@media (min-width: 992px) {

  /* Ensure the hover overlay only shows on desktop */
  .tech-card-glass-overlay {
    display: flex;
  }
}


/* Each row */
.mega-row {
  display: flex;
  gap: 25px;
  justify-content: space-between;
  width: 100%;
}

/* All rows: 3 equal columns */
.mega-row .mega-column {
  flex: 1;
  min-width: 0;
  max-width: calc(33.333% - 16.67px);
}

.mega-column {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 0 10px;
}

.mega-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 18px;
  color: #111;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
}

.mega-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-column ul li {
  margin-bottom: 0;
}

.mega-column a {
  display: block;
  font-size: 15px;
  color: #555;
  text-decoration: none;
  padding: 8px 0;
  transition: color 0.2s, padding-left 0.2s;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
}

.mega-column a:hover {
  color: #0867c8;
  padding-left: 5px;
}

/* Responsive adjustments */
@media (min-width: 1920px) {
  .mega-menu {
    width: min(1200px, 90vw);
    max-width: 1200px;
    padding: 40px 50px;
  }

  .mega-row {
    gap: 30px;
  }

  .mega-column h4 {
    font-size: 17px;
  }

  .mega-column a {
    font-size: 16px;
  }
}

@media (min-width: 1440px) and (max-width: 1919px) {
  .mega-menu {
    width: min(1100px, 92vw);
    max-width: 1100px;
  }
}

@media (max-width: 1400px) {
  .mega-menu {
    width: min(1000px, 92vw);
    padding: 30px;
  }

  .mega-row {
    gap: 22px;
  }

  .mega-column {
    padding: 0 8px;
  }

  .mega-column h4 {
    font-size: 15px;
  }

  .mega-column a {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .mega-menu {
    width: min(900px, 90vw);
    padding: 25px;
  }

  .mega-row {
    gap: 20px;
  }

  .mega-column {
    padding: 0 6px;
  }

  .mega-column h4 {
    font-size: 16px;
    margin-bottom: 14px;
  }

  .mega-column a {
    font-size: 1rem;
    padding: 6px 0;
  }
}

@media (max-width: 767px) {
  .mega-menu {
    width: min(700px, 88vw);
    padding: 20px;
    gap: 25px;
  }

  .mega-row {
    flex-direction: column;
    gap: 20px;
  }

  .mega-row .mega-column {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .mega-column {
    padding: 0;
  }

  .mega-column h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .mega-column a {
    font-size: 1rem;
    padding: 6px 0;
  }
}

@media (max-width: 480px) {
  .mega-menu {
    width: min(400px, 90vw);
    padding: 20px;
    gap: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    margin: 0;
  }

  .mega-row {
    flex-direction: column;
    gap: 20px;
  }

  .mega-row .mega-column {
    flex: 1 1 auto;
    max-width: 100%;
  }

  .mega-column {
    min-width: auto;
    padding: 0;
  }

  .mega-column h4 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .mega-column a {
    font-size: 1rem;
    padding: 6px 0;
  }
}






/*--------------------------------------------------------------
# Dropdown Styles
--------------------------------------------------------------*/
.navbar .dropdown {
  position: relative;
}

.mega-column {
  min-width: 10vw !important;
  /* Balanced column width */
  max-width: 12vw !important;
  /* Balanced max-width */
  flex: 1 !important;
  /* Equal distribution */
}

.mega-column h4 {
  font-size: 16px !important;
  /* Slightly smaller font */
  margin-bottom: 12px !important;
  /* Better spacing */
  line-height: 1.3 !important;
}

.mega-column a {
  font-size: 11px !important;
  /* Smaller font to fit more content */
  margin-bottom: 6px !important;
  /* Better spacing */
  padding: 2px 0 !important;
  /* Better padding */
  line-height: 1.3 !important;
}

.mega-column li {
  font-size: 11px !important;
  /* Smaller font to fit more content */
  margin-bottom: 6px !important;
  /* Better spacing */
  padding: 2px 0 !important;
  /* Better padding */
  line-height: 1.3 !important;
}

.mega-column li a {
  font-size: 11px !important;
  /* Smaller font to fit more content */
  margin-bottom: 6px !important;
  /* Better spacing */
  padding: 2px 0 !important;
  /* Better padding */
  line-height: 1.3 !important;
}

/* Large screens - ensure 5 columns fit */
@media (min-width: 1200px) and (max-width: 1919px) {
  .mega-menu {
    width: 82vw;
    max-width: 950px;
  }

  .mega-column {
    min-width: 12vw;
    max-width: 14vw;
  }
}

/* Fix for screens <= 425px - prevent left cutoff */
@media (max-width: 425px) {
  .mega-menu {
    left: 0 !important;
    /* Align to left edge to prevent cutoff */
    transform: translateX(0) !important;
    /* Remove any centering that causes cutoff */
    max-width: calc(100vw - 20px) !important;
    /* Ensure it doesn't exceed viewport */
  }
}

/* Specific fix for 1024px screens */
@media (min-width: 1024px) and (max-width: 1199px) {
  .mega-menu {
    width: 70vw !important;
    /* Reduced width for better fit */
    max-width: 850px !important;
    /* Smaller max-width */
    min-width: 1000px !important;
    /* Smaller min-width */
    gap: 0.5vw !important;
    /* Reduced gap */
    padding: 0.8vw 0.6vw !important;
    /* Reduced padding */
    left: 0 !important;
    /* Align to left edge */
    transform: translateX(calc(-55% + clamp(-37.5vw, 0px, 37.5vw))) !important;
    /* Remove centering transform */
    /* Ensure menu stays within viewport */
    /* max-width: calc(100vw - 20px) !important; Leave margin on right */
  }

  .mega-column {
    min-width: 12vw !important;
    /* Smaller column width */
    max-width: 12vw !important;
    /* Smaller max-width */
    flex: 1 !important;
    /* Allow equal distribution */
    /* Prevent overflow and ensure text wrapping */
    overflow: hidden !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    white-space: normal !important;
  }

  .mega-column h4 {
    font-size: 11px !important;
    /* Smaller heading */
    margin-bottom: 8px !important;
    /* Reduced margin */
    line-height: 1.2 !important;
    /* Tighter line height */
  }

  .mega-column ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .mega-column a {
    font-size: 10px !important;
    /* Smaller font */
    margin-bottom: 4px !important;
    /* Reduced margin */
    padding: 1px 0 !important;
    /* Minimal padding */
    line-height: 1.2 !important;
    /* Tighter line height */
    /* Ensure text wraps within column */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mega-column li a {
    font-size: 10px !important;
    /* Smaller font */
    margin-bottom: 4px !important;
    /* Reduced margin */
    padding: 1px 0 !important;
    /* Minimal padding */
    line-height: 1.2 !important;
    /* Tighter line height */
    /* Ensure text wraps within column */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .mega-column li {
    font-size: 10px !important;
    /* Smaller font */
    margin-bottom: 4px !important;
    /* Reduced margin */
    padding: 1px 0 !important;
    /* Minimal padding */
    line-height: 1.2 !important;
    /* Tighter line height */
    /* Ensure text wraps within column */
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    white-space: normal !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
}

/* Medium screens - adjust for better fit */
@media (max-width: 1199px) and (min-width: 992px) {
  .mega-menu {
    width: 75vw;
    max-width: 700px;
  }

  .mega-column {
    min-width: 8vw;
    max-width: 10vw;
  }
}

/* Responsive stacking */
@media (max-width: 991px) {
  .mega-menu {
    flex-direction: column;
    gap: 3vw;
    min-width: auto;
    width: 95vw;
    /* Use almost full viewport width on mobile */
    max-width: none;
    padding: 3vw;
    left: 50%;
    transform: translateX(-50%);
  }

  .mega-column {
    min-width: auto;
    flex: none;
  }

  .mega-column h4 {
    white-space: normal;
    /* Allow wrapping on mobile */
    font-size: 1rem;
    /* Increased font size */
  }

  .mega-column a {
    white-space: normal;
    /* Allow wrapping on mobile */
    font-size: 11px !important;
    /* Increased font size */
  }

  .mega-column li {
    font-size: 11px;
    /* Increased font size */
  }

  .mega-column li a {
    font-size: 11px;
    /* Increased font size */
  }
}

/* Fix mobile menu layout for screens <= 768px */
@media (max-width: 767px) {
  .mega-menu {
    width: 90vw !important;
    /* Increase width to prevent cutoff */
    max-width: none !important;
    /* Remove max-width constraint */
    padding: 2vw 3vw !important;
    /* Increase padding for better spacing */
    left: 0 !important;
    /* Align to left */
    transform: translateX(0) !important;
    /* Remove any transforms */
  }

  .mega-column {
    min-width: auto !important;
    /* Allow flexible width */
    max-width: none !important;
    /* Remove max-width constraint */
    flex: 1 !important;
    /* Equal distribution */
    padding: 0 1vw !important;
    /* Add horizontal padding */
  }

  .mega-column h4 {
    white-space: nowrap !important;
    /* Disable wrapping */
    overflow: visible !important;
    /* Show all text */
    text-overflow: clip !important;
    /* Don't add ellipsis */
    font-size: 12px !important;
    /* Slightly larger font */
    margin-bottom: 8px !important;
    /* Better spacing */
  }

  .mega-column a {
    white-space: nowrap !important;
    /* Disable wrapping */
    overflow: visible !important;
    /* Show all text */
    text-overflow: clip !important;
    /* Don't add ellipsis */
    font-size: 10px !important;
    /* Appropriate font size */
    margin-bottom: 4px !important;
    /* Better spacing */
    padding: 2px 0 !important;
    /* Add padding */
  }

  .mega-column li {
    white-space: nowrap !important;
    /* Disable wrapping */
    overflow: visible !important;
    /* Show all text */
    text-overflow: clip !important;
    /* Don't add ellipsis */
    font-size: 10px !important;
    /* Appropriate font size */
    margin-bottom: 4px !important;
    /* Better spacing */
    padding: 2px 0 !important;
    /* Add padding */
  }

  .mega-column li a {
    white-space: nowrap !important;
    /* Disable wrapping */
    overflow: visible !important;
    /* Show all text */
    text-overflow: clip !important;
    /* Don't add ellipsis */
    font-size: 10px !important;
    /* Appropriate font size */
    margin-bottom: 4px !important;
    /* Better spacing */
    padding: 2px 0 !important;
    /* Add padding */
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  .mega-menu {
    width: 95vw !important;
    /* Use almost full width on very small screens */
    padding: 3vw 2vw !important;
    /* Increase padding */
    max-width: none !important;
    /* Remove max-width constraint */
  }

  .mega-column {
    min-width: auto !important;
    /* Allow flexible width */
    max-width: none !important;
    /* Remove max-width constraint */
    padding: 0 0.5vw !important;
    /* Reduce padding for smaller screens */
  }

  .mega-column h4 {
    font-size: 11px !important;
    /* Smaller font for very small screens */
    margin-bottom: 6px !important;
    /* Reduced margin */
    white-space: nowrap !important;
    /* Disable wrapping */
    overflow: visible !important;
    /* Show all text */
    text-overflow: clip !important;
    /* Don't add ellipsis */
  }

  .mega-column a {
    font-size: 9px !important;
    /* Smaller font for very small screens */
    margin-bottom: 3px !important;
    /* Reduced margin */
    padding: 1px 0 !important;
    /* Reduced padding */
    white-space: nowrap !important;
    /* Disable wrapping */
    overflow: visible !important;
    /* Show all text */
    text-overflow: clip !important;
    /* Don't add ellipsis */
  }

  .mega-column li {
    font-size: 9px !important;
    /* Smaller font for very small screens */
    margin-bottom: 3px !important;
    /* Reduced margin */
    padding: 1px 0 !important;
    /* Reduced padding */
    white-space: nowrap !important;
    /* Disable wrapping */
    overflow: visible !important;
    /* Show all text */
    text-overflow: clip !important;
    /* Don't add ellipsis */
  }

  .mega-column li a {
    font-size: 9px !important;
    /* Smaller font for very small screens */
    margin-bottom: 3px !important;
    /* Reduced margin */
    padding: 1px 0 !important;
    /* Reduced padding */
    white-space: nowrap !important;
    /* Disable wrapping */
    overflow: visible !important;
    /* Show all text */
    text-overflow: clip !important;
    /* Don't add ellipsis */
  }
}


/*--------------------------------------------------------------
# Dropdown Styles
--------------------------------------------------------------*/
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown>a,
.navbar .dropdown>a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: var(--font-expressive);
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  white-space: nowrap;
  transition: 0.3s;
  text-decoration: none;
}

.navbar .dropdown>a i,
.navbar .dropdown>a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
  transition: 0.3s;
}

.navbar .dropdown:hover>a,
.navbar .dropdown .active,
.navbar .dropdown .active:focus,
.navbar .dropdown li:hover>a {
  color: #0867c8;
}

.navbar .dropdown:hover>a i {
  transform: rotate(180deg);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  /* left: 14px; */
  left: 0 !important;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
  border-radius: 4px;
  min-width: 200px;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 16px;
  text-transform: none;
  font-weight: 500;
  color: #2c3e50;
  text-decoration: none;
  display: block;
  transition: 0.3s;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active>a,
.navbar .dropdown ul li:hover>a {
  color: #0867c8;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/* Mobile Navigation Dropdown */
@media (max-width: 991px) {
  .navbar .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    background: #fff;
    box-shadow: none;
    border-radius: 4px;
  }

  .navbar .dropdown>a:after {
    content: "\ea99";
    font-family: "boxicons";
    position: absolute;
    right: 15px;
  }

  .navbar .dropdown>a[aria-expanded="true"]:after {
    content: "\eaa1";
  }

  .navbar .dropdown ul {
    display: block;
    position: static;
    left: 0;
    top: 0;
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: #fff;
    box-shadow: none;
    transition: 0.3s;
    border-radius: 4px;
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    visibility: visible;
  }
}

/*--------------------------------------------------------------
# Service Detail Page Styles
--------------------------------------------------------------*/
.service-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/img/hero-bg.jpg') center/cover;
  min-height: 80vh;
  padding: 120px 0 80px 0;
  display: flex;
  align-items: center;
}

.service-hero .row {
  align-items: center;
}

.service-hero .col-lg-6:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 40px;
}

.service-hero h1 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.service-hero h2 {
  color: var(--color-text-inverse);
  font-size: var(--type-scale-04);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-productive);
  margin-bottom: var(--spacing-03);
  font-family: var(--font-productive);
}

.btn-get-started {
  background: #0867c8;
  color: var(--color-text-inverse);
  padding: var(--spacing-02) var(--spacing-04);
  border-radius: var(--radius-xl);
  text-decoration: none;
  font-weight: var(--font-weight-bold);
  transition: var(--transition-micro);
  display: inline-block;
  border: none;
  min-height: var(--touch-target-min);
  font-family: var(--font-productive);
}

.btn-get-started:hover {
  background: #0578ec;
  color: var(--color-text-inverse);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.service-features {
  padding: 80px 0;
}

.service-features .icon-box {
  background: var(--color-surface-01);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-micro);
  padding: var(--spacing-04) var(--spacing-03);
  text-align: center;
  transition: var(--transition-micro);
  height: 100%;
}

.service-features .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-features .icon-box i {
  margin-bottom: 20px;
}

.service-features .icon-box h3,
.service-features .icon-box h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.service-features .icon-box h3 a,
.service-features .icon-box h4 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-features .icon-box h3 a:hover,
.service-features .icon-box h4 a:hover {
  color: #0867c8;
}

.service-features .icon-box p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

.cta-section {
  background: linear-gradient(135deg, #0a2342 0%, #1d3461 70%, #e67e22 100%);
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(41, 128, 185, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(230, 126, 34, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-section p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-btn {
  background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
  color: white;
  padding: 12px 30px;
  border: 2px solid rgba(230, 126, 34, 0.5);
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.cta-btn:hover {
  background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
  color: white;
  text-decoration: none;
  border-color: rgba(230, 126, 34, 0.8);
  box-shadow: 0 5px 15px rgba(10, 35, 66, 0.3);
  transform: translateY(-2px);
}

/* Tech Stack Styles */
.tech-stack-section {
  background: var(--color-surface-02);
  padding: var(--spacing-08) 0;
}

.tech-stack-section .row {
  align-items: center;
}

.tech-stack-section .col-lg-6 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tech-categories {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-02);
  justify-content: center;
  height: 100%;
  min-height: 300px;
}

.tech-category {
  background: var(--color-error);
  color: var(--color-text-inverse);
  padding: var(--spacing-02) var(--spacing-04);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-micro);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  font-size: var(--type-scale-02);
  font-family: var(--font-productive);
}

.tech-category:hover {
  background: var(--color-error-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tech-category.active {
  background: #2c3e50;
}

.tech-category.active:hover {
  background: #34495e;
}

.tech-items {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.tech-item-group {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-03);
  width: 100%;
}

.tech-item-group.active {
  display: grid;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--spacing-03);
  background: var(--color-background-primary);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-micro);
  transition: var(--transition-micro);
  text-align: center;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tech-logo {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.tech-item span {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
}

/* Tech Stack H3 Styling */
.tech-category h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: white;
}

.tech-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #2c3e50;
}

/* Responsive Tech Stack */
@media (max-width: 767px) {
  .tech-categories {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
  }

  .tech-category {
    flex: 1;
    min-width: 120px;
    padding: 12px 15px;
    font-size: 16px;
  }

  .tech-item-group {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .tech-item {
    padding: 15px;
  }

  .tech-logo {
    font-size: 2rem;
  }

  .tech-item span {
    font-size: 12px;
  }

  .tech-category h3 {
    font-size: 16px;
  }

  .tech-item h3 {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .tech-item-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .tech-item {
    padding: 12px;
  }

  .tech-logo {
    font-size: 1.8rem;
  }

  .tech-category h3 {
    font-size: 12px;
  }

  .tech-item h3 {
    font-size: 11px;
  }
}

/* FAQ Styles */
.faq-section {
  background: #1b1b1b;
  color: white;
  position: relative;
  overflow: hidden;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.faq-section .section-title h2 {
  color: white;
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
  padding: 20px 25px;
  background: white;
  color: #2c3e50;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.4;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question i {
  font-size: 16px;
  color: #0867c8;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: #f8f9fa;
}

.faq-item.active .faq-answer {
  padding: 20px 25px;
  max-height: 200px;
}

.faq-answer p {
  color: #6c757d;
  margin: 0;
  line-height: 1.6;
}

/* Responsive FAQ */
@media (max-width: 767px) {
  .faq-question {
    padding: 15px 20px;
    font-size: 16px;
  }

  .faq-question h3 {
    font-size: 16px;
  }

  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }

  .faq-question i {
    font-size: 16px;
  }
}

/* Footer Styles */
#footer {
  background: #1a1a2e;
  color: white;
  padding: 0;
}

.footer-top {
  padding: 60px 0;
  border-bottom: 1px solid #333;
}

.footer-company-info {
  text-align: left;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.footer-logo-text {
  font-size: 32px;
  font-weight: 700;
  color: white;
  font-family: var(--font-expressive);
}

.footer-main-heading {
  font-size: 42px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
  font-family: var(--font-expressive);
  line-height: 1.1;
}

.footer-sub-heading {
  font-size: 20px;
  font-weight: 400;
  color: white;
  margin-bottom: 0;
  font-family: var(--font-expressive);
}

.footer-contact-form {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 100%;
}

.footer-form-title {
  color: #2c3e50;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
}

.footer-contact-form .form-group {
  margin-bottom: 20px;
}

.footer-contact-form .form-control {
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 100%;
  transition: border-color 0.3s ease;
}

.footer-contact-form .form-control:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.footer-contact-form .form-control::placeholder {
  color: #999;
  font-size: 16px;
}

.footer-contact-form textarea.form-control {
  min-height: 80px;
  resize: vertical;
}

.footer-contact-form .captcha-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-form .captcha-question {
  font-size: 16px;
  color: #666;
  white-space: nowrap;
}

.footer-contact-form .captcha-input {
  width: 60px;
}

.footer-contact-form .submit-btn {
  background: #1a1a2e;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn-align {
  display: flex;
  justify-content: center;
}

.footer-contact-form .submit-btn:hover {
  /* background: #c23321; */
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-get-started:hover {
  background: #0867c8a6;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
  opacity: 0.9;
}


.footer-middle {
  padding: 50px 0;
  border-bottom: 1px solid #333;
}

.footer-column h5 {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 25px;
  font-family: var(--font-expressive);
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 12px;
  font-size: 16px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #0867c8;
}

.footer-column ul li .flag-icon {
  margin-right: 8px;
  font-size: 16px;
}

.footer-column ul li i {
  margin-right: 8px;
  color: #0867c8;
  width: 16px;
}

.footer-bottom {
  padding: 30px 0;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.follow-text {
  color: white;
  font-size: 16px;
  font-weight: 600;
  margin-right: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #333;
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #0867c8;
  transform: translateY(-2px);
}

.footer-legal {
  text-align: right;
}

.copyright {
  margin-bottom: 10px;
}

.copyright span {
  color: #ccc;
  font-size: 16px;
}

.legal-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
}

.legal-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #0867c8;
}

/* Responsive Footer */
@media (max-width: 992px) {
  .footer-main-heading {
    font-size: 32px;
  }

  .footer-sub-heading {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .footer-top {
    padding: 40px 0;
  }

  .footer-middle {
    padding: 40px 0;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .footer-column h5 {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .footer-contact-form {
    padding: 25px 20px;
  }

  .social-links {
    justify-content: center;
    margin-bottom: 20px;
  }

  .footer-legal {
    text-align: center;
  }

  .legal-links {
    justify-content: center;
  }
}
/* Blog Post Styles */
.blog-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('/assets/img/hero-bg.jpg') center/cover no-repeat !important;
  min-height: 460px !important;
  padding: 150px 0 80px 0 !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.blog-hero-title {
  color: #ffffff !important;
  font-size: 48px !important;
  font-weight: 500 !important;
  margin-bottom: 20px !important;
  font-family: "Raleway", sans-serif !important;
  text-align: center !important;
  line-height: 1.2 !important;
  display: block !important;
}

.blog-hero-subtitle {
  color: #ffffff !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  font-family: "Raleway", sans-serif !important;
  text-align: center !important;
  margin: 0 auto !important;
  max-width: 800px !important;
  display: block !important;
}

.text-font {
  color: white;
  font-size: 2.0rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: white;
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-meta span {
  opacity: 0.9;
}

.blog-content {
  background: #f8f9fa;
}

.blog-post-content {
  background: white;
  border-radius: 10px;
  padding: 40px;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); */
  margin-bottom: 30px;
}

.blog-featured-image {
  margin-bottom: 30px;
}

.blog-featured-image img {
  width: 100%;
  border-radius: 8px;
}

.blog-text-content h2 {
  color: #2c3e50;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 30px;
}

.blog-text-content h3 {
  color: #2c3e50;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  margin-top: 25px;
}

.blog-text-content p {
  color: #6c757d;
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 16px;
}

.blog-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.tag-label {
  font-weight: 600;
  color: #2c3e50;
  margin-right: 10px;
}

.blog-tags .tag {
  display: inline-block;
  background: #0867c8;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  text-decoration: none;
  margin-right: 8px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.blog-tags .tag:hover {
  background: #c23321;
  transform: translateY(-2px);
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-widget h4 {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0867c8;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form .form-control {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.search-btn {
  background: #0867c8;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: #c23321;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-list li {
  margin-bottom: 12px;
}

.category-list a {
  color: #6c757d;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.category-list a:hover {
  color: #0867c8;
}

.category-list span {
  background: #0867c8;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.recent-posts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.recent-post-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.recent-post-item img {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  object-fit: cover;
}

.recent-post-content h5 {
  margin: 0 0 5px 0;
  font-size: 16px;
  line-height: 1.4;
}

.recent-post-content h5 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.recent-post-content h5 a:hover {
  color: #0867c8;
}

.recent-post-content .date {
  color: #6c757d;
  font-size: 12px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud .tag {
  background: #f8f9fa;
  color: #6c757d;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  text-decoration: none;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.tag-cloud .tag:hover {
  background: #0867c8;
  color: white;
  border-color: #0867c8;
}

/* Responsive Blog Post */
@media (max-width: 767px) {
  .blog-hero {
    padding: 80px 0 40px 0;
    min-height: 40vh !important;
  }

  .blog-hero-title {
    font-size: 2.5rem !important;
  }

  .blog-meta {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .blog-post-content {
    padding: 25px 20px;
  }

  .blog-text-content h2 {
    font-size: 24px;
  }

  .blog-text-content h3 {
    font-size: 20px;
  }

  .sidebar-widget {
    padding: 20px;
  }

  .recent-post-item {
    flex-direction: column;
    text-align: center;
  }

  .recent-post-item img {
    width: 100%;
    height: 120px;
  }
}

/* Latest Blogs Section Styles */
.latest-blogs-section {
  background: #f8f9fa;
}

.latest-blogs-section .row {
  justify-content: center;
}

.latest-blogs-section .col-lg-4,
.latest-blogs-section .col-md-6 {
  display: flex;
  justify-content: center;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 350px;
  width: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.blog-card:hover .blog-overlay {
  opacity: 1;
}

.blog-meta-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-category {
  background: #0867c8;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.blog-date {
  color: white;
  font-size: 12px;
  font-weight: 500;
}

.blog-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-content h4 {
  margin-bottom: 15px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.blog-content h4 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-content h4 a:hover {
  color: #0867c8;
}

.blog-content p {
  color: #6c757d;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.read-more-btn {
  color: var(--color-brand-secondary, #e03a3c);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  margin-top: auto;
}

.read-more-btn:hover {
  color: #c23321;
  transform: translateX(5px);
}

.read-more-btn i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.read-more-btn:hover i {
  transform: translateX(3px);
}

.btn-view-all {
  background: #0867c8;
  color: white;
  padding: 12px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: #c23321;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(224, 58, 60, 0.3);
  color: white;
}

.btn-view-all i {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.btn-view-all:hover i {
  transform: translateX(3px);
}

/* Responsive Latest Blogs */
@media (max-width: 767px) {
  .blog-image {
    height: 180px;
  }

  .blog-content {
    padding: 20px;
  }

  .blog-content h4 {
    font-size: 16px;
  }

  .blog-content p {
    font-size: 1rem;
  }

  .btn-view-all {
    padding: 10px 25px;
    font-size: 16px;
  }
}

/* Contact Form Styles */

.contact-form-card {
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 0 auto;
  max-width: 360px;
  height: fit-content;
}

.contact-form-card h2,
.contact-form-card h3 {
  color: #2c3e50 !important;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  font-family: var(--font-expressive);
  display: block;
}

.footer-contact-form {
  background: #f8f9fa !important;
  box-shadow: 0 10px 30px 0 rgba(0,0,0,0.1) !important;
  padding: 12px !important;
  border-radius: 10px !important;
}

.footer-contact-form h2 {
  color: #2c3e50 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  margin-bottom: 20px !important;
  text-align: center !important;
  font-family: "Raleway", sans-serif !important;
  display: block !important;
  text-transform: none !important; /* Remove uppercase to match live site */
}

.form-divider {
  width: 40px;
  height: 3px;
  background: #0867c8;
  margin: 0 auto 15px;
  border-radius: 2px;
}

.contact-form .form-group {
  margin-bottom: 12px;
}

/* Compact sidebar form */
.sidebar .contact-form .form-group {
  margin-bottom: 10px !important;
}

.sidebar .contact-form .form-label {
  display: none !important; /* Hide labels in sidebar to save space as placeholders are present */
}

.sidebar .footer-contact-form {
  padding: 20px !important;
}

.contact-form .form-control {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 16px;
  font-family: var(--font-expressive);
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.contact-form .form-control::placeholder {
  color: #999;
  font-size: 16px;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.captcha-group {
  display: flex;
  align-items: center;
  gap: 15px;
}

.captcha-question {
  font-size: 16px;
  color: #2c3e50;
  font-weight: 500;
  white-space: nowrap;
}

.captcha-input {
  width: 80px !important;
  text-align: center;
}

.submit-btn {
  width: 100%;
  background: #1a1a2e;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-expressive);
}

.submit-btn:hover {
  background: #c23321;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}


.submit-btn:active {
  transform: translateY(0);
}

.form-message {
  margin-top: 20px;
}

.form-message .loading,
.form-message .error-message,
.form-message .sent-message {
  display: none;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
}

.form-message .loading {
  background: #e3f2fd;
  color: #1976d2;
}

.form-message .error-message {
  background: #ffebee;
  color: #c62828;
}

.form-message .sent-message {
  color: #fff;
  background: #18d26e;
}

.form-message .loading.d-block,
.form-message .error-message.d-block,
.form-message .sent-message.d-block {
  display: block !important;
}

/* Responsive adjustments for service detail pages */
@media (max-width: 992px) {
  .service-hero {
    min-height: auto;
    padding: 100px 0 60px 0;
  }

  .service-hero h1 {
    font-size: 2.2rem;
  }

  .service-hero h2 {
    font-size: 1rem;
  }

  .contact-form-card {
    margin-top: 30px;
    max-width: 500px;
    padding: 12px;
  }
}

#hero-h2 h2 {
  color: #fff;
  margin: 10px 0 0 0;
  font-size: 24px;
}

@media (max-width: 767px) {
  .service-hero {
    padding: 80px 0 40px 0;
    min-height: auto !important;
  }

  .service-hero h1 {
    font-size: 2rem;
  }

  .service-hero h2 {
    font-size: 1rem;
  }

  .service-features .icon-box {
    padding: 25px 15px;
  }

  .service-features .icon-box h3,
  .service-features .icon-box h4 {
    font-size: 16px;
  }

  .cta-section h3 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .contact-form-card {
    padding: 15px 18px;
    max-width: 100%;
  }

  .contact-form-card h2,
  .contact-form-card h3 {
    font-size: 16px;
  }

  .captcha-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .captcha-input {
    width: 100px !important;
  }
}

@media (max-width: 576px) {
  .service-hero h1 {
    font-size: 2rem;
  }

  .service-hero h2 {
    font-size: 1rem;
  }

  .service-features .icon-box {
    padding: 20px 15px;
  }

  .cta-section {
    padding: 40px 0;
  }

  .contact-form-card {
    padding: 12px 15px;
  }

  .contact-form-card h2,
  .contact-form-card h3 {
    font-size: 20px;
  }

  .contact-form .form-control {
    padding: 12px 15px;
    font-size: 16px;
  }

  .submit-btn {
    padding: 12px 25px;
    font-size: 16px;
  }
}

/* Additional mobile optimizations for hero section */
@media (max-width: 767px) {
  .service-hero {
    min-height: auto !important;
    padding: 80px 0 40px 0;
  }

  .service-hero .row {
    flex-direction: column;
  }

  .service-hero .col-lg-6:first-child {
    padding-top: 0;
    margin-bottom: 30px;
    order: 1;
  }

  .service-hero .col-lg-6:last-child {
    order: 2;
  }
}

@media (max-width: 576px) {
  .service-hero {
    padding: 40px 0 20px 0;
    min-height: auto !important;
  }

  .service-hero .col-lg-6:first-child {
    padding-top: 30px;
  }

  .service-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
  }

  .service-hero h2 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    line-height: 1.4;
  }

  .service-hero .btn-get-started {
    padding: 8px 20px;
    font-size: 16px;
    margin-top: 20px;
  }

  .contact-form-card {
    padding: 15px 8px;
    margin-top: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-card h2,
  .contact-form-card h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .form-divider {
    width: 40px;
    height: 2px;
    margin-bottom: 12px;
  }

  .contact-form .form-group {
    margin-bottom: 12px;
  }

  .contact-form .form-control {
    padding: 8px 10px;
    font-size: 1rem;
  }

  .contact-form textarea.form-control {
    min-height: 70px;
  }

  .captcha-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .captcha-question {
    font-size: 1rem;
  }

  .captcha-input {
    width: 70px !important;
  }

  .submit-btn {
    padding: 8px 16px;
    font-size: 1rem;
  }
}

/* Extra small screens - ensure content is visible */
@media (max-width: 480px) {
  .service-hero {
    padding: 20px 0 15px 0;
    min-height: auto !important;
  }

  .service-hero .col-lg-6:first-child {
    padding-top: 25px;
  }

  .service-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }

  .service-hero h2 {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .service-hero .btn-get-started {
    padding: 6px 16px;
    font-size: 1rem;
    margin-top: 15px;
  }

  .contact-form-card {
    padding: 12px 6px;
    margin-top: 0;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-card h2,
  .contact-form-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
  }

  .form-divider {
    width: 30px;
    height: 2px;
    margin-bottom: 10px;
  }

  .contact-form .form-group {
    margin-bottom: 10px;
  }

  .contact-form .form-control {
    padding: 6px 8px;
    font-size: 12px;
  }

  .contact-form textarea.form-control {
    min-height: 60px;
  }

  .captcha-group {
    gap: 4px;
  }

  .captcha-question {
    font-size: 12px;
  }

  .captcha-input {
    width: 60px !important;
  }

  .submit-btn {
    padding: 6px 12px;
    font-size: 12px;
  }

  /* Fix reCAPTCHA overflow on mobile - Homepage contact form */
  .contact-form-card .g-recaptcha {
    transform: scale(0.75);
    transform-origin: left center;
    margin: 8px 0;
  }

  .contact-form-card .form-group:has(.g-recaptcha) {
    overflow: visible;
    padding: 0;
  }
}

/* Tablet fix for reCAPTCHA - iPad Mini and similar */
@media (max-width: 767px) {
  .contact-form-card .g-recaptcha {
    transform: scale(0.85);
    transform-origin: left center;
    margin: 10px 0;
  }

  .contact-form-card .form-group:has(.g-recaptcha) {
    overflow: visible;
    padding: 0;
  }

  /* Specific fix for homepage contact form - narrower container */
  #homepage-contact-form .g-recaptcha {
    transform: scale(0.80) !important;
    transform-origin: center center;
    margin: 8px auto;
    display: block;
    width: fit-content;
  }

  #homepage-contact-form .form-group:has(.g-recaptcha) {
    overflow: visible !important;
    max-width: 100% !important;
    padding: 0 !important;
    /* display: flex; */
    justify-content: center;
  }
}

/* Additional mobile fix for reCAPTCHA at 425px */
@media (max-width: 425px) {
  .contact-form-card .g-recaptcha {
    transform: scale(0.72);
    transform-origin: left center;
    margin: 6px 0 6px -8px;
  }

  .contact-form-card .form-group {
    overflow: visible;
  }

  /* Homepage form specific fix */
  #homepage-contact-form .g-recaptcha {
    transform: scale(0.73) !important;
    transform-origin: center center;
    margin: 6px auto;
  }
}

/* Extra small screens - reCAPTCHA fix */
@media (max-width: 375px) {
  .contact-form-card .g-recaptcha {
    transform: scale(0.65);
    transform-origin: left center;
    margin: 4px 0 4px -12px;
  }

  /* Homepage form specific fix */
  #homepage-contact-form .g-recaptcha {
    transform: scale(0.67) !important;
    transform-origin: center center;
    margin: 4px auto;
  }
}

@media (max-width: 320px) {
  .contact-form-card .g-recaptcha {
    transform: scale(0.58);
    transform-origin: left center;
    margin: 2px 0 2px -16px;
  }

  /* Homepage form specific fix */
  #homepage-contact-form .g-recaptcha {
    transform: scale(0.61) !important;
    transform-origin: center center;
    margin: 2px auto;
  }
}

/*--------------------------------------------------------------
# Blog Styles
--------------------------------------------------------------*/
.blog-post {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.blog-post-img {
  overflow: hidden;
  height: 250px;
}

.blog-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-post:hover .blog-post-img img {
  transform: scale(1.05);
}

.blog-post-content {
  padding: 25px;
}

.blog-post-meta {
  margin-bottom: 15px;
  font-size: 16px;
  color: #6c757d;
}

.blog-post-meta span {
  margin-right: 20px;
}

.blog-post-meta i {
  margin-right: 5px;
  color: #0867c8;
}

.blog-post-content h3 {
  font-family: "Raleway", sans-serif !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  margin-bottom: 15px !important;
  line-height: 1.4 !important;
}

.blog-post-content h3 a {
  color: rgb(68, 68, 68) !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.blog-post-content h3 a:hover {
  color: #0867c8 !important;
}

.blog-post-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more {
  color: #e03a3c !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: color 0.3s ease !important;
}

.read-more:hover {
  color: #c23321;
}

.read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Sidebar Styles */
.sidebar {
  padding-left: 30px;
}

.sidebar-item {
  background: #fff;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #0867c8;
}

/* Search Form */
.search-form form {
  position: relative;
}

.search-form input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.search-form button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: #0867c8;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.search-form button:hover {
  background: #c23321;
}

/* Categories */
.categories ul {
  list-style: none;
  padding: 0;
}

.categories li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.categories li:last-child {
  border-bottom: none;
}

.categories a {
  color: #6c757d;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.categories a:hover {
  color: #0867c8;
}

.categories span {
  float: right;
  background: #0867c8;
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
}

/* Recent Posts */
.post-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.post-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.post-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 5px;
  margin-right: 15px;
}

.post-item h4 {
  font-size: 16px;
  margin-bottom: 5px;
  line-height: 1.4;
}

.post-item h4 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.post-item h4 a:hover {
  color: #0867c8;
}

.post-item time {
  font-size: 12px;
  color: #6c757d;
}

/* Tags */
.tags ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags li a {
  background: #f8f9fa;
  color: #6c757d;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tags li a:hover {
  background: #0867c8;
  color: #fff;
}

/* Blog Pagination */
.blog-pagination {
  margin-top: 50px;
}

.blog-pagination .pagination {
  border-radius: 5px;
  overflow: hidden;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-pagination .page-link {
  color: #6c757d;
  border: 1px solid #dee2e6;
  padding: 12px 16px;
  transition: all 0.3s ease;
}

.blog-pagination .page-link:hover {
  color: #0867c8;
  background-color: #f8f9fa;
  border-color: #0867c8;
}

.blog-pagination .page-item.active .page-link {
  background-color: #0867c8;
  border-color: #0867c8;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 767px) {
  .sidebar {
    padding-left: 0;
    margin-top: 50px;
  }

  .blog-post-content {
    padding: 20px;
  }

  .blog-post-content h3 {
    font-size: 1.25rem;
  }
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-expressive);
  color: #444444;
}

a {
  color: #0867c8;
  text-decoration: none;
}

a:hover {
  color: #e76668;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-expressive);
}

#hero-h2 .home-page-text {
  color: #fff;
  /* font-size: 24px; */
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #0867c8a6;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #0867c8a6;
  color: #fff;
  opacity: 0.9;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: #fff;
  transition: all 0.5s;
  z-index: 1400;
  padding: 8px 0;
  /* Tightened from 10px for even better slimness */
}

#header.header-scrolled {
  padding: 12px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  font-weight: 600;
  font-family: var(--font-expressive);
}

#header .logo h1 {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: var(--font-expressive);
}

#header .logo a {
  color: var(--color-brand-primary);
  text-decoration: none;
}

#header .logo a span {
  color: var(--color-brand-secondary, #e03a3c);
}

#header .logo img {
  max-height: 40px;
}

/*--------------------------------------------------------------
# Get Startet Button
--------------------------------------------------------------*/
.get-started-btn {
  margin-left: 30px;
  background: #0867c8a6;
  color: #fff;
  border-radius: 4px;
  padding: 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 16px;
  font-weight: 600;
  display: inline-block;
}

.get-started-btn:hover {
  background: #0867c8a6;
  color: #fff;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .get-started-btn {
    margin: 0 15px 0 0;
    padding: 6px 18px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: var(--font-expressive);
  font-size: 15px;
  font-weight: 600;
  color: #111111;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: #0867c8;
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 16px;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  color: #0867c8;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #111111;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
  color: #111111;
  margin-top: 15px;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.9); */
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 86px;
  right: 0px;
  bottom: auto;
  /* left: 43px; */
  padding: 10px 0 50px 0;
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 12px 12px;
  max-height: calc(100vh - 82px);
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: var(--color-brand-primary);
  font-weight: 600;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #0867c8;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  color: #0867c8;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 100vh;
  background: url("../img/hero-bg2.jpeg") top center no-repeat;
  background-size: cover;
  position: relative;
  padding-top: 150px;
  padding-bottom: 60px;
  /* fixed — not affected by section spacing token */
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  position: relative;
  z-index: 2;
}

#hero h2 {
  color: #fff;
  margin: 10px 0 0 0;
  font-size: 24px;
  position: relative;
  z-index: 2;
}

#hero .btn-get-started {
  font-family: var(--font-expressive);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 30px;
  border-radius: 17px;
  transition: 0.3s;
  margin-top: 30px;
  background: #0867c8a6;
  color: #fff;
  border: none;
  position: relative;
  z-index: 2;
}

#hero .btn-get-started:hover {
  background: #0578ece3;
  color: #fff;
  transform: translateY(-2px);
}

#hero .container {
  position: relative;
  z-index: 2;
  padding-left: 20px;
  padding-right: 20px;
}

#hero h1 {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 991px) {
  #hero {
    background-size: 100% auto !important;
    background-position: top center !important;
    background-color: transparent !important;
  }
}

@media (max-width: 767px) {
  #hero {
    text-align: center;
    padding-top: 100px;
    /* Reduced from 120px */
    padding-bottom: 40px;
    min-height: auto;
    overflow: visible !important;
  }

  #hero .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
  }

  h1, .h1, section h1, #hero h1 {
    font-size: clamp(1.4rem, 5vw, 2.05rem) !important;
    font-weight: 400 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    /* Force wrap */
    word-break: break-word !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #hero h2 {
    font-size: var(--type-fluid-h3) !important;
    line-height: 1.5 !important;
    margin-top: 10px !important;
  }
}

@media (max-height: 500px) {
  #hero {
    min-height: 120vh;
  }
}

@media (max-width: 576px) {
  #hero {
    padding-top: 80px;
    padding-bottom: 30px;
    min-height: auto;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow-x: hidden;
  overflow-y: visible;
  position: relative;
}

.section-title {
  text-align: center;
  padding-bottom: 0px;
  margin-top: 6px;
  position: relative;
}

.section-title h2 {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: var(--spacing-03) !important;
  padding-bottom: 20px !important;
  position: relative;
  color: var(--color-brand-primary);
  text-align: center;
}

#portfolio .section-title h2 {
  color: #ffffff !important;
}

.section-title .portfolio {
  margin-top: -52px;
}

.section-title h2::after,
.section-title h1::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px !important;
  height: 3px !important;
  background: #0867c8 !important;
  bottom: 0;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.section-title .underline {
  display: none;
}

.section-title p {
  margin-bottom: 22px;
}

.section-bg {
  padding: 0;
  color: #fff;
}

.section-bg:before {
  content: "";
  background: #1b1b1b;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  /* transform: skewY(-3deg); */
}

/*--------------------------------------------------------------
# Client Success Stories Section
--------------------------------------------------------------*/
.client-success-section {
  background: #f8f9fa;
  padding: 80px 0;
}

.success-story-item h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
}

.success-story-item p {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.device-mockups {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-mockup {
  position: absolute;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.device-mockup:hover {
  transform: scale(1.05);
}

.device-mockup.laptop {
  width: 300px;
  height: 200px;
  background: #2c3e50;
  z-index: 3;
  transform: rotate(5deg);
}

.device-mockup.tablet {
  width: 200px;
  height: 280px;
  background: #34495e;
  z-index: 2;
  transform: rotate(-5deg) translateX(-50px);
}

.device-mockup.mobile {
  width: 120px;
  height: 200px;
  background: #2c3e50;
  z-index: 1;
  transform: rotate(3deg) translateX(-100px);
}

.device-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-list {
  padding-left: 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 30px 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  margin-bottom: 20px;
  flex-shrink: 0;
}

.feature-icon i {
  font-size: 40px;
  color: #0867c8;
  margin-bottom: 20px;
}

.feature-content h3,
.feature-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #0867c8;
}

.feature-content h3 a,
.feature-content h4 a {
  color: #2c3e50;
  text-decoration: none;
  transition: color 0.3s ease;
}

.feature-content h3 a:hover,
.feature-content h4 a:hover {
  color: #0867c8;
}

.feature-content p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Responsive Design for Client Success Stories */
@media (max-width: 767px) {
  .success-story-item h3 {
    font-size: 20px;
  }

  .success-story-item p {
    font-size: 16px;
  }

  .device-mockups {
    height: 300px;
    margin-bottom: 30px;
  }

  .device-mockup.laptop {
    width: 250px;
    height: 160px;
  }

  .device-mockup.tablet {
    width: 160px;
    height: 220px;
  }

  .device-mockup.mobile {
    width: 100px;
    height: 160px;
  }

  .feature-list {
    padding-left: 0;
  }

  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  .feature-icon {
    margin-bottom: 15px;
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: var(--color-surface-02);
  min-height: 40px;
  margin-top: 82px;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border-subtle);
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 500;
}

.breadcrumbs.product-name h2 {
  text-align: center;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 16px;
}

.breadcrumbs ol a {
  color: var(--color-brand-primary);
  font-weight: 500;
}

.breadcrumbs ol a:hover {
  color: var(--color-brand-accent);
  transition: 0.3s;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #0867c8;
  content: "/";
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #0867c8;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #0867c8;
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  opacity: 1;
  filter: none;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.divider {
  height: 20px;
}

.about .img-fluid {
  height: 80%;
}

.about .icon-box {
  padding: 15px;
  border-radius: 12px;
  background: var(--color-surface-02);
  transition: 0.3s;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border: 1px solid var(--color-border-subtle);
}

.about .icon-box i {
  color: #0867c8;
  font-size: 24px;
  flex-shrink: 0;
  background: var(--color-brand-primary-light);
  padding: 10px;
  border-radius: 8px;
}

.about .icon-box h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 1.1rem;
  color: var(--color-brand-primary);
  text-align: left !important;
}

.about .icon-box p {
  margin: 0;
  font-size: 0.95rem;
  text-align: left;
  line-height: 1.6;
}

.about .row {
  align-items: stretch;
}

.about .content {
  padding: 15px 30px 0px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  /* padding: 30px; */
}

.custom-gap {
  margin-top: -35px;
  /* Adjust the value as needed */
}

@media (width: 1280px) {
  .custom-gap {
    margin-top: 10px;
  }
}

/* Mobile responsive fix for About section - Vision, Mission, Commitment boxes */
@media (max-width: 767px) {
  .about .custom-gap {
    margin-top: 30px !important;
    /* Add space between image and icon boxes on mobile */
  }

  .about .icon-box {
    margin-bottom: 25px;
    /* Add spacing between boxes */
  }

  .about .icon-box i {
    font-size: 28px;
    /* Slightly smaller icon on mobile */
  }

  .about .icon-box h4 {
    font-size: 16px;
    /* Adjust heading size */
    margin-left: 60px;
    /* Adjust for smaller icon */
  }

  .about .icon-box p {
    margin-left: 60px;
    /* Adjust for smaller icon */
    font-size: 16px;
    /* Slightly smaller text */
  }
}

.about .content h3,
.about .content h2 {
  font-weight: 700;
  font-size: var(--type-fluid-h2);
  margin-bottom: 40px;
  position: relative;
  font-family: var(--font-expressive);
  color: var(--color-brand-primary);
}

.about .content p {
  margin-bottom: 20px;
  line-height: var(--line-height-productive);
  font-size: var(--type-fluid-body);
}

@media (max-width: 767px) {
  .about .content {
    text-align: center;
  }

  .about .content h3,
  .about .content h2,
  .about .content p {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.about .content .about-btn {
  padding: 8px 30px 9px 30px;
  color: #0867c8a6;
  border-radius: 50px;
  transition: 0.3s;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  border: 2px solid #0867c8a6;
}

.about .content .about-btn i {
  font-size: 16px;
  padding-left: 5px;
}

.about .content .about-btn:hover {
  background: #0867c8a6;
  color: #fff;
}

.about .icon-boxes .icon-box {
  margin-top: 30px;
}

.about .icon-boxes .icon-box i {
  font-size: 40px;
  color: #0867c8a6;
  margin-bottom: 10px;
}

.about .icon-boxes .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.about .icon-boxes .icon-box p {
  font-size: 15px;
  color: #848484;
}

@media (max-width: 1200px) {
  .about .content {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  .about {
    text-align: center;
  }

  .about .content {
    padding: 25px 20px;
    height: auto;
    justify-content: flex-start;
    margin-bottom: 20px;
  }

  .about .content h3::after,
  .about .content h2::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .about .row {
    align-items: flex-start;
  }
}

/*--------------------------------------------------------------
# Core Technology Expertise Section
--------------------------------------------------------------*/
.core-tech-section {
  padding: 0;
  background: #fff;
}

.core-tech-section .section-title {
  text-align: center;
  margin-bottom: var(--spacing-03);
}

/* --- Services Section Refined --- */
.tech-cards-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  /* CRITICAL: Ensures all cards in a row have equal height */
  margin: 0 -15px !important;
}

.tech-cards-row>div {
  display: flex !important;
  align-items: stretch !important;
  padding: 0 15px !important;
  margin-bottom: var(--spacing-04) !important;
}

/* Support for Link-wrapped cards */
.tech-cards-row>div>a {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  text-decoration: none !important;
  color: inherit !important;
}

.tech-card {
  background: #ffffff !important;
  border: 1px solid var(--color-border-medium, #e0e0e0) !important;
  border-radius: var(--radius-xl, 16px) !important;
  padding: 30px !important;
  height: 100% !important;
  width: 100% !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  box-shadow: 0 10px 30px rgba(25, 32, 97, 0.05) !important;
  display: block !important;
  text-align: left !important;
}

.tech-card:hover {
  transform: translateY(-8px) !important;
  box-shadow: 0 20px 40px rgba(25, 32, 97, 0.12) !important;
  border-color: var(--color-brand-accent) !important;
}

.tech-card-icon {
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(180deg, var(--color-brand-primary) 0%, #0867c8 100%);
  border-radius: var(--radius-lg);
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  float: left !important;
  margin-right: 20px !important;
  margin-bottom: 15px !important;
}

.tech-card-icon i {
  font-size: 20px !important; /* Match About cards icon size */
  color: #ffffff !important; /* White icon for gradient background */
  line-height: 1 !important;
  transition: transform 0.3s ease !important;
}

.tech-card:hover .tech-card-icon i {
  transform: scale(1.1);
}

.tech-card-content {
  display: block !important;
}

.tech-card-content h3 {
  font-size: 1.1rem !important; /* Match About card title size */
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.3 !important;
  font-family: var(--font-heading) !important;
  transition: color 0.3s ease !important;
}

.tech-card:hover .tech-card-content h3 {
  color: var(--color-brand-accent) !important;
}

.tech-card-content p {
  font-size: 0.95rem !important;
  color: var(--color-text-secondary, #666666) !important;
  line-height: 1.6 !important;
  margin: 0 !important;
}

/* Responsive Scaling for Grid */
@media (max-width: 991px) {
  .tech-cards-row>div {
    margin-bottom: var(--spacing-03);
  }
}

@media (max-width: 576px) {
  .tech-card {
    padding: 1.5rem !important;
  }
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
  padding-top: 80px;
}

.counts .count-box {
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
}

.counts .count-box i {
  position: absolute;
  width: 54px;
  height: 54px;
  top: -27px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: #fff;
  color: #0867c8;
  border-radius: 50px;
  border: 2px solid #fff;
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.counts .count-box span {
  font-size: 36px;
  display: block;
  font-weight: 700;
  color: #111111;
}

.counts .count-box p {
  padding: 0;
  margin: 0;
  font-family: var(--font-expressive);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Tabs
--------------------------------------------------------------*/
.tabs .nav-tabs {
  border: 0;
}

.tabs .nav-link {
  border: 1px solid #b9b9b9;
  padding: 15px;
  transition: 0.3s;
  color: #111111;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.tabs .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.tabs .nav-link h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.tabs .nav-link:hover {
  color: #0867c8;
}

.tabs .nav-link.active {
  background: #0867c8;
  color: #fff;
  border-color: #0867c8;
}

@media (max-width: 767px) {
  .tabs .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .tabs .nav-link {
    padding: 15px;
  }

  .tabs .nav-link i {
    font-size: 24px;
  }
}

.tabs .tab-content {
  margin-top: 30px;
}

.tabs .tab-pane h3 {
  font-weight: 600;
  font-size: 26px;
}

.tabs .tab-pane ul {
  list-style: none;
  padding: 0;
}

.tabs .tab-pane ul li {
  padding-bottom: 10px;
}

.tabs .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #0867c8;
}

.tabs .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  margin-bottom: 20px;
  padding: 30px;
  border-radius: 6px;
  background: #252525;
  transition: 0.3s;
  position: relative;
}

.services .icon-box:hover {
  background: #2b2b2b;
}

.services .icon-box i {
  float: left;
  color: #0867c8a6;
  font-size: 40px;
  line-height: 0;
}

.services .icon-box h3,
.services .icon-box h4 {
  margin-left: 70px;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 16px;
}

.services .icon-box h3 a,
.services .icon-box h4 a {
  color: #0867c8a6;
  transition: 0.3s;
}

.services .icon-box h3 a:hover,
.services .icon-box h4 a:hover {
  text-decoration: underline;
  color: #0867c8a6;
}

.services .icon-box .icon-box:hover h3 a,
.services .icon-box .icon-box:hover h4 a {
  color: #0867c8a6;
}

.services .icon-box p {
  margin-left: 70px;
  line-height: 24px;
  font-size: 16px;
  text-align: justify;
  color: white;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.isotope-container-c {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

@media (max-width: 992px) {
  .isotope-container {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 576px) {
  .isotope-container {
    grid-template-columns: 1fr;
  }
}

.portfolio-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 10px;
  /* After changes  */
  width: 100%;
  max-width: 100%;
  margin: 10px;
  flex: 1 0 20%;
}

.card-style {
  background-color: #fff;
  /* Card background */
  border-radius: 10px;
  /* Smooth corners for the card */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Light shadow for card effect */
  transition: transform 0.3s, box-shadow 0.3s;
  /* Smooth transitions */
  overflow: hidden;
}

.card-style:hover {
  transform: translateY(-10px);
  /* Card hover effect */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  /* Stronger shadow on hover */
}

@media (max-width: 992px) {
  .portfolio-item {
    padding: 10px;
  }

  .card-style {
    border-radius: 8px;
  }
}

@media (max-width: 576px) {
  .portfolio-item {
    padding: 5px;
    width: 100%;
  }

  .card-style {
    border-radius: 6px;
  }
}

@media (min-width: 577px) and (max-width: 767px) {
  .portfolio-item {
    width: 50%;
  }
}

/* For large screens, show 3 items */
@media (min-width: 769px) and (max-width: 1200px) {
  .portfolio-item {
    width: 33.33%;
  }
}

/* For extra-large screens, show 4 items */
@media (min-width: 1201px) {
  .portfolio-item {
    width: 25%;
  }
}

.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 16px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
  text-align: center;
  flex: 1;
  border-radius: 15px 15px 15px 15px;
  background-color: #FAF9F6;
}

.portfolio .portfolio-content img {
  width: 100%;
  height: 300px;
  object-fit: fill;
  /* border-radius: 10px 10px 0 0; */
  /* display: block; */
  /* transition: none;  */
}

.portfolio-info {
  text-align: left;

  position: static;
  opacity: 1;
  background: none;
  word-break: break-word;
  max-width: 150px;
  /* padding: 15px 0px 7px 10px;
  transition: none;
  overflow: hidden;
  text-overflow: ellipsis; */
}

.portfolio-info h4 {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.portfolio-info p {
  font-size: 16px;
  color: #f9f6f6;
  text-align: center;
  margin-top: 5px;
}

.portfolio-content .portfolio-info h4,
.portfolio-content .portfolio-info p {
  margin: 0;
  padding: 0 5px;
  color: #faf9f9;
  /* Adjust text color */
}

.portfolio-content:hover img {
  transform: none;
}

.portfolio-content:hover .portfolio-info {
  opacity: 1;
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

.portfolio-details .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 16px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px;
  margin: 30px 15px;
  min-height: 200px;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  background: #fff;
  border-radius: 15px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  float: left;
  margin: 0 10px 0 0;
}

.testimonials .testimonial-item h3 {
  font-size: 16px;
  font-weight: bold;
  margin: 25px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 16px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #fceaea;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 30px auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #0867c8;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #0867c8;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .box {
  padding: 20px;
  background: #2b2b2b;
  text-align: center;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.pricing .box h3 {
  font-weight: 400;
  padding: 15px;
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 600;
}

.pricing .box h4 {
  font-size: 42px;
  font-weight: 500;
  font-family: var(--font-expressive);
  margin-bottom: 20px;
}

.pricing .box h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .box h4 span {
  font-size: 16px;
  font-weight: 300;
}

.pricing .box ul {
  padding: 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 16px;
}

.pricing .box ul li {
  padding-bottom: 16px;
}

.pricing .box ul i {
  color: #0867c8;
  font-size: 16px;
  padding-right: 4px;
}

.pricing .box ul .na {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

.pricing .box .btn-wrap {
  padding: 15px;
  text-align: center;
}

.pricing .box .btn-buy {
  display: inline-block;
  padding: 10px 40px 12px 40px;
  border-radius: 4px;
  color: #fff;
  transition: none;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--font-expressive);
  font-weight: 600;
  transition: 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.pricing .box .btn-buy:hover {
  border-color: #fff;
}

.pricing .featured {
  background: #0867c8;
}

/*--------------------------------------------------------------
# Frequently Asked Questions
--------------------------------------------------------------*/
.faq .faq-list {
  padding: 0;
  list-style: none;
}

.faq .faq-list li {
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.faq .faq-list a {
  display: block;
  position: relative;

  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  padding-right: 25px;
  cursor: pointer;
}

.faq .faq-list i {
  font-size: 24px;
  position: absolute;
  right: 0;
  top: 0;
}

.faq .faq-list p {
  margin-bottom: 0;
  padding: 10px 0 0 0;
}

.faq .faq-list .icon-show {
  display: none;
}

.faq .faq-list a.collapsed {
  color: #343a40;
}

.faq .faq-list a.collapsed:hover {
  color: #0867c8;
}

.faq .faq-list a.collapsed .icon-show {
  display: inline-block;
}

.faq .faq-list a.collapsed .icon-close {
  display: none;
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
  background: #fff;
  position: relative;
}


.team .member img {
  width: 100%;
  height: 300px;
  /* object-fit: cover; */
  border-radius: 5px;
}

@media screen and (max-width: 1023px) {
  .team .member img {
    object-fit: contain;
  }
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  top: 300px;
  /* Half inside image (300px height) and half outside */
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

@media screen and (max-width: 390px) {

  .team .member img {
    padding-left: 10px;
  }

  .member-padding-top img {
    padding-left: 30px !important;
  }

  .team .member .social {
    padding-left: 25px
  }

  .member-info-content {
    padding-left: 25px
  }
}


@media screen and (min-width: 391px) and (max-width: 430px) {

  .team .member img {
    padding-left: 30px;
  }

  .member-padding-top img {
    padding-left: 50px !important;
  }

  .team .member .social {
    padding-left: 45px
  }

  .member-info-content {
    padding-left: 45px
  }
}

@media screen and (min-width: 500px) and (max-width: 560px) {

  .team .member img {
    padding-left: 85px;
  }

  .member-padding-top img {
    padding-left: 100px !important;
  }

  .team .member .social {
    padding-left: 95px
  }

  .member-info-content {
    padding-left: 95px
  }
}

.team .member .social a {
  transition: color 0.3s;
  color: #111111;
  margin: 0 3px;
  border-radius: 50px;
  width: 36px;
  height: 36px;
  background: #0a66c2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: ease-in-out 0.3s;
  color: #fff;
}

.team .member .social a:hover {
  background: #111111;
}

.team .member .social i {
  font-size: 16px;
  line-height: 0;
}

.team .member .member-info {
  padding: 40px 15px 25px;
  /* Increased top padding to separate name from LinkedIn icon */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 16px;
  color: var(--color-brand-primary) !important;
  order: 1 !important;
}

.team .member .member-info span {
  display: block;
  font-size: 1rem;
  font-weight: 400;
  color: #000000;
  order: 2 !important;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 16px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
  bottom: 80px;
}

.member-info-content {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}


.member-info-content h4,
.member-info-content span {
  display: block;
  /* Ensure each element is block-level */
  margin: 0;
  /* Remove any default margin */
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

.contact-section {
  background: #f8f9fa;
}

.contact .info-box {
  color: #444444;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 20px 30px;
  background: #f8f9fa;
  border-radius: 8px;
  height: auto;
  min-height: 146px;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  margin-bottom: 20px;
  gap: 20px;
}

.contact .info-boxes {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.info-box .bx-map {
  margin-left: 0;
}

.equal-height {
  height: 100%;
  /* Ensures equal height for all boxes */
}

@media (min-width: 992px) {
  .info-box {
    height: 200px;
    /* Set a consistent height for large screens */
  }
}

.contact .info-box i {
  font-size: 32px;
  color: #0867c8a6;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #0867c8a6;
  flex-shrink: 0;
  margin-top: 0px;
  margin-left: 0;
  margin-right: 0;
}

.contact .info-box-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}


.contact .contact-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  border-radius: 5px;
}

.contact .contact-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .contact-form .error-message br+br {
  margin-top: 25px;
}

.contact .contact-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .contact-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .contact-form .form-group {
  margin-bottom: 25px;
}

.contact .contact-form input,
.contact .contact-form textarea {
  box-shadow: none;
  font-size: 16px;
  border-radius: 20px;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
  border-color: transparent;
}

.contact .contact-form input {
  padding: 10px 15px;
}

.contact .contact-form textarea {
  padding: 12px 15px;
}

.contact .contact-form button[type=submit] {
  background: #0867c8a6;
  border: 0;
  padding: 10px 32px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .contact-form button[type=submit]:hover {
  background: #0578ece3;
}

/* Premium Captcha & Submit Row - Consolidated & Responsive */
.homepage-captcha-submit-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 15px !important;
  width: 100% !important;
  margin-top: 25px !important;
  justify-content: flex-start !important;
  overflow: visible !important;
  flex-wrap: wrap !important; /* Allow wrapping for narrow sidebars */
}

/* Force stack in sidebar specifically */
.sidebar .homepage-captcha-submit-wrapper {
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px !important;
}

.sidebar .homepage-captcha-submit-wrapper .g-recaptcha {
  margin: 0 auto !important;
  transform-origin: center !important;
}

.sidebar .homepage-captcha-submit-wrapper .submit-btn {
  width: 100% !important;
}

.homepage-captcha-submit-wrapper .g-recaptcha {
  flex: 0 0 auto !important;
  width: 260px !important;
  /* Visual width after scale(0.85) to eliminate ghost space */
  height: 66px !important;
  /* Visual height after scale(0.85) */
  display: flex !important;
  justify-content: flex-start !important;
  /* Override global centering */
  align-items: center !important;
  overflow: visible !important;
  transform: scale(0.85) !important;
  transform-origin: left center !important;
}

.homepage-captcha-submit-wrapper .submit-btn {
  flex: 0 0 auto !important;
  padding: 13px 32px !important;
  margin: 0 !important;
  border-radius: 20px !important; /* Matched to live site */
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  text-transform: none !important;
  /* Match hero style */
  letter-spacing: 0.02em !important;
  background: #0867c8 !important;
  color: white !important;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
  border: none !important;
  font-size: 1rem !important;
  cursor: pointer !important;
  box-shadow: 0 4px 20px rgba(8, 103, 200, 0.45) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
}

.homepage-captcha-submit-wrapper .submit-btn:hover {
  background: #0578ec !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(8, 103, 200, 0.55) !important;
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 991px) {
  .homepage-captcha-submit-wrapper {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .homepage-captcha-submit-wrapper .g-recaptcha {
    margin: 0 auto !important;
    transform-origin: center !important;
    justify-content: center !important;
  }

  .homepage-captcha-submit-wrapper .submit-btn {
    width: 100% !important;
    max-width: 304px !important;
    /* Match Captcha width for symmetry */
    margin-top: 10px !important;
  }
}

/* Specific Mobile Scale-down */
@media (max-width: 480px) {
  .homepage-captcha-submit-wrapper .g-recaptcha {
    transform: scale(0.85);
    margin-bottom: 5px !important;
  }

  .homepage-captcha-submit-wrapper .submit-btn {
    max-width: 260px !important;
    /* Match scaled captcha */
  }
}

@media (max-width: 360px) {
  .homepage-captcha-submit-wrapper .g-recaptcha {
    transform: scale(0.75);
  }

  .homepage-captcha-submit-wrapper .submit-btn {
    max-width: 230px !important;
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog {
  padding: 40px 0 20px 0;
}

.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .entry .entry-img {
  max-height: 440px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .entry .entry-title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
  color: #111111;
  transition: 0.3s;
}

.blog .entry .entry-title a:hover {
  color: #0867c8;
}

.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: #777777;
}

.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .entry .entry-meta ul li+li {
  padding-left: 20px;
}

.blog .entry .entry-meta i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
}

.blog .entry .entry-meta a {
  color: #777777;
  font-size: 16px;
  display: inline-block;
  line-height: 1;
}

.blog .entry .entry-content p {
  line-height: 24px;
}

.blog .entry .entry-content .read-more {
  -moz-text-align-last: right;
  text-align-last: right;
}

.blog .entry .entry-content .read-more a {
  display: inline-block;
  background: #0867c8;
  color: #fff;
  padding: 6px 20px;
  transition: 0.3s;
  font-size: 16px;
  border-radius: 4px;
}

.blog .entry .entry-content .read-more a:hover {
  background: #e35052;
}

.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .entry .entry-content blockquote {
  overflow: hidden;
  background-color: #fafafa;
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .entry .entry-content blockquote p {
  color: #444444;
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .entry .entry-content blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #111111;
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid #e6e6e6;
}

.blog .entry .entry-footer i {
  color: #5e5e5e;
  display: inline;
}

.blog .entry .entry-footer a {
  color: #1e1e1e;
  transition: 0.3s;
}

.blog .entry .entry-footer a:hover {
  color: #0867c8;
}

.blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 16px;
}

.blog .entry .entry-footer .cats li {
  display: inline-block;
}

.blog .entry .entry-footer .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 16px;
}

.blog .entry .entry-footer .tags li {
  display: inline-block;
}

.blog .entry .entry-footer .tags li+li::before {
  padding-right: 6px;
  color: #6c757d;
  content: ",";
}

.blog .entry .entry-footer .share {
  font-size: 16px;
}

.blog .entry .entry-footer .share i {
  padding-left: 5px;
}

.blog .entry-single {
  margin-bottom: 30px;
}

.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-author img {
  width: 120px;
  margin-right: 20px;
}

.blog .blog-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: #111111;
}

.blog .blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .blog-author .social-links a {
  color: rgba(17, 17, 17, 0.5);
  margin-right: 5px;
}

.blog .blog-author p {
  font-style: italic;
  color: #b7b7b7;
}

.blog .blog-comments {
  margin-bottom: 30px;
}

.blog .blog-comments .comments-count {
  font-weight: bold;
}

.blog .blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog .blog-comments .comment .comment-img img {
  width: 60px;
}

.blog .blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .blog-comments .comment h5 a {
  font-weight: bold;
  color: #444444;
  transition: 0.3s;
}

.blog .blog-comments .comment h5 a:hover {
  color: #0867c8;
}

.blog .blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: #111111;
}

.blog .blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .blog-comments .comment time {
  display: block;
  font-size: 16px;
  color: #2b2b2b;
  margin-bottom: 5px;
}

.blog .blog-comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .blog-comments .reply-form p {
  font-size: 16px;
}

.blog .blog-comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 16px;
}

.blog .blog-comments .reply-form input:focus {
  box-shadow: none;
  border-color: transparent;
}

.blog .blog-comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 16px;
}

.blog .blog-comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: transparent;
}

.blog .blog-comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .blog-comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: #111111;
}

.blog .blog-comments .reply-form .btn-primary:hover {
  background-color: #1e1e1e;
}

.blog .blog-pagination {
  color: #444444;
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog .blog-pagination li a {
  color: #111111;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: #0867c8;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: #fff;
}

.blog .sidebar {
  padding: 0px;
  /* margin: 0 0 60px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); */
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0 0 0 0;
  margin: 0 0 15px 0;
  color: #111111;
  position: relative;
}

.blog .sidebar .sidebar-item {
  margin-bottom: 30px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid #ddd;
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: #0867c8;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: #e34c4d;
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li+li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: #111111;
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: #0867c8;
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: #aaaaaa;
  font-size: 16px;
}

.blog .sidebar .recent-posts .post-item+.post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  width: 80px;
  float: left;
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: #111111;
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: #0867c8;
}

.blog .sidebar .recent-posts time {
  display: block;
  margin-left: 95px;
  font-style: italic;
  font-size: 16px;
  color: #aaaaaa;
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: #515151;
  font-size: 16px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid #c4c4c4;
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: #fff;
  border: 1px solid #0867c8;
  background: #0867c8;
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: #aaaaaa;
  font-size: 16px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #fff;
  font-size: 16px;
  background: #111111;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #1b1b1b;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact h3 span {
  color: #0867c8;
}

#footer .footer-top .footer-contact p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-expressive);
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 20px;
  height: 2px;
  background: #0867c8;
  bottom: 0;
  left: 0;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: white;
  font-size: 16px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #aaaaaa;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #fff;
}

#footer .footer-newsletter {
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 5px 10px;
  position: relative;
  border-radius: 4px;
  text-align: left;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #0867c8;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: #e35052;
}

#footer .credits {
  padding-top: 5px;
  font-size: 1rem;
}

#footer .social-links a {
  font-size: 16px;
  display: inline-block;
  background: #2b2b2b;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: #0867c8;
  color: #fff;
  text-decoration: none;
}

.logo_name {
  margin-left: 5px !important;
  margin-top: 10px !important;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto !important;
}

.portfolio-carousel img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.portfolio-content.card-style {
  padding: 0;
  box-shadow: none;
  background: none;
}

.swiper-wrapper {
  height: auto;
  display: flex;
  justify-content: space-between;
}

.swiper-pagination {
  position: relative;
  margin-top: 0px;
  text-align: center;
  padding-bottom: 42px;

}

swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  top: 5px;
}

.swiper-pagination-bullet {
  background: #b3b3b3;
  /* Light gray for normal bullets */
  opacity: 0.8;
}

.swiper-pagination-bullet-active {
  background: #0867c8a6;
  /* Blue for active bullet */
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
  /* White color for navigation buttons */
  opacity: 0.8;
  transition: color 0.3s, opacity 0.3s;
  top: 55%;
  transform: translateY(-50%);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #ffcc00;
  /* Bright yellow on hover */
  opacity: 1;
}

/* Make navigation buttons responsive */

@media (min-width: 344px) and (max-width: 539px) {

  .swiper-button-next,
  .swiper-button-prev {
    top: 53%;
  }
}

@media (min-width: 768px) and (max-width: 767px) {

  .swiper-button-next,
  .swiper-button-prev {
    top: 55%;
  }
}

@media (min-width: 769px) and (max-width: 820px) {

  .swiper-button-next,
  .swiper-button-prev {
    font-size: 20px;
    top: 55%;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {

  .swiper-button-next,
  .swiper-button-prev {
    font-size: 25px;
  }
}

@media (min-width: 1024px) {

  .swiper-button-next,
  .swiper-button-prev {
    font-size: 30px;
  }
}


.portfolio-carousel .swiper-container {
  padding: 20px 0;
}

.portfolio-carousel-container {
  max-width: 100%;
  margin: 0 auto;
  /* Center the carousel */
}

.portfolio-carousel .swiper-slide {
  flex-shrink: 0;
  width: 200px !important;
}

@media (min-width: 540px) and (max-width: 540px) {

  .swiper-slide {
    width: 540px !important;
  }

  .portfolio-carousel .swiper-slide {
    width: 540px !important;

  }
}

@media (min-width: 768px) and (max-width: 820px) {

  .swiper-slide {
    width: 330px !important;
  }

  .portfolio-carousel .swiper-slide {
    width: 330px !important;

  }
}


@media (min-width: 821px) and (max-width: 912px) {

  .swiper-slide {
    width: 340px !important;
  }

  .portfolio-carousel .swiper-slide {
    width: 340px !important;

  }
}

@media (min-width: 913px) and (max-width: 1024px) {

  .swiper-slide {
    width: 300px !important;
  }

  .portfolio-carousel .swiper-slide {
    width: 300px !important;

  }
}

@media (min-width: 1025px) and (max-width: 1280px) {

  .swiper-slide {
    width: 355px !important;
  }

  .portfolio-carousel .swiper-slide {
    width: 355px !important;

  }
}

.carousel-item-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  /* align-items: flex-start; */

  justify-content: center;
  align-items: center;
  text-align: center;
}

.carousel-item-left {
  flex: 1;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  /* Center align the image and text */
}

.carousel-logo {
  max-width: 150px;
  height: 150px;

  height: auto;
  width: 100px;
  max-width: 100%;
  /* margin-bottom: 10px; */
}

.carousel-description {

  font-size: 16px;

  margin-top: 10px;
  color: #fff;

  text-align: center;
  max-width: 100%;
  word-wrap: break-word;
}

.carousel-item-right {
  flex: 1;
  text-align: left;
  font-size: 16px;
  color: #fff;
  overflow: hidden;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
}

.product-details {
  /* line-height: 1.5; */
  padding: 5px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 30px;
}

/* Hover effect */
.swiper-button-next:hover:after,
.swiper-button-prev:hover:after {
  color: #ffcc00;
  /* Bright yellow on hover */
  opacity: 1;
}

/* Make :after elements responsive */
@media (max-width: 480px) {

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 16px;
  }
}

@media (min-width: 481px) and (max-width: 767px) {

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 22px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 25px;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 30px;
  }
}

@media (min-width: 1281px) and (max-width: 1440px) {

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 35px;
  }
}

@media (min-width: 1441px) {

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 40px;
  }
}


.member-padding-top img {
  padding-top: 20px;
}

.expertise-section.services .icon-box {
  /*
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
*/

  height: 100%;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #ddd;
}

.expertise-section.services .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.icon-box-link {
  text-decoration: none;
  color: inherit;
  width: 100%;
  /* Ensures uniform column width */
}

.icon-box-link:hover {
  text-decoration: none;
  color: inherit;
}

.expertise-section.services .icon-box h3,
.services .icon-box h4 {
  text-align: left;
  margin-top: 5px;
  font-weight: 700;
  font-size: 1.2rem;
}

.row.gy-4>[class*="col-"] {
  display: flex;
  /* Makes all columns in the row flex items */
  align-items: stretch;
  /* Ensures all cards have equal height */
}

.why-choose-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  object-position: center;
}


#why-choose {
  /* background-color: #f8f9fa;  Black background */
  color: #fff;
  /* White text for visibility */
  padding: 50px 0;
  /* Ensure adequate padding */
}

#why-choose h2 {
  color: #010101;
  /* White heading color */
}

#why-choose p {
  color: #0f0f0f;
  /* Light gray for paragraph text */
}

#why-choose ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#why-choose ul li {
  color: #0f0f0f;
  /* White list text */
  margin-bottom: 10px;
  display: flex;
  /* Aligns the text and icon horizontally */
  align-items: center;
  /* Vertically centers the content */
  gap: 10px;
  /* Adds space between the icon and text */
}

#why-choose ul li i {
  color: #4caf50;
  /* Green color for icons */
}

#why-choose img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.ai-sol-bg {
  background-color: #f8f9fa;
}

.process-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  margin-right: 10px;
}


.process-step {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  text-align: center;
  background-color: var(--primary-color);
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50%;
  margin-bottom: 15px;
}

.process-section .icon-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.process-section .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.process-number {
  font-size: 1.5rem;
  font-weight: bold;
}

.process-section .icon-box h3,
.process-section .icon-box h4 {
  font-size: 1.25rem;
  margin-top: 15px;
  color: var(--text-color);
}

.process-section .icon-box p {
  font-size: 1rem;
  color: var(--text-color);
}


.process-section .indicator {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: var(--primary-color);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.process-section .indicator i {
  font-size: 2rem;
  color: var(--primary-color);
}

.process-section .row {
  position: relative;
}

.icon-box {
  position: relative;
  z-index: 2;
}


.process-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.process-icon {
  font-size: 2.5rem;
  color: #4285F4;
  margin-bottom: 20px;
}

.process-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.process-card p {
  font-size: 0.9rem;
  color: #6c757d;
}

/* Adjust hero section for smaller screens */
.hero-section {
  padding: 60px 20px;
  text-align: center;
}

@media (max-width: 767px) {
  .process-card {
    text-align: center;
  }

  .process-card h3 {
    font-size: 1rem;
  }

  .process-card p {
    font-size: 0.9rem;
  }
}

/* Adjust general spacing for smaller devices */
.section-title h2 {
  font-size: 1.5rem;
}

.ai-col-padding {
  padding: 7px;
}

/* Industry Services Carousel Styles */
.industry-services-section {
  background-color: #f8f9fa;
  overflow-x: hidden;
}

.industry-carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.industry-carousel-wrapper {
  overflow: hidden;
  border-radius: 15px;
}

.industry-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.industry-slide {
  display: flex;
  flex: 0 0 100%;
  gap: 20px;
  padding: 0 10px;
  box-sizing: border-box;
  min-width: 100%;
}

.industry-card {
  flex: 0 0 calc(33.333% - 14px);
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  min-width: calc(33.333% - 14px);
  /* Ensures cards maintain their width when transformed */
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 20px;
  margin-top: 30px;
  box-sizing: border-box;
  /* Ensure padding is included in width calculation */
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.industry-card.empty-card {
  background: transparent;
  box-shadow: none;
}

.industry-card.empty-card:hover {
  transform: none;
  box-shadow: none;
}

.industry-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-image img {
  transform: scale(1.05);
}

.industry-content {
  padding: 25px;
}

.industry-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.3;
}

.industry-content p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #2c3e50;
  transition: all 0.3s ease;
  z-index: 1000;
}

.carousel-btn:hover {
  background: #4285F4;
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: block;
  margin: 0;
  z-index: 100;
}

.carousel-dots {
  display: none;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: #0867c8;
}

.carousel-dots .dot:hover {
  background: #0867c8;
  transform: scale(1.2);
}

#client-success .carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #4285F4;
  transform: scale(1.2);
}

.dot:hover {
  background: #4285F4;
  opacity: 0.7;
}

/* Responsive Design for Industry Carousel */
@media (max-width: 992px) {
  .industry-carousel-container {
    padding: 0 15px;
    overflow: hidden;
  }

  .industry-slide {
    gap: 15px;
    padding: 0;
  }

  .industry-card {
    flex: 0 0 calc(50% - 7.5px);
    min-width: calc(50% - 7.5px);
    max-width: calc(50% - 7.5px);
  }

  .carousel-btn {
    width: 40px;
    height: 45px;
    font-size: 1rem;
  }
}

@media (max-width: 767px) {

  /* Ensure mobile scrolling works */
  body,
  html {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    max-height: none !important;
  }

  .industry-services-section {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
    position: relative !important;
  }

  .industry-carousel-container {
    padding: 0 15px;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  .industry-carousel-wrapper {
    margin: 0;
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
  }

  .industry-carousel {
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    gap: 20px;
    overflow: visible !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
    height: auto !important;
    max-height: none !important;
  }

  .industry-slide {
    display: contents;
    gap: 0;
    padding: 0;
    min-width: 100%;
  }

  .industry-card {
    flex: 0 0 auto;
    min-width: calc(100% - 20px);
    max-width: calc(100% - 20px);
    margin: 0 auto 15px auto;
    position: relative;
    overflow: visible !important;
    touch-action: pan-y !important;
  }

  .industry-content {
    padding: 20px;
  }

  .industry-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .industry-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .carousel-controls {
    display: none;
  }

  .carousel-dots {
    display: none;
  }

  /* Section title mobile improvements */
  .section-title {
    padding: 0 15px;
  }

  .section-title h2 {
    font-size: 1.4rem !important;
    margin-bottom: 0px !important;
  }

  .section-title p {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }
}

@media (max-width: 480px) {
  .industry-services-section {
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  .industry-carousel-container {
    padding: 0 10px;
    overflow-x: hidden !important;
    overflow-y: visible !important;
  }

  .industry-carousel-wrapper {
    overflow: visible !important;
  }

  .industry-carousel {
    overflow: visible !important;
    touch-action: pan-y !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .industry-slide {
    gap: 0;
    padding: 0;
    min-width: 100%;
  }

  .industry-card {
    flex: 0 0 100%;
    min-width: calc(100% - 10px);
    max-width: calc(100% - 10px);
    margin: 0 auto 15px auto;
  }

  .industry-content {
    padding: 15px;
  }

  .industry-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .industry-content p {
    font-size: 1rem;
  }

  .carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  /* Touch-friendly improvements */
  .industry-carousel {
    touch-action: pan-x;
  }

  .carousel-btn {
    opacity: 0.8;
  }

  .carousel-dots {
    margin-top: 20px;
  }

  /* Section improvements for very small screens */
  .section-title {
    padding: 0 10px;
  }

  .section-title h2 {
    font-size: 1.2rem !important;
    margin-bottom: 10px !important;
  }

  .section-title p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .carousel-dots .dot {
    width: 8px;
    height: 8px;
    margin: 0 4px;
  }
}

@media (max-width: 380px) {
  .industry-carousel-container {
    padding: 0 5px;
  }

  .industry-card {
    min-width: calc(100% - 5px);
    max-width: calc(100% - 5px);
  }

  .industry-content {
    padding: 12px;
  }

  .industry-content h3 {
    font-size: 1rem;
  }

  .industry-content p {
    font-size: 1rem;
  }

  .section-title {
    padding: 0 5px;
  }

  .section-title h2 {
    font-size: 1rem !important;
  }

  .section-title p {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .success-story-section-wrapper {
    flex-direction: column;
    gap: 15px;
  }

  .carousel-btn {
    display: none;
  }
}

/* Success Stories Carousel Styles */
.success-story-section-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px;
}

.success-story-carousel-container {
  position: relative;
  width: 100%;
}

.success-story-carousel-wrapper {
  overflow: hidden;
  border-radius: 15px;
}

.success-story-carousel {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.success-story-card {
  flex: 0 0 100%;
  background: white;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.success-story-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.success-story-content {
  padding: 40px;
}

.success-story-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.3;
}

.success-story-content>p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 1rem;
  margin-bottom: 30px;
}

.success-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.success-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border-radius: 15px;
  min-height: 280px;
  justify-content: flex-start;
  gap: 15px;
}

.success-feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(33, 150, 243, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.success-feature-content h3,
.success-feature-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
}

.success-feature-content p {
  color: #6c757d;
  line-height: 1.5;
  font-size: 0.9rem;
  margin: 0;
  flex-grow: 1;
}

/* Responsive Design for Success Stories Carousel */
@media (max-width: 992px) {
  .success-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .success-feature {
    min-height: 200px;
    padding: 25px 15px;
  }

  .success-story-content {
    padding: 30px;
  }

  .success-story-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .success-story-section-wrapper {
    padding: 0 20px;
  }

  .success-story-content {
    padding: 25px;
  }

  .success-story-content h3 {
    font-size: 1.2rem;
  }

  .success-feature {
    min-height: 180px;
    padding: 20px 15px;
  }

  .success-feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .carousel-btn {
    display: none;
    /* Hide buttons on small screens */
  }
}

.margin-contact {
  margin-top: 60px;
  font-size: 1.5rem;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 50px;
  padding-bottom: 20px;
  position: relative;
}

/*--------------------------------------------------------------
# Blog Scroll Fix
--------------------------------------------------------------*/
#blog {
  overflow: hidden;
}

#blog .container,
#blog-content,
#blog-content .container,
#blog-content .container>.row {
  overflow: visible !important;
  max-height: none !important;
}

#blog .sidebar {
  max-height: none;
  overflow: visible;
}

#blog .col-lg-8,
#blog-content .col-lg-8,
#blog-content .col-lg-8>*,
.blog .col-lg-8,
.blog .col-lg-8>* {
  max-height: none !important;
  overflow: visible !important;
}

#blog-content .row,
.blog .row {
  max-height: none !important;
  overflow: visible !important;
}

#blog .footer-contact-form {
  position: sticky;
  top: 20px;
}

@media (max-width: 991px) {
  #blog .sidebar {
    margin-top: 40px;
  }
}

/*--------------------------------------------------------------
# Thank You Page
--------------------------------------------------------------*/
.thank-you-section {
  min-height: 100vh;
  padding: 100px 0;
  background: black;
}

.thank-you-card {
  background: #fff;
  border-radius: 20px;
  padding: 12px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
  margin-bottom: 0px;
}

.info-box .bx-envelope {
  margin-left: 0;
}

/* @media (max-width: 1440px) {
  .info-box .bx-envelope{
    margin-left: 153px;
  }
  .contact .info-box{
    padding: 12px 142px 31px 27px;
  }
  .info-box .bx-map {
    margin-left: 153px;
}
} */


.thank-you-icon i {
  font-size: 40px;
  color: #18d26e;
  animation: scaleIn 0.5s ease-in-out;
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thank-you-card h1 {
  font-size: 32px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 4px;
  line-height: 1.3;
}

.thank-you-message {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 40px;
  line-height: 1.6;
}

.thank-you-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* .btn-danger{
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
} */

.thank-you-actions .btn-danger,
.thank-you-actions .btn-secondary {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.thank-you-actions .btn-danger {
  background: #0867c8;
  color: #fff;
  border: 2px solid #0867c8;
}

.thank-you-actions .btn-danger:hover {
  background: transparent;
  color: #0867c8;
}

.thank-you-actions .btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.thank-you-actions .btn-secondary:hover {
  background: #667eea;
  color: #fff;
}

/* Responsive */
@media (max-width: 767px) {
  .thank-you-section {
    padding: 60px 0;
  }

  .thank-you-card {
    padding: 13px 25px;
    margin-top: 46px;
  }

  .thank-you-card h1 {
    font-size: 24px;
  }

  .thank-you-message {
    font-size: 16px;
  }

  .thank-you-icon i {
    font-size: 60px;
  }

  .thank-you-actions {
    flex-direction: column;
    gap: 15px;
  }

  .thank-you-actions .btn-danger,
  .thank-you-actions .btn-secondary {
    width: 100%;
    text-align: center;
  }
}



.footer-text {
  margin: 0;
  font-size: 16px;
  text-align: left;
}

@media (max-width: 767px) {
  .footer-text {
    margin: 0;
    font-size: 16px;
    text-align: center;
  }
}

/* ============================================
   MODERN UI COMPONENTS - Refactored from Inline
   ============================================ */

.section-alternate {
  background: var(--color-surface-02);
  /* padding is controlled by .section-padding class - do NOT set padding here */
}

.content-container-fluid {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-03);
  /* horizontal only — vertical spacing handled by section */
}

.flex-content-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--spacing-06);
  margin-bottom: var(--spacing-03);
  flex-wrap: wrap;
}

@media (max-width: 991px) {
  .flex-content-row {
    flex-direction: column;
    gap: var(--spacing-04);
  }
}

.flex-column-half {
  flex: 1;
  width: 100%;
  /* Ensure it takes full width when stacked */
}

.hero-display-title {
  font-size: var(--type-fluid-hero);
  font-weight: var(--font-weight-bold);
  color: var(--color-brand-primary);
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-03);
  font-family: var(--font-expressive);
}

.modern-text-block {
  color: var(--color-text-primary);
  font-size: var(--type-scale-02);
  line-height: var(--line-height-relaxed);
  font-family: var(--font-productive);
}

.info-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-03);
}

@media (max-width: 767px) {
  .info-card-grid {
    grid-template-columns: 1fr;
  }
}

.modern-info-card {
  background: var(--color-background-primary);
  border-radius: var(--radius-xl);
  padding: 30px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-micro);
  transition: transform var(--transition-base) ease;
  display: block !important;
  text-align: left !important;
  height: 100%;
}

.modern-info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.card-icon-gradient {
  width: 50px !important;
  height: 50px !important;
  background: linear-gradient(180deg, var(--color-brand-primary) 0%, #0867c8 100%);
  border-radius: var(--radius-lg);
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-shrink: 0 !important;
  color: #ffffff;
  font-size: 20px;
  float: left !important;
  margin-right: 20px !important;
  margin-bottom: 15px !important;
}

.card-content-wrapper {
  display: block !important;
}

@media (max-width: 767px) {
  .card-icon-gradient {
    width: 48px;
    height: 48px;
    font-size: 18px;
    margin-right: 15px !important;
  }
}

.modern-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  background: var(--color-background-primary);
}

.modern-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  display: block;
}

@media (max-width: 992px) {
  .modern-image-wrapper {
    margin-top: var(--spacing-04);
    aspect-ratio: 16/9;
    /* Wider on tablets */
  }
}

.modern-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.card-title {
  font-size: 1.125rem !important;
  /* 18px */
  font-weight: 700 !important;
  color: #444444 !important;
  margin: 0 !important;
  padding-top: 10px;
  font-family: var(--font-expressive);
}

.card-text {
  clear: left !important;
  display: block;
  color: var(--color-text-primary);
  line-height: var(--line-height-relaxed);
  margin: 0 !important;
  font-family: var(--font-productive);
}

.card-icon-gradient i {
  font-size: 20px;
  color: white;
}

.modern-text-block p {
  margin-bottom: var(--spacing-03);
}

.modern-text-block p:last-child {
  margin-bottom: 0;
}

/* ============================================
   SECTION CORRECTION LAYER - Global Normalization
   Forces consistent typography and spacing
   ============================================ */



/* 1. Global Section Headings */
section .section-title h2,
#portfolio .section-title h2,
#about .section-title h2,
#services .section-title h2 {
  font-weight: 700 !important;
  text-transform: uppercase !important;
  margin-bottom: clamp(1rem, 2vw, 1.5rem) !important;
  padding-bottom: 15px !important;
  position: relative !important;
  text-align: center !important;
  display: block !important;
}

#about .section-title {
  margin-bottom: clamp(2rem, 5vw, 4rem) !important;
}

/* 2. White headings for dark sections */
#portfolio .section-title h2,
.section-bg .section-title h2 {
  color: #ffffff !important;
}

/* 3. Standardized Underlines */
section .section-title h2::after,
#portfolio .section-title h2::after,
#about .section-title h2::after,
#services .section-title h2::after {
  content: "" !important;
  position: absolute !important;
  display: block !important;
  width: 60px !important;
  height: 3px !important;
  background: #0867c8 !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* 4. Normalized Section Spacing - Unified Source of Truth */
/* Spacing - Fluid Vertical Rhythm */
:root {
  --section-padding-desktop: clamp(4rem, 8vw, 6rem);
  --section-padding-mobile: clamp(2rem, 5vw, 3rem);
  --section-gap: clamp(2.5rem, 6vw, 5rem);

  /* Typography - Fluid Legibility (Min 16px) */
  --font-size-base: clamp(1rem, 0.4vw + 0.85rem, 1.125rem);
  --font-size-h1: clamp(2.2rem, 5vw, 3.5rem);
  --font-size-h2: clamp(1.8rem, 4vw, 2.5rem);
  --font-size-h3: clamp(1.3rem, 3vw, 1.75rem);
  --font-size-h4: clamp(1.1rem, 2vw, 1.25rem);
  --font-size-p: clamp(0.9375rem, 1.5vw, 1.05rem);
  --grid-gap-lg: var(--spacing-04);
}

section.section-padding,
#about.section-padding,
#portfolio.section-padding,
#team.section-padding,
#contact.section-padding {
  padding-top: var(--section-padding-desktop) !important;
  padding-bottom: var(--section-padding-desktop) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#portfolio.section-padding {
  padding-bottom: 1rem !important;
  /* Reduced bottom area by ~90% */
}

/* Reduced gap specifically for services as per requirement */
#services.section-padding {
  padding-top: clamp(1rem, 2vw, 2rem) !important;
  padding-bottom: var(--section-padding-desktop) !important;
}

/* #about.section-padding inheritance maintained via global section-padding rules */

/* Special Case for Hero: Preserve top padding for header clearance, standardize bottom padding for gap consistency */
#hero.section-padding {
  padding-top: 150px !important;
  /* Fixed clearance for navbar */
  padding-bottom: var(--section-padding-desktop) !important;
}

/* 5. Mobile Adjustments for Corrected Layer */
@media (max-width: 767px) {

  section.section-padding,
  #about.section-padding,
  #portfolio.section-padding,
  #team.section-padding,
  #contact.section-padding {
    padding-top: var(--section-padding-mobile) !important;
    padding-bottom: var(--section-padding-mobile) !important;
  }

  #services.section-padding {
    padding-top: clamp(1rem, 2vw, 2rem) !important;
    padding-bottom: var(--section-padding-mobile) !important;
  }

  /* Retain mobile-specific header clearance for Hero */
  #hero.section-padding {
    padding-top: 80px !important;
    padding-bottom: 20px !important;
  }
}

/* ============================================
   Final Consistency Layer - Moved to index.html link
   ============================================ */

/* === Source: assets/css/portfolio-redesign.css === */
/* ============================================
   PORTFOLIO REDESIGN - Glassmorphism Aesthetic
   NovusVista Technologies - 2026
   ============================================ */

#portfolio {
  background: radial-gradient(circle at 10% 20%, rgba(25, 32, 97, 1) 0%, rgba(10, 10, 30, 1) 90%);
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  /* padding controlled by .section-padding class + --section-padding-desktop token */
}

#portfolio::before,
#portfolio::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(8, 103, 200, 0.3) 0%, rgba(8, 103, 200, 0) 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

#portfolio::before {
  top: -100px;
  left: -100px;
}

#portfolio::after {
  bottom: -100px;
  right: -100px;
}

#portfolio .container {
  position: relative;
  z-index: 1;
}

#portfolio .section-title h2 {
  color: #ffffff;
  font-size: var(--type-fluid-h2);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--spacing-01);
  text-align: center;
}

#portfolio .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--spacing-03) auto;
  font-family: var(--font-productive);
  font-size: var(--type-fluid-body);
}

/* Glassmorphism Card Style */
.portfolio-content.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base) var(--ease-out);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.portfolio-content.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-8px);
  box-shadow: 0 12px 48px 0 rgba(0, 0, 0, 0.4);
}

/* Image Container */
.portfolio-img-wrapper {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  padding: 15px;
  margin-bottom: var(--spacing-02);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.portfolio-img-wrapper img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

/* Card Content */
.glass-card .portfolio-info-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.glass-card .portfolio-info-main h4 {
  color: #ffffff;
  font-family: var(--font-expressive);
  font-size: var(--type-scale-02);
  font-weight: var(--font-weight-bold);
  margin-bottom: 0.35rem;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.glass-card .portfolio-info-main p {
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-productive);
  font-size: 0.8rem;
  line-height: 1.4;
  margin-bottom: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  text-align: center;
  max-width: 95%;
}

/* Swiper Controls - Modern Industry Style (Dashes instead of Dots) */
.portfolio-carousel .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.4) !important;
  opacity: 1 !important;
  width: 25px !important;
  height: 4px !important;
  border-radius: 2px !important;
  transition: all 0.3s ease !important;
  margin: 0 4px !important;
}

.portfolio-carousel .swiper-pagination-bullet-active {
  background: #0867c8 !important;
  width: 40px !important;
}

@media (max-width: 767px) {
  #portfolio .section-title h2 {
    font-size: var(--type-scale-06);
  }

  .portfolio-content.glass-card {
    padding: var(--spacing-04);
  }
}

/* === Source: assets/css/universal-form.css === */
/* Universal Form Component Styles */

/* Validation Error Styles */
.form-control.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.error:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-error {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

.form-error.show {
  display: block !important;
}

/* Success state for valid fields */
.form-control.valid {
  border-color: #28a745 !important;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25) !important;
}

/* Loading state */
.form-control.loading {
  border-color: #007bff !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}

/* Consolidated all form-related CSS from style.css */

/* ===========================================
   CONTACT FORM CARD STYLING
   =========================================== */

.contact-form-card {
  background: #f8f9fa;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 12px;
  margin: 0 auto;
  max-width: 360px;
  height: fit-content;
}

.contact-form-card h2,
.contact-form-card h3 {
  color: #2c3e50 !important;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
  font-family: var(--font-expressive);
  display: block;
}

.form-divider {
  width: 40px;
  height: 3px;
  background: #0867c8;
  margin: 0 auto 10px;
  border-radius: 2px;
}

/* ===========================================
   FOOTER CONTACT FORM STYLING
   =========================================== */

.footer-contact-form {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  height: fit-content;
}

.footer-form-title {
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  font-family: var(--font-expressive);
}

/* ===========================================
   FORM ELEMENTS STYLING
   =========================================== */

/* Form Labels - Hidden to maintain original design */
.form-label {
  display: none;
  /* Hide labels to maintain original placeholder-only design */
}

/* Form Groups */
.form-group {
  margin-bottom: 8px;
  position: relative;
}

.footer-contact-form .form-group {
  margin-bottom: 8px;
}

/* Form Controls */
.form-control {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  font-family: var(--font-expressive);
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.footer-contact-form .form-control {
  padding: 8px 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 20px;
  width: 100%;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.footer-contact-form .form-control:focus {
  outline: none;
  border-color: transparent;
  box-shadow: none;
}

.form-control::placeholder {
  color: #999;
  font-size: 16px;
}

.footer-contact-form .form-control::placeholder {
  color: #999;
  font-size: 16px;
}

textarea.form-control {
  resize: vertical;
  min-height: 60px;
}

.footer-contact-form textarea.form-control {
  min-height: 60px;
  resize: vertical;
}

/* ===========================================
   CAPTCHA STYLING
   =========================================== */

.captcha-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact-form .captcha-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-question {
  font-size: 16px;
  color: #2c3e50;
  font-weight: 500;
  white-space: nowrap;
}

.footer-contact-form .captcha-question {
  font-size: 16px;
  color: #666;
  white-space: nowrap;
}

.captcha-input {
  width: 80px !important;
  text-align: center;
}

.footer-contact-form .captcha-input {
  width: 60px;
}

/* ===========================================
   RECAPTCHA STYLING
   =========================================== */

/* reCAPTCHA responsive styling */
.g-recaptcha {
  display: flex;
  justify-content: center;
  margin: 8px 0;
  overflow: hidden;
  max-width: 100%;
}

/* Scale down reCAPTCHA on mobile devices */
@media (max-width: 767px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center;
    margin: 6px 0;
  }
}

@media (max-width: 576px) {
  .g-recaptcha {
    transform: scale(0.88);
    transform-origin: center;
    margin: 12px auto;
    display: flex;
    justify-content: center;
  }

  /* Stack layout for mobile */
  .captcha-wrapper {
    display: block !important;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.7);
    /* Slightly tighter for SE */
    transform-origin: center;
    margin: 10px auto;
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 304px;
    /* Standard reCAPTCHA width */
  }

  .captcha-wrapper {
    width: 100%;
    overflow: visible !important;
    display: block !important;
    text-align: center;
  }
}

/* Ensure reCAPTCHA doesn't overflow on very small screens */
@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.68);
    transform-origin: center;
    margin: 8px auto;
    width: 100%;
    display: flex;
    justify-content: center;
    max-width: 304px;
  }

  .captcha-wrapper {
    width: 100%;
    overflow: visible !important;
  }

  .contact-form-card,
  .footer-contact-form {
    overflow: visible !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* Form group containing reCAPTCHA */
.form-group:has(.g-recaptcha) {
  overflow: visible !important;
  max-width: 100%;
  padding: 0 !important;
}

/* Fallback for browsers that don't support :has() */
.form-group .g-recaptcha {
  overflow: visible !important;
  max-width: 100%;
}

/* Mobile specific reCAPTCHA container */
@media (max-width: 767px) {
  .form-group:has(.g-recaptcha) {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    justify-content: center;
  }
}

/* Additional reCAPTCHA iframe styling */
.g-recaptcha iframe {
  max-width: 100% !important;
  height: auto !important;
}

/* Ensure reCAPTCHA container doesn't break layout */
@media (max-width: 767px) {
  .contact-form-card .form-group:has(.g-recaptcha) {
    padding: 0 5px;
    overflow: visible !important;
  }

  .contact-form-card .g-recaptcha {
    margin: 10px auto;
    overflow: visible !important;
  }

  /* Ensure all form containers have visible overflow on mobile */
  .contact-form-card,
  .footer-contact-form,
  .contact-form,
  .sidebar,
  .col-lg-4 {
    overflow: visible !important;
  }

  /* Ensure proper centering and visibility */
  .form-group {
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .form-group input,
  .form-group textarea {
    width: 100%;
  }

  /* Prevent parent containers from clipping reCAPTCHA */
  form:has(.g-recaptcha),
  .form-group:has(.g-recaptcha) {
    overflow: visible !important;
  }
}

/* ===========================================
   SUBMIT BUTTON STYLING
   =========================================== */

.submit-btn {
  width: 100%;
  background: #0867c8a6;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 17px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-expressive);
}

.footer-contact-form .submit-btn {
  background: #0867c8a6;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 17px !important;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover:not(:disabled) {
  background: #0578ece3;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.footer-contact-form .submit-btn:hover {
  background: #0578ece3;
  color: #fff;
  text-decoration: none;
  transform: translateY(-2px);
}

.submit-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(224, 58, 60, 0.1);
}

.submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.submit-btn:active {
  transform: translateY(0);
}

/* Apply same contact-form submit styles to homepage form */
.contact .contact-form button[type=submit],
#homepage-contact-form button[type=submit],
#homepage-contact-form .submit-btn {
  background: #0867c8a6;
  border: 0;
  padding: 10px 32px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

/* ===========================================
   FORM MESSAGES & STATES
   =========================================== */

.form-message {
  margin-top: 20px;
}

.form-message .loading,
.form-message .error-message,
.form-message .sent-message {
  display: none;
  padding: 10px 15px;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
}

.form-message .loading {
  background: #e3f2fd;
  color: #1976d2;
}

.form-message .error-message {
  background: #ffebee;
  color: #c62828;
}

.form-message .sent-message {
  color: #fff;
  background: #18d26e;
}

.form-message .loading.d-block,
.form-message .error-message.d-block,
.form-message .sent-message.d-block {
  display: block !important;
}

/* Error States - Disabled for backend validation */
.form-control.error,
.form-control[aria-invalid="true"] {
  border-color: #ced4da;
}

.form-control.error:focus,
.form-control[aria-invalid="true"]:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Error Messages */
.form-error {
  display: none;
  width: 100%;
  margin-top: 4px;
  font-size: 12px;
  color: #0867c8;
  min-height: 16px;
  font-family: var(--font-expressive);
}

.form-error[style*="display: block"] {
  display: block !important;
}

.form-error[aria-live="assertive"] {
  display: none;
  font-weight: 500;
}

/* Help Text - Hidden to maintain original design */
.form-help {
  display: none;
}

/* Loading Animation */
.loading {
  display: none;
  padding: 10px;
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  border-radius: 5px;
  color: #0c5460;
  text-align: center;
  font-weight: 500;
  font-size: 16px;
}

.loading:before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 2px solid #0c5460;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.error-message {
  display: none;
  padding: 10px;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  color: #721c24;
  font-weight: 500;
  font-size: 16px;
}

/* ===========================================
   SEARCH FORMS
   =========================================== */

.search-form {
  display: flex;
  gap: 10px;
}

.search-form .form-control {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.search-btn {
  background: #0867c8;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-btn:hover {
  background: #c23321;
}

/* ===========================================
   NEWSLETTER FORMS
   =========================================== */

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 5px 10px;
  position: relative;
  border-radius: 4px;
  text-align: left;
}

#footer .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -1px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #0867c8;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type=submit]:hover {
  background: #e35052;
}

/* ===========================================
   CONTACT SECTION FORMS
   =========================================== */

.contact-section {
  background: #f8f9fa;
}

.contact .contact-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
  border-radius: 5px;
}

.contact .contact-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .contact-form .error-message br+br {
  margin-top: 25px;
}

.contact .contact-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .contact-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .contact-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .contact-form .form-group {
  margin-bottom: 25px;
}

.contact .contact-form input,
.contact .contact-form textarea,
#homepage-contact-form input,
#homepage-contact-form textarea {
  box-shadow: none;
  font-size: 16px;
  border-radius: 20px;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
  border-color: transparent;
}

.contact .contact-form input {
  padding: 10px 15px;
}

.contact .contact-form textarea {
  padding: 12px 15px;
}

.contact .contact-form button[type=submit],
#homepage-contact-form button[type=submit] {
  background: #0867c8a6;
  border: 0;
  padding: 10px 32px;
  color: #fff;
  transition: 0.4s;
  border-radius: 17px !important;
}

.contact .contact-form button[type=submit]:hover,
.contact .footer-contact-form button[type=submit]:hover,
#homepage-contact-form button[type=submit]:hover {
  background: #0578ece3;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ===========================================
   BLOG REPLY FORMS
   =========================================== */

.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .blog-comments .reply-form p {
  font-size: 16px;
}

.blog .blog-comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 16px;
}

.blog .blog-comments .reply-form input:focus {
  box-shadow: none;
  border-color: transparent;
}

.blog .blog-comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 16px;
}

.blog .blog-comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: transparent;
}

.blog .blog-comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .blog-comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: #111111;
}

.blog .blog-comments .reply-form .btn-primary:hover {
  background-color: #1e1e1e;
}

/* ===========================================
   ACCESSIBILITY & UTILITIES
   =========================================== */

/* Screen reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

/* Responsive adjustments for contact form cards */
@media (max-width: 992px) {
  .contact-form-card {
    padding: 12px 15px;
    max-width: 320px;
  }
}

@media (max-width: 767px) {
  .contact-form-card {
    padding: 10px 12px;
    max-width: 332px;
  }

  .contact-form-card h3 {
    font-size: 16px;
  }

  .captcha-group {
    gap: 8px;
  }

  .captcha-input {
    width: 70px !important;
  }
}

@media (max-width: 576px) {
  .contact-form-card {
    padding: 12px 15px;
    max-width: 280px;
  }

  .contact-form-card h3 {
    font-size: 20px;
  }

  .form-divider {
    width: 30px;
    margin-bottom: 12px;
  }

  .form-group {
    margin-bottom: 12px;
  }

  .form-control {
    padding: 8px 10px;
    font-size: 13px;
  }

  textarea.form-control {
    min-height: 70px;
  }

  .captcha-group {
    gap: 4px;
  }

  .captcha-question {
    font-size: 13px;
  }

  .captcha-input {
    width: 60px !important;
  }

  .submit-btn {
    padding: 10px 20px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .contact-form-card {
    padding: 10px 12px;
    max-width: 364px;
  }

  .contact-form-card h3 {
    font-size: 16px;
  }

  .form-divider {
    width: 25px;
    margin-bottom: 10px;
  }

  .form-group {
    margin-bottom: 10px;
  }

  .form-control {
    padding: 6px 8px;
    font-size: 12px;
  }

  textarea.form-control {
    min-height: 60px;
  }

  .captcha-group {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .captcha-question {
    text-align: center;
    font-size: 12px;
  }

  .captcha-input {
    width: 100% !important;
  }

  .submit-btn {
    padding: 8px 15px;
    font-size: 12px;
  }
}

/* Footer contact form responsive */
@media (max-width: 767px) {
  .footer-contact-form {
    padding: 25px 20px;
  }
}

/* Search form responsive */
@media (max-width: 767px) {
  .search-form {
    flex-direction: column;
    gap: 8px;
  }

  .search-form .form-control {
    width: 100%;
  }
}

/* Newsletter form responsive */
@media (max-width: 767px) {
  #footer .footer-newsletter form {
    padding: 3px 8px;
  }

  #footer .footer-newsletter form input[type=email] {
    width: calc(100% - 80px);
    padding: 3px 6px;
  }

  #footer .footer-newsletter form input[type=submit] {
    padding: 0 15px;
    font-size: 16px;
  }
}

/* Contact section form responsive */
@media (max-width: 767px) {
  .contact .contact-form {
    padding: 20px;
  }

  .contact .contact-form .form-group {
    margin-bottom: 20px;
  }

  .contact .contact-form input,
  .contact .contact-form textarea {
    padding: 8px 12px;
    font-size: 13px;
  }
}

/* Blog reply form responsive */
@media (max-width: 767px) {
  .blog .blog-comments .reply-form {
    padding: 20px;
  }

  .blog .blog-comments .reply-form .form-group {
    margin-bottom: 20px;
  }

  .blog .blog-comments .reply-form input,
  .blog .blog-comments .reply-form textarea {
    padding: 8px 10px;
    font-size: 13px;
  }
}



/* === Source: assets/css/consistency-layer.css === */
/* ================================
   NovusVista Landing – Font Consistency Layer
   Harmonizes font sizes and families across all sections
   Synchronized with Production Font Sizes (novusvistatech.com)
================================== */

:root {
  /* Type scale (Synchronized with Production Audit) */
  --fs-hero: 3rem;
  /* 48px - Primary Hero Title (H1) */
  --fs-display: 2.125rem;
  /* 34px - Sub-hero / Vision Titles */
  --fs-section: 1.5rem;
  /* 24px - Section Titles (H2: e.g. "ABOUT US") */
  --fs-subtitle: 1.25rem;
  /* 20px - Services Card Titles (H3) */
  --fs-card-title: 1.125rem;
  /* 18px - About Card Titles (H4) */
  --fs-body: 1rem;
  /* 16px - Base Body Text (p) */
  --fs-body-sm: 0.9375rem;
  /* 15px - Services Card Body */
  --fs-details: 0.875rem;
  /* 14px - Contact Details / Footer Copyright */

  /* Line-heights */
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.6;
}

/* 1) Global Typography Base */
html {
  font-size: 16px !important;
}

body {
  font-family: var(--font-productive), sans-serif !important;
  line-height: var(--lh-normal);
  text-rendering: optimizeLegibility;
  font-size: var(--fs-body) !important;
}

/* 2) Main Headings - Switched to fluid scaling for full responsiveness */
h1 {
  font-family: var(--font-expressive), sans-serif !important;
  font-size: var(--type-fluid-hero) !important;
  /* Uses clamp from design-tokens */
  font-weight: 700 !important;
  line-height: var(--lh-tight) !important;
  letter-spacing: -0.04em !important;
}

h2 {
  font-family: var(--font-expressive), sans-serif !important;
  font-size: var(--type-fluid-h2) !important;
  font-weight: 700 !important;
  line-height: var(--lh-tight) !important;
  text-transform: uppercase !important;
}

h3 {
  font-family: var(--font-expressive), sans-serif !important;
  font-size: var(--type-fluid-h3) !important;
  font-weight: 700 !important;
}

/* 2.5) Logo Override - Preventing Hero H1 scale from affecting logo */
.logo,
.logo h1,
#header .logo,
#header .logo h1,
.logo_name {
  font-size: 30px !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
}

#header .logo a span,
.brand-vista {
  color: #e56203 !important;
}

/* 3) Global Paragraphs & Lists - Fluid scaling for readability */
p,
li {
  font-family: var(--font-productive), sans-serif !important;
  font-size: var(--type-fluid-body) !important;
  line-height: 1.6 !important;
  letter-spacing: 0.2px !important;
  font-weight: 400 !important;
}

/* Force standard dark ink on all main site light sections */
.about p,
.about li,
.core-tech-section p,
.core-tech-section li,
#team p,
#team li,
#contact p,
#contact li,
.modern-info-card .card-text,
.tech-card-content p {
  font-family: var(--font-productive), sans-serif !important;
  font-size: var(--type-fluid-body) !important;
  line-height: 1.6 !important;
  letter-spacing: 0.2px !important;
  color: #161616 !important;
  font-weight: 400 !important;
}

/* 4) Component Font Size Standardization (Production Logic) */

/* About Card Titles (H4 / .card-title) - Fluid scaling */
.about .card-title,
.about .modern-info-card h4,
#about .card-title {
  font-family: var(--font-expressive) !important;
  font-size: var(--type-fluid-h3) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0 !important;
}

/* Services Card titles (H3) - Fluid scaling */
.tech-card-content h3 {
  font-family: var(--font-expressive) !important;
  font-size: var(--type-fluid-h3) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0 !important;
}

/* Contact box titles (H3) - Prod Size (20px) + Staging Color (Brand Blue) */
.info-box-content h3 {
  font-family: var(--font-expressive), sans-serif !important;
  font-size: var(--fs-subtitle) !important;
  /* 20px */
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  /* Staging color */
  margin-bottom: 0.5rem !important;
}



.member-info h4 {
  font-size: var(--fs-card-title) !important;
}

/* 5) Essential Global Contrast Fixes */
#footer .footer-text,
#footer strong {
  color: #ffffff !important;
  font-size: var(--fs-details) !important;
  opacity: 1 !important;
}

#portfolio .section-title h2 {
  color: #ffffff !important;
}

/* 6) Hero-specific subtext */
.home-page-text {
  font-size: var(--fs-subtitle) !important;
  /* 20px */
}

/* 6.5) Display Heading (About Us) Styles - Fluid scaling for mobile */
.hero-display-title {
  font-size: var(--type-fluid-h1) !important;
  color: var(--color-brand-primary) !important;
  /* Brand Blue #192061 */
  letter-spacing: -0.02em !important;
  margin-top: 0.1rem !important;
  margin-bottom: var(--spacing-03) !important;
  font-weight: 700 !important;
  display: block !important;
}

/* Ensure no underline on the display heading itself */
.hero-display-title::after {
  display: none !important;
}

/* 6.6) Global Section Underline Color Fix (Production blue bar) */
section .section-title h2::after,
#contact .section-title h2::after {
  background: #007bff !important;
  /* Professional Blue */
  width: 50px !important;
  height: 3px !important;
  bottom: 0 !important;
}

/* 6.7) Contact Section H2 Color Fix */
#contact .section-title h2 {
  color: var(--color-brand-primary) !important;
}

/* 6.8) Portfolio Glass-Card Typography (Staging Authentic) */
.glass-card .portfolio-info-main h4 {
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

.glass-card .portfolio-info-main p {
  font-size: 12px !important;
  line-height: 1.3 !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* 7) Mobile Responsive Adjustments - Cleaned up to rely on fluid tokens */
@media (max-width: 767px) {
  /* Let fluid typography handle headings */

  .hero-display-title {
    margin-bottom: var(--spacing-02) !important;
  }

  section,
  #hero {
    padding-top: var(--spacing-06) !important;
    padding-bottom: var(--spacing-06) !important;
  }
}

/* 8) Hero Section Update */
#hero {
  background: url('/assets/img/hero-backg.png') center 30% no-repeat !important;
  background-size: cover !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

@media (max-width: 1024px) {
  #hero {
    background: url('/assets/img/hero-backg.png') center center no-repeat !important;
    background-size: cover !important;
    min-height: auto !important;
    padding-top: 60px !important;
    padding-bottom: 40px !important;
  }
}

@media (max-width: 767px) {
  #hero {
    background: url('/assets/img/hero-backg.png') center center no-repeat !important;
    background-size: cover !important;
    min-height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 30px !important;
  }
}


/* =============================================================
   NOVUSVISTA CENTRAL — UI/UX Modernization Layer v2
   Theme-safe: uses existing navy/blue brand palette only
   Tasks: Font upgrade, Spacing, Portfolio, Carousel, Contact
   ============================================================= */

/* 1. FONT UPGRADE — 'Plus Jakarta Sans', sans-serif (headings) + 'Plus Jakarta Sans', sans-serif (body)
   ui-ux-pro-max: "Modern Professional" pairing for SaaS/enterprise
   Applied OVER the existing Plus Jakarta Sans to give a more
   polished, readable feel without changing any layout.
   --------------------------------------------------------- */
/* NOTE: 'Plus Jakarta Sans', sans-serif + 'Plus Jakarta Sans', sans-serif loaded via <link> in HTML head for correct priority */

:root {
  --font-heading: '' Plus Jakarta Sans', sans-serif', sans-serif;
  --font-body: '' Plus Jakarta Sans', sans-serif', sans-serif;
}

/* Apply new fonts globally, respecting existing var tokens */
body,
p,
li,
span,
a,
button,
input,
textarea,
select,
.home-page-text,
.card-text,
.section-subtitle,
.modern-text-block p,
.portfolio-info-main p,
.member-info span,
.contact .info-box p,
.contact .info-box-content {
  font-family: var(--font-body) !important;
  font-size: clamp(0.95rem, 0.4vw + 0.85rem, 1.1rem) !important;
  line-height: 1.7;
  color: #444444;
}

h1,
h2,
h3,
h4,
h5,
h6,
.text-expressive,
.card-title,
.hero-display-title,
.section-title h2,
.tech-card-content h3,
.info-box-content h3,
.portfolio-info-main h4,
.member-info h4,
.category-header {
  font-family: var(--font-heading) !important;
  letter-spacing: -0.015em;
}

/* 2. SPACING — verified, no changes needed.
   Section padding and card padding are balanced.
   Cards use consistent box-sizing. No action taken.
   --------------------------------------------------------- */

/* 3. PORTFOLIO TEXT VISIBILITY FIX
   Glass dark cards: force white text in portfolio slider.
   Previous green overrides broke this — restore correctly.
   --------------------------------------------------------- */
.glass-card .portfolio-info-main h4 {
  color: #ffffff !important;
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
}

.glass-card .portfolio-info-main p {
  color: rgba(255, 255, 255, 0.80) !important;
  font-family: var(--font-body) !important;
  font-size: 0.8rem !important;
  line-height: 1.45 !important;
}

.glass-card .portfolio-info-main a h4 {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* 4. PORTFOLIO CAROUSEL
   Swiper's coverflow effect in main.js handles the 3D transforms.
   We only enhance the fade/timing and pagination — do NOT override
   swiper-slide transform here as it will conflict with Swiper's engine.
   --------------------------------------------------------- */

/* Smooth transition for Swiper coverflow animation */
.portfolio-carousel .swiper-slide {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

/* Dim non-active slides slightly to reinforce depth */
.portfolio-carousel .swiper-slide:not(.swiper-slide-active) {
  filter: brightness(0.80) !important;
}

/* Active slide: full brightness */
.portfolio-carousel .swiper-slide-active {
  filter: brightness(1) !important;
  z-index: 2 !important;
}

/* Refined pagination bullets — thinner, brand-blue */
.portfolio-carousel .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.35) !important;
  opacity: 1 !important;
  width: 22px !important;
  height: 3px !important;
  border-radius: 2px !important;
  transition: width 0.3s ease, background 0.3s ease !important;
  margin: 0 3px !important;
}

.portfolio-carousel .swiper-pagination-bullet-active {
  background: #0867c8 !important;
  /* #0867c8 existing blue */
  width: 38px !important;
}

/* 5. CONTACT SECTION MODERNIZATION
   Redesigns info-boxes with grid layout and forced left-alignment for mobile.
   --------------------------------------------------------- */
#contact {
  background: linear-gradient(135deg, #f8fafd 0%, #eef2fb 100%) !important;
}

.contact .info-box {
  background: #ffffff !important;
  border-radius: 12px !important;
  border-left: 4px solid #0867c8 !important;
  box-shadow: 0 4px 20px rgba(25, 32, 97, 0.08) !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
  transition: all 0.3s ease !important;
  display: grid !important;
  grid-template-columns: 48px 1fr !important;
  align-items: center !important;
  gap: 15px !important;
  height: auto !important;
  text-align: left !important;
}

@media (max-width: 767px) {
  .contact .info-box {
    padding: 15px !important;
    margin-bottom: 15px !important;
    grid-template-columns: 42px 1fr !important;
    text-align: left !important;
  }

  .contact .info-box-content {
    text-align: left !important;
  }

  .contact .info-box h3,
  .contact .info-box p {
    text-align: left !important;
  }
}

.contact .info-box i {
  font-size: 24px !important;
  color: #0867c8 !important;
  background: rgba(8, 103, 200, 0.1) !important;
  border-radius: 10px !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.contact .info-box-content h3 {
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  margin-bottom: 4px !important;
  margin-top: 0 !important;
  text-align: left !important;
}

.contact .info-box-content p {
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  color: #525252 !important;
  margin-bottom: 0 !important;
  text-align: left !important;
}

/* Bootstrap grid classes handled in HTML for tablet side-by-side */

/* Modern card-style info boxes with left accent border */
.contact .info-box {
  background: #ffffff !important;
  border-radius: 12px !important;
  border-left: 4px solid #0867c8 !important;
  box-shadow: 0 4px 20px rgba(25, 32, 97, 0.08) !important;
  padding: 20px !important;
  margin-bottom: 20px !important;
  transition: all 0.3s ease !important;
  display: grid !important;
  grid-template-columns: 48px 1fr !important;
  align-items: center !important;
  gap: 15px !important;
  height: auto !important;
  text-align: left !important;
  /* Force left alignment */
}

@media (max-width: 767px) {
  .contact .info-box {
    padding: 15px !important;
    margin-bottom: 15px !important;
    grid-template-columns: 42px 1fr !important;
  }
}

.contact .info-box:hover {
  box-shadow: 0 8px 32px rgba(25, 32, 97, 0.14) !important;
  transform: translateY(-3px) !important;
}

/* Icon styling — use brand blue, remove dotted border */
.contact .info-box i {
  font-size: 24px !important;
  color: #0867c8 !important;
  background: rgba(8, 103, 200, 0.1) !important;
  border-radius: 10px !important;
  width: 44px !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

/* Heading inside info-box — 'Plus Jakarta Sans', sans-serif, navy */
.contact .info-box h3,
.contact .info-box-content h3 {
  font-family: var(--font-heading) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  margin-bottom: 4px !important;
  margin-top: 0 !important;
  text-align: left !important;
}

.contact .info-box-content h3 {
  text-align: left !important;
}

.contact .info-box-content p,
.contact .info-box p {
  text-align: left !important;
}

.contact .info-box-content {
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Body text inside info-box — 'Plus Jakarta Sans', sans-serif, readable */
.contact .info-box p {
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  line-height: 1.65 !important;
  color: #525252 !important;
  margin-bottom: 0 !important;
}

/* Email link — brand blue */
.contact .info-box .email-link {
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  color: #0867c8 !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.contact .info-box .email-link:hover {
  color: var(--color-brand-primary) !important;
  text-decoration: underline !important;
}

/* 5b. CONTACT FORM — modernize inputs within existing theme */
.contact .contact-form {
  background: #ffffff !important;
  border-radius: 16px !important;
  padding: clamp(20px, 4vw, 40px) !important;
  box-shadow: 0 8px 40px rgba(25, 32, 97, 0.10) !important;
  height: 100% !important;
}

.contact .contact-form input,
.contact .contact-form textarea {
  border-radius: 10px !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  border: 1.5px solid #e0e4ef !important;
  background: #f8fafd !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus {
  border-color: #0867c8 !important;
  /* #0867c8 */
  box-shadow: 0 0 0 3px rgba(8, 103, 200, 0.15) !important;
  background: #ffffff !important;
  outline: none !important;
}

.contact .contact-form button[type=submit] {
  background: #0867c8 !important;
  border-radius: 10px !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  padding: 14px 45px !important;
  width: auto;
  min-width: 180px;
  max-width: 100%;
  /* Prevent overflow on SE */
  display: block;
  margin: 0 auto !important;
  transition: background 0.25s ease, transform 0.2s ease !important;
}

@media (max-width: 375px) {
  .contact .contact-form button[type=submit] {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Removed redundant captcha wrapper rule to avoid conflicts */

@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.85);
    transform-origin: center center;
    margin: 0 auto;
  }
}

.contact .contact-form button[type=submit]:hover {
  background: var(--color-brand-primary) !important;
  /* #192061 */
  transform: translateY(-1px) !important;
}

/* REVERT: Remove all previous bad green color overrides */
/* Card hover — restore to existing brand blue, not green */
/* Card hover — Handled by main tech-card block */

/* Restore glass-card for portfolio — keep dark glassmorphism */
.portfolio-content.glass-card {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-lg) !important;
}

.portfolio-content.glass-card:hover {
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(8, 103, 200, 0.5) !important;
  /* Brand blue glow */
  transform: translateY(-8px) !important;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4) !important;
}

/* Container spacing — keep as-is, already good */
.container {
  padding-left: 15px;
  padding-right: 15px;
}

/* Cards max-width constraint */
/* Cards width constraint */
.tech-card,
.modern-info-card,
.portfolio-content,
.info-box {
  width: 100% !important;
  box-sizing: border-box !important;
}

/* =============================================================
   HERO SECTION — Animated particle bg + text entrance animations
   Background: 
   - index-new.html: Uses original hero-backg.png (from above)
   - index.html: Uses dark navy/blue gradient (via .hero-gradient-bg)
   Particles canvas floats on top of both backgrounds.
   ============================================================= */

/* Main hero container: ensures relative positioning for canvas */
#hero.service-hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Gradient background version specifically for index.html 
   As requested based on: hero_section_verification_1774938226380.png */
#hero.hero-gradient-bg {
  background: linear-gradient(135deg, #0d1340 0%, #192061 45%, #0e2a6e 75%, #0867c8 130%) !important;
}

/* Hero text entrance: title slides up + fades in */
.hero-animate-title {
  opacity: 0;
  transform: translateY(40px);
  animation: heroSlideUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

/* Subtitle comes in slightly after */
.hero-animate-sub {
  opacity: 0;
  transform: translateY(30px);
  animation: heroSlideUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards;
}

/* CTA button scales in with a pop */
.hero-animate-cta {
  opacity: 0;
  transform: scale(0.88);
  animation: heroPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) 1.25s forwards;
}

@keyframes heroSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPop {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Ensure hero text is white on the dark background */
#hero h1,
#hero .text-expressive {
  color: #ffffff !important;
}

#hero .home-page-text {
  color: rgba(255, 255, 255, 0.88) !important;
}

/* Hero button — keep existing accent but ensure visibility on dark bg */
#hero .btn-get-started {
  background: #0867c8 !important;
  color: #ffffff !important;
  padding: 13px 32px !important;
  border-radius: 8px !important;
  font-family: var(--font-heading) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  box-shadow: 0 4px 20px rgba(8, 103, 200, 0.45) !important;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease !important;
  letter-spacing: 0.02em;
}

@media (max-width: 767px) {
  #hero .btn-get-started {
    padding: 8px 20px !important;
    font-size: 0.85rem !important;
    min-height: 40px !important;
  }
}

#hero .btn-get-started:hover {
  background: #0578ec !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(8, 103, 200, 0.55) !important;
}

/* =============================================================
   UNIFIED CARD TYPOGRAPHY: About Us + Services use same styles
   Both .modern-info-card and .tech-card aligned to same tokens
   ============================================================= */

/* About Us cards (modern-info-card) — sync to tech-card typography */
.modern-info-card .card-title {
  font-family: var(--font-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  line-height: 1.3 !important;
  margin-bottom: 10px !important;
}

.modern-info-card .card-text {
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  color: var(--color-text-tertiary) !important;
  line-height: 1.65 !important;
}

/* Services cards (tech-card) — sync to same as above */
.tech-card-content h3 {
  font-family: var(--font-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  line-height: 1.3 !important;
}

.tech-card-content p {
  font-family: var(--font-body) !important;
  font-size: 0.92rem !important;
  color: var(--color-text-tertiary) !important;
  line-height: 1.65 !important;
}


/* =============================================================
   TEXT COLOR + FONT CONSISTENCY FIXES
   Unifies body/paragraph text across About, Services, Contact
   Target: #525252 (color-text-secondary) — readable, not black
   ============================================================= */

/* =============================================================
   FINAL MASTER TYPOGRAPHY — Zero Discrepancy Layer
   Forces absolute consistency across Header, About, Services, Contact.
   ============================================================= */

/* 1. Navbar — Force 'Plus Jakarta Sans', sans-serif, 16px, 600 weight for "Premium" presence */
#navbar ul li a,
.navbar ul li a,
#header .navbar a {
  font-family: var(--font-body) !important;
  /* 'Plus Jakarta Sans', sans-serif */
  font-size: 16px !important;
  /* Calibrated for presence */
  font-weight: 600 !important;
  color: var(--color-text-primary) !important;
  /* #161616 navy */
  letter-spacing: 0.02em !important;
}

#navbar ul li a:hover,
#header .navbar a:hover,
#navbar ul li a.active,
#header .navbar .active {
  color: #e56203 !important;
}

/* 2. Global Body Text — Force 'Plus Jakarta Sans', sans-serif, #525252 grey */
#about p,
#services p,
#contact p,
#team p,
.modern-text-block p,
.card-text,
.info-box p,
.tech-card-content p,
.info-box-content p,
.about .card-text,
.services .card-text,
.contact .info-box p {
  font-family: var(--font-body) !important;
  /* 'Plus Jakarta Sans', sans-serif */
  color: var(--color-text-secondary) !important;
  /* #525252 grey */
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

/* 3. Global Headings — Force 'Plus Jakarta Sans', sans-serif, #192061 navy */
/* Targeting card-level titles (h3 / h4) specifically to be identical */
.card-title,
.modern-info-card h4,
.tech-card-content h3,
.info-box h3,
.info-box-content h3,
.portfolio-info-main h4 {
  font-family: var(--font-heading) !important;
  /* 'Plus Jakarta Sans', sans-serif */
  color: var(--color-brand-primary) !important;
  /* #192061 navy */
  font-size: 1.15rem !important;
  /* Standardized size */
  font-weight: 700 !important;
  /* Unified weight */
  line-height: 1.3 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.015em !important;
  text-transform: none !important;
}

/* 4. Portfolio Frameless Style (Minimalist SaaS) */
.portfolio-carousel {
  overflow: hidden;
  padding: 20px 0 10px 0;
}

.portfolio-carousel .swiper-container {
  padding: 40px 10px;
}

.portfolio-item-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none !important;
}

.portfolio-logo-minimal {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-logo-minimal img {
  max-width: 85%;
  max-height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.05));
}

.portfolio-item-wrap:hover .portfolio-logo-minimal {
  transform: translateY(-8px) scale(1.08);
}

.portfolio-title-minimal {
  font-family: var(--font-expressive) !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: all 0.3s ease;
  letter-spacing: -0.01em;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  min-height: 2.8em;
  line-height: 1.2;
}

.portfolio-desc-minimal {
  font-family: '' Plus Jakarta Sans', sans-serif', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-top: 10px !important;
  max-width: 90%;
  line-height: 1.5;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
}


.portfolio-item-wrap:hover .portfolio-title-minimal {
  color: #0867c8 !important;
  transform: scale(1.05);
}

.portfolio-desc-minimal {
  font-family: var(--font-productive) !important;
  font-size: 0.9rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  margin-top: 10px !important;
  max-width: 90%;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
}

.portfolio-item-wrap:hover .portfolio-desc-minimal {
  opacity: 1;
  transform: translateY(0);
}

/* Pagination Adjustments */
.portfolio-carousel .swiper-pagination-bullet {
  background: #192061;
}

.portfolio-carousel .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 6px;
  background: #0867c8;
}

.portfolio-carousel .swiper-slide {
  height: auto !important;
  display: flex !important;
  justify-content: center;
  align-items: stretch;
  padding: 15px 0;
  /* Breathable space for the shadow/transform */
}

/* 5. Portfolio Glass-Modern (For index-new.html PNG logos) */
.portfolio-item-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: clamp(20px, 2.5vw, 30px);
  width: 100%;
  height: 100%;
  min-height: clamp(240px, 20vw, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4/5;
  max-height: 400px;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-decoration: none !important;
  position: relative;
  overflow: hidden;
}

@media (max-width: 767px) {
  .portfolio-item-glass {
    min-height: 180px !important;
    height: 200px !important;
    /* Reduced height for mobile */
    padding: 12px !important;
    aspect-ratio: unset !important;
  }
}

/* iPhone SE Specific Fix */
@media (max-width: 380px) {
  .portfolio-item-glass {
    height: 175px !important;
    min-height: 175px !important;
    padding: 10px !important;
  }
}

.portfolio-item-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.05),
      transparent);
  transition: all 0.6s ease;
}

.portfolio-item-glass:hover::before {
  left: 100%;
}

.portfolio-item-glass:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-logo-glass {
  width: clamp(80px, 10vw, 110px);
  height: clamp(80px, 10vw, 110px);
  background: white;
  border-radius: 12px;
  padding: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.portfolio-item-glass:hover .portfolio-logo-glass {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.portfolio-logo-glass img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.portfolio-title-glass {
  font-family: var(--font-expressive) !important;
  font-weight: 700 !important;
  font-size: clamp(1rem, 2vw, 1.2rem) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin-bottom: 12px !important;
  text-align: center;
}

.portfolio-desc-glass {
  font-family: var(--font-productive) !important;
  font-size: 0.85rem !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.6) !important;
  line-height: 1.5;
  text-align: center;
  margin: 0;
  max-width: 90%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

/* Mobile overrides for Portfolio */
@media (max-width: 767px) {
  .portfolio-logo-glass {
    width: 60px !important;
    height: 60px !important;
    margin-bottom: 10px !important;
  }

  .portfolio-item-glass {
    min-height: 120px !important;
    height: auto !important;
    padding: 15px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .portfolio-title-glass {
    font-size: 0.95rem !important;
    margin-bottom: 4px !important;
    font-weight: 700 !important;
  }

  .portfolio-desc-glass {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    display: block !important;
    /* Ensure it's visible on tablet */
  }
}

@media (max-width: 480px) {
  .portfolio-desc-glass {
    display: none !important;
    /* Hide description only on very small screens */
  }
}


/* ============================================================
   Hero Section - extracted from inline styles in index.html
   ============================================================ */
#hero.service-hero {
  position: relative;
  overflow: hidden;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#hero .container {
  position: relative;
  z-index: 1;
}

/* Hero Text Fix - Scoped to detail pages if needed, but removing global override */
#hero p.home-page-text {
  /* color: rgba(255, 255, 255, 0.88) !important; */
  /* Remove other forced overrides that impact index.html */
}

/* Scoped to Portfolio Detail Pages to avoid home page leakage */
/* Portfolio Subtitle Styling - High visibility for home and details */
#portfolio .section-title div,
#portfolio .section-title div span,
#portfolio .section-title .description-title {
  font-size: clamp(0.9rem, 2vw, 1.15rem) !important;
  color: rgba(255, 255, 255, 0.85) !important;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
  font-family: var(--font-primary) !important;
  line-height: 1.6;
  display: block;
}

#portfolio .section-title .description-title {
  font-weight: 700 !important;
  display: inline;
  /* Keep as inline for the part that continues the sentence */
}

/* Scoped specifically to Portfolio Detail Pages to maintain their unique style */
.portfolio-details-page #portfolio .section-title div,
.portfolio-details-page #portfolio .section-title div span,
.portfolio-details-page #portfolio .section-title .description-title {
  font-size: 1.1rem !important;
  color: rgba(255, 255, 255, 0.88) !important;
}

/* ============================================================
   Portfolio Details Redesign (Modern Enterprise Style)
   ============================================================ */

/* Breadcrumbs Standardization */
.breadcrumbs.product-name {
  background: var(--color-brand-primary);
  padding: 20px 0;
  /* Slimmer header */
  color: #fff;
  margin-top: 70px;
  /* Account for fixed header */
}

.breadcrumbs.product-name h2,
main#main section.breadcrumbs.product-name .container h2 {
  font-size: var(--type-scale-06);
  font-weight: 700;
  font-family: var(--font-expressive);
  margin: 0;
  color: #ffffff !important;
}

.breadcrumbs.product-name ol {
  display: none;
  /* Removed as per user request */
}

.breadcrumbs.product-name ol li {
  color: rgba(255, 255, 255, 0.8) !important;
}

.breadcrumbs.product-name ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  padding-left: 10px;
  color: rgba(255, 255, 255, 0.6);
  content: "/";
}

.breadcrumbs.product-name ol a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
}

.breadcrumbs.product-name ol a:hover {
  color: #fff;
}

/* Product Details Layout */
.product-details-section {
  background: var(--color-background-primary);
}

.portfolio-details-carousel {
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important;
  background: #ffffff !important;
  width: 100% !important;
  height: 600px !important; /* Increased height to make data more legible */
  border: 1px solid #f0f0f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 768px) {
  .portfolio-details-carousel {
    height: 400px !important;
  }
}

.portfolio-details-carousel .carousel,
.portfolio-details-carousel .carousel-inner {
  height: 100% !important;
  width: 100% !important;
}

.portfolio-details-carousel .carousel-item {
  height: 100% !important;
  width: 100% !important;
  background: #ffffff !important;
  display: flex !important;
  /* Top alignment for better legibility of tall screenshots */
  align-items: flex-start !important; 
  justify-content: center !important;
  padding: 0 !important;
}

.portfolio-details-carousel img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}

.portfolio-details-carousel:hover img {
  transform: scale(1.01) !important;
}

/* Premium Carousel Controls */
.portfolio-details-carousel .carousel-control-prev,
.portfolio-details-carousel .carousel-control-next {
  width: 45px !important;
  height: 45px !important;
  background: #f8f9fa !important; /* Light gray to stand out on white */
  border-radius: 50% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  opacity: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
  margin: 0 10px !important;
  border: 1px solid #eee !important;
}

.portfolio-details-carousel:hover .carousel-control-prev,
.portfolio-details-carousel:hover .carousel-control-next {
  opacity: 1 !important;
}

.portfolio-details-carousel .carousel-control-prev-icon,
.portfolio-details-carousel .carousel-control-next-icon {
  width: 20px !important;
  height: 20px !important;
  filter: invert(0) grayscale(100%) brightness(20%) !important; /* Dark icons */
}

.portfolio-details-carousel .carousel-indicators {
  margin-bottom: 1rem !important;
}

.portfolio-details-carousel .carousel-indicators [data-bs-target] {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background-color: var(--color-brand-primary, #192061) !important;
  opacity: 0.3 !important;
  border: none !important;
  margin: 0 5px !important;
}

.portfolio-details-carousel .carousel-indicators .active {
  opacity: 1 !important;
  width: 12px !important;
  height: 12px !important;
}

/* Feature Cards Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: var(--spacing-04);
}

.feature-card {
  background: var(--color-surface-02);
  padding: var(--spacing-03);
  border-radius: var(--radius-md);
  border-left: 4px solid #0867c8;
  transition: var(--transition-smooth);
  height: auto;
  /* Natural height */
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.feature-card i {
  font-size: 1.5rem;
  color: #0867c8;
  margin-bottom: var(--spacing-02);
  display: block;
}

.feature-card h6 {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-brand-primary);
}

.feature-card p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--color-text-secondary);
}

/* Tech Stack Badges */
.tech-stack-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.tech-badge {
  background: var(--color-brand-primary-light);
  color: var(--color-brand-primary);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(25, 32, 97, 0.2);
}

/* Description Card */
.portfolio-description-card {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 10px 30px rgba(25, 32, 97, 0.05);
  border: 1px solid rgba(25, 32, 97, 0.08);
  overflow: hidden;
  margin-bottom: 30px;
}

.portfolio-description-card .card-header-gradient {
  background: linear-gradient(135deg, var(--color-brand-primary) 0%, #0867c8 100%);
  padding: 20px 30px;
  color: #fff;
}

.portfolio-description-card .card-header-gradient h4,
section.product-description-section .portfolio-description-card .card-header-gradient h4 {
  margin: 0;
  font-weight: 700;
  color: #ffffff !important;
}

.portfolio-description-card .card-body {
  padding: 30px 40px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  background: linear-gradient(to bottom, #ffffff, var(--color-surface-01));
}

/* Compact Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Force 2 columns for density */
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

.highlight-item {
  background: rgba(25, 32, 97, 0.03);
  border: 1px solid rgba(25, 32, 97, 0.08);
  padding: 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-brand-primary);
}

.highlight-item i {
  color: #0867c8;
  font-size: 1.1rem;
}

.product-description-lead {
  font-size: 1.25rem;
  color: var(--color-brand-primary);
  font-weight: 500;
  margin-bottom: var(--spacing-04);
}

/* Fix Portfolio Carousel Truncation - Scoped to minimize home page impact */
.portfolio-details-page .portfolio-desc-glass,
.portfolio-details-page .portfolio-desc-minimal {
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  overflow: visible !important;
  height: auto !important;
  display: block !important;
  min-height: auto !important;
}

/* AOS Fallback - Ensures content is visible even if library fails to load */
html:not(.aos-init) [data-aos] {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  transition: none !important;
}

@media (max-width: 767px) {
  .portfolio-description-card .card-body {
    padding: 25px;
  }

  .breadcrumbs.product-name h2 {
    font-size: 1.75rem;
  }
}

/* Global Logo Branding applied via .brand-vista and #header selectors around line 9280 */

/* ============================================================ */

/* === FINAL TYPOGRAPHY STANDARDIZATION (Render Production Standard) === */
/* Exact recalibration to match the 48.8px/31.2px look of the live Render site */
h1,
.h1,
section h1,
#hero h1 {
  font-family: var(--font-expressive) !important;
  font-size: clamp(1.4rem, 7vw, 3.05rem) !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  line-height: 1.1 !important;
}

@media (max-width: 1024px) {
  #hero h1,
  #hero h1.text-expressive,
  #hero h1.responsive-title {
    font-size: clamp(1.4rem, 5vw, 2.05rem) !important;
    font-weight: 400 !important;
  }
}

h2,
.h2,
section h2,
.section-title h2 {
  font-family: var(--font-expressive) !important;
  font-size: clamp(1.2rem, 5vw, 1.95rem) !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  line-height: 1.2 !important;
}

h3,
.h3,
section h3,
.tech-card-content h3 {
  font-family: var(--font-expressive) !important;
  font-size: clamp(1.1rem, 4vw, 1.5rem) !important;
  font-weight: 700 !important;
  color: var(--color-brand-primary) !important;
  line-height: 1.3 !important;
}

h4,
.h4,
section h4,
.glass-content h4 {
  font-family: var(--font-expressive) !important;
  font-size: clamp(1rem, 3vw, 1.25rem) !important;
  font-weight: 600 !important;
  color: var(--color-brand-primary) !important;
  line-height: 1.4 !important;
}

.portfolio-title-glass {
  font-family: var(--font-expressive) !important;
  font-size: clamp(1rem, 3vw, 1.25rem) !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  line-height: 1.4 !important;
}

p,
.p,
section p,
.tech-card-content p,
body {
  font-family: var(--font-productive) !important;
  font-size: clamp(0.9rem, 1.5vw, 1rem) !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: var(--color-text-secondary) !important;
}

.portfolio-desc-glass {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: clamp(0.8rem, 1.2vw, 0.9rem) !important;
}

body {
  font-family: var(--font-productive) !important;
}