:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --text-color: #333;
  --light-bg: #f5f6fa;
  --white: #ffffff;
  --gradient-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
#navbar {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

#navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 20px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.logo-icon:hover {
  transform: rotate(360deg);
}

.quantum-dot {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.quantum-dot:nth-child(2) {
  animation-delay: 0.5s;
}

.quantum-dot:nth-child(3) {
  animation-delay: 1s;
}

.quantum-dot:nth-child(4) {
  animation-delay: 1.5s;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  position: relative;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.logo-container:hover .logo-text::after {
  transform: scaleX(1);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 2px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  text-align: center;
}

.slide-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.2s forwards;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.slide-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--secondary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: transform 0.3s, background-color 0.3s;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s 0.4s forwards;
}

.cta-button:hover {
  background: #2980b9;
  transform: translateY(-2px);
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: var(--white);
  background: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: background 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 1.5rem;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--white);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--secondary-color);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Services Section */
.services {
  padding: 40px 0;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.service-category {
  margin-bottom: 3rem;
}

.service-category h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

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

.service-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
  padding: 40px 0;
  background-color: var(--white);
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

button {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2980b9;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: 1.5rem 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    padding: 1rem 0;
    flex-direction: column;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .hero {
    height: 70vh;
    min-height: 400px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .services {
    padding: 30px 0;
  }

  .contact {
    padding: 30px 0;
  }

  .partners {
    padding: 30px 0;
  }

  .logo-container {
    gap: 0.5rem;
  }

  .logo-icon {
    width: 45px;
    height: 45px;
  }

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

  .service-card {
    padding: 1.2rem;
  }
}



/* Testimonials Section */
.testimonials {
  padding: 50px 0;
  background-color: var(--white);
  overflow: hidden;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.testimonials-slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.testimonial-card {
  background: var(--light-bg);
  padding: 2rem;
  border-radius: 12px;
  margin: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-content {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--primary-color);
  margin-bottom: 0.2rem;
}

.author-info p {
  color: #666;
  font-size: 0.9rem;
  margin: 0;
}

/* Testimonials Slider Navigation */
.testimonials-slider .swiper-button-next,
.testimonials-slider .swiper-button-prev {
  color: var(--secondary-color);
  background: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  top: 50%;
  transform: translateY(-50%);
}

.testimonials-slider .swiper-button-next {
  right: 10px;
}

.testimonials-slider .swiper-button-prev {
  left: 10px;
}

.testimonials-slider .swiper-button-next:after,
.testimonials-slider .swiper-button-prev:after {
  font-size: 1.2rem;
}

.testimonials-slider .swiper-pagination {
  position: relative;
  margin-top: 2rem;
  bottom: 0;
}

.testimonials-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--secondary-color);
  opacity: 0.5;
}

.testimonials-slider .swiper-pagination-bullet-active {
  opacity: 1;
}

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

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-content p {
    font-size: 1rem;
  }

  .testimonials-slider {
    padding: 0 10px;
  }

  .testimonials-slider .swiper-button-next,
  .testimonials-slider .swiper-button-prev {
    display: none;
  }
}

/* Floating Chat Bubble */
.chat-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), #2980b9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: transform 0.3s, box-shadow 0.3s;
  color: white;
}

.chat-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.chat-bubble:active {
  transform: scale(0.95);
}

/* Chat Modal */
.chat-modal {
  display: none;
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1001;
  animation: slideUp 0.3s ease-out;
}

.chat-modal.active {
  display: block;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.chat-modal-content {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  width: 350px;
  max-width: calc(100vw - 60px);
}

.chat-modal-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1.2rem 1.5rem;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.close-chat-modal {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: transform 0.2s;
}

.close-chat-modal:hover {
  transform: rotate(90deg);
}

.chat-modal-body {
  padding: 1.5rem;
}

.chat-modal-body .form-group {
  margin-bottom: 1rem;
}

.chat-modal-body input,
.chat-modal-body textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.chat-modal-body input:focus,
.chat-modal-body textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.chat-submit-btn {
  width: 100%;
  background: var(--secondary-color);
  color: white;
  padding: 0.9rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.chat-submit-btn:hover {
  background: #2980b9;
}

.chat-form-status {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 6px;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.chat-form-status.success {
  display: block;
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.chat-form-status.error {
  display: block;
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Mobile Adjustments for Chat */
@media (max-width: 768px) {
  .chat-bubble {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .chat-modal {
    bottom: 90px;
    right: 20px;
  }

  .chat-modal-content {
    width: calc(100vw - 40px);
  }
}

/* Clients Section */
.clients {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.clients-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.client-logo {
  flex: 0 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 120px;
  width: 200px;
}

.client-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
  opacity: 0.7;
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@media (max-width: 768px) {
  .clients-grid {
    gap: 2rem;
  }

  .client-logo {
    width: 150px;
    height: 100px;
  }
}