/* Modern CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Color Palette */
  --primary-color: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary-color: #f59e0b;
  --accent-color: #10b981;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

/* Base Styles */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* Background Overlays */
.background1 {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.8)), url('bookbg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

.background2 {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(5, 150, 105, 0.8)), url('tourbg.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

.background3 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.9), rgba(217, 119, 6, 0.8)), url('contactbg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

.background4 {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(124, 58, 237, 0.8)), url('classesbg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

/* Header Styles */
header {
  color: var(--text-white);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(15px);
  background: rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 3px solid var(--text-white);
  object-fit: cover;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

#title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  background: linear-gradient(45deg, #ffffff, #f0f9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

/* Navigation Styles */
nav {
  padding: 0;
  background: transparent;
  position: relative;
}

.nav-container {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.1);
  padding: var(--space-sm);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: var(--space-md) var(--space-lg);
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 25px;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

nav a:hover::before {
  opacity: 1;
}

nav a:hover {
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

nav a.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-white);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

nav a i {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  padding: var(--space-sm);
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

.mobile-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Section Styles */
section {
  padding: var(--space-2xl);
  margin: var(--space-xl) auto;
  max-width: 1200px;
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

section h2 i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

section h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

section h4 i {
  color: var(--secondary-color);
}

/* Welcome Content */
.welcome-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.welcome-content p {
  margin-bottom: var(--space-md);
  color: var(--text-light);
}

.welcome-content blockquote {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  margin: var(--space-lg) 0;
  font-style: italic;
  font-size: 1.1rem;
  position: relative;
  box-shadow: var(--shadow-md);
}

.welcome-content blockquote::before {
  content: '"';
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.3);
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: serif;
}

/* Lists */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
  padding: var(--space-md);
  margin: var(--space-sm) 0;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

ul li::before {
  content: '✓';
  position: absolute;
  left: var(--space-sm);
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent-color);
  font-weight: bold;
  font-size: 1.2rem;
}

ul li {
  padding-left: 2.5rem;
}

ul li:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--accent-color);
}

/* Contact Section */
.contact-note {
  background: linear-gradient(135deg, var(--accent-color), #059669);
  color: var(--text-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  text-align: center;
  font-weight: 500;
  margin: var(--space-md) 0;
  box-shadow: var(--shadow-md);
}

.form-instruction {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin: var(--space-md) 0;
}

/* CTA Button */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-white);
  text-decoration: none;
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 1.1rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.cta-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 var(--transition-normal);
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--primary-dark), #1e40af);
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  margin: var(--space-md) 0;
}

img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.cl {
  width: 100%;
  max-width: 600px;
  margin: var(--space-lg) auto;
  display: block;
}

/* Tour Items */
.tour-item {
  margin-bottom: var(--space-2xl);
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.tour-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.tour-item h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.tour-item h3::before {
  content: '📍';
  font-size: 1.2rem;
}

.tour-item p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: var(--space-md);
  font-size: 1.1rem;
}

.tour-item img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  display: block;
}

/* Accordion Styles */
.accordion {
  max-width: 800px;
  margin: var(--space-lg) auto;
}

.question {
  cursor: pointer;
  padding: var(--space-lg);
  background: linear-gradient(135deg, var(--bg-light), var(--bg-white));
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: left;
  font-weight: 600;
  color: var(--text-dark);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.question::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-color);
  transition: width var(--transition-normal);
}

.question:hover {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.question:hover::before {
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
}

.question span {
  float: right;
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform var(--transition-normal);
}

.question:hover span {
  transform: rotate(45deg);
}

.answer {
  display: none;
  padding: var(--space-lg);
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  color: var(--text-dark);
  line-height: 1.7;
  box-shadow: var(--shadow-sm);
}

.answer p {
  margin-bottom: var(--space-md);
}

.answer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.answer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--text-dark), #111827);
  color: var(--text-white);
  padding: var(--space-2xl) var(--space-xl);
  margin-top: var(--space-2xl);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-white);
}

.footer-section h4 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-white);
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: var(--space-sm);
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
}

.footer-section ul li::before {
  content: '→';
  color: var(--primary-color);
  font-weight: bold;
  margin-right: var(--space-sm);
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: var(--space-sm) 0;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
  :root {
    --space-xl: 1.5rem;
    --space-2xl: 2rem;
  }
  
  html {
    font-size: 14px;
  }
  
  header {
    flex-direction: column;
    gap: var(--space-md);
    padding: var(--space-md);
    align-items: center;
  }
  
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .logo {
    width: 60px;
    height: 60px;
  }
  
  #title {
    font-size: 1.5rem;
  }
  
  .nav-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-xs);
  }
  
  nav a {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
    border-radius: 20px;
  }
  
  nav a span {
    display: none;
  }
  
  nav a i {
    font-size: 1.1rem;
  }
  
  section {
    padding: var(--space-lg);
    margin: var(--space-md) var(--space-sm);
  }
  
  section h2 {
    font-size: 1.75rem;
    flex-direction: column;
    text-align: center;
    gap: var(--space-sm);
  }
  
  .welcome-content blockquote {
    padding: var(--space-md);
    font-size: 1rem;
  }
  
  .cta-button {
    padding: var(--space-sm) var(--space-lg);
    font-size: 1rem;
  }
  
  .cl {
    margin: var(--space-md) 0;
  }
  
  .accordion {
    margin: var(--space-md) 0;
  }
  
  .question {
    padding: var(--space-md);
    font-size: 0.95rem;
  }
  
  .answer {
    padding: var(--space-md);
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 480px) {
  html {
    font-size: 13px;
  }
  
  header {
    padding: var(--space-sm);
    gap: var(--space-sm);
  }
  
  .header-content {
    gap: var(--space-xs);
  }
  
  .logo {
    width: 50px;
    height: 50px;
  }
  
  #title {
    font-size: 1.25rem;
  }
  
  .nav-container {
    padding: var(--space-xs);
    gap: 2px;
  }
  
  nav a {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
    border-radius: 15px;
    min-width: 40px;
    justify-content: center;
  }
  
  nav a i {
    font-size: 1rem;
  }
  
  section {
    padding: var(--space-md);
    margin: var(--space-sm);
  }
  
  section h2 {
    font-size: 1.5rem;
  }
  
  .welcome-content blockquote {
    padding: var(--space-sm);
    font-size: 0.95rem;
  }
  
  .welcome-content blockquote::before {
    font-size: 3rem;
    top: -5px;
    left: 10px;
  }
}

/* Print Styles */
@media print {
  .background1, .background2, .background3, .background4 {
    background: none !important;
    background-color: var(--bg-white) !important;
  }
  
  nav {
    display: none;
  }
  
  section {
    box-shadow: none;
    border: 1px solid var(--border-color);
  }
  
  .cta-button {
    background: var(--text-dark) !important;
    color: var(--text-white) !important;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Focus Styles for Accessibility */
a:focus,
button:focus,
.question:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-dark: #000000;
    --text-light: #333333;
    --border-color: #000000;
  }
  
  section {
    border: 2px solid var(--text-dark);
  }
}
