:root {
  --primary-color: #1e3a8a;
  --secondary-color: #0891b2;
  --accent-color: #f59e0b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --dark-color: #1f2937;
  --light-color: #f9fafb;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #1e3a8a, #0891b2);
  --gradient-accent: linear-gradient(135deg, #f59e0b, #ef4444);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #374151;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.display-1, .display-2, .display-3, .display-4 {
  font-weight: 700;
}

p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 600;
  padding: 12px 24px;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #0284c7);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.btn-outline-light {
    border: 2px solid rgb(24 46 75);
    color: white;
    background: #182e4b;
}

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

/* Navigation */
.navbar {
  background: rgb(255 255 255 / 95%) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color : white;
}

.navbar-nav .nav-link {
    color: rgb(24 46 75) !important;
    font-weight: 500;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
background-color: rgb(24 46 75) !important;
    color: white !important;
  transform: translateY(-1px);
}



/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #182e4b 0%, #3166ad 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
}

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

.hero-buttons .btn {
  margin: 8px;
}

.hero-image {
  position: relative;
  z-index: 2;
}

/* Page Headers */
.page-header {
  background: var(--gradient-primary);
  padding: 120px 0 80px;
  color: white;
  text-align: center;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-fade-in {
  animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
  animation: fadeInUp 1s ease-out 0.2s both;
}

.animate-fade-in-delay-2 {
  animation: fadeInUp 1s ease-out 0.4s both;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 3rem;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  height: 100%;
}

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

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

.service-card h4 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.service-card p {
  color: #6b7280;
  margin-bottom: 0;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.value-item i {
  margin-right: 0.75rem;
  font-size: 1.5rem;
}

/* Process Steps */
.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

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

.process-step h4 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.process-step p {
  color: #6b7280;
}

/* Main Service Cards */
.main-service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
}

.main-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

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

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

.service-content {
  padding: 2rem;
}

.service-content h3 {
  color: #1f2937;
  margin-bottom: 1rem;
}

.service-content p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  padding: 100px 0;
  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 1000 100" fill="rgba(255,255,255,0.05)"><polygon points="0,100 1000,0 1000,100"/></svg>');
  background-size: cover;
}

/* System Integration Specific Styles */
.integration-service-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f3f4f6;
}

.integration-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

.service-icon-lg {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: white;
  font-size: 2.5rem;
}

.integration-service-card h4 {
  color: #1f2937;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  color: #6b7280;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--success-color);
  font-weight: bold;
}

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

/* Data Center Benefits */
.data-center-benefits {
  margin-top: 2rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: #f9fafb;
  border-radius: 8px;
}

/* Automation Specific Styles */
.smart-device-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
}

.smart-device-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.smart-device-card h5 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

/* DC Features */
.dc-features {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.feature-item i {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(30, 58, 138, 0.1);
  font-size: 1.5rem;
}

.feature-item div {
  flex: 1;
}

.feature-item h6 {
  color: #1f2937;
  font-weight: 600;
}

/* Applications Grid */
.application-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.application-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
}

.application-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.application-item span {
  font-size: 0.9rem;
  text-align: center;
}

/* Benefits List */
.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
}

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

/* Automation Service Cards */
.automation-service-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
}

.automation-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* Software Service Cards */
.software-service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f3f4f6;
}

.software-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-color);
}

/* Bizionix Logo */
.bizionix-logo {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.bizionix-logo i {
  font-size: 3rem;
  margin-right: 1rem;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* ERP Module Cards */
.erp-module-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
  height: 100%;
}

.erp-module-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.module-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

/* Why Choose Cards */
.why-choose-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.why-choose-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.choose-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.why-choose-card h4 {
  color: white;
  margin-bottom: 1rem;
}

.why-choose-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
}

/* Technology Cards */
.tech-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid #f3f4f6;
}

.tech-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tech-card i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.tech-card span {
  display: block;
  font-weight: 600;
  color: #1f2937;
}

/* Contact Styles */
.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  background: #f9fafb;
  padding: 2.5rem;
  border-radius: 16px;
  height: fit-content;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

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

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

.contact-details h5 {
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.contact-details p,
.contact-details a {
  color: #6b7280;
  margin-bottom: 0;
  text-decoration: none;
}

.contact-details a:hover {
  color: var(--primary-color);
}

/* Form Styles */
.form-floating > .form-control {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.1);
}

.form-floating > label {
  color: #6b7280;
}

.form-select {
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.1);
}

/* Accordion Styles */
.accordion-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-button {
  background: white;
  color: #1f2937;
  font-weight: 600;
  border: none;
  padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-color);
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding: 1.5rem;
  color: #6b7280;
}

/* Footer */
.footer {
  padding: 4rem 0 2rem;
  background: #1f2937 !important;
}

.footer h5,
.footer h6 {
  color: white;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.social-links {
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .display-3 {
    font-size: 2.5rem;
  }

  .hero-section {
    text-align: center;
  }

  .hero-buttons .btn {
    display: block;
    margin: 8px 0;
    width: 100%;
  }

  .application-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper,
  .contact-info {
    padding: 2rem;
  }

  .bizionix-logo {
    justify-content: center;
    text-align: center;
  }

  .bizionix-logo i {
    font-size: 2.5rem;
  }

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

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

  .service-card,
  .integration-service-card,
  .software-service-card {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .step-number {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}

/* Loading states */
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Focus states for accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none !important;
  }
  
  .hero-section {
    background: white !important;
    color: black !important;
  }
}