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

html {
  scroll-behavior: smooth;
}

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

/* CSS Variables */
:root {
  --primary-color: #1a472a;
  --secondary-color: #2d5a3d;
  --accent-color: #d4af37;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --white: #ffffff;
  --gray: #6c757d;
  --gradient: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  --shadow: 0 10px 30px rgba(26, 71, 42, 0.1);
  --transition: all 0.3s ease;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 71, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  padding: 1rem 0;
}

.navbar.scrolled {
  background: var(--primary-color);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  font-family: "BPG Square", sans-serif;
}

.nav-logo i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--white);
  margin: 3px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgb(0 0 0 / 80%), rgb(0 56 20 / 80%)),
    url(https://greenautoshipping.ge/assets/images/background.jpg) center /
      cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-family: "BPG Square", sans-serif;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-indicator i {
  font-size: 1.5rem;
  color: var(--white);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  background: transparent;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(26, 71, 42, 0.3);
}

.btn-secondary {
  background: var(--accent-color);
  color: var(--dark-color);
  border-color: var(--accent-color);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
}

/* Sections */
.section {
  padding: 6rem 0;
}

.bg-light {
  background: var(--light-color);
}

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

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--dark-color);
  font-family: "BPG Square", sans-serif;
}

/* How It Works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(26, 71, 42, 0.15);
}

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

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: var(--accent-color);
  color: var(--dark-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-family: "BPG Square", sans-serif;
}

.step-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Auction Partners */
.auction-partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.partner-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.partner-card img {
  width: 200px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  border-radius: 10px;
}

.partner-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-family: "BPG Square", sans-serif;
}

.partner-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

/* Container Tracking */
.tracking-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.tracking-input {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tracking-input input {
  flex: 1;
  min-width: 250px;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 50px;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.tracking-input input:focus {
  border-color: var(--primary-color);
}

.status-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.status-bar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #e9ecef;
  z-index: 1;
}

.status-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  padding: 0 1rem;
  z-index: 2;
  position: relative;
}

.status-step i {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e9ecef;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.status-step.active i {
  background: var(--primary-color);
  color: var(--white);
}

.status-step span {
  font-weight: 600;
  color: var(--gray);
}

.status-step.active span {
  color: var(--primary-color);
}

.tracking-details {
  background: var(--light-color);
  padding: 2rem;
  border-radius: 15px;
  text-align: left;
}

.tracking-details p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.service-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-family: "BPG Square", sans-serif;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

/* Insurance Plans */
.insurance-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.plan-card {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.plan-card.featured {
  border: 3px solid var(--accent-color);
  transform: scale(1.05);
}

.plan-card.featured::before {
  content: "Most Popular";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--dark-color);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

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

.plan-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.plan-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-color);
  font-family: "BPG Square", sans-serif;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.plan-card ul {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.plan-card li {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
  color: var(--gray);
}

.plan-card li i {
  color: var(--primary-color);
  margin-right: 0.8rem;
  font-size: 1.1rem;
}

/* Testimonials */
.testimonials-slider {
  margin-top: 3rem;
}

.testimonial-card {
  padding: 2rem;
  margin: 0 1rem;
}

.testimonial-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  font-size: 4rem;
  color: var(--primary-color);
  position: absolute;
  top: -10px;
  left: 2rem;
  font-family: serif;
}

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

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

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

.testimonial-author h4 {
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Contact */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--dark-color);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.contact-item h4 {
  color: var(--dark-color);
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--gray);
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
}

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

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

/* Contact Form Messages */
#contact-message {
  padding: 1rem;
  border-radius: 10px;
  font-weight: 500;
  text-align: center;
  animation: slideIn 0.3s ease-out;
}

#contact-message.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

#contact-message.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

#contact-message i {
  margin-right: 0.5rem;
  font-size: 1.1em;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: "BPG Square", sans-serif;
}

.footer-logo i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

.footer-section p {
  color: #ccc;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--accent-color);
  font-family: "BPG Square", sans-serif;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: var(--accent-color);
}

.footer-section ul li i {
  margin-right: 0.5rem;
  color: var(--accent-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  color: var(--dark-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #ccc;
}

/* Slick Carousel Custom Styles */
.slick-dots {
  bottom: -50px;
}

.slick-dots li button:before {
  color: var(--primary-color);
  font-size: 12px;
}

.slick-dots li.slick-active button:before {
  color: var(--accent-color);
}

/* Language Selector */
.language-selector {
  margin-left: 2rem;
}

.language-dropdown {
  position: relative;
}

.language-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  color: var(--white);
  padding: 0.5rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  transition: var(--transition);
}

.language-btn:hover {
  border-color: var(--accent-color);
  background: rgba(212, 175, 55, 0.1);
}

.language-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 150px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
}

.language-options.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: var(--dark-color);
  text-decoration: none;
  transition: var(--transition);
  border-bottom: 1px solid #eee;
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background: var(--light-color);
}

.language-option.active {
  background: var(--primary-color);
  color: var(--white);
}

.language-option .flag {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--primary-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

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

  .language-selector {
    margin-left: 1rem;
    position: relative;
    z-index: 1002;
  }

  .language-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .language-options {
    right: 0;
    min-width: 120px;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 200px;
  }

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

  .steps-grid,
  .auction-partners,
  .services-grid,
  .insurance-plans {
    grid-template-columns: 1fr;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .tracking-input {
    flex-direction: column;
  }

  .tracking-input input {
    min-width: 100%;
  }

  .status-bar {
    flex-direction: column;
    gap: 1rem;
  }

  .status-bar::before {
    display: none;
  }

  .plan-card.featured {
    transform: none;
  }

  .plan-card.featured:hover {
    transform: translateY(-10px);
  }

  .language-selector {
    margin-left: 1rem;
  }

  .language-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  .language-options {
    right: 0;
    min-width: 120px;
  }

  .nav-container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 0 0.5rem;
  }

  .language-selector {
    margin-left: 0.5rem;
  }

  .language-btn {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }

  .language-options {
    right: -0.5rem;
    min-width: 100px;
  }

  .hamburger {
    margin-right: 0.5rem;
  }

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

  .section {
    padding: 4rem 0;
  }

  .step-card,
  .partner-card,
  .service-card,
  .plan-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 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: var(--white);
  animation: spin 1s ease-in-out infinite;
}

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

/* Utility Classes */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}
.mb-1 {
  margin-bottom: 1rem;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
  margin-bottom: 3rem;
}
.mt-1 {
  margin-top: 1rem;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}
.d-none {
  display: none;
}
.d-block {
  display: block;
}
.d-flex {
  display: flex;
}
