/* ===================================
   COMPONENT STYLES
   =================================== */

/* === NAVIGATION === */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
  padding: var(--space-4) 0;
  z-index: 1050;
}

.navbar .container-fluid {
  max-width: none !important;
  width: 100% !important;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 1200px) {
  .navbar .container-fluid {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: var(--shadow-lg);
  padding: var(--space-2) 0;
}

.navbar-logo {
  width: 280px !important; /* Increased from 200px */
  height: auto !important;
  max-height: 65px !important; /* Increased from 50px */
  transition: all var(--transition-normal);
  filter: drop-shadow(0 2px 8px rgba(91, 163, 248, 0.15));
}

.navbar.scrolled .navbar-logo {
  width: 220px !important; /* Increased from 160px */
  max-height: 50px !important; /* Increased from 40px */
}

.navbar-brand:hover .navbar-logo {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.navbar-nav .nav-link {
  color: var(--gray-700) !important;
  font-weight: var(--weight-medium);
  position: relative;
  transition: color var(--transition-fast);
  margin: 0 var(--space-2);
  padding: 0.5rem 1rem !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-blue) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 80%;
}

.navbar-toggler {
  border: none;
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.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='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-title {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: var(--weight-extrabold);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-6);
  color: var(--white);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(34, 211, 238, 1) 50%, 
    rgba(16, 185, 129, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-8);
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero .container-fluid {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (min-width: 1200px) {
  .hero .container-fluid {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

.hero .row {
  align-items: center !important;
}

.hero-content {
  padding: 2rem 0;
}

/* === SERVICE CARDS === */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-2xl);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  position: relative;
}

.service-icon i {
  font-size: var(--text-3xl);
  color: var(--white);
}

.service-icon::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  background: inherit;
  border-radius: inherit;
  opacity: 0.3;
  filter: blur(8px);
  transform: translateX(-50%) scaleY(-1);
  mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
}

.service-title {
  font-size: var(--text-2xl);
  font-weight: var(--weight-semibold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
}

.service-description {
  color: var(--gray-600);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-6);
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  color: var(--gray-600);
}

.service-features li i {
  color: var(--success-green);
  font-size: var(--text-sm);
}

/* === ABOUT SECTION === */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.about-text {
  padding-right: var(--space-8);
}

.about-image {
  position: relative;
  border-radius: var(--border-radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* SVG Illustration Enhancements */
.about-image img[src$=".svg"] {
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
  transition: all var(--transition-normal);
}

.about-image img[src$=".svg"]:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
}

/* Ensure SVGs scale properly */
.about-image svg {
  max-width: 100%;
  height: auto;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: inherit;
  transform: scaleY(-1);
  opacity: 0.3;
  mask: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.stat-item {
  text-align: center;
  padding: var(--space-6);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-xl);
  transition: all var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: var(--weight-extrabold);
  color: var(--primary-blue);
  display: block;
  margin-bottom: var(--space-2);
}

.stat-label {
  font-size: var(--text-lg);
  font-weight: var(--weight-medium);
  color: var(--gray-700);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--gradient-primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.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"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
  background-size: 50px 50px;
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: var(--text-4xl);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-6);
}

.cta-subtitle {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
  opacity: 0.9;
}

/* === FOOTER === */
.footer {
  background: var(--secondary-navy);
  color: var(--white);
  padding: var(--space-20) 0 var(--space-8) 0;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-section h4 {
  color: var(--white);
  margin-bottom: var(--space-6);
  font-size: var(--text-xl);
}

.footer-section p,
.footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  line-height: var(--leading-relaxed);
}

.footer-section a:hover {
  color: var(--accent-teal);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.social-link {
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition-normal);
}

.social-link:hover {
  background: var(--accent-teal);
  transform: translateY(-2px);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: var(--space-8);
  text-align: center;
  color: var(--gray-400);
}

/* === FOOTER LOGO === */
.footer-brand img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: all var(--transition-normal);
}

.footer-brand:hover img {
  opacity: 1;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* === CONTACT FORM === */
.contact-form {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--glass-shadow);
}

.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--gray-700);
  font-weight: var(--weight-medium);
  font-size: var(--text-sm);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--space-4);
  border: var(--border-width) solid var(--gray-300);
  border-radius: var(--border-radius-lg);
  font-size: var(--text-base);
  font-family: var(--font-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form animations */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  transform: translateY(-1px);
}

/* Enhanced Contact Form Styles */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: #667eea !important;
    font-weight: 600;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.form-floating > .form-control.is-valid,
.form-floating > .form-select.is-valid {
    border-color: #10b981 !important;
}

.form-floating > .form-control.is-invalid,
.form-floating > .form-select.is-invalid {
    border-color: #ef4444 !important;
}

/* Submit Button Enhancements */
#submit-btn {
    position: relative;
    overflow: hidden;
}

#submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

#submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

#submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

/* Form Animation Enhancements */
.glass-card {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Form Adjustments */
@media (max-width: 768px) {
    .glass-card {
        padding: 2rem !important;
        margin: 1rem;
    }
    
    #contactForm .row.g-3 {
        gap: 1rem !important;
    }
}

/* Success/Error Alert Enhancements */
.alert {
    animation: slideInDown 0.5s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === EXPANDED SECTIONS === */
.expandable-section {
  transition: max-height var(--transition-slow), opacity var(--transition-slow);
  overflow: hidden;
}

.expandable-section.collapsed {
  max-height: 0;
  opacity: 0;
}

.expandable-section.expanded {
  max-height: 1000px;
  opacity: 1;
}

/* === ENHANCED PRICING CARDS === */
.pricing-card {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  overflow: hidden;
}

.pricing-card.featured {
  border: 2px solid var(--primary-blue);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: var(--space-2);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

/* === SECTION SPACING === */
.section-spacing {
  margin-bottom: var(--space-16);
}

/* === SMOOTH SCROLL OFFSET === */
html {
  scroll-padding-top: 100px;
}

/* === ENHANCED GLASSMORPHISM === */

/* Improved glass variables */
:root {
  /* Enhanced Glass Effects */
  --glass-bg-light: rgba(255, 255, 255, 0.12);
  --glass-bg-dark: rgba(255, 255, 255, 0.05);
  --glass-border-light: rgba(255, 255, 255, 0.25);
  --glass-border-dark: rgba(255, 255, 255, 0.1);
  --glass-blur-strong: blur(25px);
  --glass-shadow-strong: 0 12px 40px 0 rgba(31, 38, 135, 0.6);
  
  /* Premium Glass Effects */
  --glass-bg-premium: rgba(255, 255, 255, 0.08);
  --glass-border-premium: rgba(255, 255, 255, 0.15);
  --glass-blur-premium: blur(30px);
  --glass-shadow-premium: 0 16px 60px 0 rgba(31, 38, 135, 0.8);
}

/* Enhanced glass card */
.glass-card {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur-strong);
  -webkit-backdrop-filter: var(--glass-blur-strong);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-xl);
  box-shadow: var(--glass-shadow-strong);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.6) 50%, 
    transparent 100%);
}

/* Enhanced Glass Card Variant */
.glass-card-enhanced {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  box-shadow: 
    0 16px 50px rgba(31, 38, 135, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.glass-card-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.8) 30%,
    rgba(34, 211, 238, 0.6) 50%,
    rgba(255, 255, 255, 0.8) 70%,
    transparent 100%);
}

/* Premium Glass Card */
.glass-card-premium {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 2px solid;
  border-image: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.4) 100%) 1;
  border-radius: 25px;
  box-shadow: 
    0 20px 70px rgba(31, 38, 135, 0.7),
    inset 0 2px 0 rgba(255, 255, 255, 0.5),
    inset 0 -2px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

/* Mini Glass Card for Icons */
.glass-card-mini {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.4);
}

/* Glass button variants */
.btn-glass {
  background: var(--glass-bg-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border-light);
  color: var(--white);
  font-weight: var(--weight-semibold);
}

.btn-glass:hover {
  background: var(--glass-bg-light);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-glass-enhanced {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  font-weight: var(--weight-semibold);
  position: relative;
  overflow: hidden;
}

.btn-glass-enhanced:hover {
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.12) 100%);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(31, 38, 135, 0.6);
}

/* === GLASS BUTTONS === */
.glass-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(10px);
  color: white !important;
  transition: all var(--transition-normal);
}

.glass-btn:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px);
  color: white !important;
}

/* === RESPONSIVE FIXES === */
@media (max-width: 991.98px) {
  .navbar-logo {
    width: 160px !important;
    max-height: 40px !important;
  }
  
  .hero-visual {
    margin-top: 2rem;
  }
  
  .floating-icon {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .navbar-logo {
    width: 140px !important;
    max-height: 35px !important;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-logo {
    width: 120px !important;
    max-height: 30px !important;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* === HERO SERVICE HIGHLIGHTS === */
.hero-service-highlights {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-6) 0;
  padding: var(--space-4);
}

.service-highlight {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--border-radius-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.service-highlight:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-base);
  flex-shrink: 0;
}

.highlight-content h4 {
  margin: 0 0 var(--space-1) 0;
  font-size: var(--text-base);
  font-weight: var(--weight-semibold);
  color: var(--white);
}

.highlight-content p {
  margin: 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* === SERVICE SHOWCASE IN HERO CARD === */
.service-showcase {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.showcase-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.showcase-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-teal), var(--primary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-base);
  flex-shrink: 0;
}

.showcase-info h5 {
  margin: 0 0 var(--space-1) 0;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--white);
}

.showcase-info p {
  margin: 0;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.expertise-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3);
  background: linear-gradient(135deg, var(--success-green), var(--accent-teal));
  border-radius: var(--border-radius-md);
  color: white;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
}

.expertise-badge i {
  color: var(--warning-yellow);
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Enhanced Floating Icons */
.floating-icon {
  position: absolute;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--white);
  animation: float 4s ease-in-out infinite;
  transition: all var(--transition-normal);
}

.floating-icon:hover {
  transform: scale(1.1);
}

.floating-icon i {
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.icon-1 {
  top: 5%;
  right: 5%;
  animation-delay: 0s;
}

.icon-2 {
  bottom: 25%;
  right: 15%;
  animation-delay: 1s;
}

.icon-3 {
  top: 45%;
  right: -5%;
  animation-delay: 2s;
}

.icon-4 {
  bottom: 5%;
  right: 50%;
  animation-delay: 1.5s;
}

.icon-tooltip {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--border-radius-md);
  font-size: var(--text-xs);
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.floating-icon:hover .icon-tooltip {
  opacity: 1;
}

/* Pulse Animation */
.pulse-animation {
  animation: pulse-glow-icon 3s ease-in-out infinite;
}

@keyframes pulse-glow-icon {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  }
  50% { 
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
  }
}

/* === ENHANCED HERO SECTION === */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Hero Background */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(37, 99, 235, 0.95) 0%, 
    rgba(6, 182, 212, 0.85) 25%,
    rgba(16, 185, 129, 0.8) 50%,
    rgba(59, 130, 246, 0.9) 75%,
    rgba(139, 92, 246, 0.85) 100%);
  animation: gradient-shift 15s ease-in-out infinite;
}

/* Mesh Background */
.hero-mesh {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
  animation: mesh-float 20s ease-in-out infinite;
}

@keyframes gradient-shift {
  0%, 100% {
    background: linear-gradient(135deg, 
      rgba(37, 99, 235, 0.95) 0%, 
      rgba(6, 182, 212, 0.85) 25%,
      rgba(16, 185, 129, 0.8) 50%,
      rgba(59, 130, 246, 0.9) 75%,
      rgba(139, 92, 246, 0.85) 100%);
  }
  33% {
    background: linear-gradient(135deg, 
      rgba(139, 92, 246, 0.9) 0%, 
      rgba(37, 99, 235, 0.85) 25%,
      rgba(6, 182, 212, 0.8) 50%,
      rgba(16, 185, 129, 0.9) 75%,
      rgba(59, 130, 246, 0.85) 100%);
  }
  66% {
    background: linear-gradient(135deg, 
      rgba(16, 185, 129, 0.9) 0%, 
      rgba(139, 92, 246, 0.85) 25%,
      rgba(37, 99, 235, 0.8) 50%,
      rgba(6, 182, 212, 0.9) 75%,
      rgba(59, 130, 246, 0.85) 100%);
  }
}

@keyframes mesh-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -5px) rotate(1deg); }
  66% { transform: translate(-5px, 10px) rotate(-1deg); }
}

/* Enhanced Orbs */
.hero-orbs {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 100%);
  filter: blur(1px);
  animation: orb-float 8s ease-in-out infinite;
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 200px;
  height: 200px;
  bottom: 20%;
  right: 15%;
  animation-delay: 2s;
}

.orb-3 {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 60%;
  animation-delay: 4s;
}

@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20px, -30px) scale(1.1); opacity: 0.6; }
}

/* Animated Particles */
.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: radial-gradient(circle at center,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(34, 211, 238, 0.4) 40%,
    rgba(16, 185, 129, 0.3) 70%,
    transparent 100%);
  border-radius: 50%;
  filter: blur(0.5px);
  animation: float-particle 12s ease-in-out infinite;
}

/* Particle sizes and positions */
.particle-1 { width: 80px; height: 80px; top: 10%; left: 5%; animation-delay: 0s; }
.particle-2 { width: 60px; height: 60px; top: 60%; right: 15%; animation-delay: 2s; }
.particle-3 { width: 40px; height: 40px; bottom: 30%; left: 10%; animation-delay: 4s; }
.particle-4 { width: 100px; height: 100px; top: 5%; right: 5%; animation-delay: 1s; }
.particle-5 { width: 30px; height: 30px; top: 70%; left: 60%; animation-delay: 3s; }
.particle-6 { width: 50px; height: 50px; bottom: 10%; right: 30%; animation-delay: 5s; }
.particle-7 { width: 70px; height: 70px; top: 35%; left: 3%; animation-delay: 0.5s; }
.particle-8 { width: 35px; height: 35px; bottom: 45%; right: 3%; animation-delay: 4.5s; }
.particle-9 { width: 45px; height: 45px; top: 20%; left: 70%; animation-delay: 1.5s; }
.particle-10 { width: 65px; height: 65px; bottom: 20%; left: 25%; animation-delay: 3.5s; }
.particle-11 { width: 25px; height: 25px; top: 50%; right: 55%; animation-delay: 0.8s; }
.particle-12 { width: 55px; height: 55px; bottom: 65%; right: 10%; animation-delay: 2.5s; }

@keyframes float-particle {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.4;
  }
  25% {
    transform: translateY(-30px) translateX(20px) rotate(90deg) scale(1.15);
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-50px) translateX(-15px) rotate(180deg) scale(0.9);
    opacity: 1;
  }
  75% {
    transform: translateY(-20px) translateX(-25px) rotate(270deg) scale(1.05);
    opacity: 0.6;
  }
}

/* Sparkle particles for extra visual appeal */
.particle-1::before,
.particle-4::before,
.particle-7::before,
.particle-10::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  animation: sparkle 3s ease-in-out infinite;
}

.particle-2::after,
.particle-5::after,
.particle-8::after,
.particle-11::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 15%;
  width: 3px;
  height: 3px;
  background: rgba(34, 211, 238, 0.8);
  border-radius: 50%;
  animation: sparkle 2.5s ease-in-out infinite 0.5s;
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 0;
    transform: scale(0);
  }
  50% { 
    opacity: 1;
    transform: scale(1.5);
  }
}

/* Particle animations */
@keyframes float-particle {
  0% { 
    transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    opacity: 0.3;
  }
  15% {
    transform: translateY(-25px) translateX(20px) rotate(45deg) scale(1.15);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-40px) translateX(35px) rotate(90deg) scale(0.9);
    opacity: 0.9;
  }
  45% { 
    transform: translateY(-55px) translateX(-10px) rotate(135deg) scale(1.05);
    opacity: 1;
  }
  60% {
    transform: translateY(-30px) translateX(-45px) rotate(225deg) scale(0.85);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-15px) translateX(-25px) rotate(315deg) scale(1.1);
    opacity: 0.6;
  }
  90% {
    transform: translateY(-5px) translateX(5px) rotate(350deg) scale(0.95);
    opacity: 0.4;
  }
  100% { 
    transform: translateY(0px) translateX(0px) rotate(360deg) scale(1);
    opacity: 0.4;
  }
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 3;
  padding: var(--space-8) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  margin-bottom: var(--space-6);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--white);
  position: relative;
}

.hero-badge i {
  color: var(--success-green);
  animation: pulse-glow 2s ease-in-out infinite;
}

.badge-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 100%);
  animation: badge-shine 3s ease-in-out infinite;
}

@keyframes badge-shine {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 100%; }
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 5px rgba(16, 185, 129, 0.5); }
  50% { text-shadow: 0 0 15px rgba(16, 185, 129, 0.8); }
}

.gradient-text-enhanced {
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 1) 0%, 
    rgba(34, 211, 238, 1) 25%,
    rgba(16, 185, 129, 1) 50%,
    rgba(139, 92, 246, 1) 75%,
    rgba(255, 255, 255, 1) 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-flow 4s ease-in-out infinite;
}

@keyframes gradient-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-stats {
  display: flex;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  padding: var(--space-6) var(--space-8);
}

.stat-mini {
  text-align: center;
  position: relative;
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-2);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon i {
  color: var(--accent-teal);
  font-size: 1.2rem;
}

.stat-mini .number {
  display: block;
  font-size: var(--text-2xl);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.stat-mini .label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--weight-medium);
}

/* Enhanced Buttons */
.hero-buttons {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.btn-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(37, 99, 235, 0.3) 0%,
    rgba(6, 182, 212, 0.3) 100%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glass-shine-enhanced:hover .btn-glow {
  opacity: 1;
}

.btn-ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

.btn-glass-enhanced:hover .btn-ripple {
  width: 120%;
  height: 120%;
}

/* === ENHANCED HERO VISUAL === */

.hero-visual {
  position: relative;
  z-index: 3;
  padding: var(--space-8);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 25px;
  padding: var(--space-8);
  max-width: 450px;
  margin: 0 auto;
  box-shadow: 
    0 20px 60px rgba(31, 38, 135, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.card-dots {
  display: flex;
  gap: var(--space-2);
}

.card-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.card-dots span:nth-child(1) { 
  background: #ff5f57; 
  box-shadow: 0 0 10px rgba(255, 95, 87, 0.5);
}
.card-dots span:nth-child(2) { 
  background: #ffbd2e; 
  box-shadow: 0 0 10px rgba(255, 189, 46, 0.5);
}
.card-dots span:nth-child(3) { 
  background: #28ca42; 
  box-shadow: 0 0 10px rgba(40, 202, 66, 0.5);
}

.card-title {
  color: var(--white);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.card-title i {
  color: var(--accent-teal);
}

.chart-container {
  display: flex;
  align-items: end;
  gap: var(--space-3);
  height: 120px;
  margin-bottom: var(--space-6);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius-lg);
  position: relative;
}

.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, 
    var(--accent-teal) 0%, 
    var(--primary-blue) 50%,
    var(--accent-purple) 100%);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
  animation: chart-grow 2s ease-out;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  transition: all var(--transition-normal);
}

.chart-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.chart-bar:hover .chart-icon {
  color: var(--white);
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%) scale(1.1);
}

.card-footer {
  text-align: center;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-ring {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

.ring-value {
  font-size: var(--text-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.ring-label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--weight-medium);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 991.98px) {
  .navbar-logo {
    width: 160px !important;
    max-height: 40px !important;
  }
  
  .hero {
    min-height: 80vh;
    padding-top: 80px;
  }
  
  .hero-visual {
    margin-top: 2rem;
  }
  
  .floating-icon {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .navbar-logo {
    width: 140px !important;
    max-height: 35px !important;
  }
  
  .hero {
    min-height: auto;
    padding-top: 70px;
    padding-bottom: 2rem;
  }
  
  .hero-title {
    font-size: 2rem !important;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem 0;
  }
  
  .navbar .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .hero .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-logo {
    width: 120px !important;
    max-height: 30px !important;
  }
  
  .hero {
    padding-top: 60px;
  }
  
  .hero-title {
    font-size: 1.75rem !important;
  }
  
  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
}

/* === ROTATING CODE TILE === */
.code-tile {
  position: absolute;
  top: 25%;
  left: 8%;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: bold;
  font-family: 'Courier New', monospace;
  animation: rotate-tile 8s linear infinite;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(31, 38, 135, 0.2);
}

.code-tile:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.15);
}

@keyframes rotate-tile {
  0% { 
    transform: rotate(0deg) translateY(0px);
    opacity: 0.8;
  }
  25% { 
    transform: rotate(90deg) translateY(-10px);
    opacity: 1;
  }
  50% { 
    transform: rotate(180deg) translateY(0px);
    opacity: 0.9;
  }
  75% { 
    transform: rotate(270deg) translateY(10px);
    opacity: 1;
  }
  100% { 
    transform: rotate(360deg) translateY(0px);
    opacity: 0.8;
  }
}

/* TvaritaTech Brand Colors */
:root {
  --tvarita-blue: #5ba3f8;
  --tvarita-dark-blue: #1b2bab;
  --tvarita-gradient: linear-gradient(135deg, #5ba3f8 0%, #1b2bab 100%);
}

/* TvaritaTech Text Styling */
.tvarita-text {
  font-weight: 600;
}

.tvarita-text .tvarita {
  color: var(--tvarita-blue);
}

.tvarita-text .tech {
  color: var(--tvarita-dark-blue);
}