/* Converting Tailwind CSS to vanilla CSS with WAVION LABS theme */

/* CSS Variables for Theme */
:root {
  /* Light theme colors matching WAVION LABS design */
  --background: #fafafa;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --primary: #2563eb;
  --primary-foreground: #ffffff;
  --secondary: #64748b;
  --secondary-foreground: #ffffff;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #0ea5e9;
  --accent-foreground: #ffffff;
  --border: #e2e8f0;
  --input: #f1f5f9;
  --ring: #0ea5e9;
  --radius: 0.5rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(250, 250, 250, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--foreground);
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-title {
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--foreground);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--foreground);
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--foreground);
  transition: all 0.3s;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.mobile-nav {
  display: none;
  padding: 1rem 0;
  background-color: var(--card);
  border-top: 1px solid var(--border);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--foreground);
}

.mobile-cta {
  margin: 0.75rem 1rem;
  width: calc(100% - 2rem);
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--muted);
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1rem;
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Hero Section */
.hero {
  padding: 8rem 1rem 4rem;
  text-align: center;
}

.hero-content {
  max-width: 4xl;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.text-accent {
  color: var(--accent);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Section Styles */
.section {
  padding: 4rem 1rem;
}

.bg-muted {
  background-color: var(--muted);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--muted-foreground);
  max-width: 42rem;
  margin: 0 auto;
}

/* Card Styles */
.project-card,
.blog-card,
.team-card,
.value-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid var(--border);
}

.project-card:hover,
.blog-card:hover,
.team-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Project Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.project-image,
.blog-image {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius) var(--radius) 0 0;
}

.gradient-1 {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.2));
}

.gradient-2 {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(100, 116, 139, 0.2));
}

.gradient-3 {
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.2), rgba(14, 165, 233, 0.2));
}

.project-content,
.blog-content {
  padding: 1.5rem;
}

.project-badges,
.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.badge {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.project-title,
.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-description,
.blog-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.project-link,
.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.project-link:hover,
.blog-link:hover {
  color: var(--accent);
}

.link-icon {
  width: 1rem;
  height: 1rem;
}

.blog-date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--muted-foreground);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* Team Styles */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.value-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.value-description {
  color: var(--muted-foreground);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.team-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.2));
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-content {
  padding: 1.5rem;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-skills {
  margin-bottom: 1rem;
}

.skills-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.skill-badge {
  background-color: var(--muted);
  color: var(--foreground);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
}

.team-social {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background-color: transparent;
  border: none;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.social-btn:hover {
  color: var(--accent);
}

.social-btn svg {
  width: 1rem;
  height: 1rem;
}

/* CTA Section */
.cta {
  text-align: center;
  max-width: 4xl;
  margin: 0 auto;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Newsletter */
.newsletter {
  text-align: center;
  max-width: 4xl;
  margin: 0 auto;
}

.newsletter-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.newsletter-description {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 24rem;
  margin: 0 auto;
}

.newsletter-input {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
  font-size: 1rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

/* Footer */
.footer {
  background-color: var(--card);
  border-top: 1px solid var(--border);
  padding: 3rem 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-main {
  grid-column: span 2;
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  max-width: 24rem;
}

.footer-contact {
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.contact-icon {
  width: 1rem;
  height: 1rem;
}

.contact-item a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item a:hover {
  color: var(--accent);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.social-link:hover {
  color: var(--accent);
}

.social-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-links-title,
.footer-services-title {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links-list,
.footer-services-list {
  list-style: none;
}

.footer-links-list li,
.footer-services-list li {
  margin-bottom: 0.5rem;
}

.footer-links-list a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links-list a:hover {
  color: var(--accent);
}

.footer-services-list li {
  color: var(--muted-foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted-foreground);
}

/* Responsive Design */
@media (min-width: 640px) {
  .hero-buttons,
  .cta-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-input {
    flex: 1;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .footer-main {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .footer-main {
    grid-column: span 1;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Form Styles */
.contact-form {
  max-width: 42rem;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--input);
  color: var(--foreground);
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--ring);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Projects Page Styles */
.projects-hero {
  padding: 8rem 1rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--muted) 0%, var(--background) 100%);
}

.project-detail-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.project-detail-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.2));
}

.project-detail-content {
  padding: 2rem;
}

.project-tech-stack {
  margin-top: 1.5rem;
}

.tech-stack-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.tech-stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-badge {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Blog Page Styles */
.blog-hero {
  padding: 8rem 1rem 4rem;
  text-align: center;
  background: linear-gradient(135deg, var(--muted) 0%, var(--background) 100%);
}

.blog-post-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.blog-post-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.blog-post-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(37, 99, 235, 0.2));
}

.blog-post-content {
  padding: 2rem;
}

.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.blog-post-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post-excerpt {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.read-more-btn:hover {
  color: #0284c7;
}

/* Advertisement Styles */
/* Advertisement Sections */
.ads-section {
  margin-bottom: 4rem;
  padding: 2rem;
  background-color: var(--muted);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.ads-section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
  color: var(--foreground);
}

.ad-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--foreground);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
}

/* Video Advertisement Styles */
.video-ad-container {
  margin-bottom: 3rem;
}

.video-ad-card {
  background-color: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(37, 99, 235, 0.1));
}

.ad-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  transition: opacity 0.3s;
}

.video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.play-btn {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}

.play-btn:hover {
  background-color: white;
  transform: scale(1.1);
}

.play-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  margin-left: 0.25rem;
}

.ad-content {
  padding: 1.5rem;
}

.ad-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.ad-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.ad-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.ad-sponsor {
  font-weight: 500;
}

.ad-duration {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
}

/* Advertisement Grid */
.ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ad-card {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s;
}

.ad-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* Job Advertisement Styles */
.job-ad {
  padding: 1.5rem;
}

.ad-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.company-logo {
  flex-shrink: 0;
}

.company-logo img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  object-fit: cover;
}

.job-info {
  flex: 1;
}

.job-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.company-name {
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.job-location {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.job-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.job-tag {
  background-color: var(--muted);
  color: var(--foreground);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
}

.ad-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ad-date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.apply-btn {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.apply-btn:hover {
  background-color: #1d4ed8;
}

/* Business Advertisement Styles */
.business-ad {
  overflow: hidden;
}

.business-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.business-ad:hover .business-image img {
  transform: scale(1.05);
}

.business-content {
  padding: 1.5rem;
}

.business-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.business-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.business-features {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.feature {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.business-price {
  font-weight: 600;
  color: var(--accent);
}

.business-btn {
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s;
}

.business-btn:hover {
  background-color: #0284c7;
}

/* News Tabs Styles */
.news-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.news-tab {
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

.news-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.news-tab.active {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
}

/* News Content Sections */
.news-content {
  display: none;
}

.news-content.active {
  display: block;
}

/* External Link Styles */
.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  margin-top: 1rem;
  transition: color 0.2s;
}

.external-link:hover {
  color: #0284c7;
}

/* Blog Posts Grid */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Featured Post Styles */
.blog-post-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 400px;
}

.blog-post-card.featured .blog-post-image {
  aspect-ratio: auto;
  border-radius: var(--radius) 0 0 var(--radius);
}

.blog-post-card.featured .blog-post-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.badge-primary {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

/* Author Styles */
.post-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--foreground);
  font-size: 0.875rem;
}

.author-role {
  color: var(--muted-foreground);
  font-size: 0.75rem;
}

/* News Feed Styles */
.news-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-item {
  background-color: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.5rem;
  transition: all 0.3s;
}

.news-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.news-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.news-source {
  background-color: var(--muted);
  color: var(--foreground);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
}

.news-item-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.news-item-title a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s;
}

.news-item-title a:hover {
  color: var(--accent);
}

.news-item-excerpt {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.news-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.news-item-link:hover {
  color: #0284c7;
}

/* Loading State */
.loading-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

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

/* Upload Section Styles */
.upload-section {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.upload-form {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  margin-top: 2rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
  .blog-post-card.featured {
    grid-column: span 1;
    display: block;
  }

  .blog-post-card.featured .blog-post-image {
    aspect-ratio: 16 / 9;
    border-radius: var(--radius) var(--radius) 0 0;
  }
}

@media (max-width: 768px) {
  .news-tabs {
    flex-direction: column;
    align-items: center;
  }

  .news-tab {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  .news-feed {
    grid-template-columns: 1fr;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-in-right {
  animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
