/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  background-color: #fff;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

a {
  text-decoration: none !important;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
  list-style: none;
}

p {
  font-size: 15px;
  line-height: 30px;
  font-weight: 300;
  color: #afafaf;
}

img {
  max-width: 100%;
  height: auto;
}

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

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-lg-2, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-10, .col-lg-12 {
  padding: 0 15px;
}

.col-lg-2 { width: 16.666%; }
.col-lg-3 { width: 25%; }
.col-lg-4 { width: 33.333%; }
.col-lg-6 { width: 50%; }
.col-lg-8 { width: 66.666%; }
.col-lg-10 { width: 83.333%; }
.col-lg-12 { width: 100%; }

.offset-lg-1 { margin-left: 8.333%; }
.offset-lg-2 { margin-left: 16.666%; }

@media (max-width: 991px) {
  .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8, .col-lg-10, .col-lg-12 {
    width: 100%;
    margin-bottom: 20px;
  }
  .offset-lg-1, .offset-lg-2 {
    margin-left: 0;
  }
}

/* Preloader */
.js-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.js-preloader.hidden {
  display: none;
}

.preloader-inner {
  text-align: center;
}

.dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.dots span {
  width: 10px;
  height: 10px;
  background: #667eea;
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out both;
}

.dots span:nth-child(1) { animation-delay: -0.32s; }
.dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 1000;
  padding: 15px 0;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-menu a {
  color: #2a2a2a;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #667eea;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #2a2a2a;
  transition: all 0.3s;
}

@media (max-width: 991px) {
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    transition: left 0.3s;
  }
  .nav-menu.active {
    left: 0;
  }
}

/* Callback Button */
.callback-bt {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
  transition: transform 0.3s;
}

.callback-bt:hover {
  transform: scale(1.1);
}

.text-call {
  color: white;
  text-align: center;
}

.call-text {
  font-size: 12px;
  margin: 0;
}

/* Main Banner */
.main-banner {
  padding: 150px 0 100px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  margin-top: 70px;
}

.header-text h2 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: white;
}

.header-text p {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.9);
}

.white-button {
  display: inline-block;
  margin-right: 15px;
}

.white-button a {
  display: inline-block;
  padding: 12px 30px;
  background: white;
  color: #667eea;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s;
}

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

.align-self-center {
  align-self: center;
}

.right-image img {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading h4 {
  color: #2a2a2a;
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 15px;
}

.section-heading img {
  width: 45px;
  height: 2px;
  margin: 15px auto;
  display: block;
}

.section-heading p {
  margin-top: 20px;
  color: #666;
}

/* AI Section */
.ai-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.ai-section .section-heading h4 {
  color: white;
  font-size: 2.5em;
}

.ai-section .section-heading p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2em;
}

.feature-card {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 10px;
  margin: 15px 0;
  min-height: 280px;
}

.feature-card h5 {
  color: white;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.feature-card p {
  color: rgba(255,255,255,0.9);
  margin-bottom: 15px;
}

.feature-card ul {
  color: rgba(255,255,255,0.9);
  padding-left: 20px;
  font-size: 0.9em;
  line-height: 1.8;
}

.feature-card ul li {
  list-style: disc;
  margin-bottom: 8px;
}

.feature-mini-card {
  background: rgba(255,255,255,0.1);
  padding: 25px;
  border-radius: 10px;
  margin: 15px 0;
  text-align: center;
}

.feature-mini-card h5 {
  color: white;
  font-size: 1.3em;
  margin-bottom: 10px;
}

.feature-mini-card p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95em;
}

.code-example {
  background: rgba(0,0,0,0.3);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid #fff;
}

.code-example h5 {
  color: white;
  font-size: 1.4em;
  margin-bottom: 20px;
}

.code-block {
  background: rgba(0,0,0,0.5);
  padding: 20px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  margin-bottom: 20px;
  overflow-x: auto;
}

.code-block code {
  color: #4ade80;
  font-size: 0.95em;
  white-space: pre-wrap;
}

.code-example p {
  color: rgba(255,255,255,0.9);
  margin-top: 20px;
  font-size: 1em;
}

.advantages-title {
  color: white;
  font-size: 1.8em;
  margin-bottom: 30px;
  text-align: center;
}

.advantages-list {
  color: rgba(255,255,255,0.9);
  font-size: 1.1em;
  line-height: 2;
  padding-left: 20px;
}

.advantages-list li {
  list-style: none;
  margin-bottom: 10px;
}

/* Services Section - keep original white background */

/* Services */
.services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 50px;
}

@media (max-width: 991px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card-modern {
  background: white;
  border-radius: 8px;
  padding: 30px 25px;
  text-align: left;
  transition: all 0.2s ease;
  border: 1px solid #e0e0e0;
  box-shadow: none;
}

.service-card-modern:hover {
  border-color: #d0d0d0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.service-card-modern h4 {
  color: #2a2a2a;
  font-size: 1.15em;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

.service-card-modern p {
  color: #555;
  font-size: 0.9em;
  line-height: 1.6;
  margin: 0;
}

.col-md-6 {
  width: 50%;
}

@media (max-width: 991px) {
  .col-md-6 {
    width: 100%;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* About Section */
.about-us {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 90px 0;
}

.feature-item-clean {
  background: #ffffff;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.25s ease;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-item-clean:hover {
  background: #fafafa;
  border-color: #d3d3d3;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.check-mark {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: #e7f1ff;
  color: #0059d6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
  flex-shrink: 0;
}

.feature-item-clean h5 {
  color: #2a2a2a;
  font-size: 17px;
  font-weight: 500;
  margin: 0;
  line-height: 1.5;
}

/* Technologies */
.the-clients {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.technologies-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
  justify-items: center;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991px) {
  .technologies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.tech-item {
  text-align: center;
  padding: 40px 35px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.tech-item h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #2a2a2a;
  font-size: 1.6em;
  margin-bottom: 20px;
  font-weight: 700;
}

.tech-item h3 img {
  width: 40px;
  height: 40px;
}

.tech-item h5 {
  color: #666;
  font-size: 1.05em;
  margin-top: 15px;
  line-height: 1.6;
}

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

/* Contact Form */
.contact-form {
  margin-top: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background: white;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.05);
  border: 1px solid #e6e6e6;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  color: #2a2a2a;
  font-weight: 600;
  font-size: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  transition: all 0.2s ease;
  background: #fafafa;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.contact-form input[type="submit"] {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 14px 35px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.contact-form input[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer {
  background: #2a2a2a;
  color: white;
  padding: 30px 0;
  text-align: center;
}

.footer p {
  color: rgba(255,255,255,0.7);
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .header-text h2 {
    font-size: 1.8em;
  }
  
  .section-heading h4 {
    font-size: 24px;
  }
  
  .ai-section .section-heading h4 {
    font-size: 2em;
  }
  
  .main-banner {
    padding: 120px 0 80px;
  }
}

/* --- BEAUTY UI UPGRADE --- */

/* SECTION SPACING */
.section {
  padding: 90px 0 !important;
}

.section-heading h4 {
  font-size: 34px !important;
  font-weight: 800;
}

.section-heading p {
  font-size: 17px !important;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* BEAUTIFUL CARDS */
.service-card-modern,
.feature-item-clean,
.tech-item {
  transition: all 0.25s ease;
  border-radius: 14px !important;
}

.service-card-modern {
  background: #ffffff;
  padding: 32px 28px;
  border: 1px solid #e6e6e6;
  box-shadow: 0 8px 26px rgba(0,0,0,0.05);
  min-height: 200px;
}

.service-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  border-color: #d8d8d8;
}

/* TEXT INSIDE SERVICE CARDS */
.service-card-modern h4 {
  font-size: 18px !important;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card-modern p {
  font-size: 15px;
  color: #6b6b6b;
}

/* BEAUTIFUL CHECKLIST BLOCKS */
.feature-item-clean {
  background: #ffffff !important;
  border: 1px solid #e6e6e6;
  padding: 18px 20px !important;
  border-radius: 12px !important;
}

.feature-item-clean:hover {
  border-color: #d3d3d3;
  background: #fafafa !important;
  transform: translateY(-3px);
}

.check-mark {
  background: #e7f1ff !important;
  color: #0059d6 !important;
}

/* ABOUT SECTION LIST */
.feature-item-clean h5 {
  font-size: 17px !important;
}

/* TECHNOLOGIES BLOCK */
.tech-item {
  max-width: 100% !important;
  background: #ffffff;
  padding: 40px 35px !important;
  border: 1px solid #e6e6e6;
  border-radius: 14px !important;
  box-shadow: 0 8px 26px rgba(0,0,0,0.04);
  min-height: 220px;
}

.tech-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.07);
}

.tech-item h3 {
  font-size: 20px !important;
  font-weight: 700;
}

/* RESPONSIVE BEAUTIFICATION */
@media (max-width: 768px) {
  .service-card-modern,
  .tech-item,
  .feature-item-clean {
    margin-bottom: 20px !important;
  }

  .section-heading h4 {
    font-size: 28px !important;
  }
}