/* Import Bootstrap and Font Awesome */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.App {
  min-height: 100vh;
}

/* Custom Colors */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #6c757d;
  --info-color: #0dcaf0;
  --success-color: #198754;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --dark-color: #212529;
  --light-color: #f8f9fa;
}

/* Navigation Styles */
.navbar {
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link:hover {
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--info-color);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-image: url('https://images.unsplash.com/photo-1535448674466-81707cbfe0f7?crop=entropy&cs=srgb&fm=jpg&ixid=M3w3NTY2Njl8MHwxfHNlYXJjaHwxfHxjb3Jwb3JhdGUlMjB0ZWNobm9sb2d5fGVufDB8fHxibHVlfDE3NTIxMjY2MDB8MA&ixlib=rb-4.1.0&q=85');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 110, 253, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 3rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  animation: slideInRight 1s ease-out;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.hero-buttons .btn {
  transition: all 0.3s ease;
  font-weight: 600;
  border-radius: 50px;
  padding: 15px 30px;
  font-size: 1.1rem;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

/* Services Tabs Styles */
.services-tabs-container {
  margin-top: 2rem;
}

.services-tab-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 2rem;
}

.tab-button {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  border: 2px solid #e9ecef;
  color: #6c757d;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  transition: left 0.3s ease;
  z-index: -1;
}

.tab-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
  color: #0d6efd;
  border-color: #0d6efd;
}

.tab-button.active {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: white;
  border-color: #0d6efd;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(13, 110, 253, 0.4);
}

.tab-button.active::before {
  left: 0;
}

.services-tab-content {
  position: relative;
  min-height: 600px;
}

.tab-pane {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.tab-pane.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.6s ease;
}

/* Service Cards in Tabs */
.services-tabs-container .service-card {
  transition: all 0.3s ease;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.services-tabs-container .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.services-tabs-container .card-img-container {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.services-tabs-container .service-image {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.services-tabs-container .service-card:hover .service-image {
  transform: scale(1.05);
}

.services-tabs-container .card-img-overlay-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(13, 110, 253, 0.9);
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  font-size: 1.8rem;
}

.service-features li,
.service-benefits li {
  transition: all 0.3s ease;
  padding: 8px 0;
  border-bottom: 1px solid rgba(13, 110, 253, 0.1);
}

.service-features li:hover,
.service-benefits li:hover {
  padding-left: 15px;
  background: rgba(13, 110, 253, 0.05);
  border-radius: 8px;
  color: var(--primary-color);
}

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

/* Responsive Design for Tabs */
@media (max-width: 768px) {
  .services-tab-nav {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-button {
    width: 100%;
    max-width: 300px;
    margin-bottom: 0.5rem;
    padding: 12px 20px;
    font-size: 1rem;
  }
  
  .services-tabs-container .card-img-container {
    height: 200px;
  }
  
  .services-tabs-container .card-img-overlay-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
  
  .services-tabs-container .service-card .row {
    flex-direction: column;
  }
}

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

/* Contact Section */
.contact-section {
  background: white;
  padding: 100px 0;
}

.contact-info-card,
.contact-form-card {
  border-radius: 20px;
  transition: all 0.3s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(13, 110, 253, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(13, 110, 253, 0.1);
  transform: translateX(10px);
}

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

.form-control,
.form-select {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  padding: 15px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
  transform: translateY(-2px);
}

/* Footer */
.footer-section {
  background: linear-gradient(135deg, #212529 0%, #495057 100%);
}

.footer-brand h3 {
  transition: all 0.3s ease;
}

.footer-brand h3:hover {
  transform: scale(1.05);
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(13, 202, 240, 0.1);
  border-radius: 50%;
  line-height: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--info-color);
  color: white;
  transform: translateY(-3px);
}

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

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

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Service Modal Styles */
.service-modal {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-modal .modal-header {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  border: none;
  padding: 1.5rem;
}

.service-modal .modal-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.service-modal .modal-body {
  padding: 2rem;
}

.service-description .lead {
  font-size: 1.2rem;
  line-height: 1.6;
}

.info-section {
  background: rgba(13, 110, 253, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  height: 100%;
  border-left: 4px solid #0d6efd;
}

.section-title {
  color: #0d6efd;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.feature-list, .tech-list, .benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li, .tech-list li, .benefit-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(13, 110, 253, 0.1);
  transition: all 0.3s ease;
}

.feature-list li:hover, .tech-list li:hover, .benefit-list li:hover {
  padding-left: 10px;
  background: rgba(13, 110, 253, 0.05);
  border-radius: 5px;
}

.feature-list li:last-child, .tech-list li:last-child, .benefit-list li:last-child {
  border-bottom: none;
}

.process-list {
  list-style: none;
  padding: 0;
  counter-reset: step-counter;
}

.process-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 0.75rem 0 0.75rem 3rem;
  border-bottom: 1px solid rgba(13, 110, 253, 0.1);
  transition: all 0.3s ease;
}

.process-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.75rem;
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.process-list li:hover {
  background: rgba(13, 110, 253, 0.05);
  border-radius: 5px;
  padding-left: 3.5rem;
}

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

.info-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.info-card:hover {
  border-color: #0d6efd;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(13, 110, 253, 0.2);
}

.info-card h6 {
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.modal-footer {
  border: none;
  padding: 1.5rem 2rem;
  background: #f8f9fa;
}

.modal-footer .btn {
  border-radius: 25px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.modal-footer .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Animation */
.modal.fade .modal-dialog {
  transform: scale(0.8) translateY(-50px);
  transition: all 0.3s ease;
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
  .service-modal .modal-body {
    padding: 1rem;
  }
  
  .info-section {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .process-list li {
    padding-left: 2.5rem;
  }
  
  .process-list li::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.8rem;
  }
}

/* Admin Link Styles */
.admin-link-container {
  display: flex;
  align-items: center;
}

.admin-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0dcaf0;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(13, 202, 240, 0.1);
  transition: all 0.3s ease;
  border: 2px solid rgba(13, 202, 240, 0.3);
  font-size: 14px;
}

.admin-link:hover {
  background: rgba(13, 202, 240, 0.2);
  border-color: rgba(13, 202, 240, 0.5);
  transform: translateY(-2px);
  color: #0dcaf0;
  text-decoration: none;
}

.admin-link i {
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.admin-link:hover i {
  animation-duration: 0.5s;
}

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

/* Button Hover Effects */
.btn {
  transition: all 0.3s ease;
  border-radius: 10px;
  font-weight: 600;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Card Hover Effects */
.card {
  transition: all 0.3s ease;
}

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

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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