/* Fonts */
:root {
  --default-font: "Lexend Zetta", sans-serif;
  --heading-font: "Lexend Zetta", sans-serif;
  --nav-font: "Lexend Zetta", sans-serif;
}

/* Global Colors - Light Creative Platform Color Scheme */
:root {
  --background-color: #ffffff;
  --default-color: #2c3e50;
  --heading-color: #1a365d;
  --accent-color: #3182ce;
  --primary-color: #3182ce;
  --secondary-color: #38a169;
  --success-color: #38a169;
  --warning-color: #d69e2e;
  --danger-color: #e53e3e;
  --light-color: #f7fafc;
  --dark-color: #1a202c;
  --muted-color: #718096;
  --border-color: #e2e8f0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --gradient-primary: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
  --gradient-secondary: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
  --gradient-accent: linear-gradient(135deg, #3182ce 0%, #38a169 100%);
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  line-height: 1.6;
  font-size: 16px;
}

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

a:hover {
  color: var(--heading-color);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header .logo h3 {
  color: var(--heading-color);
  margin: 0;
  font-weight: 700;
}

.header .logo img {
  max-height: 40px;
  width: auto;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.header .logo:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.navmenu ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.navmenu a {
  color: var(--default-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

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

.navmenu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.navmenu a:hover::after {
  width: 100%;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--default-color);
  transition: all 0.3s ease;
  z-index: 10000;
}

.mobile-nav-toggle:hover {
  color: var(--accent-color);
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .navmenu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
    z-index: 9999;
    padding: 2rem 0;
    overflow-y: auto;
  }
  
  .navmenu.mobile-nav-active {
    right: 0;
  }
  
  .navmenu ul {
    flex-direction: column;
    gap: 0;
    padding: 0 2rem;
  }
  
  .navmenu li {
    border-bottom: 1px solid var(--border-color);
  }
  
  .navmenu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.1rem;
    color: var(--default-color);
  }
  
  .navmenu a::after {
    display: none;
  }
  
  .navmenu a:hover {
    background: var(--light-color);
    margin: 0 -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
    color: var(--accent-color);
  }
  
  /* Mobile menu header */
  .navmenu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
  }
  
  /* Active link styles */
  .navmenu a.active {
    background: var(--light-color);
    color: var(--accent-color);
    font-weight: 600;
  }
  
  /* Body scroll lock when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  /* Backdrop overlay */
  .navmenu::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: -1;
  }
  
  .navmenu.mobile-nav-active::after {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 767px) {
  .navmenu {
    width: 100%;
    right: -100%;
  }
  
  .navmenu.mobile-nav-active {
    right: 0;
  }
  
  .mobile-nav-toggle {
    font-size: 1.8rem;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--muted-color);
  margin-bottom: 2rem;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Mission Section
--------------------------------------------------------------*/
.mission {
  background: var(--light-color);
  padding: 5rem 0;
}

.mission-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.mission-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.mission-icon i {
  font-size: 2rem;
  color: white;
}

/*--------------------------------------------------------------
# Platform Section
--------------------------------------------------------------*/
.platform {
  padding: 5rem 0;
  background: white;
}

.feature-item {
  padding: 1rem 0;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--light-color);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.5rem;
}

.showcase-item {
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Community Section
--------------------------------------------------------------*/
.community {
  background: var(--dark-color);
  color: white;
  padding: 5rem 0;
}

.community-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.community-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-color);
}

.community-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.community-icon i {
  font-size: 2rem;
  color: white;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 5rem 0;
  background: white;
}

.contact-info {
  margin-top: 2rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--light-color);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  font-size: 1.25rem;
}

.contact-form {
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  background: var(--dark-color);
  color: white;
}

.footer-brand h4 {
  color: white;
  font-weight: 700;
}

.footer-link {
  color: #cbd5e0;
  transition: color 0.3s ease;
}

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

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.btn {
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(49, 130, 206, 0.3);
}

.btn-outline-primary {
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--accent-color);
  color: white;
  transform: translateY(-2px);
}

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

/*--------------------------------------------------------------
# Cookie Popup
--------------------------------------------------------------*/
#cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  display: none;
  border: 1px solid var(--border-color);
}

.popup-content {
  padding: 1.5rem;
}

.popup-message p {
  margin-bottom: 1rem;
  color: var(--default-color);
}

.popup-message a {
  color: var(--accent-color);
  font-weight: 600;
}

#cookie-popup button {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#cookie-popup button:hover {
  background: var(--heading-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Back to Top
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  z-index: 999;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--gradient-secondary);
  transform: translateY(-3px);
  color: white;
}

/*--------------------------------------------------------------
# Responsive Design
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .navmenu ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero .row {
    text-align: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .mission-card {
    margin-bottom: 2rem;
  }
  
  .stat-card {
    margin-bottom: 2rem;
  }
  
  #cookie-popup {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/*--------------------------------------------------------------
# Utility Classes
--------------------------------------------------------------*/
.shadow-lg {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.rounded-4 {
  border-radius: 1rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

.border-secondary {
  border-color: #4a5568 !important;
}

.text-danger {
  color: var(--danger-color) !important;
}

/*--------------------------------------------------------------
# Form Controls
--------------------------------------------------------------*/
.form-control {
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
  outline: none;
}

.form-control::placeholder {
  color: var(--muted-color);
}

/*--------------------------------------------------------------
# Newsletter
--------------------------------------------------------------*/
.newsletter .input-group {
  border-radius: 10px;
  overflow: hidden;
}

.newsletter .form-control {
  border: none;
  border-radius: 0;
}

.newsletter .btn {
  border-radius: 0;
  border: none;
}

/*--------------------------------------------------------------
# Hover Effects
--------------------------------------------------------------*/
.hover-card {
  transition: all 0.3s ease;
}

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

/*--------------------------------------------------------------
# Section Spacing
--------------------------------------------------------------*/
.section {
  padding: 5rem 0;
}

.bg-light {
  background-color: var(--light-color) !important;
}

.bg-dark {
  background-color: var(--dark-color) !important;
}

/*--------------------------------------------------------------
# Typography Utilities
--------------------------------------------------------------*/
.display-3 {
  font-size: 3.5rem;
  font-weight: 700;
}

.display-4 {
  font-size: 2.5rem;
  font-weight: 700;
}

.display-5 {
  font-size: 2rem;
  font-weight: 600;
}

.display-6 {
  font-size: 1.5rem;
  font-weight: 600;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

.text-muted {
  color: var(--muted-color) !important;
}

/*--------------------------------------------------------------
# Spacing Utilities
--------------------------------------------------------------*/
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

.mb-4 {
  margin-bottom: 1.5rem !important;
}

.mb-5 {
  margin-bottom: 3rem !important;
}

.mt-4 {
  margin-top: 1.5rem !important;
}

.mt-5 {
  margin-top: 3rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

/*--------------------------------------------------------------
# Flexbox Utilities
--------------------------------------------------------------*/
.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-center {
  justify-content: center !important;
}

.text-center {
  text-align: center !important;
}

.text-md-end {
  text-align: right !important;
}

/*--------------------------------------------------------------
# Grid Utilities
--------------------------------------------------------------*/
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.col, .col-6, .col-12, .col-lg-4, .col-lg-6, .col-md-4, .col-md-6 {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.col-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

@media (min-width: 768px) {
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# List Styles
--------------------------------------------------------------*/
.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-unstyled li {
  margin-bottom: 0.5rem;
}

/*--------------------------------------------------------------
# Border Utilities
--------------------------------------------------------------*/
.border-top {
  border-top: 1px solid !important;
}

.border-secondary {
  border-color: #6c757d !important;
}

/*--------------------------------------------------------------
# Input Group
--------------------------------------------------------------*/
.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .form-control {
  border-radius: 10px 0 0 10px;
  border-right: none;
}

.input-group .btn {
  border-radius: 0 10px 10px 0;
  border-left: none;
}

/*--------------------------------------------------------------
# Min Height Utilities
--------------------------------------------------------------*/
.min-vh-100 {
  min-height: 100vh !important;
}

/*--------------------------------------------------------------
# H-100 Utility
--------------------------------------------------------------*/
.h-100 {
  height: 100% !important;
}

/*--------------------------------------------------------------
# W-100 Utility
--------------------------------------------------------------*/
.w-100 {
  width: 100% !important;
}