:root {
  --primary: #2c5530;
  --primary-light: #4a7c59;
  --secondary: #f0eee9;
  --accent: #08f860;
  --accent-2: #38bdf8;
  --dark: #111827;
  --dark-light: #1f2937;
  --text: #f3f4f6;
  --text-muted: #d1d5db;
  --card-bg: rgba(30, 41, 59, 0.8);
  --card-border: rgba(55, 65, 81, 0.5);
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --radius: 16px;
  --transition: all 0.3s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  margin: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(20, 184, 166, 0.4);
  transition: var(--transition);
}

.logo:hover {
  transform: rotate(5deg) scale(1.1);
}

.brand h1 {
  font-size: 1.25rem;
  letter-spacing: .4px;
  margin: 0;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand small {
  display: block;
  color: var(--text-muted);
  font-size: .8rem;
  margin-top: .15rem;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .6rem;
}

.menu a {
  padding: .6rem 1rem;
  border-radius: 999px;
  line-height: 1.1;
  border: 1px solid transparent;
  font-size: .95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.menu a:hover::before {
  left: 100%;
}

.menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: var(--transition);
  transform: translateX(-50%);
}

.menu a:hover::after {
  width: 80%;
}

.menu a.active {
  border-color: var(--primary-light);
  background: rgba(30, 64, 175, 0.2);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 50px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(56, 189, 248, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin: .2rem 0 1rem;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero p {
  color: var(--text-muted);
  max-width: 60ch;
  font-size: 1.1rem;
  line-height: 1.6;
}

.badges {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.badge {
  font-size: .8rem;
  padding: .5rem .8rem;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.badge:hover {
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  transform: scale(1.05);
}

.cta {
  display: flex;
  gap: .75rem;
  margin-top: 1.5rem;
}

.btn {
  padding: .75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transform: translate(-50%,-50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.4);
}

.btn.primary {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #1e293b;
  border: none;
  font-weight: 600;
}

.btn.primary:hover {
  box-shadow: 0 10px 35px rgba(248, 181, 0, 0.5);
  transform: translateY(-3px) scale(1.02);
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.3);
}

.hero-image-container {
  position: relative;
}

.hero-card {
  overflow: hidden;
  position: relative;
}

.hero-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 1rem;
  color: white;
}

.overlay-text {
  font-size: 0.9rem;
  font-weight: 500;
}

/* Tabs Layout */
.tabs {
  margin: 40px 0 60px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.5rem;
}

.sidenav {
  position: sticky;
  top: 100px;
  align-self: start;
  padding: 1.5rem;
}

.sidenav .group {
  margin: 0 0 1rem;
}

.sidenav h3 {
  font-size: 1rem;
  margin: 0 0 .5rem;
  color: var(--secondary);
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 0.5rem;
}

.sidenav a {
  display: block;
  padding: .75rem 1rem;
  margin: .25rem 0;
  border-radius: 10px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
}

.sidenav a:hover {
  border-color: var(--primary-light);
  color: var(--text);
  transform: translateX(5px);
}

.sidenav a.current {
  background: rgba(30, 64, 175, 0.2);
  border-color: var(--primary-light);
  color: var(--text);
}

.panel {
  display: none;
  animation: fadeIn 0.5s ease;
}

.panel.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Content blocks */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.block {
  padding: 1.5rem;
}

.block h3 {
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: var(--text);
}

.block h4 {
  margin: 1rem 0 .5rem;
  font-size: 1.1rem;
  color: var(--text);
}

.block p {
  line-height: 1.65;
  margin-bottom: 1rem;
}

.block ul {
  line-height: 1.7;
  padding-left: 1.2rem;
}

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

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

/* About Section Enhancements */
.stats-section {
  margin-bottom: 3rem;
  padding: 3rem 0;
  background: linear-gradient(135deg, rgba(34,197,94,0.05) 0%, rgba(56,189,248,0.05) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(34,197,94,0.2);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-card {
  padding: 2rem 1.5rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

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

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

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
  animation: bounce 2s ease-in-out infinite;
  display: inline-block;
}

.stat-card:hover .stat-icon {
  animation: wiggle 0.5s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(34,197,94,0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

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

.about-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.about-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.mission-card, .vision-card, .values-card {
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mission-card:hover, .vision-card:hover, .values-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(34,197,94,0.2);
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #8b5cf6, #a855f7);
}

.values-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #f97316);
}

.icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--secondary);
  animation: bounce 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.card:hover .icon {
  animation: wiggle 0.5s ease;
}

.leadership-section {
  margin: 3rem 0;
}

.section-title {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 2px;
}

.leadership-card {
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  height: 100%;
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(4, 26, 231, 0.2);
}

.leadership-content {
  flex: 1;
}

.leadership-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.leadership-content p {
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.signature {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
}

.achievements-section {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(34,197,94,0.05) 0%, rgba(56,189,248,0.05) 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(34,197,94,0.2);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.achievement-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--card-border);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.achievement-item:hover .achievement-icon {
  animation: pulse 0.6s ease;
}

.achievement-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(34,197,94,0.2);
}

.achievement-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
  color: var(--secondary);
}

.achievement-item h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.achievement-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Facilities */
.facility-image {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
}

.facility-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Academics */
.subjects-grid {
  display: grid;
  gap: 1rem;
}

.subject-category {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 4px solid var(--secondary);
}

.subject-category h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.subject-category h4 i {
  color: var(--secondary);
}

/* Gallery */
.gallery-section {
  padding: 2rem 0;
}

.gallery-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.gallery-filter {
  padding: 0.5rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  font-weight: 500;
}

.gallery-filter.active,
.gallery-filter:hover {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #1e293b;
  border-color: transparent;
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  aspect-ratio: 4/3;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: white;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.gallery-overlay p {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.gallery-cta {
  text-align: center;
  margin-top: 2rem;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Tables & forms */
table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
}

th, td {
  padding: .75rem;
  border-bottom: 1px solid var(--card-border);
  text-align: left;
}

thead th {
  background: var(--dark-light);
}

tr:hover td {
  background: rgba(30, 64, 175, 0.1);
}

form {
  display: grid;
  gap: 1rem;
}

label {
  font-size: .9rem;
  color: var(--text);
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

input, select, textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-family: inherit;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(248, 181, 0, 0.2);
}

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

/* Ensure dropdown options are readable (fix white text on white menu) */
select option {
  color: #111827;
  background: #ffffff;
}

select option:checked,
select option:hover {
  color: #111827;
  background: #e5e7eb;
}

/* Footer */
footer {
  margin: 20px 0 0;
  padding: 0;
  border-top: 1px solid var(--card-border);
  color: var(--text);
  background: var(--dark);
}

.social-media-section {
  background: var(--dark-light);
  padding: 3rem 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 1rem;
  border-radius: 12px;
  min-width: 80px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.social-link:hover {
  transform: translateY(-5px);
  color: #fff;
}

.social-link.facebook:hover {
  background: #3b5998;
  border-color: #3b5998;
}

.social-link.instagram:hover {
  background: #e4405f;
  border-color: #e4405f;
}

.social-link.twitter:hover {
  background: #1da1f2;
  border-color: #1da1f2;
}

.social-link.youtube:hover {
  background: #cd201f;
  border-color: #cd201f;
}

.social-link.linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
}

.social-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.social-link span {
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 2rem 0;
}

.footer-grid > div > strong {
  display: block;
  margin-bottom: .75rem;
  font-size: 1rem;
  color: var(--text);
}

.footer-grid ul li {
  margin-bottom: .5rem;
}

.footer-grid a {
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--secondary);
}

.tiny {
  font-size: .8rem;
  color: var(--text-muted);
}

/* Back to Top button */
#toTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #1e293b;
  border: none;
  outline: none;
  padding: 15px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: var(--transition);
  display: none;
  z-index: 1000;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#toTop:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Floating Shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.shape-1 {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  top: 20%;
  right: 15%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  bottom: 25%;
  right: 25%;
  animation: float 5s ease-in-out infinite 1s;
  border-radius: 30%;
}

.shape-3 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  top: 50%;
  left: 15%;
  animation: float 7s ease-in-out infinite 0.5s;
  border-radius: 40%;
}

.shape-4 {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent-2), #0ea5e9);
  bottom: 15%;
  right: 10%;
  animation: float 5.5s ease-in-out infinite 1.5s;
}

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

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

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

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

@keyframes wiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}

.hero h2 {
  animation: fadeInUp 1s ease forwards 0.2s;
  opacity: 0;
}

.hero p {
  animation: fadeInUp 1s ease forwards 0.4s;
  opacity: 0;
}

.cta {
  animation: fadeInUp 1s ease forwards 0.6s;
  opacity: 0;
}

.badges {
  animation: fadeInUp 1s ease forwards 0.5s;
  opacity: 0;
}

.hero-card {
  animation: fadeInUp 1s ease forwards 0.3s;
  opacity: 0;
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(34,197,94,0.25);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .tabs {
    grid-template-columns: 1fr;
  }
  
  .sidenav {
    position: relative;
    top: 0;
  }
  
  .grid.cols-3 {
    grid-template-columns: 1fr 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-hero {
    grid-template-columns: 1fr;
  }
  
  .achievements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    flex-direction: column;
    padding: 0 1rem;
  }

  .menu.show {
    display: flex;
    max-height: 600px;
    padding: 1rem;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--card-border);
    font-size: 1rem;
    transition: background 0.2s ease;
    border-radius: 8px;
  }

  .menu a:last-child {
    border-bottom: none;
  }

  .menu a:hover {
    background: rgba(30, 64, 175, 0.2);
  }

  .menu-toggle {
    display: flex;
  }

  .brand h1 {
    font-size: 1rem;
  }
  
  .brand small {
    font-size: .7rem;
  }
  
  .logo {
    width: 40px;
    height: 40px;
  }
  
  .hero {
    padding: 60px 0 30px;
  }
  
  .hero h2 {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .badges {
    margin-top: .75rem;
  }
  
  .badge {
    font-size: .7rem;
    padding: .3rem .5rem;
  }
  
  .cta {
    margin-top: 1rem;
    gap: .5rem;
    flex-direction: column;
  }
  
  .btn {
    padding: .65rem .85rem;
    font-size: .9rem;
    width: 100%;
    justify-content: center;
  }
  
  .hero-card img {
    height: 200px;
  }
  
  .grid.cols-3, .grid.cols-2 {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .about-hero {
    padding: 1rem;
  }
  
  .about-content h3 {
    font-size: 1.4rem;
  }
  
  .section-title {
    font-size: 1.4rem;
  }
  
  .split {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .social-links {
    gap: 1rem;
  }
  
  .social-link {
    min-width: 70px;
    padding: 0.75rem;
  }
  
  .floating-shape {
    display: none;
  }
}