/*
 * Insight Unlimited - Modern Professional Design
 * Updated with Color Palette 02 (Bright Snow, Prussian Blue, Jet Black, Ocean Mist, Golden Orange)
 * Theme: Bright & Energetic
 */

/* Colour palette variables */
:root {
  /* Palette 02 Colors */
  --bright-snow: #FAFAF9;   /* Main Background */
  --prussian-blue: #0F172A; /* Headers / Strong Text / Footer BG */
  --jet-black: #1F2937;     /* Body Text */
  --ocean-mist: #14B8A6;    /* Secondary Accents / Links */
  --golden-orange: #F59E0B; /* Primary Buttons / CTA */

  /* Utilities */
  --white: #ffffff;
  --accent-glow: rgba(245, 158, 11, 0.15); /* Orange glow */
  --link-glow: rgba(20, 184, 166, 0.15);   /* Teal glow */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

/* Global styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.7;
  color: var(--jet-black);
  background-color: var(--bright-snow); /* Updated to Bright Snow for brightness */
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--ocean-mist);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--golden-orange);
}

/* --- Navbar --- */
header {
  background: rgba(15, 23, 42, 0.95); /* Prussian Blue with opacity */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  color: var(--white);
  gap: 1rem;
}

.logo {
  flex: 1;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  /* Gradient from White to Golden Orange */
  background: linear-gradient(135deg, var(--white) 0%, var(--golden-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  flex: 2;
}

.nav-links li a {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.nav-links li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--golden-orange);
  transform: translateY(-1px);
}

.mobile-nav-items {
  display: none;
}

/* Nav Right Side */
.nav-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex: 1;
}

.nav-social-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding-right: 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-social-icons a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
}

.nav-social-icons a:hover {
  color: var(--golden-orange);
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.lang-toggle-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.lang-toggle-btn:hover {
  background: var(--golden-orange);
  border-color: var(--golden-orange);
  color: var(--prussian-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

/* --- Hero Section (BRIGHT THEME UPDATE) --- */
.hero {
  /* Inverted from Dark to Light for "Bright" look */
  background: linear-gradient(180deg, var(--white) 0%, var(--bright-snow) 100%);
  color: var(--jet-black);
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Subtle Ocean Mist glow on light background */
  background: 
    radial-gradient(circle at 20% 50%, rgba(20, 184, 166, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--prussian-blue); /* Dark text on light background */
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--jet-black);
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  /* Golden Orange Gradient for High Energy/Brightness */
  background: linear-gradient(135deg, var(--golden-orange) 0%, #d97706 100%);
  color: var(--white); /* White text on orange button */
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  filter: brightness(1.05);
}

/* --- Main Sections --- */
.section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  color: var(--prussian-blue);
  font-weight: 700;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 1rem;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  /* Ocean Mist underlines */
  background: linear-gradient(90deg, var(--ocean-mist), transparent);
  border-radius: 2px;
}

.section p {
  margin-bottom: 1.5rem;
  color: var(--jet-black);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 800px;
  opacity: 0.85;
}

.alt-bg {
  background-color: var(--white);
  border-top: 1px solid rgba(31, 41, 55, 0.05);
  border-bottom: 1px solid rgba(31, 41, 55, 0.05);
}

/* --- Daily Tips Section --- */
.tips-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

#type-select {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(31, 41, 55, 0.2);
  border-radius: 10px;
  background-color: var(--white);
  color: var(--prussian-blue);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

#type-select:focus {
  outline: none;
  border-color: var(--ocean-mist);
  box-shadow: 0 0 0 3px var(--link-glow);
}

.tip-display {
  margin-top: 2rem;
  padding: 2rem;
  /* Very light background for the card */
  background: #ffffff;
  border-left: 4px solid var(--golden-orange);
  border-radius: 12px;
  color: var(--jet-black);
  min-height: 4rem;
  font-size: 1.1rem;
  line-height: 1.8;
  box-shadow: var(--shadow-sm);
  font-style: italic;
  border: 1px solid rgba(0,0,0,0.03);
}

/* --- Updates Section --- */
.updates-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.update-item {
  background-color: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.75rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.update-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ocean-mist);
}

/* --- Contact and Social Links --- */
.contact-details p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--jet-black);
}

.social-links {
  margin-top: 2rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  /* Ocean Mist for secondary actions */
  background: var(--ocean-mist);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.social-links a:hover {
  transform: translateY(-2px);
  background: var(--golden-orange); /* Hover to Orange */
  box-shadow: var(--shadow-md);
}

/* --- Footer --- */
footer {
  /* Keep Footer dark for contrast/anchoring */
  background: linear-gradient(135deg, var(--prussian-blue) 0%, #1e293b 100%);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Responsive and Hamburger Menu --- */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--white);
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 992px) {
  .logo, .nav-right {
    flex: initial;
  }

  .nav-social-icons {
      display: none;
  }

  .hamburger {
    display: block;
    margin-left: 0.5rem;
  }

  .nav-right {
    gap: 0.5rem;
  }

  .lang-toggle-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(15, 23, 42, 0.98); /* Prussian Blue Mobile Menu */
    padding: 1.5rem 0;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);