/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary-color: #1e3a8a;
  --secondary-color: #f97316;
  --accent-color: #fbbf24;
  --text-color: #374151;
  --text-light: #6b7280;
  --white-color: #ffffff;
  --light-gray: #f3f4f6;
  --dark-gray: #1f2937;
  --success-color: #10b981;
  --error-color: #ef4444;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), #3b82f6);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #fb923c);
  --gradient-hero: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(249, 115, 22, 0.8));
  
  /* Typography */
  --font-bengali: 'Noto Sans Bengali', sans-serif;
  --font-english: 'Inter', sans-serif;
  
  /* Font Sizes */
  --h1-font-size: 2rem;
  --h2-font-size: 1.5rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  
  /* Font Weights */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  
  /* Spacing */
  --header-height: 4rem;
  --section-padding: 4rem 0;
  --container-margin: 0 1rem;
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition: all 0.3s ease;
  --transition-fast: all 0.2s ease;
  --transition-slow: all 0.5s ease;
  
  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
  --z-modal: 1000;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media screen and (min-width: 768px) {
  :root {
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1.1rem;
  }
}

@media screen and (min-width: 1024px) {
  :root {
    --h1-font-size: 3rem;
    --h2-font-size: 2.5rem;
    --h3-font-size: 1.75rem;
    --normal-font-size: 1.125rem;
    --section-padding: 6rem 0;
    --container-margin: 0 2rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-bengali);
  font-size: var(--normal-font-size);
  font-weight: var(--font-regular);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white-color);
}

h1, h2, h3, h4 {
  color: var(--text-color);
  font-weight: var(--font-semibold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

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

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

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media screen and (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: var(--section-padding);
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__title {
  font-size: var(--h2-font-size);
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section__subtitle {
  font-size: var(--normal-font-size);
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: var(--normal-font-size);
  font-weight: var(--font-medium);
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

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

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn:active {
  transform: translateY(0);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-fixed);
  transition: var(--transition);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-semibold);
  color: var(--primary-color);
}

.nav__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav__logo-text {
  font-size: 1.1rem;
}

.nav__menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  background: var(--white-color);
  padding: 4rem 0 3rem;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.nav__menu.show-menu {
  top: var(--header-height);
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-weight: var(--font-medium);
  color: var(--text-color);
  transition: var(--transition);
  position: relative;
}

.nav__link:hover,
.nav__link.active-link {
  color: var(--primary-color);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

.nav__toggle {
  font-size: 1.25rem;
  color: var(--text-color);
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
  height: 100vh;
  background: var(--gradient-hero), url('../images/hero_background.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__content {
  text-align: center;
  color: var(--white-color);
  max-width: 800px;
  margin: 0 auto;
}

.hero__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(254, 254, 254, 0.3);
}

.hero__title {
  color: var(--accent-color);
}


.hero__subtitle {
  font-size: 1.25rem;
  font-weight: var(--font-medium);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero__description {
  font-size: var(--normal-font-size);
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.8;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.hero__scroll-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--white-color);
  font-size: var(--small-font-size);
  transition: var(--transition);
  animation: bounce 2s infinite;
}

.hero__scroll-link:hover {
  transform: translateX(-50%) translateY(-5px);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* ===== ABOUT SECTION ===== */
.about {
  background: var(--light-gray);
}

.about__container {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about__content {
  text-align: center;
}

.about__title {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.about__description {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  font-size: 2rem;
  font-weight: var(--font-bold);
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.about__stat-text {
  font-size: var(--small-font-size);
  color: var(--text-light);
}

.about__features {
  display: grid;
  gap: 1.5rem;
}

.about__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  text-align: left;
}

.about__feature-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-top: 0.25rem;
}

.about__feature-title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semibold);
  margin-bottom: 0.5rem;
}

.about__feature-text {
  font-size: var(--small-font-size);
  color: var(--text-light);
}

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

.about__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

.about__img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--gradient-primary);
  color: var(--white-color);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: var(--transition);
}

.about__image:hover .about__img {
  transform: scale(1.05);
}

.about__image:hover .about__img-overlay {
  transform: translateY(0);
}

/* ===== COURSES SECTION ===== */
.courses__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.course__card {
  background: var(--white-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

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

.course__image {
  position: relative;
  overflow: hidden;
}

.course__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.course__card:hover .course__img {
  transform: scale(1.1);
}

.course__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--secondary-color);
  color: var(--white-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: var(--smaller-font-size);
  font-weight: var(--font-medium);
}

.course__badge--advanced {
  background: var(--primary-color);
}

.course__content {
  padding: 1.5rem;
}

.course__title {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.course__description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.course__details {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.course__detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--text-light);
}

.course__detail i {
  color: var(--secondary-color);
}

.course__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

.course__price-amount {
  font-size: 1.25rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
}

.course__price-period {
  font-size: var(--small-font-size);
  color: var(--text-light);
}

.course__btn {
  padding: 0.5rem 1rem;
  font-size: var(--small-font-size);
}

/* ===== GALLERY SECTION ===== */
.gallery {
  background: var(--light-gray);
}

.gallery__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.gallery__filter {
  padding: 0.5rem 1rem;
  background: var(--white-color);
  color: var(--text-color);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  cursor: pointer;
  transition: var(--transition);
}

.gallery__filter:hover,
.gallery__filter.active {
  background: var(--primary-color);
  color: var(--white-color);
  border-color: var(--primary-color);
}

.gallery__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery__item {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
}

.gallery__item:hover {
  transform: translateY(-5px);
}

.gallery__img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.gallery__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(30, 58, 138, 0.9);
  color: var(--white-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
  opacity: 0;
  transition: var(--transition);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

.gallery__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semibold);
  margin-bottom: 0.5rem;
}

.gallery__description {
  font-size: var(--small-font-size);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.gallery__btn {
  background: var(--secondary-color);
  color: var(--white-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
}

.gallery__btn:hover {
  background: var(--accent-color);
  transform: scale(1.1);
}

/* ===== STUDENT WORKS SECTION ===== */
.student-works__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.student-work__card {
  background: var(--white-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.student-work__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.student-work__image {
  position: relative;
  overflow: hidden;
}

.student-work__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.student-work__card:hover .student-work__img {
  transform: scale(1.05);
}

.student-work__content {
  padding: 1.5rem;
}

.student-work__name {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.student-work__course {
  font-size: var(--small-font-size);
  color: var(--secondary-color);
  font-weight: var(--font-medium);
  margin-bottom: 0.5rem;
}

.student-work__achievement {
  font-size: var(--small-font-size);
  color: var(--accent-color);
  font-weight: var(--font-semibold);
  margin-bottom: 1rem;
}

.student-work__description {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.student-work__rating {
  display: flex;
  gap: 0.25rem;
  color: var(--accent-color);
}

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

.contact__container {
  display: grid;
  gap: 3rem;
}

.contact__info-title,
.contact__form-title {
  font-size: var(--h3-font-size);
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact__info-icon {
  font-size: 1.25rem;
  color: var(--secondary-color);
  margin-top: 0.25rem;
}

.contact__info-item h4 {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semibold);
  margin-bottom: 0.5rem;
}

.contact__info-item p {
  color: var(--text-light);
  font-size: var(--small-font-size);
}

.contact__social h4 {
  margin-bottom: 1rem;
}

.contact__social-links {
  display: flex;
  gap: 1rem;
}

.contact__social-link {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact__social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.contact__form-container {
  background: var(--white-color);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
}

.contact__form {
  display: grid;
  gap: 1.5rem;
}

.contact__form-group {
  display: grid;
  gap: 0.5rem;
}

.contact__form-label {
  font-weight: var(--font-medium);
  color: var(--text-color);
}

.contact__form-input,
.contact__form-select,
.contact__form-textarea {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: var(--normal-font-size);
  transition: var(--transition);
}

.contact__form-input:focus,
.contact__form-select:focus,
.contact__form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

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

.contact__form-error {
  color: var(--error-color);
  font-size: var(--small-font-size);
  display: none;
}

.contact__form-btn {
  justify-self: start;
  min-width: 150px;
}

.contact__form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--border-radius);
  display: none;
}

.contact__form-message.success {
  background: #d1fae5;
  color: var(--success-color);
  border: 1px solid #a7f3d0;
}

.contact__form-message.error {
  background: #fee2e2;
  color: var(--error-color);
  border: 1px solid #fecaca;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-gray);
  color: var(--white-color);
  padding: 3rem 0 1rem;
}

.footer__container {
  display: grid;
  gap: 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer__logo-text {
  font-size: 1.1rem;
  font-weight: var(--font-semibold);
}

.footer__description {
  color: #d1d5db;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer__title {
  font-size: var(--normal-font-size);
  font-weight: var(--font-semibold);
  margin-bottom: 1rem;
}

.footer__links {
  display: grid;
  gap: 0.5rem;
}

.footer__link {
  color: #d1d5db;
  font-size: var(--small-font-size);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--secondary-color);
}

.footer__contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  font-size: var(--small-font-size);
  margin-bottom: 0.5rem;
}

.footer__contact i {
  color: var(--secondary-color);
}

.footer__social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer__social-link {
  width: 35px;
  height: 35px;
  background: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer__social-link:hover {
  background: var(--secondary-color);
}

.footer__bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
}

.footer__copyright {
  color: #9ca3af;
  font-size: var(--small-font-size);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--primary-color);
  color: var(--white-color);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-tooltip);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  z-index: var(--z-modal);
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal__content {
  position: relative;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 800px;
  top: 50%;
  transform: translateY(-50%);
  animation: slideIn 0.3s ease;
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: var(--white-color);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1;
}

.modal__close:hover {
  color: var(--secondary-color);
}

.modal__image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.modal__caption {
  text-align: center;
  color: var(--white-color);
  padding: 1rem;
  font-size: var(--normal-font-size);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50%) scale(0.8); }
  to { transform: translateY(-50%) scale(1); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (min-width: 768px) {
  .nav__menu {
    position: static;
    width: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
  }
  
  .nav__list {
    flex-direction: row;
    gap: 2rem;
  }
  
  .nav__close,
  .nav__toggle {
    display: none;
  }
  
  .hero__buttons {
    gap: 2rem;
  }
  
  .about__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .about__content {
    text-align: left;
  }
  
  .about__features {
    grid-template-columns: 1fr;
  }
  
  .contact__container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
  
  .gallery__container {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media screen and (min-width: 1024px) {
  .courses__container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  
  .gallery__container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .student-works__container {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

/* ===== ANIMATIONS ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: var(--transition-slow);
}

.slide-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: var(--transition-slow);
}

.slide-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition-slow);
}

.scale-in.show {
  opacity: 1;
  transform: scale(1);
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.hidden { display: none; }
.visible { display: block; }

/* ===== PRINT STYLES ===== */
@media print {
  .header,
  .nav__toggle,
  .scroll-top,
  .modal {
    display: none !important;
  }
  
  .hero {
    height: auto;
    background: none;
    color: var(--text-color);
  }
  
  .section {
    page-break-inside: avoid;
  }
}

/* Show toggle and close on mobile */
@media screen and (max-width: 767px) {
  .nav__toggle {
    display: block;
  }
  .nav__close {
    display: block;
  }
  .nav__menu {
    display: none; /* Hide the menu by default on mobile */
  }
  .nav__menu.show-menu {
    display: block; /* Show the menu when 'show-menu' class is added */
  }
}

