/* 
 * VALUE4MONEY - Stylesheet
 * A comprehensive stylesheet for the entire website
 * Now with theme switching capability (blue(default)/green/light)
 */
 
/* ===== Base Styles ===== */
:root {
  /* New Primary Color Palette (Teal/Green) */
  --primary-50: #f0fdf9;
  --primary-100: #ccfbf1;
  --primary-200: #99f6e4;
  --primary-300: #5eead4;
  --primary-400: #2dd4bf;
  --primary-500: #14b8a6;
  --primary-600: #0d9488;
  --primary-700: #0f766e;
  --primary-800: #115e59;
  --primary-900: #134e4a;

  /* New Accent Colors (Warm Orange) */
  --accent-50: #fff7ed;
  --accent-100: #ffedd5;
  --accent-200: #fed7aa;
  --accent-300: #fdba74;
  --accent-400: #fb923c;
  --accent-500: #f97316;
  --accent-600: #ea580c;
  
  /* Secondary Colors (Golden Yellow) */
  --secondary-300: #fcd34d;
  --secondary-400: #fbbf24;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  --white: #ffffff;
  --black: #000000;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --border-radius-sm: 0.25rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Montserrat', sans-serif;
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.5;
  scroll-behavior: smooth;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
}

/* ===== Header Styles ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  z-index: 50;
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 60;
}

.logo-check {
  background-color: var(--accent-500);
  border-radius: 50%;
  width: 1.75rem;
  height: 1.75rem;
  margin-right: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-check i {
  color: var(--white);
  font-size: 1rem;
}

.logo-value, .logo-money {
  font-weight: 800;
  color: var(--primary-600);
  font-size: 1.25rem;
}

.logo-4 {
  font-weight: 800;
  color: var(--accent-500);
  font-size: 1.25rem;
}

@media (min-width: 768px) {
  .logo-value, .logo-4, .logo-money {
    font-size: 1.5rem;
  }
}

.nav {
  display: flex;
  align-items: center;
}

.mobile-menu-button {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  z-index: 60;
  margin-right: 0.5rem;
}

.mobile-menu-button i {
  font-size: 1.5rem;
  color: var(--gray-700);
}

@media (min-width: 768px) {
  .mobile-menu-button {
    display: none;
  }
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 1.5rem;
  }
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  position: relative;
  padding: 0.25rem 0;
}

.nav-link:hover {
  color: var(--primary-600);
}

.nav-link.active {
  color: var(--primary-600);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-600);
  border-radius: 1px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 5rem 1.5rem 1.5rem;
  z-index: 40;
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100vh;
  overflow-y: auto;
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav-link {
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-bottom: 1px solid var(--gray-100);
  transition: var(--transition-fast);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

.mobile-nav-link:hover {
  color: var(--primary-600);
  padding-left: 1.25rem;
}

.mobile-nav-link.active {
  color: var(--primary-600);
  border-left: 3px solid var(--primary-600);
  padding-left: 1rem;
}

/* ===== Main Content ===== */
.main {
  padding-top: 60px;
  flex: 1;
}

/* ===== Hero Section ===== */
/* New Hero Section Styles */
.hero-section {
  background-color: var(--primary-600);
  color: #ffffff;
  padding: 60px 0;
  overflow: hidden;
}

.hero-dark-bg {
  background-color: var(--primary-600);
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text-container {
    width: 60%;
  }
  
  .hero-card {
    width: 40%;
  }
}

.hero-text-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-main-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.hero-title {
  color: #f0f0f0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

.hero-paragraph {
  font-size: 1rem;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}

.stat-item {
  flex: 1;
  min-width: 150px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: #00c853;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #f0f0f0;
  line-height: 1.4;
}

.hero-cta-button {
  display: inline-block;
  background-color: #00c853;
  color: #000000;
  font-weight: 700;
  padding: 15px 30px;
  border-radius: 50px;
  text-align: center;
  transition: all 0.3s ease;
  margin-top: 20px;
  width: fit-content;
}

.hero-cta-button:hover {
  background-color: #00e676;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 200, 83, 0.3);
}

/* Hero Card Styles */
.hero-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  cursor: default; /* Ensures card itself doesn't show pointer */
}

.hero-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hero-card:hover .card-img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #333333;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 15px;
  line-height: 1.3;
}

/* Card Links */
.card-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-link {
  color: var(--primary-600);
  font-weight: 600;
  font-size: 0.9rem;
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease;
  cursor: pointer; /* Explicit pointer for links */
  z-index: 2; /* Ensure links are above other elements */
  width: fit-content; /* Prevent full-width clickable area */
}

.card-link:hover {
  color: var(--primary-800);
  padding-left: 5px;
}

.card-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-600);
  transition: width 0.3s ease;
}

.card-link:hover::after {
  width: 100%;
}

/* Ensure no other elements in hero section are clickable */
.hero-section * {
  cursor: default;
}

/* Explicitly set pointer for all anchor tags */
.hero-section a {
  cursor: pointer;
}

/* Remove any previous absolute positioned links */
.card-main-link {
  display: none !important;
}

/* ===== Trending Lists Section ===== */
.trending-section {
  padding: 3rem 0;
  background-color: var(--white);
}

.trending-title {
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--gray-100);
  padding-bottom: 1rem;
  font-size: 1.75rem;
  color: var(--primary-700);
  position: relative;
}

.trending-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100px;
  height: 2px;
  background-color: var(--primary-600);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-700);
}

.trending-lists {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.trending-item {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 2rem;
  transition: var(--transition);
}

.trending-item:hover {
  transform: translateY(-5px);
}

.trending-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .trending-content {
    flex-direction: row;
    align-items: center;
  }
}

.trending-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gray-300);
  margin-bottom: 1rem;
  line-height: 1;
}

@media (min-width: 768px) {
  .trending-number {
    width: 10%;
    margin-bottom: 0;
    font-size: 4rem;
  }
}

.trending-info {
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 768px) {
  .trending-info {
    width: 60%;
    margin-bottom: 0;
    text-align: left;
    padding-right: 2rem;
  }
}

.trending-item-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-800);
}

.trending-link {
  color: var(--primary-600);
  font-weight: 700;
}

.trending-link:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

.trending-description {
  color: var(--gray-600);
  font-size: 0.9375rem;
}

.trending-image-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

@media (min-width: 768px) {
  .trending-image-container {
    width: 30%;
    justify-content: flex-end;
  }
}

.trending-image {
  width: 150px;
  height: 150px;
  border-radius: var(--border-radius);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.trending-item:hover .trending-image {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .trending-image {
    width: 180px;
    height: 180px;
  }
}

.additional-item {
  transition: all 0.5s ease;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
}

.additional-item.animate-in {
  opacity: 1;
  max-height: 500px;
}

.additional-item[style="display: block;"] {
  opacity: 1;
  max-height: none;
}

/* ===== CTA Button ===== */
.cta-container {
  display: flex;
  justify-content: center;
  margin: 3rem 0 1rem;
}

.cta-button {
  background: linear-gradient(90deg, var(--primary-600) 0%, var(--primary-700) 100%);
  color: var(--white);
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.cta-button:hover {
  background: linear-gradient(90deg, var(--primary-700) 0%, var(--primary-800) 100%);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.cta-button i {
  margin-left: 0.75rem;
  transition: transform 0.3s ease;
}

.cta-button:hover i {
  transform: translateX(5px);
}

.rating-section {
  padding: 4rem 0;
  background-color: var(--primary-50);
  position: relative;
}

.rating-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-200), transparent);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-600);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.section-description {
  max-width: 800px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
  gap: 0.75rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--gray-700);
}

.tab-button.active {
  background-color: var(--white);
  color: var(--primary-700);
  border-color: var(--primary-300);
  box-shadow: var(--shadow-sm);
}

.tab-button:hover:not(.active) {
  background-color: var(--white);
  color: var(--primary-600);
}

.tab-content-container {
  position: relative;
  margin: 0 auto;
  max-width: 900px;
}

.tab-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: var(--white);
  border-radius: 50%;
  width: 3rem;
  height: 3rem;
  box-shadow: var(--shadow);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.tab-nav i {
  font-size: 1.25rem;
  color: var(--primary-600);
}

@media (max-width: 767px) {
  .tab-nav {
    width: 2.5rem;
    height: 2.5rem;
  }
  
  .tab-nav i {
    font-size: 1rem;
  }
}

.prev-tab {
  left: -1.5rem;
}

.next-tab {
  right: -1.5rem;
}

@media (max-width: 767px) {
  .prev-tab {
    left: -1rem;
  }
  
  .next-tab {
    right: -1rem;
  }
}

.tab-content {
  display: none;
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  min-height: 300px;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content-inner {
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .tab-content-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 2rem;
  }
  
  .tab-text {
    width: 50%;
    padding-right: 1rem;
  }
  
  .tab-image {
    width: 50%;
  }
  
  .tab-text p {
    text-align: center;
    max-width: 600px;
    }
}

.tab-text p {
  color: var(--gray-700);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 1rem;
}

.tab-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary-700);
  margin-bottom: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .tab-title {
    display: block;
    margin-bottom: 1rem;
    font-size: 2rem;
    margin-top: 1rem;
  }
}

.tab-image img {
  border-radius: var(--border-radius);
  max-width: 100%;
  height: auto;
  box-shadow: var(--shadow);
}

/* ===== Rating Tabs Section ===== */
/* ===== Rating Tabs Section ===== */
.rating-section {
    padding: 5rem 0;
    background-color: var(--primary-50);
    position: relative;
    overflow: hidden;
}

.rating-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-200), transparent);
}

.rating-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 992px) {
    .rating-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.rating-text {
    width: 100%;
    padding: 2rem 0;
}

@media (min-width: 992px) {
    .rating-text {
        width: 50%;
        padding-right: 2rem;
    }
}

.rating-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-700);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .rating-title {
        font-size: 3rem;
    }
}

.rating-title .highlight {
    color: var(--primary-500);
    display: inline;
}

.rating-description {
    font-size: 1.125rem;
    color: var(--primary-600);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 90%;
}

/* Tabs styling */
.tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
    gap: 0.75rem;
    justify-content: center;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    background: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-fast);
    color: var(--gray-700);
}

.tab-button.active {
    background-color: var(--white);
    color: var(--primary-700);
    border-color: var(--primary-300);
    box-shadow: var(--shadow-sm);
}

.tab-button:hover:not(.active) {
    background-color: var(--white);
    color: var(--primary-600);
}

.tab-content-container {
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    min-height: 200px;
    padding: 2rem;
}

.tab-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background-color: var(--white);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    opacity: 0.9;
}

.tab-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.tab-nav i {
    font-size: 1rem;
    color: var(--primary-600);
}

.prev-tab {
    left: 0.5rem;
}

.next-tab {
    right: 0.5rem;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

.tab-content-inner {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 100%;
}

.tab-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-700);
    margin-bottom: 1rem;
}

.tab-text {
    width: 100%;
    max-width: 600px;
}

.tab-text p {
    color: var(--gray-700);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 auto;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
}

/* Sliding animation for tab content */
@keyframes slideInFromRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.slide-in-right {
    animation: slideInFromRight 0.4s ease-out forwards;
}

.slide-in-left {
    animation: slideInFromLeft 0.4s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .rating-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .rating-description {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .tabs {
        justify-content: center;
    }
    
    .tab-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .tab-content-container {
        padding: 1.5rem;
    }
    
    .tab-nav {
        width: 2rem;
        height: 2rem;
    }
    
    .tab-nav i {
        font-size: 0.8rem;
    }
    
    .tab-content-inner {
        padding: 0.5rem;
    }
    
    .tab-title {
        font-size: 1.25rem;
    }
    
    .tab-text p {
        font-size: 0.9rem;
    }
}


/* ===== What We Rate Section ===== */
.what-we-rate-section {
  padding: 4rem 0;
  background-color: var(--white);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .categories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.category-card {
  background-color: var(--primary-50);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
  margin: 0 auto;
  padding: 1.5rem;
}

.category-icon {
  margin-bottom: 1rem;
  background-color: var(--white);
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.category-icon i {
  font-size: 2.25rem;
  color: var(--primary-600);
}

.category-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--gray-800);
  transition: var(--transition);
  padding: 0 1rem;
  width: 100%;
  margin-top: 0.5rem;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background-color: var(--white);
  border: 1px solid var(--primary-100);
}

.category-card:hover .category-icon {
  background-color: var(--primary-600);
}

.category-card:hover .category-icon i {
  color: var(--white);
  transform: scale(1.2);
}

.category-card:hover .category-title {
  color: var(--primary-700);
}

/* ===== Reports & Reviews Section ===== */
.reports-section {
  padding: 4rem 0;
  background-color: var(--primary-50);
  position: relative;
}

.reports-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-200), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(300px, 400px));
    justify-content: center;
  }
}

.feature {
  text-align: center;
  transition: var(--transition);
}

.feature:hover {
  transform: translateY(-8px);
}

.feature-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background-color: var(--white);
  border-radius: 50%;
  border: 2px solid var(--primary-500);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature:hover .feature-circle {
  background-color: var(--primary-600); /* fill with green */
  border-color: var(--primary-600);
}

.feature-circle i {
  font-size: 2rem;
  color: var(--primary-600);
  transition: var(--transition);
}

.feature:hover .feature-circle i {
  color: var(--white); /* icon turns white */
  transform: scale(1.2); 
}

.feature-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-700);
  margin-bottom: 1rem;
}

.feature-text {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--white);
  border-top: 1px solid var(--gray-100);
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-link {
  font-size: 0.9375rem;
  color: var(--gray-600);
  transition: all 0.2s ease;
  position: relative;
  padding: 0.25rem 0;
}

.footer-link:hover {
  color: var(--primary-600);
}

.footer-link.active {
  color: var(--primary-600);
  font-weight: 600;
}

.footer-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-600);
  border-radius: 1px;
}

.copyright {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-top: 1rem;
}

/* ===== Animation Classes ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

.trending-item {
  opacity: 0;
}

.trending-item:nth-child(1) { animation: fadeInUp 0.6s ease forwards 0.1s; }
.trending-item:nth-child(2) { animation: fadeInUp 0.6s ease forwards 0.2s; }
.trending-item:nth-child(3) { animation: fadeInUp 0.6s ease forwards 0.3s; }
.trending-item:nth-child(4) { animation: fadeInUp 0.6s ease forwards 0.4s; }
.trending-item:nth-child(5) { animation: fadeInUp 0.6s ease forwards 0.5s; }
.trending-item:nth-child(6) { animation: fadeInUp 0.6s ease forwards 0.6s; }
.trending-item:nth-child(7) { animation: fadeInUp 0.6s ease forwards 0.7s; }
.trending-item:nth-child(8) { animation: fadeInUp 0.6s ease forwards 0.8s; }

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(13, 148, 136, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0);
  }
}

.cta-button {
  animation: pulse 2s infinite;
}

.cta-button:hover {
  animation: none;
}

/* ===== Accessibility ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===== Print Styles ===== */
@media print {
  .header, .footer, .cta-container, .tab-nav {
    display: none;
  }
  
  .main {
    padding-top: 0;
  }
  
  .tab-content {
    display: block !important;
    page-break-inside: avoid;
    margin-bottom: 2rem;
  }
  
  .hero-overlay {
    display: none;
  }
}

/*========= US Flag ====== */

.flag-container {
  display: block;
  margin-top: 8px; /* Space between date and flag */
  text-align: center; /* Center the flag */
}

.flag-icon {
  width: 30px; /* Increased size for desktop */
  height: auto;
  display: inline-block;
  vertical-align: top;
}

/* Adjust for smaller screens */
@media (max-width: 480px) {
  .flag-icon {
    width: 24px; /* Slightly smaller for mobile */
  }
  .flag-container {
    margin-top: 6px; /* Reduced spacing for mobile */
  }
}