@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  line-height: 1.6;
  transition: all 0.4s ease;
}

/* Dark/Study Theme */
body.dark-theme {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
  color: #e0e0e0;
}

/* ================== THEME TOGGLE ================== */
.theme-toggle-wrapper {
  position: fixed;
  top: 20px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: white;
  z-index: 2000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

body.dark-theme .theme-toggle-wrapper {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mode-label {
  font-size: 14px;
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

body.dark-theme .mode-label {
  color: #e0e0e0;
}

/* Calendar Icon Styles */
.calendar-icon {
  margin-right: 6px;
  font-size: 14px;
  color: white;
  transition: all 0.3s ease;
}

body.dark-theme .calendar-icon {
  color: #4CAF50;
}

/* Make calendar icon clickable */
.calendar-toggle {
  cursor: pointer;
  transition: all 0.3s ease;
}

.calendar-toggle:hover {
  opacity: 0.8;
}

.calendar-toggle:hover .calendar-icon {
  transform: scale(1.1);
}

.theme-toggle {
  width: 60px;
  height: 30px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  cursor: pointer;
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
}

body.dark-theme .theme-toggle {
  background: #2d5a27;
}

.toggle-circle {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.dark-theme .toggle-circle {
  transform: translateX(30px);
  background: #1a1a2e;
}

/* ================== CALENDAR CONTAINER ================== */
.calendar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.calendar-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  animation: overlayFadeIn 0.3s ease;
}

.calendar-content {
  position: relative;
  z-index: 3001;
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  max-height: 90%;
  overflow: auto;
  animation: scaleIn 0.3s ease;
}

body.dark-theme .calendar-content {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.dark-theme .calendar-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.calendar-header h3 {
  margin: 0;
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
}

body.dark-theme .calendar-header h3 {
  color: #e0e0e0;
}

.close-calendar {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-calendar:hover {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

body.dark-theme .close-calendar {
  color: #999;
}

body.dark-theme .close-calendar:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.calendar-content iframe {
  border-radius: 8px;
  border: none;
}

body.dark-theme .calendar-content iframe {
  filter: invert(0.9) hue-rotate(180deg);
}

/* Calendar Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================== HEADER/LOGO ================== */
h1:first-of-type {
  position: fixed;
  top: 1.5rem;
  left: 2rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  z-index: 1000;
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

body.dark-theme h1:first-of-type {
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================== MAIN CONTENT ================== */
.welcome-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 60px 40px 40px 40px;
  margin-top: 0;
  position: relative;
}

/* Welcome heading */
.welcome-container h1 {
  position: static;
  background: none;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
  transition: all 0.3s ease;
}

body.dark-theme .welcome-container h1 {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle styling */
.welcome-container p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  font-weight: 500;
  transition: all 0.3s ease;
}

body.dark-theme .welcome-container p {
  color: #e0e0e0;
}

/* Button container */
.button-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin-bottom: 3rem;
}

/* Class buttons */
.class-button {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 16px 24px;
  font-size: 1.1rem;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

body.dark-theme .class-button {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e0;
}

.class-button::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;
}

.class-button:hover::before {
  left: 100%;
}

.class-button:hover,
.class-button:focus {
  background: rgba(255, 255, 255, 0.95);
  color: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
  border-color: white;
  outline: none;
}

body.dark-theme .class-button:hover,
body.dark-theme .class-button:focus {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
  border-color: #4CAF50;
}

/* ================== BADGES SECTION ================== */
.badges-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 40px 0;
  padding: 20px;
}

.badges-section img {
  transition: transform 0.3s ease, filter 0.3s ease;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.badges-section img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

body.dark-theme .badges-section img {
  filter: brightness(0.8) contrast(1.2);
}

body.dark-theme .badges-section img:hover {
  filter: brightness(1) contrast(1.1);
}

/* ================== SECTIONS (NOTES & NCERT) ================== */
.content-section {
  margin: 80px 0;
  padding: 0 40px;
}

.content-section h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

body.dark-theme .content-section h2 {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.content-section p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  transition: all 0.3s ease;
}

body.dark-theme .content-section p {
  color: #e0e0e0;
}

/* Notes section styles */
.notes-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}

.notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  margin-top:20px;
}

.notes .button-container {
  display: contents;
}

/* ================== FAQ SECTION ================== */
#faq {
  max-width: 1200px;
  margin: 100px auto 60px auto;
  padding: 0 40px;
  text-align: center;
}

#faq h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

body.dark-theme #faq h2 {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq-item {
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-theme .faq-item {
  background: rgba(30, 30, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

body.dark-theme .faq-item:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

body.dark-theme .faq-question {
  color: #e0e0e0;
}

.faq-question::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.dark-theme .faq-question::before {
  background: linear-gradient(135deg, #2d5a27 0%, #1a4a3a 100%);
}

.faq-question:hover::before {
  opacity: 1;
}

.faq-question:hover {
  color: white;
}

.faq-question:hover span {
  color: white;
}

.faq-question span {
  font-size: 1.8rem;
  font-weight: 300;
  color: #667eea;
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
  margin-left: 1rem;
  position: relative;
  z-index: 1;
}

body.dark-theme .faq-question span {
  color: #4CAF50;
}

.faq-question.active span {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  background: rgba(248, 250, 255, 0.95);
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  backdrop-filter: blur(10px);
}

body.dark-theme .faq-answer {
  background: rgba(25, 25, 45, 0.9);
}

.faq-answer.active {
  padding: 24px;
  max-height: 500px;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.7;
  font-size: 1.1rem;
  font-weight: 400;
}

body.dark-theme .faq-answer p {
  color: #d0d0d0;
}

/* ================== FEATURES SECTION ================== */
.features-section {
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 40px;
  text-align: center;
}

.features-section h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

body.dark-theme .features-section h2 {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-section p {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  font-weight: 500;
  transition: all 0.3s ease;
}

body.dark-theme .features-section p {
  color: #e0e0e0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 3rem;
}

/* Feature Cards */
.feature-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

body.dark-theme .feature-card {
  background: rgba(30, 30, 46, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0.0, 0.2, 1);
  z-index: 1;
}

body.dark-theme .feature-card::before {
  background: linear-gradient(135deg, #2d5a27 0%, #1a4a3a 100%);
}

.feature-card:hover::before {
  left: 0;
  opacity: 1;
}

.feature-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

body.dark-theme .feature-card:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

/* Feature Card Content */
.feature-card > * {
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.feature-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: all 0.3s ease;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
  line-height: 1.3;
  transition: all 0.3s ease;
}

body.dark-theme .feature-card h3 {
  color: #4CAF50;
}

.feature-card p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
  font-weight: 400;
  transition: all 0.3s ease;
}

body.dark-theme .feature-card p {
  color: #b0b0b0;
}

/* Hover Effects */
.feature-card:hover h3,
.feature-card:hover p {
  color: white;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

/* ================== CHATBOT STYLES ================== */
#jee-chatbot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.chatbot-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-theme .chatbot-icon {
  background: linear-gradient(135deg, #2d5a27 0%, #1a4a3a 100%);
}

.chatbot-icon:hover {
  transform: scale(1.1);
}

.chatbot-window {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

body.dark-theme .chatbot-window {
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body.dark-theme .chatbot-header {
  background: linear-gradient(135deg, #2d5a27 0%, #1a4a3a 100%);
}

.chatbot-messages {
  height: 300px;
  overflow-y: auto;
  padding: 20px;
  background: #f8f9fa;
}

body.dark-theme .chatbot-messages {
  background: #0f0f23;
}

.chatbot-input {
  display: flex;
  padding: 15px;
  background: white;
  border-top: 1px solid #e9ecef;
}

body.dark-theme .chatbot-input {
  background: #1a1a2e;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chatbot-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #e9ecef;
  border-radius: 25px;
  outline: none;
  transition: all 0.3s ease;
}

body.dark-theme .chatbot-input input {
  background: #0f0f23;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e0e0e0;
}

.chatbot-input button {
  margin-left: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
}

body.dark-theme .chatbot-input button {
  background: linear-gradient(135deg, #2d5a27 0%, #1a4a3a 100%);
}

/* ================== RESPONSIVE DESIGN ================== */
@media (max-width: 768px) {
  .welcome-container {
    padding: 40px 20px;
    margin-top: 60px;
  }
  
  .button-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .class-button {
    padding: 14px 20px;
    font-size: 1rem;
  }
  
  .content-section {
    margin: 60px 0;
    padding: 0 20px;
  }
  
  .notes {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  #faq {
    margin: 80px 20px 40px 20px;
    padding: 0;
  }
  
  .faq-question {
    padding: 16px 20px;
    font-size: 1.1rem;
  }
  
  .faq-answer.active {
    padding: 20px;
    max-height: 400px;
  }
  
  .faq-question span {
    font-size: 1.6rem;
  }
  
  .theme-toggle-wrapper {
    top: 15px;
    right: 15px;
    padding: 6px 12px;
  }
  
  h1:first-of-type {
    top: 1rem;
    left: 1rem;
    padding: 8px 16px;
    font-size: 1rem;
  }
  
  .features-section {
    margin: 80px auto;
    padding: 0 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-card {
    padding: 30px 20px;
    border-radius: 16px;
    margin-top: 10px;
  }
  
  .feature-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
  }
  
  .feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .feature-card p {
    font-size: 1rem;
  }
  
  .features-section p {
    margin-bottom: 3rem;
  }
  
  .chatbot-window {
    width: 300px;
    right: -50px;
  }
  
  .calendar-content {
    padding: 15px;
    max-width: 95%;
    max-height: 95%;
  }
  
  .calendar-content iframe {
    width: 100%;
    height: 400px;
  }
}

@media (max-width: 480px) {
  .welcome-container {
    padding: 30px 15px;
  }
  
  .badges-section {
    gap: 15px;
    margin: 30px 0;
  }
  
  .badges-section img {
    max-width: 200px;
    height: auto;
  }
  
  .features-section {
    margin: 60px auto;
    padding: 0 15px;
  }
  
  .feature-card {
    padding: 25px 18px;
    margin-top: 5px;
  }
  
  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 5px;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  .feature-card p {
    font-size: 0.95rem;
  }
  
  .chatbot-window {
    width: 280px;
    right: -30px;
  }
  
  .calendar-content {
    padding: 10px;
  }
  
  .calendar-content iframe {
    height: 350px;
  }
  
  .calendar-header h3 {
    font-size: 1rem;
  }
}

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

.welcome-container > * {
  animation: fadeInUp 0.8s ease-out forwards;
}

.welcome-container > *:nth-child(2) {
  animation-delay: 0.1s;
}

.welcome-container > *:nth-child(3) {
  animation-delay: 0.2s;
}

.feature-card {
  animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.1s; }
.feature-card:nth-child(4) { animation-delay: 0.1s; }
.feature-card:nth-child(5) { animation-delay: 0.1s; }
.feature-card:nth-child(6) { animation-delay: 0.1s; }

/* ================== UTILITIES ================== */
.text-gradient {
  background: linear-gradient(135deg, #fff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blur-bg {
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.1);
}

/* ================== ACCESSIBILITY ================== */
.feature-card:focus {
  outline: 3px solid rgba(102, 126, 234, 0.5);
  outline-offset: 4px;
}

body.dark-theme .feature-card:focus {
  outline: 3px solid rgba(76, 175, 80, 0.5);
}

.class-button:focus {
  outline: 3px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.calendar-toggle:focus {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .class-button,
  .theme-toggle,
  .toggle-circle,
  .calendar-container,
  .calendar-content,
  .calendar-overlay {
    animation: none;
    transition: none;
  }
  
  .feature-card:hover,
  .class-button:hover {
    transform: none;
  }
}

/* ================== SCROLLBAR ST