/* Grid layouts */
.grid-3 {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(2, 1fr);
}

.logos-grid,
.services-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(3, 1fr);
}

/* Hero section */
.hero {
  padding: 48px 0;
  background: linear-gradient(180deg, #f6f7ff, var(--bg));
}

/* Note component */
.note {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

/* Icon component */
.icon-48 {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--brand, #6d28d9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.icon-48 svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.icon-48 i {
  font-size: 24px;
  color: #fff;
}

/* Service cards */
.service-cards {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.2);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 50%, #c084fc 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.service-icon i {
  font-size: 28px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
}

.service-card h3 {
  color: #1f2937;
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.service-card:hover h3 {
  color: #7c3aed;
}

.service-card p {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 400;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
  position: relative;
  overflow: hidden;
}

.service-card a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.service-card a:hover::before {
  left: 100%;
}

.service-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
  background: linear-gradient(135deg, #8b5cf6 0%, #c084fc 100%);
}

/* Statistics section */
.statistics {
  padding: 80px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.statistics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%237c3aed" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23a855f7" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23c084fc" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #a855f7, #c084fc);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(124, 58, 237, 0.15);
  border-color: rgba(124, 58, 237, 0.2);
}

.stat-icon {
  font-size: 48px;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.stat-number {
  font-size: 48px;
  font-weight: 800;
  color: #7c3aed;
  line-height: 1;
  margin-bottom: 4px;
  display: inline-block;
}

.stat-suffix {
  font-size: 24px;
  font-weight: 700;
  color: #a855f7;
  display: inline-block;
  margin-left: 4px;
}

.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
  margin-top: 8px;
}

/* Achievements section */
.achievements {
  padding: 80px 16px;
  background: #ffffff;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.achievement-card {
  background: linear-gradient(145deg, #ffffff 0%, #fafafa 100%);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  position: relative;
  overflow: hidden;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #fcd34d);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.achievement-card:hover::before {
  transform: scaleX(1);
}

.achievement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.2);
}

.achievement-icon {
  font-size: 48px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.achievement-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.achievement-card:hover h3 {
  color: #f59e0b;
}

.achievement-card p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  font-weight: 400;
}

/* Logos section */
.logos {
  padding: 40px 16px;
  background: var(--bg-soft);
}

.logos h2 {
  text-align: center;
  margin-bottom: 8px;
  font-size: 32px;
  color: var(--ink);
}

.logos p {
  text-align: center;
  margin: 0 auto 24px;
  max-width: 800px;
  color: var(--muted);
  font-size: 16px;
}

.logo-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(140px, 1fr));
  gap: 16px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.logo-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.logo-item img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* Service pages */
.page-hero {
  padding: 80px 0 40px;
  background: var(--bg-soft);
}

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

.service-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--ink);
}

.service-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.service-features {
  padding: 60px 0;
}

.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 28px;
  color: #fff;
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--ink);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.service-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* Breadcrumbs */
.breadcrumbs {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Admin panel */
.admin-panel {
  padding: 80px 16px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
  overflow: hidden;
}

.admin-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="admin-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%237c3aed" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23a855f7" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="%23c084fc" opacity="0.01"/></pattern></defs><rect width="100" height="100" fill="url(%23admin-grain)"/></svg>');
  pointer-events: none;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.admin-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.08);
  position: relative;
  overflow: hidden;
}

.admin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #10b981, #34d399, #6ee7b7);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.admin-card:hover::before {
  transform: scaleX(1);
}

.admin-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.2);
}

.admin-icon {
  font-size: 48px;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.admin-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.admin-card:hover h3 {
  color: #10b981;
}

.admin-card p {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 20px;
}

.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 24px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  position: relative;
  overflow: hidden;
}

.admin-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.admin-btn:hover::before {
  left: 100%;
}

.admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

/* Section spacing */
.section {
  padding: 64px 0;
}

/* Form styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 16px;
  min-height: 44px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
}

/* Contact info */
.contact-info {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.contact-item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.contact-item h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--ink);
}

.contact-item p {
  color: var(--muted);
  margin: 0;
}

/* Team grid */
.team-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
  max-width: var(--max-w);
  margin: 0 auto;
}

.team-member {
  text-align: center;
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-fit: cover;
}

.team-member h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--ink);
}

.team-member p {
  color: var(--muted);
  margin: 0;
}



/* Footer */
.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: #e2e8f0;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23fbbf24" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="%23f59e0b" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="%23d97706" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-grain)"/></svg>');
  pointer-events: none;
}

.footer-content {
  display: grid;
  gap: 40px;
  grid-template-columns: 2fr 1fr 1fr;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.footer-brand h4 {
  font-size: 24px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.footer-brand p {
  color: #cbd5e1;
  line-height: 1.7;
  font-size: 15px;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 12px;
  color: #fbbf24;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(251, 191, 36, 0.2);
  border-color: rgba(251, 191, 36, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(251, 191, 36, 0.2);
}

.social-link i {
  font-size: 18px;
}

.footer-section h4 {
  font-size: 18px;
  font-weight: 600;
  color: #fbbf24;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  position: relative;
  padding-left: 0;
}

.footer-section a::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  transition: width 0.3s ease;
}

.footer-section a:hover {
  color: #fbbf24;
  padding-left: 8px;
}

.footer-section a:hover::before {
  width: 100%;
}

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

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #cbd5e1;
  font-size: 14px;
}

.contact-item i {
  color: #fbbf24;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.footer-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 40px;
  padding: 32px 0;
  border-top: 1px solid rgba(251, 191, 36, 0.1);
  border-bottom: 1px solid rgba(251, 191, 36, 0.1);
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(251, 191, 36, 0.1);
  padding-top: 24px;
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: #94a3b8;
  font-size: 14px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #fbbf24;
}

/* Member description styles */
.member-description {
  margin-top: 20px;
  text-align: left;
}

.member-description p {
  margin: 0 0 12px 0;
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  text-align: left;
}

.member-description p:last-child {
  margin-bottom: 0;
}
