/* Define color variables */
:root {
  --chrome-cyan: #00b5e2;
  --light-violet: #b18fff;
  --orange: #ff7f32;
  --dark-blue: #003366;
  --white: #ffffff;
  --black: #000000;
}

/* General Styles */
body {
  font-family: 'Saira', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--black);
  color: var(--white);
  text-align: center;
  font-size: medium;
}

h1, h2, h3 {
  color: var(--dark-blue);
  font-family: Electrolize;
}

a {
  color: var(--chrome-cyan);
  text-decoration: none;
  font-family: Electrolize;
  font-size: large;
  font-weight: 600;
}
a:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* Navigation Bar */
.navbar {
  background: linear-gradient(135deg, var(--dark-blue), var(--chrome-cyan));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Media Queries for Gallery Grid */
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Media Wrapper Styles */
.media-wrapper-alt,
.media-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.media-wrapper-alt {
  aspect-ratio: 1 / 1;
}

.media-wrapper {
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

.media-wrapper-alt img,
.media-wrapper-alt video,
.media-wrapper img.static-image,
.media-wrapper video.hover-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.hover-video {
  opacity: 0;
  pointer-events: none;
  z-index: 1;
}

.media-wrapper-alt:hover .hover-video,
.use-case-card:hover .hover-video {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.media-wrapper-alt:hover .static-image,
.use-case-card:hover .static-image {
  opacity: 0;
}

/* Use Case Section */
.use-case-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.use-case-previews {
  flex: 1 1 300px;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 20px;
}

.use-case-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.use-case-card:hover {
  transform: translateY(-5px);
}

.use-case-card img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 10px;
}

.use-case-card h3 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.use-case-card p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 10px;
  font-family: 'IBM Plex Sans', sans-serif;
  opacity: 1;
}

/* Logo */
.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 28px;
  color: var(--white);
  letter-spacing: 2px;
}

.logo-primary {
  color: var(--chrome-cyan);
}

.logo-secondary {
  color: var(--light-violet);
}

/* Menu Toggle */
.menu-toggle {
  background: none;
  border: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  display: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark-blue), var(--chrome-cyan));
  color: var(--white);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content h1 {
  font-size: 64px;
  font-family: 'Poppins', sans-serif;
  margin: 0 10px 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content h2 {
  font-size: 46px;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 24px;
  margin-bottom: 30px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.4);
}

.hero-social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.hero-social-links a img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(1);
}

.hero-social-links a:hover img {
  transform: scale(1.2);
  filter: brightness(1.5);
}

/* Contact Section */
#contact {
  background: var(--chrome-cyan);
  padding: 80px 20px;
  color: var(--black);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

#contact h2 {
  font-size: 48px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

#contact p {
  font-size: 22px;
  margin-bottom: 30px;
  font-family: 'Roboto', sans-serif;
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

form input,
form textarea {
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background-color: var(--white);
  color: var(--black);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

form input:focus,
form textarea:focus {
  outline: none;
  box-shadow: 0 0 8px var(--chrome-cyan);
}

form button {
  padding: 15px 25px;
  background-color: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

form button:hover {
  background-color: var(--chrome-cyan);
  transform: scale(1.05);
}

/* Footer Section */
footer {
  background: linear-gradient(135deg, var(--dark-blue), var(--chrome-cyan));
  color: var(--white);
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

footer p {
  font-size: 14px;
  margin-bottom: 10px;
}

footer nav {
  margin-top: 10px;
}

footer nav a {
  font-size: 14px;
  margin: 0 10px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

footer nav a:hover {
  color: var(--orange);
  text-decoration: underline;
}

/* Media */
.media {
  width: 35%;
}

.media video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .use-case-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-cards {
    gap: 20px;
  }

  .gallery-card {
    flex-direction: column;
    text-align: left;
  }

  .media {
    width: 90%;
    margin-bottom: 20px;
  }

  .learn-more-link {
    color: #4b74ff;
    text-decoration: none;
    font-weight: 500;
  }

  .learn-more-link:hover {
    text-decoration: underline;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 20px;
    background: var(--dark-blue);
    position: absolute;
    top: 70px;
    right: 30px;
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
  }

  .nav-links.show {
    display: flex;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }

  .simple-article {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 3rem 0;
    align-items: center;
  }

  .article-text {
    flex: 1 1 300px;
    min-width: 280px;
  }

  .article-images {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .article-images img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

  .use-case-container {
    padding: 2rem;
  }

  .use-case-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .use-case-text {
    flex: 2;
  }

  
}
