
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;
}

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    background: #111;
    color: white;
    padding: 10px 20px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}


.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 60px;
}

.logo h1 {
    font-size: 18px;
    max-width: 400px;
}

.header h2 {
    margin: 0 18px;
    font-size: 19px;
    line-height: 1.15;
    font-weight: 700;
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}


.nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.nav a, .dropbtn {
    color: white;
    text-decoration: none;
    margin: 0 7px;
    padding: 10px 0;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}

@media (max-width: 1200px) and (min-width: 901px) {
    .header {
        gap: 10px;
    }

    .header h2 {
        font-size: 16px;
        margin: 0 10px;
    }

    .nav {
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .nav a, .dropbtn {
        margin: 0 5px;
        font-size: 12px;
        padding: 8px 0;
    }

    .lang-switcher {
        margin-left: 8px;
        padding-left: 8px;
        gap: 6px;
    }

    .lang-btn {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
}

.nav a:hover, .dropbtn:hover {
    color: #00bcd4;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
    padding-left: 12px;
    border-left: 1px solid #333;
}

.lang-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #444;
    background: #1a1a1a;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.lang-btn:hover {
    transform: translateY(-1px);
    border-color: #00bcd4;
}

.lang-btn.active {
    background: #00bcd4;
    border-color: #00bcd4;
}


.dropdown {
    position: relative;
}


.dropdown-content {
    display: none;
    position: absolute;
    top: 100%; /* առանց gap */
    left: 0;
    background: #222;
    min-width: 200px;
    z-index: 999;
    border-radius: 4px;
    overflow: hidden;
}


.dropdown-content a {
    display: block;
    padding: 12px 15px;
    transition: 0.2s;
}

.dropdown-content a:hover {
    background: #333;
}


.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content,
.dropdown.open .dropdown-content,
.dropdown-content:hover {
    display: block;
}

.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
    pointer-events: none;
}

@media (max-width: 1200px) and (min-width: 901px) {
    .dropdown-content {
        top: calc(100% - 2px);
    }
}


.menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}


@media (max-width: 900px) {

    .header {
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .logo {
        width: 100%;
        justify-content: space-between;
    }

    .logo h1 {
        font-size: 14px;
    }

    .header h2 {
        margin: 8px 0 0;
        width: 100%;
        font-size: 18px;
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
    }

    .menu-toggle {
        display: block;
        margin-top: 10px;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #111;
        align-items: stretch;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        width: 100%;
        padding: 15px;
        border-top: 1px solid #333;
        margin: 0;
    }

    .lang-switcher {
        margin: 8px 0 12px;
        padding: 10px 15px 0;
        border-left: none;
        border-top: 1px solid #333;
        width: 100%;
        justify-content: flex-start;
    }

    .dropdown:hover .dropdown-content {
  display: block;
}

    .dropdown .dropdown-content {
        position: static;
        width: 100%;
        min-width: 0;
        border-radius: 0;
    }

    .dropdown {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .dropdown .dropbtn {
        display: block;
        width: 100%;
        text-align: left;
        padding: 15px;
        margin: 0;
        border-top: 1px solid #333;
        box-sizing: border-box;
        justify-content: flex-start;
        padding-left: 15px;
    }

    .dropdown-content a {
        margin: 0;
        padding: 12px 15px;
        box-sizing: border-box;
    }

    .dropdown.open .dropbtn {
        color: #00bcd4;
    }

    .dropdown::after {
        display: none;
    }
}


section {
    padding: 40px;
}

h1 {
    font-size: 28px;
}


:root {
  --white: #ffffff;
  --border: #e5e5e5;
  --red: #c0392b;
  --red-2: #e74c3c;
  --ink: #222;
  --ink-muted: #777;
  --bg: #fafafa;
}


.h-links {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0 2rem;
}

.h-links-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.h-link-item {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: background 0.2s;
}

.h-link-item:hover { background: #fdfcfc; }

.h-link-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}

.h-link-item:hover::before { transform: scaleX(1); }

.h-link-label {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 0.4rem;
}

.h-link-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--ink);
}

.h-link-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
  background: var(--bg);
}

.h-link-arrow svg {
  width: 13px;
  height: 13px;
  stroke: var(--ink-muted);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.2s;
}

.h-link-item:hover .h-link-arrow {
  border-color: rgba(192,57,43,0.3);
  background: rgba(192,57,43,0.05);
}

.h-link-item:hover .h-link-arrow svg {
  stroke: var(--red);
  transform: translate(2px, -2px);
}

@media (max-width: 750px) {
  .h-hero { height: 80vh; }
  .h-hero-content { padding: 2.5rem 1.5rem; }
  .h-stats { grid-template-columns: repeat(2, 1fr); }
  .h-news { padding: 3rem 1.25rem; }
  .h-news-grid { grid-template-columns: 1fr; }
  .h-links { padding: 0 1.25rem; }
  .h-links-inner { grid-template-columns: 1fr; }
  .h-section-head { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}


.footer-card {
    width: 60%;
    height: 5vh;
    margin: 12px 0 120px 20% !important;
    padding: 8px;
}

.footer-card .red-line {
    height: 2px;
    background-color: #c0392b;
    margin: 3px 0;
}

.footer-card p {
    margin: 16px 0;
    text-align: center;
}

img,
video {
    max-width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .footer-card {
        width: calc(100% - 2rem);
        height: auto;
        margin: 12px 1rem 80px !important;
        padding: 8px 4px;
    }
}
