* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5px;
}

/* Header Styles */
.header {
  background: linear-gradient(135deg, #efefef 0%, #f0f0f0 100%);
  color: rgb(38, 124, 223);
  padding: 2px 0;
  box-shadow: 0 2px 10px rgba(114, 114, 114, 0.1);
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  height: 70px;
  width: 100%;
  
}

.header .container {
  position: relative;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #00a651, #4CAF50);
  border-radius: 8px;
  position: relative;
  animation: logoFloat 3s ease-in-out infinite;
}

.logo-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  background: white;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.logo-text h1 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: -5px;
}

.logo-text p {
  font-size: 14px;
  opacity: 0.9;
}

.nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-link {
  color: rgb(160, 160, 160);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.nav-link:hover::before {
  left: 100%;
}

.nav-link:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  color: #e0e0e0;
  background: rgba(22, 130, 212, 0.989);
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Hero Section */
.hero {
  margin-top: 70px;
  height: 100px;
  background-image: url(Georgia.jpg);
  background-size: cover;
  background-position: right;
  display: flex;
  align-items: right;
  justify-content: right;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

}

@keyframes sparkle {
  0% { transform: translateX(-100px); }
  100% { transform: translateX(100px); }
}

.hero-content {
  text-align: right;
  z-index: 2;
}

.hero-title {
  margin-top: 20px;
  margin-right: 20px;
  font-size: 30px;
  font-weight: 400;
  color: white;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Progress Steps */
.progress-section {
  background: white;
  padding: 30px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.progress-steps::before {
  content: '';
  position: absolute;
  top: 25px;
  left: 50px;
  right: 50px;
  background: #e0e0e0;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
}

.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step-icon svg {
  width: 24px;
  height: 24px;
  color: #999;
  transition: all 0.3s ease;
}

.step.active .step-icon {
  background: linear-gradient(135deg, #4a7bc8, #2c5aa0);
  box-shadow: 0 4px 15px rgba(74, 123, 200, 0.4);
  animation: pulse 2s infinite;
}

.step.active .step-icon svg {
  color: white;
}

@keyframes pulse {
  0% { box-shadow: 0 4px 15px rgba(74, 123, 200, 0.4); }
  50% { box-shadow: 0 4px 25px rgba(74, 123, 200, 0.6); }
  100% { box-shadow: 0 4px 15px rgba(74, 123, 200, 0.4); }
}

.step-label {
  font-size: 14px;
  color: #666;
  text-align: center;
  max-width: 120px;
  transition: color 0.3s ease;
}

.step.active .step-label {
  color: #2c5aa0;
  font-weight: 600;
}

/* Main Content */
.main-content {
  padding: 40px 0;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 40px;
  align-items: start;
}

/* Form Section */
.form-section {
  background: white;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  animation: slideInLeft 0.8s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

.select-wrapper {
  position: relative;
}

.form-select {
  width: 100%;
  padding: 12px 40px 12px 15px;
  border: 2px solid #e0e0e0;
 
  font-size: 16px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
}

.form-select:focus {
  outline: none;
  border-color: #4a7bc8;
  box-shadow: 0 0 0 3px rgba(74, 123, 200, 0.1);
}

.select-wrapper::after {
  content: '▼';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  pointer-events: none;
  transition: transform 0.3s ease;
}

.select-wrapper:hover::after {
  transform: translateY(-50%) rotate(180deg);
}

.insurance-group {
  border: 2px solid #e0e0e0;
  
  padding: 20px;
  background: #f9f9f9;
}

.info-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: #4a7bc8;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 20px;
  font-size: 12px;
  margin-left: 5px;
  cursor: help;
  transition: all 0.3s ease;
}

.info-icon:hover {
  background: #2c5aa0;
  transform: scale(1.1);
}

.insurance-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.radio-label {
  display: flex;
  align-items:center;
  gap: 10px;
  cursor: pointer;
  font-size: 16px;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 20px;
  height: 20px;
  border: 2px solid #4a7bc8;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background: #4f7db5;
  border-radius: 50%;
  animation: radioCheck 0.3s ease;
}

@keyframes radioCheck {
  from {
    transform: translate(-50%, -50%) scale(0);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}

.btn-insurance {
  background: linear-gradient(135deg, #4a7bc8, #2c5aa0);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-insurance::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-insurance:hover::before {
  left: 100%;
}

.btn-insurance:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 123, 200, 0.4);
}

.captcha-section {
  margin: 25px 0;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  
  background: #f9f9f9;
}

.captcha-text {
  font-family: 'Courier New', monospace;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 3s ease infinite;
  letter-spacing: 3px;
  text-decoration: line-through;
  text-decoration-color: #999;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.captcha-refresh {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.captcha-refresh svg {
  width: 24px;
  height: 24px;
  color: #666;
  transition: all 0.3s ease;
}

.captcha-refresh:hover {
  background: #e0e0e0;
}

.captcha-refresh:hover svg {
  color: #4a7bc8;
  transform: rotate(180deg);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #4a7bc8, #2c5aa0);
  color: white;
  border: none;
  padding: 15px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 123, 200, 0.4);
}

.btn-submit:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(74, 123, 200, 0.4);
}

/* Information Box */
.info-box {
  background: white;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  animation: slideInRight 0.8s ease-out;
  position: sticky;
  top: 20px;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.info-box h6 {
  color: #cecece;
  margin-bottom: 20px;
  font-size: 20px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 10px;
}

.info-content p {
  margin-bottom: 15px;
  color: #3199d5;
  line-height: 1.6;
  transition: color 0.3s ease;
}
/* Footer */
.footer {
  background: linear-gradient(135deg, #3768b3 0%, #567fc0 100%);
  color: white;
  padding: 20px 0;
  margin-top: 50px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.contact-info p {
  margin-bottom: 8px;
  font-size: 14px;
}

.contact-info strong {
  color: #fff;
  margin-right: 10px;
}

.ministry-info {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-self: end;
}

.coat-of-arms::before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
}

@keyframes coatRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ministry-text p {
  margin-bottom: 5px;
  font-size: 14px;
}

.georgian-text {
  font-style: italic;
  opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  
  .nav-link {
    font-size: 12px;
    padding: 8px 12px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .progress-steps {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  
  .progress-steps::before {
    display: none;
  }
  
  .content-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .ministry-info {
    justify-self: center;
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Success Animation */
.success-checkmark {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: #4CAF50;
  stroke-miterlimit: 10;
  margin: 10% auto;
  box-shadow: inset 0px 0px 0px #4CAF50;
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}

.success-checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: #4CAF50;
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes scale {
  0%, 100% {
    transform: none;
  }
  50% {
    transform: scale3d(1.1, 1.1, 1);
  }
}

@keyframes fill {
  100% {
    box-shadow: inset 0px 0px 0px 30px #4CAF50;
  }
}
.ministry {
width: auto;
height: 80px;
margin-bottom: 80px;
}
.step-label a{
  text-decoration: none;
  color: #2c5aa0;
  font-weight: 600;

}
.step-label a:hover{

  cursor: pointer;
  color: rgb(0, 246, 37);

}
-------------------------------------------------------

.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.captcha-label {
  font-size: 14px;
  color: #333;
}

.captcha-input {
  padding: 6px 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 120px;
}

.captcha-submit {
  padding: 6px 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.captcha-submit:hover {
  background-color: #0056b3;
}
.logo-text img{
  width:280px;
  margin-right: 30px;
}

/* Footer contact & Other Link*/

.Sooter {
  display: flex; 
  flex-wrap: wrap;
  justify-content: space-between;
  background: #f2f2f2;
  padding: 20px;
  font-family: sans-serif;
}

.Sooter-section {
  flex: 1 1 200px;
  margin: 10px;
}

.Sooter-section h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.Sooter-section ul {
  list-style: none;
  padding: 0;
}

.Sooter-section li {
  margin-bottom: 8px;
}

.Sooter-section a {
  text-decoration: none;
  color: #555;
  font-size: 14px;
}

.Sooter-section a:hover {
  color: #000;
}

.social-icons a img {
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* 📱 Mobile View */
@media (max-width: 600px) {
  .Sooter {
    flex-direction: column;
    align-items: flex-start;
  }

  .Sooter-section {
    width: 100%;
    margin-bottom: 20px;
  }
}
/* Footer contact & Other Link*/