/* Index Page Specific Styles */

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background-color: var(--dark-color);
  display: flex;
  align-items: center;
  color: white;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
}

.hero-video,
.video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/images/1.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(5px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 87, 183, 0.2);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(135deg, var(--blue-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Directions Section */
.directions {
  background-color: var(--secondary-color);
  padding: 100px 0;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.direction-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.direction-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
  padding: 2px;
  background: linear-gradient(135deg, var(--blue-color), var(--accent-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: all 0.3s ease;
}

.direction-item:hover::before {
  opacity: 1;
}

.direction-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 87, 183, 0.3),
    0 0 30px rgba(255, 215, 0, 0.2);
}

.direction-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.direction-item h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 15px;
}

/* Advantages Section */
.advantages {
  background-color: var(--secondary-color);
  padding: 100px 0;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.advantage-item {
  text-align: center;
  padding: 30px 20px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.advantage-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 5px;
  padding: 2px;
  background: linear-gradient(135deg, var(--blue-color), var(--accent-color));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: all 0.3s ease;
}

.advantage-item:hover::before {
  opacity: 1;
}

.advantage-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 87, 183, 0.3),
    0 0 30px rgba(255, 215, 0, 0.2);
}

.advantage-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.advantage-item h3 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 15px;
}

/* Partnership Section */
.partnership {
  background-color: var(--secondary-color);
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.partnership-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.partnership-logo {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.diia-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: all 0.3s ease;
}

.diia-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.2) drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.partnership-logo p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 400px;
  margin: 0;
  font-style: italic;
}

/* Products Preview */
/* .products-preview {
    background-color: var(--dark-color);
    padding: 100px 0;
}

.products-slider {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    overflow-x: hidden;
}

.product-card {
    min-width: 350px;
    background-color: var(--gray-color);
    border-radius: 5px;
    overflow: hidden;
    transition: var(--transition);
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 15px rgba(0, 87, 183, 0.2);
    border-color: var(--blue-color);
}

.product-image {
    height: 240px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 10px;
}

.product-info p {
    margin-bottom: 20px;
}

.products-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.products-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.products-nav button:hover {
    background-color: var(--blue-color);
    border-color: var(--blue-color);
    color: white;
}

.products-cta {
    text-align: center;
} */

/* Responsive styles for index page */
@media (max-width: 768px) {
  .hero {
    height: 100vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .directions-grid {
    grid-template-columns: 1fr;
  }

  .partnership {
    padding: 60px 0;
  }

  .diia-logo {
    width: 100px;
    height: 100px;
  }

  .partnership-logo p {
    font-size: 1rem;
  }

  /* .products-slider {
        overflow-x: auto;
        padding-bottom: 20px;
    }
    
    .product-card {
        min-width: 85%;
    } */
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  /* .product-card {
        min-width: 100%;
    } */
}
