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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #2e2e2e;
  background-color: #fafafa;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: #ff6b6b;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #e55555;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #2e2e2e;
  text-decoration: none;
}

.logo-icon {
  margin-right: 0.5rem;
  font-size: 1.25rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  color: #2e2e2e;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ff6b6b;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: #ff6b6b;
  border-radius: 1px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #2e2e2e;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Hero Section */
.hero {
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #fafafa 0%, #f0f8ff 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  color: #2e2e2e;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: #ff6b6b;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.hero-visual {
  position: relative;
  margin-top: 3rem;
  height: 200px;
}

.location-pins {
  position: relative;
  width: 100%;
  height: 100%;
}

.pin {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 107, 107, 0.1);
  border: 3px solid #ff6b6b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.pin-1 {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.pin-2 {
  top: 40%;
  right: 25%;
  animation-delay: 1s;
}

.pin-3 {
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

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

/* Buttons */
.cta-button {
  display: inline-block;
  background: #ff6b6b;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background: #e55555;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 107, 107, 0.3);
  color: white;
}

.cta-button-secondary {
  display: inline-block;
  background: transparent;
  color: #ff6b6b;
  padding: 1rem 2rem;
  border: 2px solid #ff6b6b;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.cta-button-secondary:hover {
  background: #ff6b6b;
  color: white;
  transform: translateY(-2px);
}

/* Sections */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: #2e2e2e;
}

.featured-articles {
  padding: 4rem 0;
}

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

.article-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  will-change: transform;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.article-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  will-change: transform;
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.article-content {
  padding: 1.5rem;
}

.article-content h3 {
  margin-bottom: 0.5rem;
}

.article-content h3 a {
  color: #2e2e2e;
  text-decoration: none;
}

.article-content h3 a:hover {
  color: #ff6b6b;
}

.article-content p {
  color: #666;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.read-time {
  color: #a0d2eb;
  font-size: 0.9rem;
  font-weight: 500;
}

.cta-section {
  text-align: center;
}

.about-preview {
  background: white;
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  color: #2e2e2e;
  margin-bottom: 2rem;
}

.about-content p {
  font-size: 1.2rem;
  color: #666;
  line-height: 1.8;
}

/* Page Header */
.page-header {
  padding: 8rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, #fafafa 0%, #f0f8ff 100%);
}

.page-header h1 {
  color: #2e2e2e;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.3rem;
  color: #666;
}

.articles-listing {
  padding: 3rem 0;
}

/* Article Page Styles */
.article-header {
  padding: 8rem 0 3rem;
  text-align: center;
  background: linear-gradient(135deg, #fafafa 0%, #f0f8ff 100%);
}

.article-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  color: #666;
  font-size: 0.9rem;
}

.article-content-full {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.article-content-full h2 {
  color: #2e2e2e;
  margin: 2rem 0 1rem;
}

.article-content-full h3 {
  color: #2e2e2e;
  margin: 1.5rem 0 0.5rem;
}

.article-content-full p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-content-full ul,
.article-content-full ol {
  margin: 1rem 0 1.5rem 2rem;
}

.article-content-full li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.article-content-full blockquote {
  border-left: 4px solid #ff6b6b;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #666;
  background: rgba(255, 107, 107, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
}

/* About Page Styles */
.about-content {
  padding: 3rem 0;
}

.about-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.about-intro h2 {
  color: #2e2e2e;
  margin-bottom: 2rem;
}

.about-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
}

.values-section {
  margin-bottom: 4rem;
}

.values-section h2 {
  text-align: center;
  color: #2e2e2e;
  margin-bottom: 3rem;
}

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

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  color: #2e2e2e;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-card p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

.philosophy-section,
.approach-section,
.story-section,
.commitment-section,
.vision-section {
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.philosophy-section h2,
.approach-section h2,
.story-section h2,
.commitment-section h2,
.vision-section h2 {
  color: #2e2e2e;
  margin-bottom: 2rem;
  text-align: center;
}

.philosophy-content h3,
.commitment-content h3 {
  color: #ff6b6b;
  margin: 2rem 0 1rem;
  font-size: 1.3rem;
}

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

.approach-item {
  background: rgba(255, 107, 107, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  border-left: 4px solid #ff6b6b;
}

.approach-item h3 {
  color: #2e2e2e;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.approach-item p {
  color: #666;
  line-height: 1.7;
  font-size: 1rem;
}

.cta-section {
  background: linear-gradient(135deg, #fafafa 0%, #f0f8ff 100%);
  padding: 3rem 2rem;
  border-radius: 15px;
  text-align: center;
  margin-top: 3rem;
}

.cta-section h2 {
  color: #2e2e2e;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.cta-section p:last-of-type {
  margin-bottom: 2rem;
  font-weight: 600;
  color: #ff6b6b;
}

/* Resources Page Styles */
.resources-content {
  padding: 3rem 0;
}

.resources-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
}

.resources-intro h2 {
  color: #2e2e2e;
  margin-bottom: 2rem;
}

.resources-intro p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #666;
}

.resource-categories {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.resource-category {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.resource-category h2 {
  color: #ff6b6b;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  border-bottom: 2px solid rgba(255, 107, 107, 0.2);
  padding-bottom: 1rem;
}

.resource-item {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.resource-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.resource-item h3 {
  color: #2e2e2e;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

.resource-item h4 {
  color: #ff6b6b;
  margin: 1.5rem 0 1rem;
  font-size: 1.2rem;
}

.checklist {
  display: grid;
  gap: 2rem;
}

.checklist-section h4 {
  color: #2e2e2e;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.checklist-section ul,
.guide-content ul {
  list-style: none;
  padding: 0;
}

.checklist-section li,
.guide-content li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  line-height: 1.6;
  color: #666;
}

.checklist-section li::before {
  content: "☐";
  position: absolute;
  left: 0;
  color: #a0d2eb;
  font-size: 1.2rem;
}

.guide-content li::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: #ff6b6b;
  font-weight: bold;
}

.resources-conclusion {
  background: linear-gradient(135deg, #fafafa 0%, #f0f8ff 100%);
  padding: 3rem 2rem;
  border-radius: 15px;
  text-align: center;
  margin-top: 4rem;
}

.resources-conclusion h2 {
  color: #2e2e2e;
  margin-bottom: 2rem;
}

.resources-conclusion p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.final-cta {
  margin-top: 2rem;
}

.final-cta h3 {
  color: #ff6b6b;
  margin-bottom: 1rem;
}

.final-cta p {
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: #2e2e2e;
  color: white;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-content {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: #ccc;
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #ff6b6b;
}

/* Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 1rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero {
    padding: 6rem 0 3rem;
  }

  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .article-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-nav {
    gap: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .value-card {
    padding: 1.5rem;
  }

  .cta-section {
    padding: 2rem 1rem;
  }

  .resource-category {
    padding: 1.5rem;
  }

  .resources-conclusion {
    padding: 2rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-visual {
    height: 150px;
  }

  .pin {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

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

  .article-content-full {
    padding: 2rem 1rem;
  }
}

/* Performance Optimizations */
.article-image img {
  will-change: transform;
}

.article-card {
  will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
  outline: 2px solid #ff6b6b;
  outline-offset: 2px;
}

.nav-link:focus {
  outline: 2px solid #ff6b6b;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Prevent text selection and copying for all text elements */
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li,
span,
a,
div,
article,
section {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
