/*
 * Insight Unlimited - Modern Professional Design
 * Updated with Color Palette 03 (White, Carbon Black, Graphite, Pacific Blue, Strong Cyan)
 * Theme: Bright, Clean, and Airy
 */

/* Colour palette variables */
:root {
  /* Palette 03 Colors */
  --white: #FFFFFF;
  --carbon-black: #222222;  /* Headings / Footer BG */
  --graphite: #333333;      /* Body Text */
  --pacific-blue: #00B5C8;  /* Primary Accent */
  --strong-cyan: #1ECAD3;   /* Highlight / Secondary Accent */

  /* Derived Tints for "Bright" Theme */
  --bg-subtle: #F0FDFF;     /* Very light cyan tint for alternate sections */
  --accent-glow: rgba(0, 181, 200, 0.1);
  --shadow-sm: 0 1px 3px rgba(34, 34, 34, 0.05);
  --shadow-md: 0 4px 12px rgba(34, 34, 34, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 181, 200, 0.15); /* Colored shadow for depth */
}

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

body {
  font-family: 'Noto Sans', sans-serif;
  line-height: 1.7;
  color: var(--graphite);
  background-color: var(--white); /* Pure White background */
  font-size: 16px;
  overflow-x: hidden;
}

a {
  color: var(--pacific-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: var(--strong-cyan);
}

/* --- Navbar --- */
header {
  background: rgba(255, 255, 255, 0.9); /* White semi-transparent */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

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

.logo {
  flex: 1;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  /* Dark text for logo on light background */
  color: var(--carbon-black);
  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: var(--graphite);
  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: var(--accent-glow);
  color: var(--pacific-blue);
  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(0, 0, 0, 0.1);
}

.nav-social-icons a {
  color: var(--graphite);
  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(0, 0, 0, 0.03);
}

.nav-social-icons a:hover {
  color: var(--pacific-blue);
  background-color: var(--accent-glow);
  transform: translateY(-2px);
}

.lang-toggle-btn {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--carbon-black);
  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(--pacific-blue);
  color: var(--white);
  border-color: var(--pacific-blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 181, 200, 0.25);
}

/* --- Hero Section (BRIGHT THEME) --- */
.hero {
  /* Subtle White to Very Pale Cyan gradient */
  background: linear-gradient(180deg, var(--white) 0%, var(--bg-subtle) 100%);
  color: var(--carbon-black);
  text-align: center;
  padding: 8rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Large faint circles for visual interest without darkness */
  background: 
    radial-gradient(circle at 10% 20%, rgba(30, 202, 211, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 181, 200, 0.05) 0%, transparent 40%);
  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(--carbon-black);
}

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

.cta-btn {
  display: inline-block;
  /* Pacific Blue to Strong Cyan Gradient */
  background: linear-gradient(135deg, var(--pacific-blue) 0%, var(--strong-cyan) 100%);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 181, 200, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 181, 200, 0.35);
  color: var(--white);
}

/* --- 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(--carbon-black);
  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;
  background: linear-gradient(90deg, var(--strong-cyan), transparent);
  border-radius: 2px;
}

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

/* Alternate background for visual rhythm */
.alt-bg {
  background-color: var(--bg-subtle); 
  border-top: 1px solid rgba(0, 181, 200, 0.05);
  border-bottom: 1px solid rgba(0, 181, 200, 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(0, 0, 0, 0.1);
  border-radius: 10px;
  background-color: var(--white);
  color: var(--carbon-black);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 120px;
}

#type-select:focus {
  outline: none;
  border-color: var(--pacific-blue);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.tip-display {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--white);
  border-left: 4px solid var(--pacific-blue);
  border-radius: 12px;
  color: var(--graphite);
  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.02);
}

/* --- 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(--strong-cyan);
}

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

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

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  background: linear-gradient(135deg, var(--pacific-blue) 0%, var(--strong-cyan) 100%);
  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);
  box-shadow: 0 4px 12px rgba(0, 181, 200, 0.3);
  color: var(--white);
}

/* --- Footer --- */
footer {
  /* Using Carbon Black to Ground the site at the bottom */
  background: var(--carbon-black);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
}

/* --- Responsive and Hamburger Menu --- */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--carbon-black); /* Dark icon on light header */
  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;
    /* Solid White background for mobile menu */
    background: var(--white);
    padding: 1.5rem 0;
    gap: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-top: 1px solid rgba(0,0,0,0.05);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links > li:not(.mobile-nav-items) {
    width: 100%;
    text-align: center;
  }

  .nav-links > li:not(.mobile-nav-items) a {
    width: 100%;
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 0;
    color: var(--carbon-black);
  }

  /* Reveal Mobile Social Icons */
  .mobile-nav-items {
      display: flex;
      justify-content: center;
      margin-top: 1.5rem;
      padding-top: 1.5rem;
      border-top: 1px solid rgba(0, 0, 0, 0.05);
      width: 80%;
      margin-left: auto;
      margin-right: auto;
  }

  .mobile-social-icons {
      display: flex;
      gap: 1.5rem;
  }

  .mobile-social-icons a {
      color: var(--carbon-black);
      font-size: 1.2rem;
      width: 44px;
      height: 44px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(0, 0, 0, 0.05);
      border-radius: 50%;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .section { padding: 4rem 1.5rem; }
}