*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #005daa;
  --accent-color: #00aeef;
  --dark-bg: #1a1a1a;
  --light-text: #ffffff;
  --gray-bg: #f3f3f3;
}

nav{
  width: 100%;
  height: 60px;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: space-between;
  p{
    color: white;
    padding-left: 30px;
    font-family: cursive;
  }
}

.logo{
  width: 25%;
  display: flex;
  a{
    text-decoration: none;
  }
}

.list{
  width: 50%;
}

.list ul {
  display: flex;
  align-items: center;
  gap: 30px;
  width: 100%;
  li{
    list-style: none;
  }
}

.list ul li a {
  color: white;
  text-decoration: none;
  transition: 1s;
}

.list ul li a:hover{
  color: blue;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  margin-right: 20px;
}

.language-selector label {
  font-weight: bold;
  color: white;
}

.language-selector select {
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
}

.language-selector select:focus {
  outline: none;
  border-color: #007bff;
}


header.image-slider {
  width: 100%;
  height: 100vh; 
  position: relative;
  overflow: hidden;
}

.slide-content {
  color: white;
  background: rgba(0, 0, 0, 0.4); 
  padding: 20px;
  border-radius: 10px;
}


.slider {
  position: relative;
  width: 100%;
  height: 100vh;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: black;
  padding: 40px;
  border-radius: 10px;
  text-align: left;
  color: white;
  max-width: 700px;
}

.slide-content h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.slide-content p {
  font-size: 1.5em;
  margin-bottom: 30px;
}

.slide-content a {
  padding: 12px 25px;
  background: var(--light-text);
  color: var(--primary-color);
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.slide-content a:hover {
  background: var(--accent-color);
  color: white;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
}

.slide-arrow.left {
  left: 50px;
}

.slide-arrow.right {
  right: 50px;
}

.sec1{
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  a{
    width: 25%;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    text-decoration: none;
    color: black;
    transition: all 0.4s ease-in-out;
  }
  a:hover{
    transform: translateY(-5px);
    background-color: var(--dark-bg);
    color: white;
    border-bottom: 5px solid var(--accent-color);
  }
  a img{
    width: 60px;
    height: 60px;
    display: block;
    margin: 30px auto;
  }
  a:hover img{
    filter: none;
  }
  a h2{
    font-size: 20px;
    margin-top: 10px;
  }
}

.sec2{
  height: 900px;
  background-color: var(--gray-bg);
  text-align: center;
  padding: 40px 20px;
  overflow: hidden;

  h3{
    padding-top: 100px;
    font-size: 24px;
    font-weight: 600;
  }
  h4{
    padding-top: 20px;
    color: gray;
  }
  .info{
    width: 60%;
    height: 70%;
    background-color: white;
    margin: 50px auto;
    border-radius: 15px;
    display: flex;
    img{
      height: 500px;
      padding-left: 30px;
      padding-top: 40px;
    }
    .info1{
      margin-top: 40px;
      text-align: left;
      margin-left: 20px;
      h5{
        font-size: 21px;
        line-height: 35px;
        color: gray;
        span{
          color: black;
          font-weight: 900;
        }
      }
      p{
        padding-top: 20px;
        font-weight: 900;
      }
    }
  }
}

.sec4 {
  background-color: var(--gray-bg);
  text-align: center;
  padding: 40px 10px;
}

.sec4 h2 {
  margin-bottom: 20px;
  font-size: 1.8em;
}

/* Սովորական desktop տեսք */
.nyuter.desktop-view {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  margin: auto;
  background-color: white;
  padding: 20px;
  border-radius: 10px;
}

.desktop-view .nyuterLogo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.desktop-view .nyuterLogo img {
  width: 80%;
  max-height: 100px;
  object-fit: contain;
}

/* Մոբայլ տեսք՝ ուղղահայաց դասավորված */
.nyuter.mobile-view {
  display: none;
  flex-direction: column;
  align-items: center;
  background-color: white;
  width: 80%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 10px;
  gap: 20px;
}

.mobile-view .nyuterLogo {
  width: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-view .nyuterLogo img {
  width: 100%;
  max-height: 90px;
  object-fit: contain;
}

.faq-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 900;
}

.faq-item {
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 15px;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 15px 15px 15px;
  margin: 0;
}


body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

footer {
  background-color: black;
  color: #f1f1f1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footlogo img {
  width: 200px;
  margin-bottom: 20px;
}

.footer-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin-top: 20px;
}

.contact, .social-links {
  width: 45%;
}

.contact h3, .social-links h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
}

.contact ul {
  list-style: none;
  padding: 0;
  line-height: 1.8;
}

.contact ul li {
  font-size: 1em;
}

.contact a {
  color: blue;
  text-decoration: none;
}

.social-links a {
  color: #fff;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.social-links a:hover {
  color: #00aeef;
}

@media (max-width: 768px) {
  .footer-info {
      flex-direction: column;
      align-items: center;
  }

  .contact, .social-links {
      width: 100%;
      margin-bottom: 20px;
  }
}

@keyframes fadeIn {
  0% {
      opacity: 0;
  }
  100% {
      opacity: 1;
  }
}


h1, h2, h3, h4, h5 {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 1.2s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.hamburger {
  display: none;
  font-size: 26px;
  color: white;
  padding-right: 20px;
  cursor: pointer;
  z-index: 1001;
}

@media (max-width: 768px) {
  nav {
    padding: 0 15px;
    position: relative; 
    z-index: 1000;
    .icon{
      display: none;
    }
  }

  nav .list ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    z-index: 999;
  }

  nav .hamburger {
    display: block;
    font-size: 30px;
    color: white;
    cursor: pointer;
    z-index: 1001;
  }

  nav .list ul.show {
    display: flex;
  }

  nav .list ul li {
    margin: 10px 0;
    text-align: center;
  }

  

  /* Header adjustments */
  .slider{
    height: 50vh;
    display: flex;
    align-items: center;
  }

  header.image-slider {
    height: 50vh;
  }

  header .slide-content {
    padding: 15px;
    max-width: 80%;
    font-size: 7px;
  }

  /* Section 1 */
  .sec1 {
    align-items: center;
    flex-wrap: wrap;
    padding: 10px;
    height: 900px;
  }

  .sec1 a {
    width: 100%;
  }

  .sec1 img {
    width: 50px;
    height: 50px;
  }

  /* Section 2 */
  .sec2{
    height: 1350px;
  }

  .sec2 .info {
    flex-direction: column;
    align-items: center;
    width: 90%;
    height: 1200px;
  }

  .sec2 .info img {
    width: 100%;
    height: auto;
  }

  .sec2 .info1 {
    text-align: center;
  }

  .sec2 .info1 h5 {
    font-size: 1.2em;
  }

  /* Section 3 adjustments */
  .sec3 {
    flex-direction: column;
    justify-content: center;
    padding: 30px;
  }

  .mermasin div {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  .mermasin div p {
    font-size: 1em;
  }

  /* Footer adjustments */
  
  footer .footer-info {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  footer .contact, footer .social-links {
    width: 100%;
    margin-bottom: 20px;
    text-align: center;
  }

  footer .contact ul li {
    font-size: 1em;
  }

  footer .social-links a {
    font-size: 1.5em;
  }
}


