:root{
  --primary-color: #E53E3E;
  --secondary-color: #2B6CB0;
  --accent-color: #E53E3E;
  --dark-color: #1A1A1A;
  --light-color: #F8F9FA;
  --muted-color: #6C757D;
  --success-color: #28A745;
  --warning-color: #2B6CB0;
  --gradient-primary: #E53E3E;
  --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #343A40 100%);
  --brand-font: 'Poppins', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 25px rgba(0,0,0,0.2);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--brand-font);
  color: var(--dark-color);
  background: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Ensure proper stacking context */
body > * {
  position: relative;
  z-index: 1;
}

.porto-navbar {
  z-index: 1030;
  position: relative;
}

main {
  min-height: 100vh;
}

/* Smooth Scrolling and Performance */
html {
  scroll-behavior: smooth;
}

/* Performance optimizations */
* {
  will-change: auto;
}

.project-card, 
.stat-card, 
.filter-btn {
  will-change: transform, box-shadow;
}

.project-image {
  will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Top Bar Styling */
.top-bar {
  background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
  color: white;
  padding: 6px 0;
  font-size: 0.875rem;
  border-bottom: 2px solid var(--primary-color);
}

.top-bar-info {
  display: flex;
  gap: 35px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .top-bar-info {
    gap: 15px;
    justify-content: center;
  }
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  transition: var(--transition);
}

.info-item:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.info-item i {
  color: var(--primary-color);
  font-size: 1rem;
  width: 16px;
  text-align: center;
}

.top-bar-social {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 768px) {
  .top-bar-social {
    justify-content: center;
    margin-top: 10px;
  }
}

.social-link {
  color: white;
  text-decoration: none;
  transition: var(--transition);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px) scale(1.1);
  border-color: var(--primary-color);
  box-shadow: 0 8px 20px rgba(229, 62, 62, 0.3);
}

/* PORTO Style Navbar */
.porto-navbar {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  transition: var(--transition);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  min-height: auto;
}

.porto-navbar .container {
  display: flex;
  align-items: center;
  position: relative;
}

.porto-navbar .navbar-collapse {
  display: flex;
  align-items: center;
}

/* Desktop navbar collapse behavior */
@media (min-width: 992px) {
  .porto-navbar .navbar-collapse {
    position: static !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    backdrop-filter: none !important;
    border-radius: 0 !important;
  }
  
  .porto-navbar .navbar-nav {
    flex-direction: row !important;
    width: auto !important;
    padding: 0 !important;
  }
  
  .porto-navbar .navbar-nav .nav-item {
    width: auto !important;
  }
  
  .porto-navbar .navbar-nav .nav-link {
    padding: 10px 18px !important;
    text-align: center !important;
  }
}

.porto-navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.95) !important;
}

/* Brand Logo */
.navbar-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand {
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 8px rgba(229, 62, 62, 0.2));
}

/* Navigation Links */
.porto-navbar .navbar-nav {
  align-items: center;
}

.porto-navbar .navbar-nav .nav-link {
  color: var(--dark-color) !important;
  font-weight: 600;
  padding: 10px 18px !important;
  text-transform: none;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  position: relative;
  transition: var(--transition);
  border-radius: 8px;
  margin: 0 4px;
  display: flex;
  align-items: center;
}

.porto-navbar .navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  background: rgba(229, 62, 62, 0.05) !important;
  transform: translateY(-2px);
}

.porto-navbar .navbar-nav .nav-link.active {
  color: white !important;
  background: linear-gradient(135deg, var(--primary-color) 0%, #c53030 100%) !important;
  border-radius: 8px !important;
  opacity: 1 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

/* Extra specificity for active state */
.porto-navbar .nav-link.active.fw-semibold {
  color: white !important;
  background: linear-gradient(135deg, var(--primary-color) 0%, #c53030 100%) !important;
  font-weight: 700 !important;
}

.porto-navbar .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 2px;
}

.porto-navbar .navbar-nav .nav-link:hover::after {
  width: 20px;
}

.porto-navbar .navbar-nav .nav-link.active::after {
  display: none;
}

/* Call to Action Section */
.navbar-cta {
  display: flex;
  align-items: center;
}

.call-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #c53030 100%);
  border-radius: 12px;
  color: white;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.call-info:hover {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #2c5282 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(43, 108, 176, 0.3);
  color: white;
}

.call-info i {
  font-size: 1.3rem;
  animation: pulse 3s infinite;
  background: rgba(255, 255, 255, 0.2);
  padding: 6px;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.call-details {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.call-label {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.9;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.call-number {
  font-size: 0.95rem;
  font-weight: 700;
  margin-top: 2px;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Mobile Hamburger Menu Styling */
.navbar-toggler {
  border: 2px solid var(--primary-color);
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
  background: rgba(229, 62, 62, 0.05);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(229, 62, 62, 0.25);
  outline: none;
}

.navbar-toggler:hover {
  background: rgba(229, 62, 62, 0.1);
  transform: scale(1.05);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23E53E3E' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 24px;
  height: 24px;
}

/* Mobile Menu Animation */
.navbar-collapse {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.navbar-collapse.collapsing {
  transition: height 0.35s ease, opacity 0.3s ease;
  opacity: 0;
}

.navbar-collapse.show {
  opacity: 1;
}

.navbar-collapse.collapse:not(.show) {
  display: none;
}

@media (max-width: 991.98px) {
  .navbar-collapse.collapse.show {
    display: block;
  }
}

/* Mobile Responsive - Tablet */
@media (max-width: 991.98px) {
  .top-bar {
    padding: 8px 0;
  }
  
  .top-bar-info {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .top-bar-social {
    justify-content: center;
    margin-top: 10px;
  }
  
  .info-item {
    font-size: 0.8rem;
  }
  
  .porto-navbar {
    padding: 8px 0;
  }
  
  .navbar-logo {
    height: 100px;
  }
  
  /* Mobile Menu Dropdown Styles */
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    padding: 25px 0 !important;
    margin-top: 15px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(229, 62, 62, 0.1);
    width: 100% !important;
    z-index: 1000;
  }
  
  .porto-navbar .container {
    position: relative;
  }
  
  .porto-navbar .navbar-nav {
    gap: 0 !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin: 0 auto 0 auto !important;
  }
  
  /* Override Bootstrap mx-auto on mobile */
  .navbar-collapse .navbar-nav.mx-auto {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .porto-navbar .navbar-nav .nav-item {
    width: 100% !important;
    display: block !important;
  }
  
  .porto-navbar .navbar-nav .nav-link {
    padding: 14px 20px !important;
    margin: 4px 0 !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    width: 100% !important;
    text-align: left !important;
    display: block !important;
    border-bottom: none !important;
    transition: all 0.3s ease !important;
  }
  
  .porto-navbar .navbar-nav .nav-link:hover {
    background: rgba(229, 62, 62, 0.08) !important;
    transform: translateX(5px);
    padding-left: 25px !important;
  }
  
  .porto-navbar .navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c53030 100%) !important;
    color: white !important;
    transform: translateX(5px);
  }
  
  .navbar-cta {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    padding: 0 20px;
    display: flex;
  }
  
  .call-info {
    padding: 14px 24px;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
  }
  
  .call-info i {
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  
  .call-details {
    flex: 1;
    text-align: left;
  }
  
  .call-label {
    font-size: 0.7rem;
    white-space: nowrap;
  }
  
  .call-number {
    font-size: 1rem;
    white-space: nowrap;
  }
}

/* Mobile Responsive - Phone */
@media (max-width: 767.98px) {
  .top-bar {
    display: none; /* Hide top bar on mobile for cleaner look */
  }
  
  .porto-navbar {
    padding: 10px 0;
    position: relative;
  }
  
  .porto-navbar .container {
    position: relative;
  }
  
  .navbar-logo {
    height: 100px;
  }
  
  .navbar-collapse {
    padding: 20px 0;
    margin-top: 10px;
  }
  
  .porto-navbar .navbar-nav {
    padding: 0 15px;
  }
  
  .porto-navbar .navbar-nav .nav-link {
    padding: 13px 18px !important;
    font-size: 0.95rem;
    margin: 3px 0 !important;
  }
  
  .navbar-cta {
    padding: 0 15px;
    margin-top: 15px;
  }
  
  .call-info {
    flex-direction: row;
    gap: 12px;
    padding: 13px 20px;
    text-align: left;
    width: 100%;
    justify-content: flex-start;
  }
  
  .call-info i {
    font-size: 1.3rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .call-details {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  
  .call-label {
    font-size: 0.7rem;
    line-height: 1.2;
  }
  
  .call-number {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
  }
}

/* Extra Small Mobile Screens */
@media (max-width: 400px) {
  .navbar-logo {
    height: 100px;
  }
  
  .navbar-toggler {
    padding: 6px 10px;
  }
  
  .navbar-collapse {
    margin-top: 8px;
    padding: 15px 0;
  }
  
  .porto-navbar .navbar-nav {
    padding: 0 12px;
  }
  
  .porto-navbar .navbar-nav .nav-link {
    padding: 12px 15px !important;
    font-size: 0.9rem;
  }
  
  .navbar-cta {
    padding: 0 12px;
  }
  
  .call-info {
    padding: 12px 16px;
    gap: 8px;
  }
  
  .call-info i {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
  }
  
  .call-label {
    font-size: 0.65rem;
  }
  
  .call-number {
    font-size: 0.88rem;
  }
}

/* Ensure proper stacking on mobile */
@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .navbar-expand-lg .navbar-nav .nav-item {
    width: 100% !important;
  }
  
  .navbar-expand-lg .navbar-collapse {
    flex-basis: 100% !important;
    flex-grow: 1 !important;
    align-items: flex-start !important;
  }
  
  /* Force visibility on mobile when shown */
  .navbar-collapse.show .navbar-nav,
  .navbar-collapse.show .navbar-nav .nav-item,
  .navbar-collapse.show .navbar-cta {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .navbar-collapse.show .navbar-nav {
    display: flex !important;
  }
}
  
  .navbar-nav {
    margin-top: 20px;
  }
  
  .navbar-nav .nav-link {
    padding: 8px 15px !important;
    border-bottom: 1px solid #eee;
  }
  
  .call-info {
    margin-top: 20px;
    justify-content: center;
  }


@media (max-width: 767.98px) {
  .top-bar {
    padding: 8px 0;
  }
  
  .top-bar-info {
    gap: 8px;
  }
  
  .info-item {
    font-size: 0.75rem;
  }
  
  .social-link {
    width: 28px;
    height: 28px;
  }
}

/* Custom Mobile Toggle */
.custom-toggler {
  border: none;
  padding: 8px;
  background: transparent;
  transition: var(--transition);
}

.custom-toggler:focus {
  box-shadow: none;
}

.toggler-line {
  display: block;
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
  transition: var(--transition);
  border-radius: 2px;
}

.custom-toggler:hover .toggler-line {
  background: var(--secondary-color);
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
  opacity: 0;
}

.custom-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation Links */
.navbar-nav {
  gap: 5px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 12px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.nav-link i {
  font-size: 1rem;
  opacity: 0.8;
  transition: var(--transition);
}

.nav-link span {
  font-size: 0.95rem;
  position: relative;
}

.nav-link:hover {
  color: white !important;
  background: rgba(255, 107, 53, 0.1);
  transform: translateY(-2px);
}

.nav-link:hover i {
  opacity: 1;
  color: var(--secondary-color);
  transform: scale(1.1);
}

.nav-link.active {
  color: white !important;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-sm);
}

.nav-link.active i {
  color: white;
  opacity: 1;
}

/* Hover Effect Line */
.nav-link:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.nav-link:hover:before {
  width: 80%;
}

.nav-link.active:before {
  display: none;
}

/* Professional Dropdown */
.professional-dropdown {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  margin-top: 10px;
  min-width: 280px;
}

.professional-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 20px;
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(255, 255, 255, 0.98);
}

.dropdown-item {
  padding: 12px 20px;
  font-weight: 500;
  color: var(--dark-color);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 0;
}

.dropdown-item i {
  color: var(--primary-color);
  font-size: 1.1rem;
  width: 20px;
}

.dropdown-item:hover {
  background: var(--gradient-primary);
  color: white;
  transform: translateX(5px);
}

.dropdown-item:hover i {
  color: white;
  transform: scale(1.1);
}

.dropdown-divider {
  margin: 8px 20px;
  border-color: rgba(0, 0, 0, 0.1);
}

/* CTA Buttons in Navbar */
.nav-cta-btn {
  padding: 8px 16px !important;
  font-weight: 600;
  border-radius: 25px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
}

.nav-cta-btn.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

.nav-cta-btn.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.nav-cta-btn.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
  box-shadow: var(--shadow-sm);
}

.nav-cta-btn.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.nav-cta-btn i {
  font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 991.98px) {
  .brand-text {
    display: none;
  }
  
  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .navbar-collapse {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    margin-top: 15px;
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link {
    justify-content: flex-start;
    padding: 15px 20px !important;
    margin-bottom: 5px;
    border-radius: var(--border-radius);
  }
  
  .nav-cta-btn {
    margin: 10px 0 5px;
    justify-content: center;
    padding: 12px 20px !important;
  }
  
  .professional-dropdown {
    background: rgba(0, 0, 0, 0.9);
    margin-left: 20px;
    border-radius: 8px;
  }
  
  .dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
  }
  
  .dropdown-item:hover {
    background: var(--gradient-primary);
  }
}

/* Navbar Scroll Animation */
@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.professional-navbar {
  animation: navSlideDown 0.3s ease-out;
}

/* Hero Section */
#heroCarousel {
  position: relative;
  overflow: hidden;
}

.hero-image-container {
  position: relative;
  height: 85vh;
  min-height: 600px;
  max-height: 750px;
  overflow: hidden;
}

.hero-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 12s ease-in-out;
  filter: brightness(0.85) contrast(1.1);
}

.carousel-item.active .hero-image-container img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: 
    linear-gradient(135deg, rgba(26, 26, 26, 0.75) 0%, rgba(229, 62, 62, 0.4) 50%, rgba(43, 108, 176, 0.3) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%);*/
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 210, 63, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 75% 75%, rgba(255, 107, 53, 0.1) 0%, transparent 25%);
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-15px) rotate(1deg); }
  66% { transform: translateY(-10px) rotate(-1deg); }
}

/* Hero Responsive Styles */
@media (max-width: 768px) {
  .hero-image-container {
    height: 70vh;
    min-height: 500px;
    max-height: 600px;
  }
  
  .hero-content {
    padding: 15px 12px;
  }
  
  .hero-badge {
    padding: 5px 14px;
    font-size: 0.7rem;
    margin-bottom: 10px;
  }
  
  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-bottom: 12px;
  }
  
  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.3;
  }
  
  .hero-buttons {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
  }
  
  .hero-buttons .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
    flex: 1;
    max-width: 140px;
  }
  
  .hero-stats {
    gap: 15px;
    padding: 12px;
    flex-direction: row;
    justify-content: space-around;
  }
  
  .stat-item {
    padding: 6px 4px;
    flex: 1;
  }
  
  .stat-item:not(:last-child)::after {
    display: none;
  }
  
  .stat-item strong {
    font-size: 1.1rem;
    margin-bottom: 1px;
  }
  
  .stat-item span {
    font-size: 0.65rem;
  }
}

/* Tablet Responsive Styles */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-image-container {
    height: 80vh;
    min-height: 550px;
    max-height: 700px;
  }
  
  .hero-content {
    padding: 25px 30px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  
  .hero-subtitle {
    font-size: 1.05rem;
  }
  
  .hero-buttons .btn {
    padding: 13px 26px;
    font-size: 0.92rem;
  }
  
  .hero-stats {
    gap: 25px;
    padding: 18px;
  }
  
  .stat-item {
    padding: 8px 12px;
  }
  
  .stat-item strong {
    font-size: 1.4rem;
  }
  
  .stat-item span {
    font-size: 0.75rem;
  }
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 95%;
  max-width: 850px;
  z-index: 3;
  padding: 0 15px;
}

.hero-content {
  animation: slideInUp 1.2s ease-out;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(15px);
  padding: 25px 30px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  max-width: 750px;
  margin: 0 auto;
}

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

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.9), rgba(229, 62, 62, 0.7));
  padding: 6px 18px;
  border-radius: 25px;
  font-size: 0.8rem;
  margin-bottom: 15px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
  letter-spacing: 0.3px;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { box-shadow: 0 0 20px rgba(229, 62, 62, 0.3); }
  to { box-shadow: 0 0 30px rgba(229, 62, 62, 0.5); }
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.text-accent {
  background: linear-gradient(135deg, #2B6CB0, #3182CE, #4299E1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.text-accent::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2B6CB0, #3182CE);
  border-radius: 2px;
  opacity: 0.6;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  opacity: 0.95;
  line-height: 1.4;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.hero-buttons {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 25px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  text-transform: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
  min-width: 140px;
}

.hero-buttons .btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.hero-buttons .btn:hover:before {
  left: 100%;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  padding: 16px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 10px 15px;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.stat-item strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 8px rgba(43, 108, 176, 0.3);
  margin-bottom: 3px;
}

.stat-item span {
  font-size: 0.8rem;
  opacity: 0.95;
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Button Styles */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

.btn-outline-light {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  backdrop-filter: blur(10px);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

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

/* Section Styling */
.section-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 15px;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted-color);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* Professional About Section */
.about-section {
  padding: 120px 0;
  background: 
    linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%),
    radial-gradient(ellipse at top, rgba(229, 62, 62, 0.03) 0%, transparent 50%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1" fill="rgba(229,62,62,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>'),
    linear-gradient(45deg, rgba(229, 62, 62, 0.02) 25%, transparent 25%);
  opacity: 0.7;
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { transform: translateX(0) translateY(0); }
  25% { transform: translateX(10px) translateY(-5px); }
  50% { transform: translateX(-5px) translateY(10px); }
  75% { transform: translateX(-10px) translateY(-10px); }
}

.about-section .container {
  position: relative;
  z-index: 2;
}

.about-content {
  padding-right: 40px;
}

.about-content .section-badge {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.about-content .section-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark-color);
  line-height: 1.2;
  margin-bottom: 25px;
}

.about-content .lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted-color);
  margin-bottom: 40px;
  font-weight: 400;
}

.about-features {
  margin: 40px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 30px;
  background: 
    linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(229, 62, 62, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(229, 62, 62, 0.08);
  position: relative;
  overflow: hidden;
}

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: all 0.5s ease;
}

.feature-item::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(229, 62, 62, 0.03), transparent);
  transform: rotate(45deg) scale(0);
  transition: all 0.6s ease;
}

.feature-item:hover {
  transform: translateX(15px) translateY(-8px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 5px 20px rgba(229, 62, 62, 0.1);
  border-color: rgba(229, 62, 62, 0.2);
}

.feature-item:hover::before {
  transform: scaleY(1);
}

.feature-item:hover::after {
  transform: rotate(45deg) scale(1.5);
}

.feature-icon {
  font-size: 2.5rem;
  margin-right: 25px;
  flex-shrink: 0;
  color: var(--primary-color);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(229, 62, 62, 0.1);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: all 0.5s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  color: white;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
}

.feature-item:hover .feature-icon::before {
  left: 100%;
}

.feature-icon i {
  display: block;
  z-index: 1;
  position: relative;
}

.feature-content h5 {
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--dark-color);
  font-size: 1.2rem;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-content h5 {
  color: var(--primary-color);
  transform: translateX(5px);
}

.feature-content p {
  color: var(--muted-color);
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  transition: all 0.3s ease;
}

.feature-item:hover .feature-content p {
  color: var(--dark-color);
}

/* Company Highlights */
.company-highlights {
  margin: 25px 0 35px 0;
  padding: 0;
}

.highlight-point {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 12px 0;
  transition: all 0.3s ease;
}

.highlight-point:hover {
  transform: translateX(5px);
}

.highlight-point i {
  font-size: 1.1rem;
  margin-right: 12px;
  flex-shrink: 0;
}

.highlight-point span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-color);
  line-height: 1.5;
}

/* Enhanced About Features Grid */
.about-features .row {
  margin-top: 30px;
}

.about-features .feature-item {
  height: 100%;
  min-height: 140px;
  display: flex;
  align-items: center;
}

.about-features .feature-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.about-actions {
  margin-top: 40px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Modern Feature Cards */
.feature-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(229, 62, 62, 0.15);
}

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

.feature-card-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
  color: #3B82F6;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover .feature-card-icon {
  transform: scale(1.05);
}

.feature-card:hover .feature-card-icon::after {
  opacity: 1;
}

.feature-card-icon i {
  z-index: 1;
  position: relative;
}

.feature-card-icon-success {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
  color: #22C55E;
}

.feature-card-icon-info {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(14, 165, 233, 0.05));
  color: #0EA5E9;
}

.feature-card-icon-warning {
  background: linear-gradient(135deg, rgba(251, 146, 60, 0.1), rgba(251, 146, 60, 0.05));
  color: #FB923C;
}

.feature-card-content {
  flex: 1;
  min-width: 0;
}

.feature-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
  line-height: 1.3;
}

.feature-card-text {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.feature-card:hover .feature-card-title {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .feature-card {
    padding: 16px;
  }
  
  .feature-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    font-size: 20px;
  }
  
  .feature-card-title {
    font-size: 0.95rem;
  }
  
  .feature-card-text {
    font-size: 0.813rem;
  }
}

.about-actions .btn {
  border-radius: 50px;
  padding: 15px 30px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.about-actions .btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  border: none;
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.about-actions .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.4);
}

.about-actions .btn-outline-primary {
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  background: transparent;
}

.about-actions .btn-outline-primary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
}

.about-images {
  position: relative;
  padding: 20px;
}

.image-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-image {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(229, 62, 62, 0.1) 0%, rgba(43, 108, 176, 0.1) 100%);
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 1;
}

.main-image:hover::before {
  opacity: 1;
}

.main-image img {
  border-radius: 24px;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95) contrast(1.05);
}

.main-image:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.main-image:hover img {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.1);
}

.image-badge {
  position: absolute;
  top: 25px;
  right: 25px;
  background: linear-gradient(135deg, var(--primary-color), #c53030);
  color: white;
  padding: 15px 20px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(229, 62, 62, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.95rem;
  z-index: 2;
  transition: all 0.3s ease;
}

.image-badge:hover {
  transform: scale(1.05);
}

.secondary-images {
  display: flex;
  gap: 20px;
}

.secondary-image {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.secondary-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(229, 62, 62, 0.15) 0%, rgba(43, 108, 176, 0.15) 100%);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.secondary-image:hover::before {
  opacity: 1;
}

.secondary-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 18px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.95);
}

.secondary-image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.secondary-image:hover img {
  transform: scale(1.1);
  filter: brightness(1);
}

.experience-card {
  position: absolute;
  bottom: -30px;
  left: 20px;
  background: 
    linear-gradient(135deg, white 0%, rgba(248, 250, 252, 0.95) 100%);
  backdrop-filter: blur(20px);
  padding: 30px 35px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.15),
    0 5px 15px rgba(229, 62, 62, 0.1);
  border: 3px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.experience-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 20px;
  z-index: -1;
}

.experience-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(229, 62, 62, 0.1), transparent);
  transition: all 0.6s ease;
}

.experience-card:hover {
  transform: translateY(-5px) scale(1.05);
}

.experience-card:hover::after {
  left: 100%;
}

.experience-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(229, 62, 62, 0.2);
}

.experience-text {
  font-weight: 700;
  color: var(--dark-color);
  font-size: 1rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Service Cards */
.services-section {
  padding: 120px 0;
  background: 
    linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 50%, #cbd5e1 100%),
    radial-gradient(ellipse at center bottom, rgba(229, 62, 62, 0.05) 0%, transparent 70%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="rgba(229,62,62,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(20px, 20px); }
}

.service-card {
  background: 
    linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
  backdrop-filter: blur(20px);
  border: none;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    0 2px 8px rgba(229, 62, 62, 0.08);
  height: 100%;
  position: relative;
  border: 2px solid rgba(229, 62, 62, 0.08);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.05), rgba(43, 108, 176, 0.05));
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
}

.service-card::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 26px;
  z-index: -1;
  opacity: 0;
  transition: all 0.5s ease;
}

.service-card:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.2),
    0 10px 30px rgba(229, 62, 62, 0.15);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 0.1;
}

.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.9) contrast(1.1);
}

.service-card:hover .service-image img {
  transform: scale(1.08) rotate(2deg);
  filter: brightness(1) contrast(1.2);
}

.service-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: 
    linear-gradient(135deg, rgba(229, 62, 62, 0.9), rgba(43, 108, 176, 0.9)),
    radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.2) 100%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
}

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

.service-icon {
  font-size: 4rem;
  color: white;
  transform: scale(0.5) rotate(-15deg);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  text-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.service-card .card-body {
  padding: 35px 30px;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.02);
}

.service-card .card-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: var(--dark-color);
  line-height: 1.3;
  transition: all 0.3s ease;
}

.service-card:hover .card-title {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.service-card .card-text {
  color: var(--muted-color);
  margin-bottom: 25px;
  line-height: 1.8;
  font-size: 1.05rem;
  font-weight: 400;
  transition: all 0.3s ease;
}

.service-card:hover .card-text {
  color: var(--dark-color);
}

.service-features {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.service-features li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
  padding: 12px 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.5);
  border: 1px solid rgba(229, 62, 62, 0.05);
  position: relative;
  overflow: hidden;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: scaleY(0);
  transition: all 0.3s ease;
}

.service-features li:hover {
  background: rgba(229, 62, 62, 0.08);
  transform: translateX(8px);
  border-color: rgba(229, 62, 62, 0.2);
}

.service-features li:hover::before {
  transform: scaleY(1);
}

.service-features i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
  background: rgba(229, 62, 62, 0.1);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.service-features li:hover i {
  color: white;
  background: var(--primary-color);
  transform: scale(1.1);
}

.service-card .btn {
  border-radius: 30px;
  padding: 12px 25px;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: none;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}

.service-card .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.service-card .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
}

.service-card .btn:hover::before {
  left: 100%;
}

/* Project Cards */
.projects-section {
  padding: 60px 0;
  background: 
    linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%),
    radial-gradient(ellipse at top right, rgba(43, 108, 176, 0.05) 0%, transparent 50%);
  position: relative;
}

.projects-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="hexagons" width="60" height="60" patternUnits="userSpaceOnUse"><polygon points="30,10 45,20 45,40 30,50 15,40 15,20" fill="none" stroke="rgba(43,108,176,0.04)" stroke-width="0.5"/></pattern></defs><rect width="60" height="60" fill="url(%23hexagons)"/></svg>');
  opacity: 0.4;
}

.project-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(43, 108, 176, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: white;
  border: 1px solid rgba(43, 108, 176, 0.12);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 12px 35px rgba(0, 0, 0, 0.15),
    0 4px 15px rgba(43, 108, 176, 0.2);
  border-color: rgba(43, 108, 176, 0.25);
}

.project-image-container {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: brightness(0.92) contrast(1.08);
}

.project-card:hover .project-image {
  transform: scale(1.08);
  filter: brightness(1) contrast(1.15);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(135deg, rgba(43, 108, 176, 0.92) 0%, rgba(229, 62, 62, 0.88) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.6) 100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: white;
  backdrop-filter: blur(5px);
}

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

.project-category {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
  align-self: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.project-description {
  margin-bottom: 12px;
  line-height: 1.5;
  opacity: 0.95;
  font-size: 0.9rem;
  font-weight: 400;
}

.project-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.project-stats span {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  padding: 6px 12px;
  border-radius: 16px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.project-stats i {
  font-size: 0.9rem;
  color: #ffffff;
}

.project-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-quick-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: white;
  border-top: 1px solid rgba(43, 108, 176, 0.12);
  position: relative;
}

.project-quick-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.project-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-meta strong {
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.project-meta span {
  font-size: 0.8rem;
  color: var(--muted-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 16px;
  background: rgba(40, 167, 69, 0.1);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.project-status i {
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  margin: 80px 0;
}

.cta-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-background {
  position: relative;
  height: 500px;
}

.cta-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(255, 107, 53, 0.7) 100%);
}

.cta-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  color: white;
}

.cta-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.cta-feature i {
  color: var(--success-color);
  font-size: 1.2rem;
}

.cta-buttons {
  margin-bottom: 40px;
}

.cta-buttons .btn {
  margin: 0 10px 10px 0;
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 50px;
}

.cta-trust-indicators {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.trust-item i {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

/* Footer */
footer { 
  background: 
    linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1f2937 100%),
    radial-gradient(ellipse at center bottom, rgba(229, 62, 62, 0.1) 0%, transparent 70%);
  color: #e5e7eb;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
  box-shadow: 0 2px 10px rgba(229, 62, 62, 0.3);
}

footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footerPattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(229,62,62,0.05)"/><circle cx="0" cy="0" r="0.5" fill="rgba(43,108,176,0.03)"/><circle cx="50" cy="50" r="0.5" fill="rgba(43,108,176,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
  opacity: 0.4;
  pointer-events: none;
}

.footer-content {
  padding: 80px 0 50px;
  position: relative;
  z-index: 2;
}

.footer-brand {
  margin-bottom: 25px;
}

.footer-brand .d-flex {
  margin-bottom: 20px;
}

.footer-brand .brand-mark {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  font-size: 1.8rem;
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
  animation: brandGlow 3s ease-in-out infinite alternate;
}

@keyframes brandGlow {
  from { box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3); }
  to { box-shadow: 0 12px 35px rgba(229, 62, 62, 0.5); }
}

.footer-brand .fs-4 {
  background: linear-gradient(135deg, #ffffff, #f1f5f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

.footer-description {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 30px;
  font-size: 1rem;
  font-weight: 400;
}

.footer-awards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.95rem;
  color: #cbd5e1;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.award-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(5px);
}

.award-item i {
  font-size: 1.3rem;
  background: rgba(255, 255, 255, 0.1);
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.footer-heading {
  color: white;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: #E53E3E;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links .link-light {
  color: #cbd5e1 !important;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: large;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.footer-links .link-light:hover {
  color: white !important;
  background: rgba(229, 62, 62, 0.1);
  transform: translateX(8px);
  border-left: 3px solid var(--primary-color);
  padding-left: 15px;
}

.footer-links .link-light i {
  font-size: 1rem;
  opacity: 0.8;
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.footer-contact {
  margin-bottom: 35px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  border-color: rgba(229, 62, 62, 0.3);
}

.contact-item i {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: 5px;
  flex-shrink: 0;
  background: rgba(229, 62, 62, 0.15);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(229, 62, 62, 0.2);
}

.contact-item strong {
  display: block;
  color: white;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.contact-item p {
  margin: 0;
  color: #cbd5e1;
  line-height: 1.6;
  font-weight: 400;
}

.contact-item .link-light {
  color: #cbd5e1 !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.contact-item .link-light:hover {
  color: var(--secondary-color) !important;
  text-shadow: 0 0 8px rgba(43, 108, 176, 0.5);
}

.footer-social h6 {
  color: white;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1rem;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border-radius: 15px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: all 0.5s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(229, 62, 62, 0.3);
  border-color: transparent;
}

.social-link:hover::before {
  left: 100%;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.4);
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.footer-bottom p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin: 0;
  font-weight: 400;
}

.footer-bottom-links {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-bottom-links .link-light {
  color: #cbd5e1 !important;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
  font-weight: 500;
}

.footer-bottom-links .link-light:hover {
  color: white !important;
  background: rgba(229, 62, 62, 0.15);
  transform: translateY(-2px);
}

/* About Page Specific Styles */

/* About Hero Section */
.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(255, 107, 53, 0.4) 100%);
  z-index: 2;
}

.about-hero .container {
  position: relative;
  z-index: 3;
}

.about-hero .hero-content {
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-stats-about {
  display: flex;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-image-section {
  position: relative;
  animation: slideInRight 1s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.floating-card {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  animation: floating 3s ease-in-out infinite;
}

.floating-card img {
  margin-bottom: 20px;
}

.card-overlay h5 {
  color: var(--dark-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-overlay p {
  color: var(--muted-color);
  margin: 0;
}

/* Company Story Section */
.company-story {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.story-images {
  position: relative;
}

.main-story-image {
  position: relative;
  margin-bottom: 20px;
}

.story-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 10px 15px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.story-gallery {
  display: flex;
  gap: 15px;
}

.story-gallery img {
  flex: 1;
  height: 150px;
  object-fit: cover;
  transition: var(--transition);
}

.story-gallery img:hover {
  transform: scale(1.05);
}

.story-timeline {
  margin-top: 30px;
}

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

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 25px;
  top: 50px;
  width: 2px;
  height: 30px;
  background: var(--primary-color);
  opacity: 0.3;
}

.timeline-year {
  background: var(--gradient-primary);
  color: white;
  padding: 8px 15px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  min-width: 60px;
  text-align: center;
  margin-right: 20px;
  flex-shrink: 0;
}

.timeline-content h5 {
  margin-bottom: 5px;
  color: var(--dark-color);
}

.timeline-content p {
  color: var(--muted-color);
  margin: 0;
  font-size: 0.95rem;
}

/* Values Section */
.values-section {
  background: white;
}

.value-card {
  text-align: center;
  padding: 40px 30px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: white;
  transition: var(--transition);
}

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

.value-card h4 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.value-card p {
  color: var(--muted-color);
  line-height: 1.6;
  margin: 0;
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.team-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.team-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 107, 53, 0.9);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.team-social {
  display: flex;
  gap: 15px;
}

.team-social .social-link {
  width: 50px;
  height: 50px;
  background: white;
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition);
  transform: translateY(20px);
}

.team-card:hover .team-social .social-link {
  transform: translateY(0);
}

.team-social .social-link:hover {
  background: var(--secondary-color);
  color: white;
}

.team-info {
  padding: 25px;
}

.team-info h4 {
  color: var(--dark-color);
  margin-bottom: 5px;
  font-weight: 600;
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.team-desc {
  color: var(--muted-color);
  line-height: 1.6;
  margin-bottom: 20px;
}

.team-expertise {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.expertise-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Achievements Section */
.achievements-section {
  background: white;
}

.achievement-list {
  margin-top: 30px;
}

.achievement-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
  padding: 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.achievement-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-sm);
}

.achievement-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin-right: 20px;
  flex-shrink: 0;
}

.achievement-content h5 {
  color: var(--dark-color);
  margin-bottom: 5px;
  font-weight: 600;
}

.achievement-content p {
  color: var(--muted-color);
  margin: 0;
  font-size: 0.95rem;
}

.achievements-visual {
  position: relative;
}

.achievement-image {
  position: relative;
}

.achievement-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

.stats-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--border-radius);
  display: flex;
  justify-content: space-around;
  box-shadow: var(--shadow-md);
}

.stats-overlay .stat-item {
  text-align: center;
}

.stats-overlay .stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
}

.stats-overlay .stat-label {
  font-size: 0.9rem;
  color: var(--muted-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-stats {
    gap: 20px;
  }
  
  .stat-item strong {
    font-size: 1.5rem;
  }
  
  .about-content,
  .about-images {
    padding-left: 0;
    padding-right: 0;
  }
  
  .secondary-images {
    flex-direction: column;
  }
  
  .experience-card {
    position: static;
    margin-top: 20px;
  }
  
  .cta-features,
  .cta-trust-indicators {
    gap: 15px;
  }
  
  .project-stats {
    flex-direction: column;
    gap: 10px;
  }
  
  .project-actions {
    flex-direction: column;
  }
  
  .hero-stats-about {
    justify-content: center;
  }
  
  .stat-card {
    min-width: 120px;
  }
  
  .story-gallery {
    flex-direction: column;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-year {
    margin-bottom: 15px;
    margin-right: 0;
  }
  
  .timeline-item:not(:last-child)::after {
    display: none;
  }
  
  .team-social {
    justify-content: center;
  }
  
  .stats-overlay {
    position: static;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .hero-buttons .btn {
    display: block;
    margin: 10px 0;
  }
  
  .cta-buttons .btn {
    display: block;
    margin: 10px 0;
  }
  
  .about-hero {
    min-height: 80vh;
  }
  
  .value-card,
  .team-card {
    margin-bottom: 30px;
  }
  
  .achievement-item {
    text-align: center;
    flex-direction: column;
  }
  
  .achievement-icon {
    margin: 0 auto 15px;
  }
}

/* Services Page Specific Styles */

/* Services Header Section */
.services-header {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.services-overview {
  margin-top: 50px;
}

.overview-card {
  background: white;
  padding: 40px 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.overview-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.overview-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: white;
  transition: var(--transition);
}

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

.overview-card h4 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.overview-card p {
  color: var(--muted-color);
  margin: 0;
  font-weight: 500;
}

/* Service Detail Sections */
.service-detail-section {
  position: relative;
}

.service-detail-section:nth-child(even) {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.service-images {
  position: relative;
}

.main-service-image {
  position: relative;
  margin-bottom: 20px;
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-primary);
  color: white;
  padding: 10px 18px;
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

.service-gallery {
  display: flex;
  gap: 15px;
}

.service-gallery img {
  flex: 1;
  height: 150px;
  object-fit: cover;
  transition: var(--transition);
}

.service-gallery img:hover {
  transform: scale(1.05);
}

.service-content {
  padding: 20px 0;
}

.service-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.service-icon-large {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: white;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 5px;
  line-height: 1.2;
}

.service-tagline {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.service-description {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted-color);
  margin-bottom: 30px;
}

.service-features {
  margin-bottom: 40px;
}

.service-features .feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  padding: 20px;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-detail-section:nth-child(even) .service-features .feature-item {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.service-features .feature-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow-md);
}

.service-features .feature-item i {
  color: var(--success-color);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.service-features .feature-item h5 {
  color: var(--dark-color);
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 1.1rem;
}

.service-features .feature-item p {
  color: var(--muted-color);
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.service-cta {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.service-cta .btn {
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 50px;
}

/* Additional Services Section */
.additional-services {
  background: white;
}

.additional-service-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.additional-service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.additional-service-card .service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 210, 63, 0.1));
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
}

.additional-service-card:hover .service-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

.additional-service-card h4 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.15rem;
}

.additional-service-card p {
  color: var(--muted-color);
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
}

/* Services CTA Section */
.services-cta {
  background: var(--gradient-primary);
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 50px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.cta-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-card p {
  font-size: 1rem;
  opacity: 0.9;
}

.cta-card .btn-primary {
  background: white;
  color: var(--primary-color);
  border: none;
  padding: 15px 30px;
  font-weight: 600;
}

.cta-card .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
}

/* Responsive Design for Services */
@media (max-width: 768px) {
  .service-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .service-title {
    font-size: 1.5rem;
  }
  
  .service-gallery {
    flex-direction: column;
  }
  
  .service-cta {
    justify-content: center;
  }
  
  .service-cta .btn {
    flex: 1;
    min-width: 200px;
  }
  
  .cta-card {
    padding: 30px 20px;
    text-align: center;
  }
  
  .cta-card h2 {
    font-size: 1.5rem;
  }
  
  .cta-card .btn-primary {
    width: 100%;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .overview-card {
    padding: 30px 15px;
  }
  
  .overview-card h4 {
    font-size: 1.5rem;
  }
  
  .service-features .feature-item {
    flex-direction: column;
    text-align: center;
  }
  
  .service-features .feature-item i {
    margin-bottom: 10px;
  }
  
  .additional-service-card {
    padding: 30px 20px;
  }
}

/* Projects Page Specific Styles */
.projects-main {
  background: var(--light-color);
}

.projects-header {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.projects-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.projects-stats {
  position: relative;
  z-index: 2;
}

.stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
  display: block;
}

.stat-content h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: white;
}

.stat-content p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-size: 1.1rem;
}

/* Project Filter */
.project-filter {
  background: white;
  border-bottom: 1px solid #e9ecef;
  position: static;
  z-index: 10;
}

.filter-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.filter-btn {
  background: transparent;
  border: 2px solid #e9ecef;
  color: var(--muted-color);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-primary);
  border-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.filter-btn i {
  font-size: 1.1rem;
}

/* Projects Gallery */
.projects-gallery {
  background: #f8f9fa;
}

.project-item {
  transition: var(--transition);
}

.project-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  width: 100%;
  height: 100%;
  cursor: pointer;
  border: none;
}

.project-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.project-image-container {
  position: relative;
  overflow: hidden;
  height: 364px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.3) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  color: white;
}

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

.project-category-badge {
  background: var(--gradient-primary);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  align-self: flex-start;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-info {
  margin-top: 36px;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
}

.project-location,
.project-year {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-highlights {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.project-highlights small {
  display: block;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
  font-size: 0.85rem;
}

.project-highlights i {
  margin-right: 5px;
  color: #4CAF50;
}

.project-actions {
  margin-top: 15px;
}

.project-quick-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f1f1f1;
}

.project-value strong {
  display: block;
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 700;
}

.project-value span {
  font-size: 0.8rem;
  color: var(--muted-color);
}

.project-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.9rem;
  font-weight: 500;
}

.project-status.completed {
  color: var(--success-color);
}

.project-status.progress {
  color: var(--warning-color);
}

.project-status i {
  font-size: 1rem;
}

/* Project CTA Section */
.project-cta {
  background: var(--gradient-dark);
  color: white;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

/* Project Modal Styles */
.project-modal {
  border: none;
  border-radius: var(--border-radius);
  overflow: hidden;
}

.project-modal-header {
  background: var(--gradient-primary);
  color: white;
  border-bottom: none;
  padding: 25px 30px;
}

.modal-title-container {
  flex: 1;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
}

.project-modal-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.project-modal-category,
.project-modal-location {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-modal-body {
  padding: 30px;
  background: #f8f9fa;
}

.project-modal-gallery {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-modal-gallery .carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.project-modal-gallery .carousel-control-prev,
.project-modal-gallery .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.project-modal-gallery .carousel-control-prev {
  left: 15px;
}

.project-modal-gallery .carousel-control-next {
  right: 15px;
}

.project-modal-gallery .carousel-control-prev:hover,
.project-modal-gallery .carousel-control-next:hover {
  opacity: 1;
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.project-modal-gallery .carousel-control-prev-icon,
.project-modal-gallery .carousel-control-next-icon {
  filter: invert(1);
}

.project-modal-gallery .carousel-indicators {
  bottom: 15px;
}

.project-modal-gallery .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.7);
  border: 2px solid rgba(255,255,255,0.9);
  margin: 0 5px;
  transition: all 0.3s ease;
}

.project-modal-gallery .carousel-indicators button.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  width: 30px;
  border-radius: 5px;
}

.main-project-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.project-description h4,
.project-features h4 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 15px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.feature-item i {
  font-size: 1.2rem;
}

.project-details-sidebar {
  position: sticky;
  top: 20px;
}

.project-info-card,
.project-contact-card,
.project-share-card {
  background: white;
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e9ecef;
}

.project-info-card h5,
.project-contact-card h5,
.project-share-card h5 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 10px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f1f1f1;
}

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

.project-status-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
}

.contact-buttons .btn,
.share-buttons .btn {
  transition: var(--transition);
}

.share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.share-buttons .btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-modal-footer {
  background: var(--gradient-primary);
  border-top: none;
  padding: 20px 30px;
}

.project-modal-footer .btn {
  border-radius: 25px;
  padding: 12px 25px;
  font-weight: 500;
}

/* Responsive Design for Projects */
@media (max-width: 768px) {
  .projects-header {
    text-align: center;
  }
  
  .project-filter {
    top: 85px; /* Consistent with desktop */
  }
  
  .stat-card {
    margin-bottom: 20px;
  }
  
  .filter-buttons {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  .project-image-container {
    height: 220px;
  }
  
  .project-quick-info {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    min-width: 250px;
  }
  
  .modal-dialog.modal-xl {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
  
  .project-modal-body {
    padding: 20px;
  }
  
  .project-details-sidebar {
    position: static;
    margin-top: 30px;
  }
  
  .main-project-image img {
    height: 250px;
  }

  /* Mobile responsive adjustments */
  .project-filter {
    top: 65px;
  }
  
  .professional-navbar {
    padding: 8px 0;
  }
}

/* Professional Highlights Section */
.highlights-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #1a1a1a 100%);
  position: relative;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.highlights-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.highlights-section .container {
  position: relative;
  z-index: 2;
}

.highlights-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 50%, #1a1a1a 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.highlights-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1.5" fill="rgba(229,62,62,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.highlights-section .container {
  position: relative;
  z-index: 2;
}

.highlights-section .section-badge {
  background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
  text-transform: uppercase;
}

.highlights-section .section-title {
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 20px;
}

.highlights-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 50px;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 45px 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: all 0.4s ease;
}

.highlight-card:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 25px 80px rgba(0,0,0,0.25);
  background: rgba(255, 255, 255, 1);
}

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

.highlight-icon {
  margin-bottom: 25px;
  position: relative;
}

.highlight-icon i {
  font-size: 3.5rem;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.highlight-card:hover .highlight-icon i {
  transform: scale(1.1);
  opacity: 1;
}

.highlight-number {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-family: var(--brand-font);
  text-shadow: none;
  line-height: 1;
}

.highlight-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 12px;
  line-height: 1.4;
  text-align: center;
}

.highlight-desc {
  color: var(--muted-color);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  max-width: 200px;
}

/* Professional Services Section */
.services-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  position: relative;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

/* Professional CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #c53030 50%, var(--primary-color) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  color: white;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="ctadots" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23ctadots)"/></svg>');
  opacity: 0.3;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  padding-right: 30px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: white;
}

.cta-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
  line-height: 1.6;
}

.cta-features {
  margin-bottom: 30px;
}

.cta-feature {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.cta-feature i {
  color: #68d391;
  font-size: 1.1rem;
  margin-right: 12px;
}

.cta-feature span {
  font-size: 1rem;
  font-weight: 500;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: stretch;
}

.cta-btn {
  padding: 15px 25px;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-btn.btn-primary {
  background: white;
  color: var(--primary-color);
  border: 2px solid white;
}

.cta-btn.btn-primary:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(229,62,62,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.4;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.services-section .section-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 8px 20px;
  font-weight: 600;
  text-transform: uppercase;
}

.services-section .section-title {
  color: var(--dark-color);
  margin-bottom: 20px;
}

.services-section .section-subtitle {
  color: var(--muted-color);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .highlights-section {
    padding: 60px 0;
    margin: 0;
  }
  
  .services-section {
    padding: 60px 0;
    margin: 0;
  }
  
  .highlight-card {
    padding: 35px 20px;
    margin-bottom: 20px;
  }
  
  .highlight-number {
    font-size: 2.5rem;
  }
  
  .highlight-icon i {
    font-size: 3rem;
  }
  
  .service-card {
    margin-bottom: 30px;
  }
  
  .service-image {
    height: 200px;
  }
  
  .service-card .card-body {
    padding: 25px 20px;
  }
  
  .service-card .card-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 576px) {
  .highlights-section {
    padding: 50px 0;
    margin: 0;
  }
  
  .services-section {
    padding: 50px 0;
    margin: 0;
  }
  
  .about-section {
    padding: 60px 0;
  }
  
  .about-content {
    padding-right: 0;
    margin-bottom: 40px;
  }
  
  .about-content .section-title {
    font-size: 2.2rem;
  }
  
  .highlight-card {
    padding: 30px 15px;
  }
  
  .highlight-number {
    font-size: 2.2rem;
  }
  
  .highlight-title {
    font-size: 1.1rem;
  }
  
  .service-card .card-title {
    font-size: 1.2rem;
  }
  
  .service-features li {
    font-size: 0.9rem;
  }
  
  .feature-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  
  .feature-item:hover {
    transform: translateY(-3px);
  }
  
  .about-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .about-actions .btn {
    margin-bottom: 10px;
    text-align: center;
  }
  
  /* Enhanced Mobile Styles */
  .company-highlights {
    margin: 20px 0 30px 0;
  }
  
  .highlight-point {
    padding: 8px 0;
    margin-bottom: 12px;
  }
  
  .about-features .feature-item {
    min-height: 120px;
    padding: 20px;
    margin-bottom: 20px;
  }
  
  .highlight-card {
    min-height: 240px;
    padding: 35px 25px;
  }
  
  .highlight-number {
    font-size: 2.5rem;
  }
  
  .highlight-title {
    font-size: 1.1rem;
  }
  
  /* CTA Section Mobile */
  .cta-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .cta-content {
    padding-right: 0;
    margin-bottom: 30px;
    text-align: center;
  }
  
  .cta-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .cta-features {
    margin-bottom: 25px;
  }
  
  .cta-feature {
    justify-content: center;
    margin-bottom: 12px;
  }
  
  .cta-actions {
    align-items: center;
  }
  
  .cta-btn {
    min-width: 250px;
    padding: 12px 20px;
  }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 480px) {
  .hero-image-container {
    height: 70vh;
    min-height: 450px;
  }
  
  .hero-content {
    padding: 20px;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .hero-buttons .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }
  
  .hero-stats {
    gap: 20px;
    padding: 15px;
  }
  
  .stat-item strong {
    font-size: 1.6rem;
  }
  
  .navbar-logo {
    height: 100px;
  }
  
  .call-info {
    padding: 10px 15px;
    gap: 10px;
  }
  
  .call-info i {
    font-size: 1rem;
    width: 32px;
    height: 32px;
  }
  
  .call-number {
    font-size: 0.85rem;
  }
  
  .call-label {
    font-size: 0.65rem;
  }
  
  .about-content .section-title {
    font-size: 2rem;
  }
  
  .feature-item {
    padding: 25px 20px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    margin-right: 20px;
  }
  
  .feature-content h5 {
    font-size: 1.1rem;
  }
  
  .service-card .card-body {
    padding: 25px 15px;
  }
  
  .service-card .card-title {
    font-size: 1.15rem;
  }
  
  .service-icon {
    font-size: 3rem;
    width: 70px;
    height: 70px;
  }
  
  .project-image-container {
    height: 200px;
  }
  
  .project-title {
    font-size: 1.2rem;
  }
  
  .project-stats {
    gap: 15px;
  }
  
  .project-stats span {
    padding: 6px 12px;
    font-size: 0.85rem;
  }
  
  .highlight-card {
    min-height: 220px;
    padding: 30px 20px;
  }
  
  .highlight-number {
    font-size: 2.2rem;
  }
  
  .highlight-icon i {
    font-size: 2.5rem;
  }
  
  .highlight-title {
    font-size: 1rem;
  }
  
  .highlight-desc {
    font-size: 0.9rem;
  }
  
  .footer-content {
    padding: 60px 0 40px;
  }
  
  .footer-brand .brand-mark {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }
  
  .contact-item {
    padding: 15px;
    margin-bottom: 20px;
  }
  
  .contact-item i {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .social-links .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
  
  .cta-title {
    font-size: 1.8rem;
  }
  
  .cta-subtitle {
    font-size: 0.95rem;
  }
  
  .cta-btn {
    min-width: 200px;
    padding: 10px 18px;
    font-size: 1rem;
  }
}

/* Ultra Small Devices */
@media (max-width: 360px) {
  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .hero-buttons {
    gap: 15px;
  }
  
  .hero-buttons .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .navbar-logo {
    height: 100px;
  }
  
  .about-content .section-title {
    font-size: 1.8rem;
  }
  
  .feature-item {
    padding: 20px 15px;
  }
  
  .feature-icon {
    width: 55px;
    height: 55px;
    font-size: 1.8rem;
    margin-right: 15px;
  }
  
  .highlight-card {
    padding: 25px 15px;
    min-height: 200px;
  }
  
  .highlight-number {
    font-size: 2rem;
  }
  
  .highlight-icon i {
    font-size: 2.2rem;
  }
  
  .service-card .card-title {
    font-size: 1.1rem;
  }
  
  .service-features li {
    font-size: 0.85rem;
    padding: 10px 12px;
  }
  
  .project-image-container {
    height: 180px;
  }
  
  .cta-title {
    font-size: 1.6rem;
  }
  
  .cta-btn {
    min-width: 180px;
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}

/* Performance Optimizations for Mobile */
@media (max-width: 768px) {
  /* Reduce animations on mobile for better performance */
  .feature-item,
  .service-card,
  .project-card,
  .highlight-card {
    will-change: auto;
  }
  
  /* Simplify complex animations */
  .service-card:hover,
  .project-card:hover,
  .feature-item:hover {
    transform: translateY(-5px);
  }
  
  .highlight-card:hover {
    transform: translateY(-10px) scale(1.02);
  }
  
  /* Optimize images */
  .project-image,
  .service-image img,
  .main-image img {
    will-change: auto;
  }
  
  .project-card:hover .project-image,
  .service-card:hover .service-image img {
    transform: scale(1.05);
  }
}

/* Landscape Phone Adjustments */
@media (max-width: 896px) and (max-height: 414px) {
  .hero-image-container {
    height: 100vh;
    min-height: 400px;
  }
  
  .hero-content {
    padding: 15px 20px;
  }
  
  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    margin-bottom: 15px;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  
  .hero-buttons {
    margin-bottom: 25px;
    gap: 15px;
  }
  
  .hero-stats {
    padding: 15px;
    gap: 25px;
  }
  
  .stat-item strong {
    font-size: 1.8rem;
  }
}

/* Print Styles */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  
  .navbar,
  .footer,
  .hero-buttons,
  .cta-section,
  .service-card .btn,
  .project-actions {
    display: none !important;
  }
  
  .hero-content,
  .about-content,
  .service-card,
  .project-card {
    background: white !important;
    border: 1px solid #ddd !important;
    margin-bottom: 20px !important;
  }
  
  .section-title,
  .hero-title {
    color: black !important;
    page-break-after: avoid;
  }
  
  .feature-item,
  .service-card,
  .project-card {
    page-break-inside: avoid;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .section-title {
    font-size: 1.5rem !important;
  }
  
  body {
    font-size: 12pt !important;
    line-height: 1.4 !important;
  }
  
  .container {
    max-width: none !important;
    padding: 0 !important;
  }
}

/* ========================================
   COMPACT & PROFESSIONAL FONT SIZES
   ======================================== */

/* Base body font size - more compact */
body {
  font-size: 15px !important;
  line-height: 1.6 !important;
}

/* Hero Section - Compact sizes */
.hero-title {
  font-size: 2.2rem !important;
  line-height: 1.2 !important;
}

.hero-subtitle {
  font-size: 1rem !important;
  line-height: 1.5 !important;
}

.hero-badge {
  font-size: 1.0rem !important;
  padding: 6px 16px !important;
}

.hero-stats strong {
  font-size: 1.5rem !important;
}

.hero-stats span {
  font-size: 0.75rem !important;
}

/* Section Titles - More compact */
.section-title {
  font-size: 1.8rem !important;
  line-height: 1.3 !important;
  margin-bottom: 15px !important;
}

.section-subtitle {
  font-size: 0.95rem !important;
  line-height: 1.6 !important;
}

.section-badge {
  font-size: 1rem !important;
  padding: 6px 14px !important;
}

/* About Section */
.about-content .section-title {
  font-size: 1.9rem !important;
}

.about-content .lead, 
.about-content p {
  font-size: 0.95rem !important;
  line-height: 1.7 !important;
}

.feature-item h5 {
  font-size: 1rem !important;
}

.feature-item p {
  font-size: 0.9rem !important;
}

.feature-icon {
  font-size: 1.8rem !important;
  width: 56px !important;
  height: 56px !important;
}

.feature-card-title {
  font-size: 0.95rem !important;
}

.feature-card-text {
  font-size: 0.85rem !important;
}

/* Highlights/Stats Section */
.highlight-number {
  font-size: 2rem !important;
}

.highlight-title {
  font-size: 0.9rem !important;
}

.highlight-icon i {
  font-size: 2rem !important;
}

/* Project Cards */
.project-title {
  font-size: 1.1rem !important;
}

.project-description {
  font-size: 0.88rem !important;
}

.project-category {
  font-size: 0.75rem !important;
}

.project-meta strong {
  font-size: 1rem !important;
}

.project-meta span {
  font-size: 0.8rem !important;
}

/* CTA Section */
.cta-title {
  font-size: 1.8rem !important;
}

.cta-subtitle {
  font-size: 0.95rem !important;
}

.cta-feature span {
  font-size: 0.9rem !important;
}

/* Buttons */
.btn {
  font-size: 0.9rem !important;
  padding: 10px 24px !important;
}

.btn-lg {
  font-size: 0.95rem !important;
  padding: 12px 28px !important;
}

.btn-sm {
  font-size: 0.8rem !important;
  padding: 6px 16px !important;
}

/* Card Titles and Text */
.card-title {
  font-size: 1.05rem !important;
}

.card-text {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

/* Footer */
.footer-heading {
  font-size: 1rem !important;
}

.footer-links a {
  font-size: 0.88rem !important;
}

.footer-description {
  font-size: 0.9rem !important;
}

.footer-brand .fs-4 {
  font-size: 1.3rem !important;
}

/* Navigation */
.nav-link {
  font-size: 0.9rem !important;
}

.call-number {
  font-size: 1rem !important;
}

.call-label {
  font-size: 0.7rem !important;
}

/* Top Bar */
.top-bar {
  font-size: 0.8rem !important;
}

/* Responsive - Mobile adjustments */
@media (max-width: 768px) {
  body {
    font-size: 14px !important;
  }
  
  .hero-title {
    font-size: 1.6rem !important;
  }
  
  .hero-subtitle {
    font-size: 0.9rem !important;
  }
  
  .section-title {
    font-size: 1.5rem !important;
  }
  
  .section-subtitle {
    font-size: 0.88rem !important;
  }
  
  .cta-title {
    font-size: 1.4rem !important;
  }
  
  .highlight-number {
    font-size: 1.6rem !important;
  }
}

/* Compact Service Cards - Single Row Professional Design */
.service-card-compact {
  background: #ffffff;
  border: 1px solid rgba(43, 108, 176, 0.12);
  border-radius: 12px;
  padding: 24px 16px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.service-card-compact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service-card-compact:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(43, 108, 176, 0.15);
  border-color: var(--primary-color);
}

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

.service-icon-compact {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(229, 62, 62, 0.1), rgba(43, 108, 176, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-icon-compact i {
  font-size: 28px;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.service-card-compact:hover .service-icon-compact {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  transform: scale(1.1) rotate(5deg);
}

.service-card-compact:hover .service-icon-compact i {
  color: #ffffff;
}

.service-title-compact {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card-compact:hover .service-title-compact {
  color: var(--primary-color);
}

.service-text-compact {
  font-size: 0.82rem;
  color: var(--muted-color);
  line-height: 1.5;
  font-weight: 400;
}

/* Responsive adjustments for compact cards */
@media (max-width: 1199px) {
  .service-icon-compact {
    width: 55px;
    height: 55px;
  }
  
  .service-icon-compact i {
    font-size: 24px;
  }
  
  .service-title-compact {
    font-size: 0.9rem;
  }
  
  .service-text-compact {
    font-size: 0.78rem;
  }
}

@media (max-width: 991px) {
  .service-card-compact {
    padding: 20px 14px;
  }
  
  .service-icon-compact {
    width: 50px;
    height: 50px;
  }
  
  .service-icon-compact i {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .service-card-compact {
    padding: 24px 16px;
  }
  
  .service-icon-compact {
    width: 56px;
    height: 56px;
  }
  
  .service-icon-compact i {
    font-size: 26px;
  }
  
  .service-title-compact {
    font-size: 0.95rem;
  }
  
  .service-text-compact {
    font-size: 0.85rem;
  }
}

/* ============================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ============================================ */

/* General Mobile Optimizations */
@media (max-width: 767.98px) {
  /* Container padding for mobile */
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  /* Section spacing */
  section {
    padding: 60px 0 !important;
  }
  
  .about-section,
  .services-section,
  .projects-section,
  .testimonials-section,
  .cta-section,
  .contact-section {
    padding: 60px 0 !important;
  }
  
  /* Typography responsive */
  h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem) !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    line-height: 1.3 !important;
  }
  
  h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
  }
  
  h4 {
    font-size: clamp(1rem, 2.5vw, 1.25rem) !important;
  }
  
  p, .lead {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }
  
  /* About Section Mobile */
  .about-content {
    padding-right: 0;
    margin-bottom: 30px;
  }
  
  .about-content .section-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    margin-bottom: 15px;
  }
  
  .about-features {
    margin: 30px 0;
  }
  
  .feature-item {
    padding: 20px;
    margin-bottom: 15px;
  }
  
  .feature-item:hover {
    transform: translateY(-5px) scale(1.02);
  }
  
  .feature-icon {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    font-size: 1.3rem !important;
  }
  
  .feature-text h4 {
    font-size: 1.1rem !important;
    margin-bottom: 5px;
  }
  
  .feature-text p {
    font-size: 0.85rem !important;
  }
  
  /* About Image */
  .about-image {
    margin-top: 30px;
  }
  
  .about-image img {
    max-height: 400px;
    object-fit: cover;
  }
  
  /* Stats Section */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }
  
  .stat-card {
    padding: 20px 15px !important;
  }
  
  .stat-card i {
    font-size: 2rem !important;
  }
  
  .stat-card h3 {
    font-size: 1.8rem !important;
  }
  
  .stat-card p {
    font-size: 0.85rem !important;
  }
  
  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .service-card {
    padding: 25px 20px !important;
  }
  
  .service-icon {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.8rem !important;
  }
  
  .service-card h3 {
    font-size: 1.15rem !important;
  }
  
  .service-card p {
    font-size: 0.9rem !important;
  }
  
  /* Projects/Portfolio Section */
  .projects-grid,
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  .project-card {
    margin-bottom: 20px;
  }
  
  .project-info {
    padding: 20px !important;
  }
  
  .project-info h3 {
    font-size: 1.15rem !important;
  }
  
  .project-info p {
    font-size: 0.85rem !important;
  }
  
  /* Testimonials */
  .testimonial-card {
    padding: 25px 20px !important;
    margin-bottom: 20px;
  }
  
  .testimonial-text {
    font-size: 0.9rem !important;
  }
  
  .client-name {
    font-size: 1rem !important;
  }
  
  .client-position {
    font-size: 0.8rem !important;
  }
  
  /* CTA Section */
  .cta-section {
    padding: 50px 0 !important;
  }
  
  .cta-section h2 {
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
  }
  
  .cta-section p {
    font-size: 0.95rem !important;
  }
  
  .cta-buttons {
    flex-direction: column !important;
    gap: 15px !important;
    align-items: stretch !important;
  }
  
  .cta-buttons .btn {
    width: 100% !important;
    max-width: none !important;
  }
  
  /* Contact Section */
  .contact-info-card {
    padding: 20px !important;
    margin-bottom: 15px;
  }
  
  .contact-info-card i {
    font-size: 1.5rem !important;
  }
  
  .contact-info-card h4 {
    font-size: 1rem !important;
  }
  
  .contact-info-card p {
    font-size: 0.85rem !important;
  }
  
  /* Forms */
  .form-control,
  .form-select {
    font-size: 0.95rem !important;
    padding: 12px 15px !important;
  }
  
  .btn {
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
  }
  
  .btn-lg {
    padding: 14px 28px !important;
    font-size: 0.95rem !important;
  }
  
  /* Footer */
  footer {
    text-align: center;
  }
  
  .footer-widget {
    margin-bottom: 30px;
  }
  
  .footer-widget h5 {
    font-size: 1.1rem !important;
  }
  
  .footer-widget p,
  .footer-widget a {
    font-size: 0.9rem !important;
  }
  
  /* Carousel Controls */
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px !important;
  }
  
  .carousel-indicators {
    bottom: 15px !important;
  }
  
  .carousel-indicators button {
    width: 10px !important;
    height: 10px !important;
  }
  
  /* Cards General */
  .card {
    margin-bottom: 20px;
  }
  
  .card-body {
    padding: 20px 15px !important;
  }
  
  /* Buttons spacing */
  .btn-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-group .btn {
    width: 100%;
  }
}

/* Tablet Specific (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Container adjustments */
  .container {
    max-width: 720px;
  }
  
  /* Section spacing */
  section {
    padding: 80px 0 !important;
  }
  
  /* Grid adjustments */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .projects-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  
  /* Typography */
  h1 {
    font-size: clamp(2rem, 4vw, 2.8rem) !important;
  }
  
  h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.3rem) !important;
  }
  
  .section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.3rem) !important;
  }
}

/* Small Desktop (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .container {
    max-width: 960px;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .projects-grid,
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Landscape Mobile (Small Height) */
@media (max-height: 600px) and (orientation: landscape) {
  .hero-image-container {
    height: 90vh !important;
    min-height: 450px !important;
  }
  
  .hero-content {
    padding: 15px 20px !important;
  }
  
  .hero-title {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
  }
  
  .hero-subtitle {
    font-size: 0.85rem !important;
    margin-bottom: 12px !important;
  }
  
  .hero-stats {
    display: none !important;
  }
  
  section {
    padding: 40px 0 !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .top-bar,
  footer,
  .btn,
  .carousel-control-prev,
  .carousel-control-next,
  .carousel-indicators {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: black;
    background: white;
  }
  
  section {
    page-break-inside: avoid;
  }
}

/* ============================================
   ADDITIONAL RESPONSIVE UTILITIES
   ============================================ */

/* Responsive Images - Make all images responsive by default */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Videos and Embeds */
iframe,
embed,
object,
video {
  max-width: 100%;
  height: auto;
}

/* Responsive Tables */
@media (max-width: 767.98px) {
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  
  .table-responsive {
    border: none;
  }
}

/* Touch-friendly tap targets for mobile */
@media (max-width: 767.98px) {
  a,
  button,
  input[type="submit"],
  input[type="button"],
  .btn,
  .nav-link {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Exception for inline text links */
  p a,
  li a:not(.btn):not(.nav-link) {
    min-height: auto;
    min-width: auto;
    display: inline;
  }
}

/* Prevent text overflow on mobile */
* {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Smooth transitions for responsive changes */
* {
  transition: padding 0.3s ease, margin 0.3s ease;
}

/* Remove transitions for rapid viewport changes */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* Mobile-friendly spacing utilities */
@media (max-width: 767.98px) {
  .mb-mobile-4 {
    margin-bottom: 1.5rem !important;
  }
  
  .mt-mobile-4 {
    margin-top: 1.5rem !important;
  }
  
  .py-mobile-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  .px-mobile-3 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Hide/Show utilities for different screen sizes */
@media (max-width: 767.98px) {
  .hide-mobile {
    display: none !important;
  }
  
  .show-mobile {
    display: block !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
  
  .show-desktop {
    display: block !important;
  }
}

/* Responsive Font Scaling */
html {
  font-size: 16px;
}

@media (max-width: 767.98px) {
  html {
    font-size: 14px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 1400px) {
  html {
    font-size: 17px;
  }
}

/* Accessibility - Focus visible for keyboard navigation */
*:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Skip to content link for accessibility */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  z-index: 10000;
  transition: top 0.3s;
}

.skip-to-content:focus {
  top: 0;
}
