/* Հերո սեկցիա վիդեո ֆոնով */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: white;
  text-align: center;
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 10px;
  display: inline-block;
}

/* Քարտերի ձևավորում */
.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Ֆուտերի ոճ */
footer {
  background-color: #212529;
  color: #ffffff;
  font-size: 0.9rem;
}

/* Մոբայլ հարմարեցում */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .card-img-top {
    height: 150px;
  }
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Rubik', sans-serif;
  background-color: #f0f2f5;
  color: #212529;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Hero video overlay */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#heroVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5);
  transition: filter 0.5s ease;
}

.video-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 80, 172, 0.6);
  z-index: 2;
  pointer-events: none;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 0 15px;
  text-align: center;
}

.hero-content h1 {
  font-weight: 700;
  font-size: 3.5rem;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  margin-bottom: 1rem;
  transition: transform 0.5s ease;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #e6e6e6;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.hero-content .btn {
  font-size: 1.25rem;
  padding: 12px 35px;
  border-radius: 50px;
  box-shadow: 0 6px 15px rgba(0, 80, 172, 0.4);
  transition: all 0.3s ease;
}

.hero-content .btn:hover {
  background-color: #003b87;
  box-shadow: 0 8px 20px rgba(0, 59, 135, 0.7);
  transform: scale(1.05);
}

/* Navbar customization */
.navbar-nav .nav-link {
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #ffd700;
  text-shadow: 0 0 5px #ffd700;
}

/* Services section */
.services-section {
  background: #ffffff;
  padding: 60px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.services-section h2 {
  color: #0050ac;
  font-weight: 700;
  font-size: 2.8rem;
  margin-bottom: 50px;
  text-align: center;
}

/* Service cards */
.service-card {
  background: linear-gradient(135deg, #0050ac, #9354b9);
  color: white;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(147, 84, 185, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 45px rgba(0, 80, 172, 0.7);
}

.service-title {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-text {
  flex-grow: 1;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Service card button */
.service-card .btn {
  align-self: flex-start;
  margin-top: 20px;
  border: 2px solid white;
  background: transparent;
  color: white;
  font-weight: 600;
  border-radius: 50px;
  padding: 10px 25px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.service-card .btn:hover {
  background-color: white;
  color: #0050ac;
  box-shadow: 0 6px 15px rgba(255, 255, 255, 0.6);
}

/* Footer styling */
footer {
  background-color: #003b87;
  color: #fff;
  padding: 25px 15px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 -5px 10px rgba(0,0,0,0.2);
  user-select: none;
}

/* Responsive typography */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  .services-section h2 {
    font-size: 2rem;
  }
  .service-title {
    font-size: 1.4rem;
  }
  .service-text {
    font-size: 1rem;
  }
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
}

.service-card {
    border: 1px solid #ccc;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background: #fff;
    text-align: center;
    padding: 16px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: scale(1.03);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

