:root {
  --primary: #4a6bff;
  --primary-dark: #3a56cc;
  --accent: #ff6b6b;
  --accent-dark: #e05a5a;
  --text: #333;
  --text-light: #666;
  --bg: #f8f9fa;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-attachment: fixed;
  color: white;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

.liquid-shape {
  position: absolute;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: rgba(255, 255, 255, 0.1);
  animation: morph 15s linear infinite;
  z-index: -1;
}

.liquid-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 5%;
}

.liquid-2 {
  width: 500px;
  height: 500px;
  bottom: 5%;
  right: 5%;
  animation-delay: -5s;
}

.liquid-3 {
  width: 200px;
  height: 200px;
  top: 60%;
  left: 30%;
  animation-delay: -10s;
}

@keyframes morph {
  0%,
  100% {
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
  }
  34% {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
  67% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
  }
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px 0 var(--glass-shadow);
  border-radius: 10px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: background 0.3s ease;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
}

.logo i {
  margin-right: 10px;
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.nav-menu a i {
  margin-right: 8px;
  font-size: 1.1rem;
}

.nav-menu a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover:after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
}

.liqbtn {
  display: inline-block;
  padding: 12px 30px;
  /* background: var(--primary); */
  color: white;
  text-decoration: none;
  /* border-radius: 50px; */
  font-weight: 600;
  transition: all 0.3s ease;
  /* border: 2px solid transparent; */
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.liqbtn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-accent {
  background: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

.instagram-btn {
  display: inline-block;
  margin: 40px 0;
  padding: 12px 25px;
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.instagram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
  }
}

section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 3px;
  background: var(--accent);
  bottom: -10px;
  left: 25%;
  border-radius: 2px;
}

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-btns .btn .liqbtn {
  margin-right: 15px;
  margin-bottom: 15px;
}

#about {
  padding: 100px 0;
}

.about-content {
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  font-size: 1.1rem;
  line-height: 1.8;
}

.table-responsive {
  overflow-x: auto;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 20px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.timetable {
  width: 100%;
  border-collapse: collapse;
  color: white;
}

.timetable th,
.timetable td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.timetable th {
  background: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.timetable tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
}

.staff-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.5rem;
}

.staff-card h3 {
  text-align: center;
  margin-bottom: 10px;
}

.staff-title,
.staff-subjects {
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
  color: white;
}

.staff-info {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
}

.staff-info i {
  margin-right: 10px;
  color: var(--accent);
}

.staff-card p {
  margin-top: 15px;
  text-align: center;
  font-style: italic;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.2rem;
  color: var(--accent);
}

.contact-form {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.error {
  color: var(--accent);
  font-size: 0.9rem;
  margin-top: 5px;
  display: none;
}

footer {
  padding: 60px 0 30px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

.social-links a:hover {
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-links h4 {
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--accent);
  bottom: 0;
  left: 0;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
}

.toast {
  position: fixed;
  top: 100px;
  right: 20px;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.toast.visible {
  transform: translateX(0);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.program-card {
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  transition: all 0.3s ease;
  text-align: center;
}

.program-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.program-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.feedback-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.feedback {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial {
  min-width: 100%;
  padding: 30px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  text-align: center;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.testimonial-nav button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonial-nav button.active {
  background: var(--accent);
  transform: scale(1.2);
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.041);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 300px;
    height: calc(100vh - 80px);
    padding: 40px;
    transition: right 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .hamburger {
    display: block;
  }

  .liquid-1,
  .liquid-2,
  .liquid-3 {
    display: none;
  }

   .liqbtn {
    display: block;
    margin-right: 0;
    padding: 10px 20px;
    margin-bottom: 15px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .staff-grid,
  .contact-container,
  .footer-container {
    grid-template-columns: 1fr;
  }

  .hero-btns .btn .liqbtn {
    display: block;
    margin-right: 0;
    padding: 10px 20px;
    margin-bottom: 10px;
    text-align: center;
  }

  .timetable {
    display: block;
    width: 100%;
  }

  .timetable thead {
    display: none;
  }

  .timetable tbody,
  .timetable tr,
  .timetable td {
    display: block;
    width: 100%;
  }

  .timetable tr {
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .timetable td {
    text-align: right;
    padding: 10px 15px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .timetable td:last-child {
    border-bottom: none;
  }

  .timetable td::before {
    content: attr(data-label);
    position: absolute;
    left: 15px;
    font-weight: 600;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 25px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .btn .liqbtn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .nav-menu {
    width: 100%;
  }
}
