@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&family=Amiri:wght@400;700&display=swap');

:root {
  /* Site Colors: Teal, Dark Blue, Light Gray */
  --primary-color: #16A085;
  --secondary-color: #2C3E50;
  --accent-color: #1ABC9C;
  --light-color: #ECF0F1;
  --dark-color: #2C3E50;
  --gradient-primary: linear-gradient(135deg, #1ABC9C 0%, #16A085 100%);
  --hover-color: #148F77;
  --background-color: #F5F7F7; /* Світлий фон для неуроморфізму */
  --text-color: #34495E;
  --border-color: rgba(22, 160, 133, 0.2);
  --divider-color: rgba(44, 62, 80, 0.1);
  --shadow-color: rgba(44, 62, 80, 0.15);
  --highlight-color: #F1C40F; /* Компліментарний жовтий */
  
  --main-font: 'Cairo', sans-serif;
  --alt-font: 'Amiri', serif;
  
  /* Neumorphism shadows */
  --neumorph-shadow: 8px 8px 16px #d1d9d9, -8px -8px 16px #ffffff;
  --neumorph-inset: inset 8px 8px 16px #d1d9d9, inset -8px -8px 16px #ffffff;
}

body {
    font-family: var(--alt-font);
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .btn, nav a {
    font-family: var(--main-font);
}

/* Header & Nav */
header {
    background: var(--dark-color);
    position: fixed;
    width: 100%;
    z-index: 50;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

nav a {
    color: var(--light-color);
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--highlight-color);
}

/* Hamburger Menu Logic (No JS) */
#menu-toggle { display: none; }
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background: var(--secondary-color);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
}
#menu-toggle:checked ~ .mobile-menu {
    max-height: 400px;
}
.hamburger-icon {
    cursor: pointer;
    display: none;
    font-size: 1.5rem;
    color: white;
}
@media (max-width: 768px) {
    .hamburger-icon { display: block; }
    .desktop-menu { display: none; }
}

/* Sections General */
section:not(.hero) {
    padding-top: 10vh;
    padding-bottom: 10vh;
}

/* Neumorphism Cards */
.neu-card {
    background: var(--background-color);
    box-shadow: var(--neumorph-shadow);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255,255,255,0.5);
}

.neu-card:hover {
    transform: translateY(-5px);
}

/* Timeline Feature */
.timeline-item {
    position: relative;
    padding-right: 2rem; /* RTL padding */
    border-right: 3px solid var(--primary-color);
}
.timeline-item::before {
    content: '';
    position: absolute;
    right: -11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--highlight-color);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 5px 5px 10px rgba(22, 160, 133, 0.3), -5px -5px 10px rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 2px 2px 5px rgba(22, 160, 133, 0.4);
}

/* Divider */
.section-divider {
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0;
    position: relative;
    text-align: center;
}
.section-divider span {
    background: var(--background-color);
    padding: 0 1rem;
    position: relative;
    top: -0.7em;
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: var(--light-color);
}
footer a {
    color: #BDC3C7;
    transition: 0.3s;
}
footer a:hover {
    color: var(--highlight-color);
    text-decoration: underline;
}

/* Logo handling */
footer img[alt="logo"], header img[alt="logo"] {
    filter: brightness(0) invert(1);
    max-height: 50px;
}

/* FAQ Accordion (CSS Only) */
.faq-item details summary {
    list-style: none;
    cursor: pointer;
    font-weight: bold;
    outline: none;
    color: var(--primary-color);
}
.faq-item details[open] summary ~ * {
    animation: fadeIn 0.5s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}