/* === VARIABLES === */
:root {
  /* Triadic Color Scheme */
  --primary-color: #4A6FE3;
  --primary-dark: #2D4FC0;
  --primary-light: #7B98F9;
  --secondary-color: #E34A7F;
  --secondary-dark: #C02D5F;
  --secondary-light: #F97B98;
  --tertiary-color: #4AE3A4;
  --tertiary-dark: #2DC07F;
  --tertiary-light: #7BF9C0;
  
  /* Neutrals */
  --dark: #1A1A2E;
  --gray-dark: #333344;
  --gray: #666677;
  --gray-light: #9999AA;
  --light: #F0F2F5;
  --white: #FFFFFF;
  
  /* Fonts */
  --heading-font: 'Poppins', sans-serif;
  --body-font: 'Work Sans', sans-serif;
  
  /* Sizes */
  --header-height: 80px;
  
  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-normal: 0.5s ease;
  --transition-slow: 0.8s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
  
  /* Border radius */
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;
}

/* === GLOBAL STYLES === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--body-font);
  color: var(--gray-dark);
  line-height: 1.6;
  background-color: var(--white);
  padding-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  position: relative;
  padding: 4rem 0;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* === UTILITY CLASSES === */
.text-center {
  text-align: center;
}

.min-vh-80 {
  min-height: 80vh;
}

/* === BUTTONS === */
.btn, button, input[type='submit'] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  text-align: center;
  border-radius: var(--radius);
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  font-family: var(--heading-font);
}

.btn:hover, button:hover, input[type='submit']:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn:active, button:active, input[type='submit']:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

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

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

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

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

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

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

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

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}

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

/* === HEADER & NAVBAR === */
#header {
  background-color: var(--white);
  box-shadow: var(--shadow);
  z-index: 1000;
  transition: all var(--transition-fast);
}

.navbar {
  padding: 0.5rem 1rem;
  height: var(--header-height);
}

.navbar-brand {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.navbar-brand:hover {
  color: var(--primary-dark);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--gray-dark);
  padding: 0.5rem 1rem;
  transition: color var(--transition-fast);
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* === HERO SECTION === */
.hero-section {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(74, 111, 227, 0.8), rgba(227, 74, 127, 0.8));
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

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

.hero-section p {
  font-size: 1.2rem;
}

.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* === CARDS === */
.card {
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.card-image img {
  object-fit: cover;
  width: 100%;
  transition: transform var(--transition-normal);
}

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

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-text {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  background-color: transparent;
}

/* === NEWS SECTION === */
#news {
  background-color: var(--white);
}

.progress {
  height: 8px;
  border-radius: var(--radius-sm);
}

.progress-bar {
  background-color: var(--primary-color);
  border-radius: var(--radius-sm);
}

/* === HISTORY SECTION === */
#history {
  background-color: var(--light);
}

.image-container {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-container img {
  width: 100%;
  transition: transform var(--transition-normal);
}

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

.accordion-item {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  border: 1px solid rgba(0,0,0,0.1);
}

.accordion-button {
  font-family: var(--heading-font);
  font-weight: 500;
  background-color: var(--white);
  color: var(--gray-dark);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-light);
  color: var(--white);
  box-shadow: none;
}

.accordion-body {
  padding: 1.5rem;
  background-color: var(--white);
}

/* === EVENTS SECTION === */
#events {
  background-color: var(--white);
}

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

/* === PARTNERS SECTION === */
#partners {
  background-color: var(--light);
}

.partner-logo {
  max-height: 80px;
  width: auto;
  margin: 0 auto;
  transition: transform var(--transition-normal);
}

.card:hover .partner-logo {
  transform: scale(1.1);
}

/* === RESOURCES SECTION === */
#resources {
  background-color: var(--white);
}

.list-group-item {
  padding: 1rem 1.5rem;
  transition: background-color var(--transition-fast);
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.list-group-item:last-child {
  border-bottom: none;
}

.list-group-item a {
  color: var(--primary-color);
  font-weight: 500;
}

.list-group-item:hover {
  background-color: rgba(74, 111, 227, 0.05);
}

/* === TEAM SECTION === */
#team {
  background-color: var(--light);
}

/* === COMMUNITY SECTION === */
#community {
  background-color: var(--white);
}

/* === CONTACT SECTION === */
#contact {
  background-color: var(--light);
}

.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(0,0,0,0.1);
  transition: border-color var(--transition-fast);
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(74, 111, 227, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* === FOOTER === */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

footer a {
  color: var(--light);
  transition: color var(--transition-fast);
}

footer a:hover {
  color: var(--primary-light);
}

footer address {
  font-style: normal;
}

.social-links a {
  font-weight: 500;
  transition: color var(--transition-fast);
  display: inline-block;
  margin-right: 1rem;
}

.social-links a:hover {
  color: var(--primary-light);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s var(--transition-normal) forwards;
}

/* === STATIC PAGES === */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .navbar {
    padding: 0.5rem;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .hero-section p {
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.75rem;
  }
  
  .btn {
    padding: 0.5rem 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  section {
    padding: 2.5rem 0;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.5rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
  
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  section {
    padding: 2rem 0;
  }
}


.navbar-collapse.collapse.show{
  background-color: #fff;
}