.faq-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: linear-gradient(135deg, #022847, #959494);
    color: white;
    position: relative;
    overflow: hidden;
}

.faq-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><circle cx="30" cy="30" r="4"/></g></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.faq-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    color: white;
}

.faq-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.tabs-container {
    padding: 2rem;
    background: white;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 24px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #64748b;
    position: relative;
    overflow: hidden;
}

.tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.tab:hover::before {
    left: 100%;
}

.tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.tab.active {
    background: linear-gradient(135deg, #667eea, #022847);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.faq-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.faq-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    font-weight: 600;
    color: #1e293b;
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    transition: all 0.3s ease;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #667eea, #022847);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #667eea, #022847);
    color: white;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
    -webkit-text-fill-color: white;
    background: white;
}

.faq-answer {
    padding: 0 2rem;
    color: #475569;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem 2rem;
    max-height: 200px;
}

.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.empty-state svg {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 2rem;
    }

    .tabs {
        gap: 0.25rem;
    }

    .tab {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .faq-question {
        padding: 1.25rem 1.5rem;
        font-size: 0.95rem;
    }

    .faq-question::after {
        right: 1.5rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-item.active .faq-answer {
        padding: 1.25rem 1.5rem 1.75rem;
    }
}

.fade-in {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

  :root{
    --bg: #ffffff;
    --card: linear-gradient(135deg, #959494, #022847);;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --border: #ffffff;
    --accent: #60a5fa;
  }

  /* Səhifə fonu (istəyə görə) */
  .contact-elemets-body{
    padding: 32px 16px;
    background: white;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    color: var(--text);
  }

  /* Kart */
  .contact-block{
    max-width: 980px;
    margin: 0 auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.35);
  }

  .contact-title{
    margin: 0 0 16px 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: .2px;
    color: #fff;
  }

  /* YAN-YANA düzülüş (desktopda 3 sütun, planşetdə 2, mobil 1) */
  .contact-items{
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 14px;
  }

  @media (max-width: 900px){
    .contact-items{ grid-template-columns: repeat(2, minmax(220px, 1fr)); }
  }
  @media (max-width: 560px){
    .contact-items{ grid-template-columns: 1fr; }
  }

  /* Hər kontakt “pill” görünüşündə */
  .contact-item{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #ffffff08;
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
  }

  .contact-item:hover{
    transform: translateY(-2px);
    border-color: rgb(21, 21, 21);
    box-shadow: 0 8px 24px rgba(96,165,250,.15);
    background: rgba(96,165,250,0.06);
  }

  .contact-item:focus-visible{
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }

  .contact-icon{
    width: 22px;
    height: 22px;
    fill: white;
    opacity: .9;
    flex: 0 0 22px;
    
  }

  .contact-text{
    font-size: 15px;
    line-height: 1.35;
    color: #eaf0ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Kiçik ekranlarda text-in qırılması üçün (istəyə görə aç) */
  @media (max-width: 400px){
    .contact-text{ white-space: normal; }
  }



  .map-section{
    max-width: 900px;
    margin: clamp(16px,4vw,40px) auto;
    padding: clamp(12px,2vw,20px);
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
  }

  .map-section h2{
    margin: 0 0 12px;
    font-size: clamp(20px,2.4vw,28px);
    font-weight: 700;
  }

  .map-embed{
    aspect-ratio: 16 / 9;      /* responsiv hündürlük */
    background: #f5f5f7;
    border-radius: 12px;
    overflow: hidden;
  }

  .map-embed iframe{
    width: 100%;
    height: 100%;
    border: 0;
  }

  .map-link{
    display: inline-block;
    margin-top: 10px;
    font-weight: 600;
    text-decoration: none;
  }

  .map-link:hover{ text-decoration: underline; }