* {
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  list-style: none;
  text-decoration: none;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans Georgian', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  overflow-x: hidden;
}

button, input, select {
  cursor: pointer;
}

/* Loading Animation */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #00cc00;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Navbar Styling */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1a1a1a;
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
}

.menu {
  display: flex;
}

.menu ul {
  display: flex;
  gap: 30px;
}

.menu a {
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #00cc00;
}

.contact {
  color: #00cc00;
  border: 2px solid #00cc00;
  border-radius: 20px;
  padding: 8px 20px;
  transition: all 0.3s ease;
  background-color: #444;
  text-decoration: none;
}

.contact:hover {
  background-color: #00cc00;
  color: #fff;
  border-color: #fff;
}

/* Burger Menu Styling */
.burger {
  display: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.burger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active .bar:nth-child(2) {
  opacity: 0;
}

.burger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Banner Section */
.banner {
  background-image: url(https://mos-cargo-city.oml.ru/thumb/2/BqhW1H9PjljuQ9DTVHmJcw/1920r960/d/tpl25_h1_1.jpg);
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  position: relative;
}

.banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.text-content {
  color: white;
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.text-content h3 {
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  animation: fadeInDown 1s ease-out;
}

.text-content p {
  font-size: 20px;
  margin-bottom: 25px;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.text-content button {
  background-color: #e63946;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 25px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.text-content button:hover {
  background-color: #d62828;
  transform: scale(1.05);
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Chat Button */
.chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #6d215e;
  color: white;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border: 2px solid #00ff00;
  border-radius: 25px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  z-index: 3;
  animation: pulse 2s infinite;
}

.chat-button span {
  margin-right: 10px;
}

.chat-button:hover {
  transform: scale(1.1);
  border-color: #00cc00;
  background-color: #5a1c50;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Chat Window */
.chat-window {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 350px;
  height: 450px;
  background: linear-gradient(135deg, #e63946 0%, #ffcc00 100%); /* Georgian flag colors */
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  flex-direction: column;
  animation: slideIn 0.3s ease-out;
}

.chat-window.open {
  display: flex;
}

@keyframes slideIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.chat-header {
  background: #1a1a1a;
  color: #fff;
  padding: 15px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header h3 {
  margin: 0;
  font-size: 18px;
}

.chat-close {
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.chat-close:hover {
  color: #ffcc00;
}

.chat-body {
  flex: 1;
  background: #fff;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-message {
  max-width: 80%;
  padding: 10px 15px;
  border-radius: 15px;
  position: relative;
}

.chat-message p {
  margin: 0;
}

.chat-message.bot-message {
  background-color: #f1f1f1;
  align-self: flex-start;
  border-bottom-left-radius: 5px;
}

.chat-message.user-message {
  background-color: #e63946;
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 5px;
}

.timestamp {
  font-size: 10px;
  color: #888;
  margin-top: 5px;
  display: block;
  text-align: right;
}

.chat-footer {
  display: flex;
  padding: 10px;
  background: #fff;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

.chat-footer input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 14px;
  margin-right: 10px;
}

.chat-footer input:focus {
  outline: none;
  border-color: #ffcc00;
}

.chat-footer button {
  background: #e63946;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.chat-footer button:hover {
  background: #d62828;
}

.typing-indicator {
  display: none;
  padding: 10px;
  background: #fff;
}

.typing-indicator span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #888;
  border-radius: 50%;
  margin-right: 5px;
  animation: bounceDots 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes bounceDots {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* Services Section */
.services-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 2px solid #333;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.nav a {
  color: #333;
  font-weight: bold;
  padding: 5px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav a.active {
  color: #fff;
  background-color: #333;
}

.nav a:hover {
  background-color: #eee;
  color: #000;
}

.container {
  display: none;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.container.active {
  display: flex;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 15px;
  width: 300px;
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  animation: fadeIn 1s ease-out;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.card h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: #333;
}

.card ul {
  padding: 0;
  margin: 0 0 20px;
}

.card li {
  padding: 5px 0;
  font-size: 14px;
  color: #555;
}

.card li::before {
  content: "✔ ";
  color: #28a745;
}

.card button {
  background-color: #dc3545;
  color: #fff;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
}

.card button:hover {
  background-color: #c82333;
  transform: scale(1.05);
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Moving Quotes Section */
.moving-quotes {
  background-color: #00ccff;
  padding: 40px 20px;
  border-radius: 15px;
  margin: 40px auto;
  max-width: 600px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  animation: slideUp 1s ease-out;
  position: relative;
  overflow: hidden;
}

.moving-quotes::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
  z-index: 0;
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.quotes-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}

.quotes-content h3 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
}

.quotes-content .price {
  font-size: 40px;
  color: #fff;
  font-weight: 900;
  animation: bounceIn 1.5s ease-out;
}

@keyframes bounceIn {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); }
}

.quotes-content .info {
  font-size: 16px;
  margin-bottom: 20px;
  opacity: 0.9;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 14px;
  color: #fff;
  text-align: left;
}

.form-group input, .form-group select {
  padding: 10px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  background-color: #fff;
  transition: box-shadow 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
  outline: none;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.building-type {
  appearance: none;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path d="M2 4l4 4 4-4H2z" fill="%23000"/></svg>') no-repeat right 10px center;
  background-size: 10px;
}

.quote-btn {
  background-color: #fff;
  color: #000000;
  padding: 12px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  margin-top: 20px;
}

.quote-btn:hover {
  background-color: #0091ff;
  transform: scale(1.05);
  color: white;
}

.rating {
  margin-top: 20px;
  font-size: 14px;
  color: #fff;
  opacity: 0.8;
  background-color: #2c3e50;
  padding: 10px;
  border-radius: 5px;
  display: inline-block;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: slideIn 0.3s ease-out;
}

.modal-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
  text-align: left;
}

.modal-content label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #555;
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
}

.modal-content .checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
}

.modal-content .checkbox input {
  width: 16px;
  height: 16px;
  margin: 0;
}

.modal-content .checkbox label {
  margin: 0;
  line-height: 1.2;
}

.modal-content button {
  background-color: #285ba7;
  color: #fff;
  padding: 12px;
  width: 100%;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s ease;
}

.modal-content button:hover {
  background-color: #0077ff;
  transform: scale(1.05);
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #333;
}

/* Success Animation */
.success {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: #28a745;
  animation: bounce 0.5s ease-out;
}

@keyframes bounce {
  0% { transform: translate(-50%, -50%) scale(0); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
  100% { transform: translate(-50%, -50%) scale(1); }
}

/* Footer Styling */
.footer {
  background-color: #1a1a1a;
  color: #fff;
  padding: 60px 20px 20px;
  position: relative;
  z-index: 1;
  opacity: 0;
  transition: opacity 1s ease-out;
}

.footer.visible {
  opacity: 1;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #00cc00;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: #00cc00;
}

.footer-section p, .footer-section a {
  font-size: 14px;
  color: #ccc;
  line-height: 1.6;
}

.footer-section a {
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00cc00;
}

.footer-section.links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-section.contact-info p {
  margin-bottom: 10px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  position: relative;
}

.newsletter-form label.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.newsletter-form input {
  padding: 12px;
  border: 2px solid #444;
  border-radius: 5px;
  font-size: 14px;
  background-color: #333;
  color: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-form input:focus {
  border-color: #00cc00;
  box-shadow: 0 0 5px rgba(0, 204, 0, 0.5);
  outline: none;
}

.newsletter-form input::placeholder {
  color: #888;
}

.newsletter-form .subscribe-btn {
  background-color: #00cc00;
  color: #fff;
  padding: 12px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.newsletter-form .subscribe-btn:hover {
  background-color: #009900;
  transform: scale(1.05);
}

.newsletter-success {
  display: none;
  margin-top: 15px;
  text-align: center;
  color: #00cc00;
  font-weight: bold;
  animation: fadeIn 1s ease-out;
}

.newsletter-success span {
  background-color: #333;
  padding: 8px 15px;
  border-radius: 5px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 20px;
  margin-top: 20px;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.2);
}

.social-icon.facebook {
  background-color: #3b5998;
}

.social-icon.twitter {
  background-color: #1da1f2;
}

.social-icon.instagram {
  background-color: #e4405f;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

.footer-bottom p {
  font-size: 12px;
  color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
  }

  .menu {
      position: fixed;
      top: 0;
      left: -100%;
      width: 80%;
      max-width: 300px;
      height: 100vh;
      background: #1a1a1a;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      transition: left 0.3s ease-in-out;
  }

  .menu.active {
      left: 0;
  }

  .menu ul {
      flex-direction: column;
      align-items: center;
      gap: 20px;
  }

  .menu li {
      margin: 10px 0;
      opacity: 0;
      transform: translateX(-20px);
      transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .menu.active li {
      opacity: 1;
      transform: translateX(0);
  }

  .menu li:nth-child(1) { transition-delay: 0.1s; }
  .menu li:nth-child(2) { transition-delay: 0.2s; }
  .menu li:nth-child(3) { transition-delay: 0.3s; }
  .menu li:nth-child(4) { transition-delay: 0.4s; }
  .menu li:nth-child(5) { transition-delay: 0.5s; }
  .menu li:nth-child(6) { transition-delay: 0.6s; }

  .menu a {
      font-size: 20px;
  }

  .burger {
      display: block;
  }

  .contact {
      margin-top: 20px;
  }

  .banner {
      height: 400px;
  }

  .text-content h3 {
      font-size: 36px;
  }

  .text-content p {
      font-size: 16px;
  }

  .text-content button {
      padding: 10px 20px;
      font-size: 14px;
  }

  .container {
      flex-direction: column;
      align-items: center;
  }

  .card {
      width: 100%;
      max-width: 350px;
  }

  .chat-button {
      padding: 8px 15px;
      font-size: 16px;
  }

  .chat-window {
      width: 90%;
      height: 400px;
      bottom: 70px;
      right: 5%;
  }

  .moving-quotes {
    padding: 20px;
    margin: 20px;
  }

  .quotes-content h3 {
    font-size: 24px;
  }

  .quotes-content .price {
    font-size: 30px;
  }

  .modal-content {
      width: 95%;
      padding: 20px;
  }

  .modal-content h3 {
      font-size: 20px;
  }

  .modal-content input {
      font-size: 14px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-section h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .newsletter-form {
    align-items: center;
  }

  .newsletter-form input, .newsletter-form .subscribe-btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .navbar {
      padding: 10px 20px;
  }

  .text-content h3 {
      font-size: 28px;
  }

  .text-content p {
      font-size: 14px;
  }

  .text-content button {
      padding: 8px 15px;
      font-size: 12px;
  }

  .card h3 {
      font-size: 18px;
  }

  .card li {
      font-size: 12px;
  }

  .card button {
      font-size: 14px;
  }

  .chat-button {
      bottom: 10px;
      right: 10px;
      padding: 6px 12px;
      font-size: 14px;
  }

  .chat-window {
      width: 95%;
      height: 350px;
      bottom: 60px;
      right: 2.5%;
  }

  .chat-header h3 {
      font-size: 16px;
  }

  .chat-message {
      padding: 8px 12px;
  }

  .chat-footer input {
      font-size: 12px;
  }

  .chat-footer button {
      width: 35px;
      height: 35px;
  }

  .moving-quotes {
    margin: 10px;
    padding: 15px;
  }

  .quotes-content h3 {
    font-size: 20px;
  }

  .quotes-content .price {
    font-size: 25px;
  }

  .form-group input, .form-group select {
    font-size: 12px;
  }

  .footer-section h3 {
    font-size: 18px;
  }

  .footer-section p, .footer-section a {
    font-size: 12px;
  }

  .social-icon {
    width: 35px;
    height: 35px;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }

  .newsletter-form input, .newsletter-form .subscribe-btn {
    font-size: 12px;
    padding: 10px;
  }
}