/* CSS Variables - Pastel Color Scheme with Corporate Design */
:root {
  /* Primary Colors - Pastel Corporate */
  --primary-color: #8B7FD4;
  --primary-dark: #6B5FAE;
  --primary-light: #B3A8E8;
  --secondary-color: #F7C8E0;
  --secondary-dark: #E8A5C8;
  --secondary-light: #FDE4F0;
  
  /* Accent Colors */
  --accent-color: #A8E6CF;
  --accent-dark: #88D4AB;
  --accent-light: #C8F2E3;
  --warning-color: #FFD3A5;
  --warning-dark: #FFB366;
  --warning-light: #FFEBDC;
  
  /* Neutral Colors */
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #E9ECEF;
  --dark-gray: #6C757D;
  --darker-gray: #495057;
  --text-color: #343A40;
  --text-light: #6C757D;
  
  /* Gradients */
  --primary-gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --secondary-gradient: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --accent-gradient: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  --overlay-gradient: linear-gradient(rgba(139, 127, 212, 0.8), rgba(179, 168, 232, 0.6));
  --dark-overlay: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  
  /* Typography */
  --font-primary: 'Playfair Display', serif;
  --font-secondary: 'Source Sans Pro', sans-serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --card-padding: 30px;
  --element-gap: 20px;
  
  /* Shadows & Effects */
  --soft-shadow: 0 8px 32px rgba(139, 127, 212, 0.1);
  --card-shadow: 0 12px 40px rgba(139, 127, 212, 0.15);
  --hover-shadow: 0 16px 48px rgba(139, 127, 212, 0.2);
  --glassmorphism: backdrop-filter: blur(10px);
  
  /* Border Radius */
  --border-radius: 12px;
  --border-radius-large: 20px;
  --border-radius-small: 8px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* Base Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text-color);
  line-height: 1.6;
  font-size: 16px;
  background-color: var(--white);
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-color);
}

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

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

/* Global Button Styles */
.btn, button, input[type='submit'] {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  background-size: 200% 200%;
  animation: shimmer 3s ease-in-out infinite;
}

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

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
  background-position: 100% 100%;
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: var(--soft-shadow);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

/* Animations */
@keyframes shimmer {
  0%, 100% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(139, 127, 212, 0.1);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo h1 {
  font-size: 1.8rem;
  margin: 0;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo span {
  font-size: 0.9rem;
  color: var(--text-light);
  display: block;
  margin-top: -5px;
}

.navigation {
  position: relative;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-menu a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a:focus::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary-gradient);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.8);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-gradient);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  animation: fadeInUp 1s ease-out;
}

.hero-text {
  color: var(--white);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-features {
  display: grid;
  gap: 25px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
}

.feature-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Section Styles */
section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease-out;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Mission Section */
.mission-section {
  background: linear-gradient(135deg, var(--light-gray), var(--white));
  position: relative;
}

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.mission-text {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.mission-block h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.mission-visual {
  position: relative;
}

.mission-visual img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--border-radius-large);
  box-shadow: var(--card-shadow);
}

.stats-grid {
  position: absolute;
  bottom: -20px;
  left: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--soft-shadow);
  transition: all var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--hover-shadow);
}

.stat-number {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Resources Section */
.resources-section {
  background: var(--white);
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.resource-card {
  background: var(--white);
  border-radius: var(--border-radius-large);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  text-align: center;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-slow);
  margin: 0 auto;
}

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

.card-content {
  padding: var(--card-padding);
  text-align: center;
  flex: 1;
}

.card-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.progress-indicator {
  margin-top: 20px;
  text-align: center;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--medium-gray);
  border-radius: 3px;
  margin-bottom: 10px;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--accent-gradient);
  width: var(--progress, 0%);
  transition: width 1s ease-out;
  border-radius: 3px;
}

.progress-text {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

.resources-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.feature-block h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Custom Slider */
.custom-slider {
  position: relative;
  background: var(--light-gray);
  border-radius: var(--border-radius-large);
  padding: 40px;
  box-shadow: var(--soft-shadow);
}

.slider-container {
  position: relative;
  height: 120px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all var(--transition-slow);
  text-align: center;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
}

.slide h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
}

.slider-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all var(--transition-normal);
}

.slider-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--medium-gray);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* External Links Section */
.external-links-section {
  background: linear-gradient(135deg, var(--accent-light), var(--white));
  padding: var(--section-padding);
}

.external-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.link-card {
  background: var(--white);
  padding: var(--card-padding);
  border-radius: var(--border-radius-large);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  text-align: center;
}

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

.link-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.external-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 25px;
}

.external-link {
  padding: 12px 20px;
  background: var(--light-gray);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: var(--border-radius);
  transition: all var(--transition-normal);
  font-weight: 500;
}

.external-link:hover {
  background: var(--primary-color);
  color: var(--white);
  transform: translateX(5px);
}

/* Projects Section */
.projects-section {
  background: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.project-card {
  background: var(--white);
  border-radius: var(--border-radius-large);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.project-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid var(--medium-gray);
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent-color);
  color: var(--white);
}

.participants-count {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Toggle/Accordion */
.projects-toggle {
  margin-top: 60px;
  background: var(--light-gray);
  border-radius: var(--border-radius-large);
  padding: 40px;
}

.projects-toggle h3 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.toggle-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.toggle-item {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background: var(--white);
  transition: all var(--transition-normal);
}

.toggle-header:hover {
  background: var(--light-gray);
}

.toggle-header h4 {
  margin: 0;
  color: var(--primary-color);
}

.toggle-btn {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.toggle-btn:hover {
  background: var(--primary-dark);
  transform: rotate(90deg);
}

.toggle-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  background: var(--light-gray);
}

.toggle-item.active .toggle-content {
  max-height: 200px;
  padding: 20px 25px;
}

/* Portfolio Section */
.portfolio-section {
  background: linear-gradient(135deg, var(--light-gray), var(--white));
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 24px;
  background: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--soft-shadow);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.portfolio-item {
  background: var(--white);
  border-radius: var(--border-radius-large);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all var(--transition-normal);
  opacity: 1;
  transform: scale(1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portfolio-item:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--hover-shadow);
}

.portfolio-item.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.portfolio-content {
  padding: var(--card-padding);
  text-align: center;
}

.portfolio-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.portfolio-tags {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.tag {
  padding: 6px 12px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Team Section */
.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.team-member {
  background: var(--white);
  border-radius: var(--border-radius-large);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: all var(--transition-normal);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.team-member .card-image {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.team-member .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-slow);
}

.team-member:hover .card-image img {
  transform: scale(1.1);
}

.member-info {
  padding: var(--card-padding);
  text-align: center;
}

.member-info h3 {
  color: var(--primary-color);
  margin-bottom: 5px;
}

.member-role {
  color: var(--text-light);
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.member-description {
  margin-bottom: 20px;
  color: var(--text-color);
}

.member-expertise {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.expertise-tag {
  padding: 6px 12px;
  background: var(--secondary-color);
  color: var(--text-color);
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.team-approach {
  background: var(--light-gray);
  border-radius: var(--border-radius-large);
  padding: 50px;
  text-align: center;
}

.team-approach h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
}

.approach-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat-card {
  text-align: center;
  padding: 25px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--soft-shadow);
  transition: all var(--transition-normal);
}

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

.stat-card .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-primary);
  margin-bottom: 10px;
}

.stat-card .stat-label {
  font-size: 1rem;
  color: var(--text-color);
  font-weight: 500;
}

/* Gallery Section */
.gallery-section {
  background: linear-gradient(135deg, var(--light-gray), var(--white));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-large);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-normal);
  height: 300px;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: var(--hover-shadow);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-block h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.detail-item h4 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.detail-item p {
  color: var(--text-color);
  line-height: 1.6;
}

.contact-form-container {
  background: var(--light-gray);
  padding: 40px;
  border-radius: var(--border-radius-large);
  box-shadow: var(--card-shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--medium-gray);
  border-radius: var(--border-radius);
  font-family: var(--font-secondary);
  font-size: 16px;
  transition: all var(--transition-normal);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(139, 127, 212, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--darker-gray), var(--text-color));
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
  color: var(--white);
  margin-bottom: 20px;
}

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

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-normal);
  position: relative;
  padding: 8px 0;
}

.social-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

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

.social-links a:hover::after {
  width: 100%;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  padding: 5px 0;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

/* Success Page Styles */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-gradient);
  text-align: center;
  padding: 100px 20px 50px;
}

.success-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 60px;
  border-radius: var(--border-radius-large);
  box-shadow: var(--card-shadow);
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out;
}

.success-content h1 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.success-content p {
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Privacy & Terms Pages */
.privacy-page,
.terms-page {
  padding-top: 100px;
  min-height: 100vh;
}

.privacy-content,
.terms-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.privacy-content h1,
.terms-content h1 {
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.privacy-content h2,
.terms-content h2 {
  color: var(--primary-color);
  margin-top: 40px;
  margin-bottom: 20px;
}

.privacy-content p,
.terms-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.privacy-content ul,
.terms-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.privacy-content li,
.terms-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --section-padding: 60px 0;
    --card-padding: 20px;
    --element-gap: 15px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 30px 0;
    gap: 20px;
    transform: translateY(-100vh);
    transition: all var(--transition-normal);
    box-shadow: var(--card-shadow);
  }
  
  .nav-menu.active {
    transform: translateY(0);
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .mission-content,
  .contact-content,
  .resources-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stats-grid {
    position: static;
    margin-top: 20px;
  }
  
  .resources-grid,
  .projects-grid,
  .portfolio-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .approach-stats {
    grid-template-columns: 1fr;
  }
  
  .portfolio-filters {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .team-approach,
  .contact-form-container {
    padding: 30px 25px;
  }
  
  .success-content {
    padding: 40px 30px;
    margin: 0 15px;
  }
  
  .external-links-grid {
    grid-template-columns: 1fr;
  }
  
  .link-card {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .slider-controls {
    flex-direction: column;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-tags,
  .member-expertise {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  button {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
    color: black;
    background: white;
  }
  
  h1, h2, h3 {
    color: black;
    page-break-after: avoid;
  }
  
  .section-header {
    page-break-after: avoid;
  }
  
  .card, .team-member, .project-card {
    page-break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000080;
    --text-color: #000000;
    --text-light: #333333;
    --medium-gray: #cccccc;
  }
  
  .btn-primary {
    background: #000080;
    color: #ffffff;
  }
  
  .btn-secondary {
    background: #ffffff;
    color: #000080;
    border: 2px solid #000080;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-background {
    transform: none !important;
  }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-0 { padding: 0; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }
.d-none { display: none; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }

.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.align-end { align-items: flex-end; }

.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}