.contact-main {
  padding: 40px 0 60px;
}

.contact-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-top: 30px;
}

.contact-content {
  position: relative;
}

.contact-image {
  margin-bottom: 32px;
}

.laptop-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 
    0 4px 16px rgba(0, 0, 0, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.laptop-wrapper:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 20px rgba(0, 0, 0, 0.12),
    0 12px 40px rgba(0, 0, 0, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  border-color: rgba(0, 255, 153, 0.15);
}

.laptop-wrapper .screen-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* Contact image carousel */
.contact-carousel {
  position: relative;
  width: 100%;
}

.contact-carousel:focus {
  outline: none;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  transform: translateX(0%);
  transition: transform 420ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.38);
  border-color: rgba(24, 243, 166, 0.24);
}

.carousel-prev {
  left: 12px;
}

.carousel-next {
  right: 12px;
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  padding: 0;
}

.carousel-dot.is-active,
.carousel-dot[aria-current='true'] {
  background: rgba(255, 255, 255, 0.9);
}

.laptop-screen {
  position: relative;
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #2a2a3e;
  box-shadow: 
    0 0 0 8px #0f0f1a,
    0 0 0 10px #1a1a2e,
    inset 0 2px 8px rgba(0, 0, 0, 0.6);
  aspect-ratio: 16/10;
}

.laptop-screen::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), transparent);
  z-index: 2;
}

.laptop-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0%, transparent 50%, rgba(255, 255, 255, 0.02) 100%);
  pointer-events: none;
  z-index: 1;
}

.screen-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 0;
  overflow: hidden;
}

.screen-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.hotel-header {
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.stars {
  font-size: clamp(18px, 2.8vw, 26px);
  color: #fbbf24;
  letter-spacing: 4px;
}

.contact-text {
  max-width: 520px;
}

.contact-title {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 42px;
}

.language-section {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px 32px;
}

.contact-subtitle {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  margin: 0;
}

.tech-stack-section {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 32px;
}

.stack-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
  text-transform: lowercase;
}

.primary-stack {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 24px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.contact-link-card {
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-link-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(24, 243, 166, 0.3);
  color: #fff;
  transform: translateY(-2px);
}

.contact-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.contact-icon svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 900px) {
  .contact-hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .laptop-wrapper {
    padding: 0;
  }

  .contact-text {
    max-width: 100%;
  }

  .contact-title {
    font-size: clamp(18px, 4vw, 24px);
  }

  .contact-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .laptop-wrapper {
    padding: 0;
  }

  .screen-content {
    padding: 24px 20px;
  }

  .language-section {
    padding: 22px 24px;
  }

  .tech-stack-section {
    padding: 24px;
  }

  .contact-links {
    grid-template-columns: 1fr;
  }
}

/* AI FAQ Chat Styles */
.ai-faq-section {
  margin-top: 80px;
  padding: 40px 0 60px;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header .section-title {
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #00ff99 0%, #00ccff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-header .subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
}

.chat-container {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(26, 26, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.chat-messages {
  height: 450px;
  overflow-y: auto;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(15, 15, 26, 0.4);
}

.chat-messages::-webkit-scrollbar {
  width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 153, 0.3);
  border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 255, 153, 0.5);
}

.chat-message {
  display: flex;
  animation: slideIn 0.3s ease-out;
}

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

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.assistant {
  justify-content: flex-start;
}

.message-content {
  max-width: 75%;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.5;
  word-wrap: break-word;
}

.chat-message.user .message-content {
  background: linear-gradient(135deg, #00ff99 0%, #00ccff 100%);
  color: #0a0a0f;
  font-weight: 500;
}

.chat-message.assistant .message-content {
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(79, 70, 229, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.chat-message.typing .message-content {
  display: flex;
  gap: 6px;
  padding: 16px 20px;
}

.typing-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typing {
  0%, 60%, 100% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
}

.chat-input-wrapper {
  padding: 20px;
  background: rgba(26, 26, 46, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chat-input {
  width: 100%;
  min-height: 48px;
  max-height: 120px;
  padding: 12px 16px;
  background: rgba(15, 15, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: white;
  font-size: 15px;
  font-family: inherit;
  resize: none;
  transition: all 0.2s ease;
}

.chat-input:focus {
  outline: none;
  border-color: rgba(0, 255, 153, 0.5);
  box-shadow: 0 0 0 3px rgba(0, 255, 153, 0.1);
}

.chat-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.chat-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  justify-content: flex-end;
}

.btn-send,
.btn-clear {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-send {
  background: linear-gradient(135deg, #00ff99 0%, #00ccff 100%);
  color: #0a0a0f;
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 255, 153, 0.4);
}

.btn-send:active {
  transform: translateY(0);
}

.btn-send svg {
  width: 16px;
  height: 16px;
}

.btn-clear {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-clear:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive styles for chat */
@media (max-width: 768px) {
  .ai-faq-section {
    margin-top: 60px;
  }

  .chat-messages {
    height: 350px;
    padding: 16px;
  }

  .message-content {
    max-width: 85%;
    font-size: 14px;
  }

  .chat-input-wrapper {
    padding: 16px;
  }

  .chat-actions {
    flex-direction: column;
  }

  .btn-send,
  .btn-clear {
    width: 100%;
    justify-content: center;
  }
}
