/* Append to style.css for video and blog */

/* Hero Video Background */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  background-color: var(--blue-900);
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(30,58,138,0.7) 100%);
}

.hero-bg {
  animation: none; /* remove previous heavy background scale animation if not using bg image */
}

/* About Video */
.about-video {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background-color: var(--blue-900);
}

/* Blog Styles */
.blog-header {
  padding: 160px 0 80px;
  background-color: var(--blue-50);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.blog-header h1 {
  font-size: 3.5rem;
  color: var(--blue-900);
  margin-bottom: 20px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 80px 0;
}

.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal);
  border: 1px solid var(--border-color);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.blog-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-content {
  padding: 30px;
}

.blog-category {
  color: var(--blue-600);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.blog-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.blog-excerpt {
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Article Styles */
.article-header {
  padding: 160px 0 60px;
  background-color: white;
  text-align: center;
}

.article-meta {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.article-title {
  font-size: 3rem;
  color: var(--blue-900);
  max-width: 800px;
  margin: 0 auto;
}

.article-featured-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 60px;
}

.article-body {
  max-width: 800px;
  margin: 0 auto 80px;
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-body h2 {
  font-size: 2rem;
  margin: 40px 0 20px;
  color: var(--blue-900);
}

.article-body p {
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

@keyframes heroPulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

@keyframes spin { 100% { transform: rotate(360deg); } }

.nav-email { color: rgba(255,255,255,0.9); font-weight: 600; font-size: 0.95rem; margin-left: 10px; text-decoration: none; transition: color 0.3s; }

nav.scrolled .nav-email { color: var(--text-main); }

.logo-text-top { color: rgba(255,255,255,0.9); font-size: 1.2rem; line-height:1.2; margin:0; font-weight:bold; transition: color 0.3s; }
nav.scrolled .logo-text-top { color: var(--blue-900); }
.logo-text-bottom { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height:1.2; margin:0; transition: color 0.3s; }
nav.scrolled .logo-text-bottom { color: var(--text-muted); }
.circular-svg-text { fill: rgba(255,255,255,0.9); font-size: 11px; font-weight: bold; letter-spacing: 1.2px; transition: fill 0.3s; }
nav.scrolled .circular-svg-text { fill: var(--text-main); }


/* Dark Navbar for subpages */
nav.dark-navbar {
  background-color: rgba(17, 24, 39, 0.95) !important;
}
nav.dark-navbar .nav-links a,
nav.dark-navbar .logo-text-top,
nav.dark-navbar .logo-text-bottom,
nav.dark-navbar .nav-email,
nav.dark-navbar .lang-switch {
  color: #fff !important;
}
nav.dark-navbar .nav-links a:hover {
  color: var(--blue-500) !important;
}
