/* Contact Page - fresh styles */

.ko-contact-page {
    padding: clamp(32px, 6vw, 96px) clamp(16px, 4vw, 64px);
    background: radial-gradient(1200px 600px at 50% -10%, rgba(176, 209, 54, 0.08), transparent 60%), #0a0a0a;
    color: #fff;
}

.ko-contact-page .contact-section {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section header */
.ko-contact-page .section-header {
    text-align: center;
    margin-bottom: clamp(24px, 5vw, 48px);
}
.ko-contact-page .section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin: 0 0 8px;
}
.ko-contact-page .section-subtitle {
    color: #b0b0b0;
}

/* Layout structure */
.ko-contact-page .contact-content {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 64px);
}

/* Info cards */
.ko-contact-page .contact-info {
    display: flex;
    flex-direction: row;
    gap: clamp(20px, 3vw, 32px);
    justify-content: center;
    align-items: stretch;
    flex-wrap: nowrap;
}

@media (max-width: 900px) {
    .ko-contact-page .contact-info {
        flex-direction: column;
        align-items: center;
    }
}

.ko-contact-page .contact-card {
    flex: 1;
    max-width: 350px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: clamp(20px, 3vw, 28px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: center;
}

.ko-contact-page .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.ko-contact-page .contact-icon {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(176, 209, 54, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto clamp(16px, 2.5vw, 20px);
    position: relative;
}

.ko-contact-page .contact-icon::before { display: none; }

/* Lottie animation styling */
.ko-contact-page .contact-icon dotlottie-wc {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s ease;
}

/* Hover effects for Lottie animations */
.ko-contact-page .contact-card:hover .contact-icon dotlottie-wc {
    transform: scale(1.05);
}

/* Ensure Lottie animations are responsive */
.ko-contact-page .contact-icon dotlottie-wc canvas {
    border-radius: 50%;
    max-width: 100%;
    max-height: 100%;
}

/* Contact card specific icon colors */
.ko-contact-page .contact-card.visit-us .contact-icon { background: transparent; border-color: rgba(176, 209, 54, 0.6); }

.ko-contact-page .contact-card.call-us .contact-icon { background: transparent; border-color: rgba(176, 209, 54, 0.6); }

.ko-contact-page .contact-card.email-us .contact-icon { background: transparent; border-color: rgba(176, 209, 54, 0.6); }

/* Card content styling */
.ko-contact-page .contact-card h3 {
    color: #b0d136;
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    font-weight: 700;
    margin: 0 0 clamp(12px, 2vw, 16px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ko-contact-page .contact-card p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: clamp(8px, 1.5vw, 12px);
    font-size: clamp(0.9rem, 1.8vw, 1rem);
}

.ko-contact-page .contact-card a {
    color: #b0d136;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.ko-contact-page .contact-card a:hover {
    color: #fffb00;
}

.ko-contact-page .contact-hours {
    /* background: rgba(176, 209, 54, 0.1); */
    border-radius: 12px;
    padding: clamp(12px, 2vw, 16px);
    margin-top: clamp(8px, 1.5vw, 12px);
    border: 1px solid rgba(176, 209, 54, 0.2);
}

.ko-contact-page .contact-note {
    /* background: rgba(0, 212, 255, 0.1); */
    border-radius: 12px;
    padding: clamp(8px, 1.5vw, 12px);
    margin-top: clamp(8px, 1.5vw, 12px);
    border: 1px solid rgba(176, 209, 54, 0.2);
    font-size: 0.9rem;
    color: #b0d136;
}

.ko-contact-page .btn-outline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: clamp(8px, 1.5vw, 12px) clamp(16px, 2.5vw, 24px);
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: clamp(8px, 1.5vw, 12px);
}

.ko-contact-page .btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Form Messages */
.ko-contact-page .form-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 600;
    text-align: center;
}

.ko-contact-page .form-message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
}

.ko-contact-page .form-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff4444;
}

.ko-contact-page .form-message.debug {
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: #007bff;
    text-align: left;
    font-family: monospace;
    font-size: 0.9rem;
}

.ko-contact-page .form-message.debug h4 {
    margin: 0 0 12px 0;
    color: #007bff;
    font-size: 1rem;
}

.ko-contact-page .form-message.debug p {
    margin: 4px 0;
    font-size: 0.85rem;
}

/* Form */
.ko-contact-page .contact-form-wrapper {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(176, 209, 54, 0.2);
    border-radius: 20px;
    padding: clamp(24px, 4vw, 40px);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(176, 209, 54, 0.1);
    transition: all 0.3s ease;
}

.ko-contact-page .contact-form-wrapper:hover {
    border-color: rgba(176, 209, 54, 0.4);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(176, 209, 54, 0.2),
        0 0 40px rgba(176, 209, 54, 0.1);
}
.ko-contact-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(12px, 2.5vw, 20px);
}
.ko-contact-page .form-group {
    display: flex;
    flex-direction: column;
}
.ko-contact-page label {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #b0d136;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.ko-contact-page .form-group:focus-within label {
    color: #00d4ff;
    transform: translateY(-2px);
}

.ko-contact-page input,
.ko-contact-page select,
.ko-contact-page textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(176, 209, 54, 0.2);
    color: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

/* Dropdown options styling */
.ko-contact-page select option {
    background: #1a1a1a;
    color: #fff;
    padding: 12px 16px;
    border: none;
}

.ko-contact-page select option:hover {
    background: #2a2a2a;
}

.ko-contact-page select option:checked {
    background: rgba(176, 209, 54, 0.3);
    color: #b0d136;
}

.ko-contact-page input:focus,
.ko-contact-page select:focus,
.ko-contact-page textarea:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 0 0 3px rgba(0, 212, 255, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.ko-contact-page textarea { 
    resize: vertical; 
    min-height: 120px;
}

@media (max-width: 720px) {
    .ko-contact-page .form-row { grid-template-columns: 1fr; }
}

.ko-contact-page .btn.btn-primary {
    background: linear-gradient(135deg, #b0d136, #00d4ff);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    color: #0a0a0a;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(176, 209, 54, 0.4),
        0 0 0 1px rgba(176, 209, 54, 0.2);
    position: relative;
    overflow: hidden;
}

.ko-contact-page .btn.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.ko-contact-page .btn.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 35px rgba(176, 209, 54, 0.6),
        0 0 0 1px rgba(176, 209, 54, 0.3);
}

.ko-contact-page .btn.btn-primary:hover::before {
    left: 100%;
}

/* Map placeholder */
.ko-contact-page .map-section { margin-top: clamp(24px, 5vw, 48px); }
.ko-contact-page .map-placeholder {
    border-radius: 16px;
    border: 1px dashed rgba(255,255,255,0.2);
    padding: clamp(24px, 4vw, 40px);
    background: rgba(255,255,255,0.03);
}

/* Lottie animation styling */
.ko-contact-page .contact-icon dotlottie-wc {
    width: 76px !important;
    height: 76px !important;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: transform 0.3s ease;
}

/* Hover effects for Lottie animations */
.ko-contact-page .contact-card:hover .contact-icon dotlottie-wc {
    transform: scale(1.05);
}

/* Ensure Lottie animations are responsive */
.ko-contact-page .contact-icon dotlottie-wc canvas {
    border-radius: 50%;
    max-width: 100%;
    max-height: 100%;
}

/* Glow button styles */
.ko-contact-page .glow-on-hover {
  width: 220px;
  height: 50px;
  border: none;
  outline: none;
  color: #fff;
  background: rgb(17, 17, 17);
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  font-weight: 600;
  margin-top: clamp(8px, 1.5vw, 12px);
}

.ko-contact-page .glow-on-hover:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -2;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing_contact_btn 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.ko-contact-page .glow-on-hover:active {
  color: #000;
}

.ko-contact-page .glow-on-hover:active:after {
  background: transparent;
}

.ko-contact-page .glow-on-hover:hover:before {
  opacity: 1;
}

.ko-contact-page .glow-on-hover:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing_contact_btn {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

/* Responsive glow button */
@media (max-width: 600px) {
  .ko-contact-page .glow-on-hover {
    width: 180px;
    height: 45px;
    font-size: 0.9rem;
  }
}

/* Neon Checkbox Styles */
.ko-contact-page .checkbox-label {
    margin-top: 1rem;
    margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #b0d136;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ko-contact-page .checkbox-text {
  color: #ffffff;
  text-transform: none;
  letter-spacing: normal;
  font-weight: 400;
}

.ko-contact-page .neon-checkbox {
  --primary: #b0d136;
  --primary-dark: #00cc88;
  --primary-light: #b0d136;
  --size: 30px;
  position: relative;
  width: var(--size);
  height: var(--size);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}

.ko-contact-page .neon-checkbox input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  z-index: 1;
}

.ko-contact-page .neon-checkbox__frame {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ko-contact-page .neon-checkbox__box {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 4px;
  border: 2px solid var(--primary-dark);
  transition: all 0.4s ease;
}

.ko-contact-page .neon-checkbox__check-container {
  position: absolute;
  inset: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ko-contact-page .neon-checkbox__check {
  width: 80%;
  height: 80%;
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  transform-origin: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ko-contact-page .neon-checkbox__glow {
  position: absolute;
  inset: -2px;
  border-radius: 6px;
  background: var(--primary);
  opacity: 0;
  filter: blur(8px);
  transform: scale(1.2);
  transition: all 0.4s ease;
}

.ko-contact-page .neon-checkbox__borders {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  border: 1px solid var(--primary);
  overflow: hidden;
}

.ko-contact-page .neon-checkbox__borders span {
  position: absolute;
  width: 40px;
  height: 1px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ko-contact-page .neon-checkbox__borders span:nth-child(1) {
  top: 0;
  left: -100%;
  animation: borderFlow1 2s linear infinite;
}

.ko-contact-page .neon-checkbox__borders span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 1px;
  height: 40px;
  animation: borderFlow2 2s linear infinite;
}

.ko-contact-page .neon-checkbox__borders span:nth-child(3) {
  bottom: 0;
  right: -100%;
  animation: borderFlow3 2s linear infinite;
}

.ko-contact-page .neon-checkbox__borders span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 1px;
  height: 40px;
  animation: borderFlow4 2s linear infinite;
}

.ko-contact-page .neon-checkbox__particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  top: 50%;
  left: 50%;
  box-shadow: 0 0 6px var(--primary);
}

.ko-contact-page .neon-checkbox__rings {
  position: absolute;
  inset: -20px;
  pointer-events: none;
}

.ko-contact-page .neon-checkbox__rings .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--primary);
  opacity: 0;
  transform: scale(0);
}

.ko-contact-page .neon-checkbox__sparks span {
  position: absolute;
  width: 20px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
  opacity: 0;
}

/* Hover Effects */
.ko-contact-page .neon-checkbox:hover .neon-checkbox__box {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* Checked State */
.ko-contact-page .neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__box {
  border-color: var(--primary);
  background: rgba(0, 255, 170, 0.1);
}

.ko-contact-page .neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__check {
  stroke-dashoffset: 0;
  transform: scale(1.1);
}

.ko-contact-page .neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__glow {
  opacity: 0.2;
}

.ko-contact-page .neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__borders span {
  opacity: 1;
}

/* Particle Animations */
.ko-contact-page .neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__particles span {
  animation: particleExplosion 0.6s ease-out forwards;
}

.ko-contact-page .neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__rings .ring {
  animation: ringPulse 0.6s ease-out forwards;
}

.ko-contact-page .neon-checkbox input:checked ~ .neon-checkbox__frame .neon-checkbox__sparks span {
  animation: sparkFlash 0.6s ease-out forwards;
}

/* Animations */
@keyframes borderFlow1 {
  0% { transform: translateX(0); }
  100% { transform: translateX(200%); }
}

@keyframes borderFlow2 {
  0% { transform: translateY(0); }
  100% { transform: translateY(200%); }
}

@keyframes borderFlow3 {
  0% { transform: translateX(0); }
  100% { transform: translateX(-200%); }
}

@keyframes borderFlow4 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-200%); }
}

@keyframes particleExplosion {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
  20% { opacity: 1; }
  100% {
    transform: translate(calc(-50% + var(--x, 20px)), calc(-50% + var(--y, 20px))) scale(0);
    opacity: 0;
  }
}

@keyframes ringPulse {
  0% { transform: scale(0); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes sparkFlash {
  0% {
    transform: rotate(var(--r, 0deg)) translateX(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: rotate(var(--r, 0deg)) translateX(30px) scale(0);
    opacity: 0;
  }
}

/* Particle Positions */
.ko-contact-page .neon-checkbox__particles span:nth-child(1) { --x: 25px; --y: -25px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(2) { --x: -25px; --y: -25px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(3) { --x: 25px; --y: 25px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(4) { --x: -25px; --y: 25px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(5) { --x: 35px; --y: 0px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(6) { --x: -35px; --y: 0px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(7) { --x: 0px; --y: 35px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(8) { --x: 0px; --y: -35px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(9) { --x: 20px; --y: -30px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(10) { --x: -20px; --y: 30px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(11) { --x: 30px; --y: 20px; }
.ko-contact-page .neon-checkbox__particles span:nth-child(12) { --x: -30px; --y: -20px; }

/* Spark Rotations */
.ko-contact-page .neon-checkbox__sparks span:nth-child(1) { --r: 0deg; top: 50%; left: 50%; }
.ko-contact-page .neon-checkbox__sparks span:nth-child(2) { --r: 90deg; top: 50%; left: 50%; }
.ko-contact-page .neon-checkbox__sparks span:nth-child(3) { --r: 180deg; top: 50%; left: 50%; }
.ko-contact-page .neon-checkbox__sparks span:nth-child(4) { --r: 270deg; top: 50%; left: 50%; }

/* Ring Delays */
.ko-contact-page .neon-checkbox__rings .ring:nth-child(1) { animation-delay: 0s; }
.ko-contact-page .neon-checkbox__rings .ring:nth-child(2) { animation-delay: 0.1s; }
.ko-contact-page .neon-checkbox__rings .ring:nth-child(3) { animation-delay: 0.2s; }

/* Mobile improvements for equal card sizes */
@media (max-width: 600px) {
    .ko-contact-page .contact-info {
        flex-direction: column;
        align-items: center;
        gap: clamp(16px, 3vw, 24px);
    }
    
    .ko-contact-page .contact-card {
        width: 100%;
        min-width: 100%;
        max-width: 400px;
        height: auto;
        min-height: 280px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    
    .ko-contact-page .contact-card h3 {
        margin-top: 0;
    }
    
    .ko-contact-page .contact-form-wrapper {
        padding: clamp(20px, 3vw, 32px);
    }
    
    .ko-contact-page .form-row {
        gap: clamp(16px, 2.5vw, 20px);
    }
    
    .ko-contact-page input,
    .ko-contact-page select,
    .ko-contact-page textarea {
        padding: 14px 16px;
    }
    
    .ko-contact-page .contact-icon { width: 60px; height: 60px; }
    
    .ko-contact-page .contact-icon dotlottie-wc {
        width: 60px !important;
        height: 60px !important;
    }
}


