/* Homepage background */
.homepage-bg {
  min-height: 100vh;
}

/* Technology section integration */
.homepage-bg #technology-framework {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d1117 50%, #161b22 100%);
  padding: 60px 0;
  margin: 0;
}

/* Technology Framework Styles */
.technology-container {
  width: 100%;
  margin: 0;
  padding: 0;
}

.technology-framework {
  background: transparent;
  padding: 40px 5vw;
  margin: 0 auto;
  max-width: 1400px;
}



/* Auto-hide navbar with NYC skyline background */
.navbar-custom {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url(../images/new-york-city.jpg) !important;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  border: none;
}

.navbar-hide {
  transform: translateY(-100%);
}

.navbar-show {
  transform: translateY(0);
}

/* Enhanced active navigation styling */
.navbar-custom .navbar-nav li.active a,
.navbar-custom.nav-sticky .navbar-nav li.active a,
.navbar-custom.is-sticky .navbar-nav li.active a {
  color: #27ae60 !important;
  font-weight: 500;
  position: relative;
}

.navbar-custom .navbar-nav li.active a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #27ae60;
  border-radius: 50%;
}

.navbar-custom .navbar-nav li.active a:hover::after {
  bottom: -25px;
}

.navbar-custom .navbar-nav li a {
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar-custom .navbar-nav li a:hover {
  color: #27ae60 !important;
  transform: translateY(-1px);
}

/* Accessible focus styles for navbar - visible for keyboard, hidden for mouse */
.navbar-custom .navbar-nav li a:focus-visible {
  outline: 2px solid #27ae60;
  outline-offset: 2px;
  border-radius: 4px;
}

.navbar-custom .navbar-brand:focus-visible {
  outline: 2px solid #27ae60;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Prevent awkward word wrapping in content */
.section-title,
.section-subtitle,
.services-box h4,
.services-box p,
.technology-framework-title,
.technology-framework-subtitle {
  word-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
  -moz-hyphens: none;
}

/* Specific adjustments for better text flow */
.section-subtitle {
  text-align: center;
}

/* Global text improvements with Space Grotesk */
* {
  font-family: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* Ensure Pe-icon-7-stroke icons display properly */
[class^="pe-7s-"], [class*=" pe-7s-"] {
  font-family: 'Pe-icon-7-stroke' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
}

/* Force Pe-icon-7-stroke font for icons in all states including hover */
i[class^="pe-7s-"], i[class*=" pe-7s-"] {
  font-family: 'Pe-icon-7-stroke' !important;
}

/* Specifically for services section icons */
#services i[class^="pe-7s-"], #services i[class*=" pe-7s-"] {
  font-family: 'Pe-icon-7-stroke' !important;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
}

/* Improve readability - more conservative sizing */
p {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

li {
  font-size: 0.9rem;
  line-height: 1.5;
}

h5 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 1rem !important;
}

#enterprise-value .section-title p {
  color: #B3B3B3;
  font-size: 1.1rem;
}

/* Enhanced Enterprise Value Props with modern glassmorphism */
#enterprise-value .value-prop-box {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 30px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.15);
  backdrop-filter: blur(20px);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

#enterprise-value .value-prop-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.5), transparent);
}

#enterprise-value .value-prop-box:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(39, 174, 96, 0.25);
  background: rgba(39, 174, 96, 0.12);
  border-color: rgba(39, 174, 96, 0.3);
}

#enterprise-value .value-prop-box i {
  color: #27ae60 !important;
}

#enterprise-value .value-prop-box h5 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
}

#enterprise-value .value-prop-box p {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

#enterprise-value .value-prop-box i {
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
}


#services .section-title p {
  color: #B3B3B3;
  font-size: 1.1rem;
}

/* Services section using same styling as value-prop-box */
#services .value-prop-box {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 35px 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.15);
  backdrop-filter: blur(20px);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

#services .value-prop-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.5), transparent);
}

#services .value-prop-box:hover {
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.2);
  background: rgba(39, 174, 96, 0.08);
  border-color: rgba(39, 174, 96, 0.3);
  will-change: transform;
}

#services .value-prop-box i {
  color: #27ae60 !important;
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
}

#services .value-prop-box h5 {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
}

#services .value-prop-box p {
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

#services .services-box h4 {
  color: white !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
}

#services .services-box p {
  color: #B3B3B3 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}

/* Enhanced Services boxes with modern glassmorphism */
#services .services-box {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 30px 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.15);
  backdrop-filter: blur(20px);
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

#services .services-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(39, 174, 96, 0.5), transparent);
}

#services .services-box:hover {
  transform: translate3d(0, -4px, 0);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.15);
  background: rgba(39, 174, 96, 0.06);
  border-color: rgba(39, 174, 96, 0.2);
  will-change: transform;
}

#services .services-box:hover i[class^="pe-7s-"],
#services .services-box:hover i[class*=" pe-7s-"] {
  font-family: 'Pe-icon-7-stroke' !important;
  speak: none !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

#services .services-box i {
  color: #27ae60 !important;
  font-size: 2.5rem !important;
  margin-bottom: 1rem !important;
}

#services .services-box i[class^="pe-7s-"],
#services .services-box i[class*=" pe-7s-"] {
  font-family: 'Pe-icon-7-stroke' !important;
  speak: none !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  text-transform: none !important;
  line-height: 1 !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}


#services .services-box .text-primary {
  color: #27ae60 !important;
}

/* Silicon Valley Startup Aesthetic Enhancements */

/* Hero section modern typography */
.home-title {
  font-weight: 700 !important;
  letter-spacing: -0.03em !important;
  line-height: 1.2 !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
}

/* Gradient text effects for billion-dollar feel */
.gradient-text {
  background: linear-gradient(135deg, #27ae60, #2ecc71, #58d68d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* Highlight stats in hero */
.highlight-stat {
  color: #27ae60;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(39, 174, 96, 0.3);
}

/* Stats bar for social proof */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(39, 174, 96, 0.2);
  border-bottom: 1px solid rgba(39, 174, 96, 0.2);
}

.stat-item {
  text-align: center;
  opacity: 0.9;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #27ae60;
  text-shadow: 0 0 20px rgba(39, 174, 96, 0.4);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Premium button styling */
.btn-primary {
  background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
  border: none !important;
  padding: 15px 35px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 10px 30px rgba(39, 174, 96, 0.3) !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 15px 40px rgba(39, 174, 96, 0.5) !important;
  background: linear-gradient(135deg, #2ecc71, #27ae60) !important;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  padding: 13px 35px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

/* Fix hero section padding to account for navbar */
.bg-home {
  padding-top: 120px !important;
}

/* Ensure navbar items display horizontally on desktop */
@media (min-width: 992px) {
  .navbar-custom {
    display: flex;
    align-items: center;
  }
  
  .navbar-custom .container {
    display: flex !important;
    align-items: center !important;
    max-width: 1140px !important;
  }
  
  .navbar-custom .navbar-brand {
    display: flex;
    align-items: center;
    margin-right: auto;
  }
  
  .navbar-custom .navbar-collapse {
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-basis: auto;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    flex-grow: 1;
  }
  
  .navbar-custom .navbar-collapse:not(.show) {
    display: flex !important;
  }
  
  .navbar-custom .navbar-nav {
    flex-direction: row !important;
    align-items: center !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  
  .navbar-custom .navbar-center {
    align-items: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .navbar-custom .nav-item {
    margin-bottom: 0 !important;
    display: flex;
    align-items: center;
  }
}

.display-table-cell {
  padding-top: 60px !important;
}

.home-subtitle {
  font-weight: 400 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.6 !important;
  opacity: 0.9;
}

/* Modern section titles with green gradient like Our Technology */
.section-title {
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
  color: #27ae60 !important;
  margin-bottom: 1rem !important;
}

@supports (-webkit-background-clip: text) {
  .section-title {
    background: linear-gradient(135deg, #27ae60 0%, #27ae60 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
  }
}

/* Enterprise Value Props Section */
.enterprise-value-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d1117 50%, #161b22 100%);
  padding: 60px 0;
}

/* Contact Form Dark Theme */
.contact-form-dark {
  background-color: white;
  color: black;
}

/* Security Badges Section */
.security-badges-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d1117 50%, #161b22 100%);
  padding: 60px 0;
}

.certification-badge {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cert-logo {
  width: 306px;
  height: 204px;
  object-fit: contain;
  filter: brightness(1.2);
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .cert-logo {
    width: 200px;
    height: 133px;
  }
}

.section-subtitle {
  color: #B3B3B3 !important;
  font-size: 1.1rem !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
  letter-spacing: -0.005em !important;
}

/* Modern button styling */
.btn {
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  border-radius: 12px !important;
  padding: 12px 32px !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
  font-size: 16px !important;
}

.btn-primary {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
  box-shadow: 0 4px 14px rgba(39, 174, 96, 0.25) !important;
}

.btn-primary:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.35) !important;
  background: linear-gradient(135deg, #229954 0%, #1e8449 100%) !important;
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.8) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  color: white !important;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: white !important;
  transform: translateY(-2px) !important;
  color: white !important;
}


#who-we-are .section-subtitle,
#who-we-are .section-subtitle p,
#contact .section-subtitle,
#contact .section-subtitle p {
  color: #B3B3B3 !important;
  font-size: 1.1rem !important;
  text-align: center !important;
  text-justify: initial !important;
}


#team .section-title p {
  color: #B3B3B3;
  font-size: 1.1rem;
}

/* Team bio hover overlay */
.team-member {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.team-member:has(.ceo-image) {
  overflow: visible !important;
}

.team-bio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.team-member:hover .team-bio-overlay {
  opacity: 1;
}

.team-bio-content {
  padding: 15px;
  text-align: center;
  max-height: 100%;
  overflow-y: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.team-bio-content p {
  color: white;
  font-size: 0.75rem;
  line-height: 1.25;
  margin: 0;
  max-height: 100%;
  overflow-y: auto;
}

@media (max-width: 768px) {
  .team-box .team-bio-overlay .team-bio-content p {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    padding: 8px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  .team-box .team-bio-overlay .team-bio-content {
    padding: 12px !important;
    font-size: 0.8rem !important;
  }
  
  .team-box .team-bio-overlay {
    border-radius: 8px !important;
  }
}

@media (max-width: 480px) {
  .team-box .team-bio-overlay .team-bio-content p {
    font-size: 0.75rem !important;
    line-height: 1.25 !important;
    padding: 6px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  .team-box .team-bio-overlay .team-bio-content {
    padding: 10px !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 375px) {
  .team-box .team-bio-overlay .team-bio-content p {
    font-size: 0.7rem !important;
    line-height: 1.2 !important;
    padding: 5px !important;
  }
  
  .team-box .team-bio-overlay .team-bio-content {
    padding: 8px !important;
  }
}

/* Professional compliance section styling */
.compliance-item {
  padding: 8px 16px;
  background: rgba(39, 174, 96, 0.1);
  border: 1px solid rgba(39, 174, 96, 0.2);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.compliance-item:hover {
  background: rgba(39, 174, 96, 0.2);
  border-color: rgba(39, 174, 96, 0.4);
  transform: translateY(-2px);
}

/* Enhanced section transitions */
.section {
  transition: all 0.3s ease;
}

/* Professional form styling enhancements */
.contact-form-input {
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  transition: all 0.3s ease !important;
}

.contact-form-input:focus {
  border-color: rgba(39, 174, 96, 0.5) !important;
  box-shadow: 0 0 0 0.2rem rgba(39, 174, 96, 0.15) !important;
}


#contact .section-title p {
  color: #B3B3B3;
  font-size: 1.1rem;
}

/* Modern contact form styling */
#contact input[name="name"],
#contact input[name="email"], 
#contact textarea[name="comments"],
#contact select[name="Referral"] {
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1px solid rgba(39, 174, 96, 0.2) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  font-weight: 400 !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(10px) !important;
}

#contact input[name="name"]:focus,
#contact input[name="email"]:focus, 
#contact textarea[name="comments"]:focus,
#contact select[name="Referral"]:focus {
  border-color: #27ae60 !important;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1) !important;
  outline: none !important;
}

#contact input[name="name"],
#contact input[name="email"], 
#contact textarea[name="comments"] {
  color: #6c757d !important;
  -webkit-text-fill-color: #6c757d !important;
}

#contact select[name="Referral"] {
  color: black !important;
  -webkit-text-fill-color: black !important;
}

#contact .submitBnt {
  background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 16px 32px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#contact .submitBnt:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(39, 174, 96, 0.35) !important;
}

/* Contact section text sizing */
#contact .text-white {
  font-size: clamp(1rem, 2.2vw, 1.2rem) !important;
  font-weight: 500 !important;
}

#contact label {
  font-size: clamp(0.95rem, 2vw, 1.1rem) !important;
  font-weight: 500 !important;
  margin-bottom: 0.5rem !important;
}

/* Modern section separators */
#services::after,
#enterprise-value::after,
#who-we-are::after,
#technology-framework::after,
#team::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(39, 174, 96, 0.6) 20%, rgba(39, 174, 96, 1) 50%, rgba(39, 174, 96, 0.6) 80%, transparent 100%);
  margin: 40px auto;
  width: 80%;
  position: relative;
}

#services::after,
#enterprise-value::after,
#who-we-are::after,
#technology-framework::after,
#team::after {
  animation: pulse-line 3s ease-in-out infinite;
}

@keyframes pulse-line {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.technology-framework-header {
  text-align: center;
  margin-bottom: 40px;
}

.technology-framework-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  background: linear-gradient(135deg, #27ae60 0%, #27ae60 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.technology-framework-subtitle {
  color: #B3B3B3;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.technology-module-title {
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  margin-bottom: 0.75rem !important;
}

.technology-module-description {
  color: #B3B3B3 !important;
  font-size: 0.95rem !important;
  line-height: 1.5 !important;
  margin-bottom: 0.75rem !important;
}

.technology-module-features li {
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
}

.technology-modules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.technology-module {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.technology-module::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #27ae60, #27ae60);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.technology-module:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.technology-module:hover::before {
  transform: scaleX(1);
}

/* Apply same hover effects to Who We Are cards */
.highlight-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #27ae60, #27ae60);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.highlight-card:hover::before {
  transform: scaleX(1);
}

.highlight-card .text-white-50 {
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}

/* Apply same hover effects to Trusted By cards */
.trusted-client-card {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.trusted-client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #27ae60, #27ae60);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.trusted-client-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.6);
}

.trusted-client-card:hover::before {
  transform: scaleX(1);
}

.technology-module-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #27ae60, #27ae60);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  font-size: 20px;
}

.technology-module-icon-custom {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  position: relative;
  z-index: 10;
}

.technology-module-icon-custom img {
  position: relative;
  z-index: 10;
}

.technology-module:has(.technology-module-icon-custom)::before {
  display: none !important;
}

.technology-module-custom::before {
  display: none !important;
}

.technology-module-title {
  font-size: 1.3em;
  font-weight: 600;
  margin-bottom: 10px;
  color: #fff;
}

.technology-module-description {
  color: #B3B3B3;
  line-height: 1.5;
  margin-bottom: 15px;
}

.technology-module-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.technology-module-features li {
  color: #27ae60;
  font-size: 0.9em;
  margin-bottom: 5px;
  padding-left: 20px;
  position: relative;
}

.technology-module-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27ae60;
}

.technology-benefits {
  background: rgba(255,255,255,0.1);
  border: 2px solid #27ae60;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.technology-benefits-title {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #27ae60;
}

.technology-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.technology-benefit {
  text-align: center;
}

.technology-benefit-number {
  font-size: 2em;
  font-weight: 700;
  color: #27ae60;
  margin-bottom: 5px;
}

.technology-benefit-label {
  color: #bdc3c7;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .technology-modules-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .technology-benefits-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .technology-framework {
    padding: 30px 15px;
  }
  .technology-framework-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .technology-framework {
    padding: 20px 10px;
  }
  .technology-framework-title {
    font-size: 1.8rem;
  }
  .technology-module {
    padding: 20px;
  }
}

/* Loader Styles */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid #27ae60;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Custom Typing Effect styles */
.custom-typing-wrapper {
  display: inline !important;
  line-height: 1.6 !important;
  position: relative !important;
}

.custom-typing-wrapper > span {
  display: inline !important;
}

/* Ensure last word and cursor stay together */
.custom-typing-wrapper > span:last-child {
  display: inline-block !important;
  white-space: nowrap !important;
}

/* Prevent layout shift during typing animation */
@media (max-width: 768px) {
  .hero-text-container {
    width: 90% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
  }
}

/* Typing cursor animation */
.typing-cursor {
  display: inline-block !important;
  font-weight: 100;
  font-size: 1em;
  vertical-align: baseline;
  margin-left: 2px;
}

@keyframes blink {
  0% { opacity: 1; }
  50% { opacity: 0; }
  100% { opacity: 1; }
}

/* Error Boundary Styles */
.error-boundary-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a 0%, #0d1117 50%, #161b22 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.error-boundary-content {
  text-align: center;
  max-width: 500px;
  padding: 40px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.error-icon {
  margin-bottom: 20px;
}

.error-title {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.error-message {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.error-actions {
  margin-bottom: 20px;
}

.error-details {
  color: rgba(255, 255, 255, 0.9);
}
