@import url('https://fonts.googleapis.com/css2?family=Edu+VIC+WA+NT+Hand:wght@400..700&display=swap');

:root {
  --dark-blue: #0b1929;
  --blue: #0f2035;
  --black: #000;
  --white: #fff;
  --gray: #667e8f;
  --golden: #c9a84c;
  --box-shadow: 0 .5rem 1.5rem rgba(31, 14, 14, 0.1);

}

* {

  font-family: 'Inter', sans-serif;
  padding: 0;
  margin: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  text-decoration: none;
  font-size: 100%;
  transition: all .1s linear;
  align-items: center;
}

*::selection {
  background-color: var(--white);
  color: var(--blue);
}

::-webkit-scrollbar {
  width: 10px;

}

::-webkit-scrollbar-thumb {
  background-color: var(--golden);
  border-radius: 0.4rem;
}

::-webkit-scrollbar-track {
  background-color: var(--dark-blue);
}

.parent {
  position: relative;
}

body {
  width: 100%;
}

/*-----------------HEADER----------------*/


header {
  position: fixed;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: var(--dark-blue);
  width: 100%;
  right: 0;
  left: 0;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--golden);
  box-shadow: var(--box-shadow);

}


header img {
  width: 7rem;
  height: 6rem;

}


header nav {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}


header nav a {
  font-size: 1.5rem;
  color: var(--white);

}

header nav a:hover {
  color: var(--golden);
}

header .num2word {
  position: fixed;
  bottom: 5%;
  right: 2%;
  background-color: var(--golden);
  color: #1a1a1a;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 1.5rem 0.5rem 1.5rem 0.5rem;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
  border: 0.0625rem solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

header .num2word:hover {
  transform: translateY(-0.25rem) scale(1.02);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2), 0 0 1rem var(--golden);
}

header .num2word:active {
  transform: translateY(0) scale(0.98);
}

header .num2word a {
  color: var(--dark-blue);
  font-size: 1.5rem;
}


/* --- Hero Container --- */
.hero {
  position: relative;
  margin-top: 6rem;
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 5rem 5%;

  font-family: 'Inter', sans-serif;
}

.hero-container {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3.75rem;
}

/* --- Left Content Column --- */
.hero-content {
  flex: 1;
  width: 50%;
}

.subtitle-wrapper {
  display: flex;
  align-items: center;

  gap: 0.75rem;
  margin-bottom: 1.5rem;
  width: 100%;
}

.subtitle-line {
  display: inline-block;
  width: 2.25rem;
  height: 0.0625rem;
  background-color: var(--golden);
}

.subtitle {
  color: var(--golden);
  font-size: 1rem;
  letter-spacing: 0.125rem;
  font-weight: 600;
}

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.italic-gold {
  font-style: italic;
  color: var(--golden);
  font-weight: 400;
}

.hero-description {
  color: var(--gray);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  /* 40px */
}

.btn-primary {
  display: inline-block;
  background-color: var(--golden);
  color: var(--dark-blue);
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.09375rem;
  text-decoration: none;
  box-shadow: var(--box-shadow);
  border-radius: 0.5rem;
  /* Optional smooth corners */
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.2), 0 0 1rem var(--golden);
}

.btn-primary:active {
  transform: translateY(-0.0625rem);
}

/* --- Right Column: Image with Floating Stat Badge --- */
.hero-media {
  flex: 1;
  position: relative;
  max-width: 50%;
  /* 500px */
  perspective: 62.5rem;
  /* 1000px depth scene */
}

/* Floating Card positioned directly over the Image */
.floating-badge {
  position: absolute;
  bottom: 3rem;
  left: -1.5rem;
  z-index: 10;
  background-color: var(--blue);
  border: 0.0625rem solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 1.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(0.5rem);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.floating-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg,
      transparent 20%,
      rgba(255, 255, 255, 0.18) 50%,
      transparent 80%);
  transition: left 0.6s ease;
}

.floating-badge:hover {
  transform: translateY(-0.375rem) scale(1.02);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 1.5rem 2.5rem rgba(0, 0, 0, 0.45);
}

.floating-badge:hover::before {
  left: 150%;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--golden);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-label {
  color: var(--gray);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* Slide-Style Bent Image */
.main_image {
  display: block;
  width: 100%;
  height: 30rem;
  object-fit: cover;
  border-radius: 0 0 1rem 0;
  /* Keeps bottom-right crisp */

  /* Diagonal Slide 3D Transform */
  transform: perspective(62.5rem) rotateY(-18deg) rotateZ(-3deg) skewY(-2deg);
  transform-style: preserve-3d;

  /* Slanted Slide Cut (Right and Bottom remain 100% straight) */
  clip-path: polygon(100% 0,
      /* Top-Right corner */
      100% 100%,
      /* Bottom-Right corner (Straight) */
      0 100%,
      /* Bottom-Left corner (Straight) */
      12% 0
      /* Diagonal slide top slant */
    );

  /* Deep Slanted Shadow */
  box-shadow:
    -1.5rem 1.5rem 2.25rem rgba(0, 0, 0, 0.45),
    0 0 2.5rem rgba(99, 102, 241, 0.2);

  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease, clip-path 0.6s ease;
}

/* Interactive Hover: Smooth Un-slide */
.main_image:hover {
  transform: perspective(62.5rem) rotateY(0deg) rotateZ(0deg) skewY(0deg) scale(1.02);
  clip-path: polygon(100% 0,
      100% 100%,
      0 100%,
      0 0);
  box-shadow:
    0 1rem 2.5rem rgba(0, 0, 0, 0.3),
    0 0 3rem rgba(99, 102, 241, 0.35);
}

/* Services */


.served {
  background-color: var(--dark-blue);
}

.served .help {
  justify-content: space-between;
  padding: 2.5rem;
}

.served .help .help-wrapper .help-line {
  display: inline-block;
  width: 2.25rem;
  height: 0.0625rem;
  background-color: var(--golden);
  margin-right: 0.5rem;

}

.served .help .help-wrapper {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.served .help .help-wrapper span {
  color: var(--golden);
  letter-spacing: 0.3rem;
  font-size: 1rem;
}

.served .help .help-text h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
  color: var(--white);
}

.served .help .help-text .italic {
  font-style: italic;
  color: var(--golden);
  font-weight: 400;
}

.served .help .help-text {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.served .help .help-text .h4 {
  color: var(--gray);
  width: 40%;
  font-size: 1.1rem;
  height: 100%;
  line-height: 1.5rem;
}


.served .table {
  display: flex;
  flex-wrap: wrap;
  padding: 3rem 5%;
  background-color: var(--dark-blue);
  align-items: stretch;
  width: 100%;
}

.served .table div {
  width: 50%;
  padding: 2.5rem;
  font-family: 'Inter', sans-serif;
  border-right: 0.01px solid var(--gray);
  border-bottom: 0.01px solid var(--gray);


}

.served .table .div2 {
  border-right: none;

}

.served .table .div1 {
  border-bottom: none;

}

.served .table div i {
  color: var(--golden);
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.served .table div h4 {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 400;
  font-family: "edu";
  margin-bottom: 0.5rem;
}

.served .table div p {
  width: 70%;
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.16rem;
  letter-spacing: 0.09375rem;
}

.served .table div:hover {
  background-color: var(--blue);

}

/*About*/
.info {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 10% 5%;
  background-color: var(--blue);
  align-items: stretch;
}

.info .text {
  width: 50%;
}

.info .photos {
  position: relative;
  width: 40%;
}

.info .photos img {
  width: 100%;
  height: 100%;
}

h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  margin-top: 1rem;
  color: var(--white);
}

.info .text .header span {
  color: var(--golden);
  font-weight: 500;
  font-family: "edu";
  font-style: italic;
}

.info .photos .sp {
  position: absolute;
  width: fit-content;
  padding: 2rem;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "edu";
  background-color: var(--golden);
  color: var(--dark-blue);
  bottom: -2rem;
  left: -2rem;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.info .photos .sp::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg,
      transparent 20%,
      rgba(255, 255, 255, 0.35) 50%,
      transparent 80%);
  transition: left 0.6s ease;
}

.info .photos .sp:hover {
  transform: translateY(-0.375rem) scale(1.02);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.25);
}

.info .photos .sp:hover::before {
  left: 150%;
}

/*Contact*/
.contacts {
  padding: 5% 5%;
  background-color: var(--dark-blue);
}

.contacts .text {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
}

.contacts .text .main_text {
  width: 50%;
  height: 100%;
}

p {
  color: var(--gray);
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.6rem;
  letter-spacing: 0.09375rem;
}

.contacts .text .main_text h2 span {
  color: var(--golden);
  font-weight: 500;
  font-family: "edu";
  font-style: italic;
}

.contacts .text .contact_info div {
  height: 100%;
  font-family: 'Inter', sans-serif;
  color: var(--gray);
  font-size: 1rem;
  margin-top: 1rem;
  letter-spacing: 0.1rem;
  cursor: pointer;
}

.contacts .text .contact_info div a {
  color: var(--gray);
  width: 100%;
}

.contacts .text .contact_info {
  width: 40%;
}

.contacts .text .contact_info div i {
  color: var(--golden);
  margin-right: 1rem;
  font-size: 1.2rem;
}

.contacts .text .contact_info div:hover,.contacts .text .contact_info div a:hover {
  color: var(--white);

}

.contacts .text .contact_info div i:hover {
  transform: scale(1.2);
  margin-right: 3rem;

}

/*Footer*/
footer {
  background-color: var(--blue);
  padding: 1% 5%;
  display: flex;
  justify-content: space-between;
  color: var(--white);
}

/* Outer Container */
.flags-container {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  /* 12px */
  background-color: var(--dark-blue);
  padding: 0.5rem 0.875rem;
  /* 8px 14px */
  border-radius: 1.25rem;
  /* 20px */
  border: 0.0625rem solid #e2e8f0;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
}

/* Base Flag Dimensions & Inside Border */
.flag {
  width: 1.5rem;
  /* 24px */
  height: 1rem;
  /* 16px */
  border-radius: 0.125rem;
  /* 2px */
  display: inline-block;

  /* INSIDE BORDER: Draws a subtle 1px border on the inner edges */
  box-shadow: inset 0 0 0 0.0625rem rgba(0, 0, 0, 0.2);
}

/* 🇦🇲 Armenian Flag */
.flag-am {
  background: linear-gradient(to bottom,
      #d90012 33.3%,
      #0033a0 33.3%,
      #0033a0 66.6%,
      #f2a800 66.6%);
}

/* 🇬🇧 UK Flag (Union Jack) */
.flag-gb {
  background:
    /* Red St. George's Cross (vertical & horizontal) */
    linear-gradient(to right, transparent 42%, #cf142b 42%, #cf142b 58%, transparent 58%),
    linear-gradient(to bottom, transparent 38%, #cf142b 38%, #cf142b 62%, transparent 62%),
    /* White St. George's Cross border */
    linear-gradient(to right, transparent 35%, #ffffff 35%, #ffffff 65%, transparent 65%),
    linear-gradient(to bottom, transparent 28%, #ffffff 28%, #ffffff 72%, transparent 72%),
    /* Red diagonal St. Patrick's saltire */
    linear-gradient(30deg, transparent 46%, #cf142b 46%, #cf142b 54%, transparent 54%),
    linear-gradient(-30deg, transparent 46%, #cf142b 46%, #cf142b 54%, transparent 54%),
    /* White diagonal St. Andrew's saltire */
    linear-gradient(30deg, transparent 40%, #ffffff 40%, #ffffff 60%, transparent 60%),
    linear-gradient(-30deg, transparent 40%, #ffffff 40%, #ffffff 60%, transparent 60%),
    /* Deep blue background */
    #00247d;
}

/* 🇷🇺 Russian Flag */
.flag-ru {
  background: linear-gradient(to bottom,
      #ffffff 33.3%,
      #0033a0 33.3%,
      #0033a0 66.6%,
      #da291c 66.6%);
}

hr {
  border: none;
  height: .9px;
  background-color: var(--gray);
  width: 100%;
}

@media (max-width: 800px) {
  header {
    padding: 0.6rem 1.6rem;
  }

  header nav a {
    display: none;

  }

  header .num2word {
    padding: 2.5%;
  }

  header .num2word a {
    font-size: 1.3rem;
  }

  header .logo img {
    width: 4rem;
    height: 4rem;
  }

  .subtitle-wrapper {
    width: 100%;
  }

  .subtitle-wrapper {
    display: none;
  }

  .subtitle {
    font-size: .8rem;
    width: 100%;
  }

  .subtitle-line {
    height: 0.05rem;
  }

  .hero .hero-media {
    display: none;
  }

  .hero .hero-container {
    width: 100%;
  }

  .hero {
    margin-top: 5.5rem;
    padding: 3rem 5%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../Photos/main.jpg') center / cover no-repeat;
  }

  .hero .hero-container .hero-content p {
    width: 100%;
    text-align: center;
    font-size: .9rem;
    color: var(--white);
  }

  .hero .hero-container .hero-content h1 {
    width: 100%;
    text-align: center;
    font-size: 2.6rem;
  }

  .hero .hero-container .hero-content {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .btn-primary {
    display: block;
    margin: 0 auto;
    width: fit-content;
    letter-spacing: 0;
  }

  .served .help {
    padding: 10% 5%;
  }

  .served .help .help-text {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .served .help .help-text .h4 {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  .served .table div h4 {
    font-size: 1.2rem;
    overflow-wrap: break-word;
    word-break: break-word;
    letter-spacing: 0.15rem;
  }

  .served .table div {
    padding: 5%;
  }

  .served .table div p {
    display: none;
  }

  .info .photos {
    display: none;
  }

  .info {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../Photos/accounting.jpg') center / cover no-repeat;

  }

  .info .text {
    width: 100%;
    padding: 5%;
  }

  .info .text .header {
    text-align: center;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .info .text p {
    text-align: center;
    width: 100%;
    color: var(--white);
  }

  .contacts .text {
    flex-direction: column;
    width: 100%;
    padding: 0 5%;
  }

  .contacts .text .main_text,
  .contacts .text .contact_info {
    width: 100%;
  }

  .contacts .text .main_text h2,
  p {
    width: 100%;
    text-align: center;
  }

  .contacts .text .contact_info {
    margin: 5% 0;
  }

  .contacts .text .contact_info div {
    margin-top: .5rem;
  }

  .flag {
    width: 1.3rem;
    height: .8rem;
  }
}

@media (max-width: 500px) {
  header .num2word {
    position: static;
    background-color: var(--dark-blue);
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.5rem;
    border-radius: .5rem;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.12);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    z-index: 1000;
  }

  header .num2word:hover {
    transform: scale(1.3);
    box-shadow: none;
  }

  header .num2word a:hover {
    color: var(--white);
  }

  header .num2word a {
    font-size: 1.2rem;
    color: var(--golden);
  }

  .contacts .text .main_text p {
    display: none;
  }

  footer #new {
    font-size: 0;
  }

  footer #new::after {
    font-size: 1rem;
    content: " © 2026 ";
  }

}

@media (max-width: 1000px) {
  header nav a {
    font-size: 1.3rem;
  }

  header .num2word a {
    font-size: 1.2rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .floating-badge {
    padding: 1rem 1.5rem;
  }

  .floating-badge .stat-number {
    font-size: 1.8rem;
  }

  .floating-badge .stat-label {
    font-size: .8rem;
  }

  .info .photos .sp {
    padding: 1.3rem;
    bottom: -1.3rem;
  }

  .info .photos img {
    height: 90%;
  }

  p {
    font-size: .9rem;
  }
}

@media (min-width: 1400px) {
  header {
    padding: 1.2rem 3rem;
  }

  header nav a {
    font-size: 2.2rem;
  }

  header .num2word a {
    font-size: 1.5rem;
  }

  .flag {
    width: 2rem;
    height: 1.5rem;
    border-radius: 0.4rem;
    display: inline-block;
    box-shadow: inset 0 0 0 0.0625rem rgba(0, 0, 0, 0.2);
  }

  .subtitle {
    font-size: 1.3rem;
  }

  .subtitle-line {
    height: 0.15rem;
  }

  .hero {
    padding-top: 7.5rem;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-description {
    font-size: 1.7rem;
  }

  .btn-primary {
    font-size: 1.4rem;
    padding: 1.2rem 2.2rem;
  }

  .stat-number {
    font-size: 3rem
  }

  .stat-label {
    font-size: 1rem;
  }

  .served .help {
    padding: 3.5rem;
  }

  .served .help .help-text h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
  }

  .served .help .help-text .h4 {
    font-size: 1.5rem;
    line-height: 1.7rem;
  }

  .served .table div i {
    font-size: 2rem;
  }

  .served .table div h4 {
    font-size: 2.2rem;
  }

  .served .table div p {
    margin-top: 1rem;
    font-size: 1.5rem;
    line-height: 1.7rem;
  }

  .info {
    padding: 7% 5%;
  }

  .info .text h2 {
    font-size: 3rem;
    margin: 2rem 0;
    line-height: 3rem;
  }

  .info .text p {
    margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 1.7rem;
  }

  .info .photos {
    width: 45%;
  }

  .info .photos .sp {
    font-size: 1.5rem;
  }

  .contacts .text .main_text h2 {
    font-size: 3rem;
    margin: 2rem 0;
    line-height: 3rem;
  }

  .contacts .text .main_text p {
    margin-top: 2rem;
    font-size: 1.5rem;
    line-height: 1.7rem;
  }


  .contacts .text .contact_info div {
    font-size: 1.5rem;

  }

  .contacts .text .contact_info {
    width: 35%;
  }

  footer {
    font-size: 1.5rem;
  }
}