allbody {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #f4f6f8 0%, #e2e8f0 100%);
  color: #333;
  line-height: 1.6;
  animation: fadeIn 1s ease-in;
}

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

section {
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0,91,150,0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0,91,150,0.5), 0 0 40px rgba(40,167,69,0.3);
  }
}

header.hero {
  background: linear-gradient(135deg, #005b96 0%, #003d66 50%, #28a745 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text fill="rgba(255,255,255,0.1)" font-size="20" y="50%">📚</text></svg>');
  background-size: cover, 50px 50px;
  color: white;
  text-align: center;
  padding: 40px 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

header.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.1);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  background: white;
}

.title {
  text-align: left;
}

.title h1 {
  font-size: 2.2em;
  margin-bottom: 8px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
  letter-spacing: 1px;
}

.tagline {
  font-size: 1.3em;
  font-style: italic;
  opacity: 0.9;
  font-weight: 400;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0, 91, 150, 0.2);
  height: 70px;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 100%;
  position: relative;
}

.nav-link {
  color: #005b96;
  text-decoration: none;
  margin: 0 12px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.nav-link:hover {
  color: #003d66;
  background: linear-gradient(135deg, rgba(0, 91, 150, 0.1) 0%, rgba(40, 167, 69, 0.1) 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 91, 150, 0.2);
}

.nav-buttons {
  display: flex;
  gap: 6px;
}

.btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.login-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.login-btn:hover {
  background: linear-gradient(135deg, #218838 0%, #1aa085 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.register-btn {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.register-btn:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

section {
  padding: 30px 20px;
  max-width: 1000px;
  margin: auto;
  background: white;
  margin-bottom: 10px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(0,91,150,0.05)"/></svg>');
  pointer-events: none;
}

section h2 {
  color: #005b96;
  margin-bottom: 20px;
  font-size: 1.8em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  position: relative;
  overflow: hidden;
}

.intro::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="intro-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,91,150,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(40,167,69,0.03)"/><rect x="45" y="45" width="10" height="10" fill="none" stroke="rgba(0,91,150,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23intro-pattern)"/></svg>');
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}

.intro-content {
  flex: 1;
  position: relative;
  z-index: 2;
}

.intro-content h2 {
  margin-bottom: 15px;
  font-size: 2.2em;
  font-weight: 700;
  color: #005b96;
  position: relative;
}

.intro-subtitle {
  font-size: 1.4em;
  color: #28a745;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  position: relative;
}

.intro-content p {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.intro-highlights {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 20px;
  border: 1px solid #e9ecef;
}

.highlight i {
  color: #28a745;
}

.intro-graphics {
  flex: 0 0 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.intro-icon {
  font-size: 3em;
  color: #005b96;
  opacity: 0.7;
  animation: pulse 3s ease-in-out infinite;
}

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

ul {
  list-style: none;
  padding: 0;
}

ul li {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s ease;
}

ul li:hover {
  transform: translateX(5px);
}

ul li:last-child {
  border-bottom: none;
}

.testimonials {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,91,150,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(40,167,69,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
  opacity: 0.5;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08), 0 2px 10px rgba(0,0,0,0.04);
  border-left: 6px solid #28a745;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,91,150,0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 4em;
  color: rgba(40, 167, 69, 0.1);
  font-family: 'Georgia', serif;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(40, 167, 69, 0.1);
  border-color: rgba(40, 167, 69, 0.3);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.6;
  color: #444;
  font-size: 1.05em;
  position: relative;
  z-index: 2;
}

.testimonial-card cite {
  font-weight: 700;
  color: #005b96;
  font-size: 1.1em;
  display: block;
  margin-bottom: 5px;
  position: relative;
  z-index: 2;
}

.cta {
  background: linear-gradient(135deg, #ff6b6b 0%, #feca57 100%);
  color: white;
  text-align: center;
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
}

.cta-graphics {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  font-size: 3em;
  color: rgba(255,255,255,0.3);
  animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-icon:nth-child(2) {
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-icon:nth-child(3) {
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

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

.cta-content h2 {
  font-size: 2em;
  margin-bottom: 15px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.cta-primary {
  background: #fff;
  color: #ff6b6b;
  padding: 15px 30px;
  font-size: 1.1em;
}

.cta-primary:hover {
  background: #f8f9fa;
}

.cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 15px 30px;
  font-size: 1.1em;
}

.cta-secondary:hover {
  background: rgba(255,255,255,0.1);
}

.contact p {
  margin: 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

footer {
  background: linear-gradient(135deg, #005b96 0%, #003d66 100%);
  color: white;
  padding: 30px 20px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.2em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section p {
  margin: 5px 0;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 8px 0;
}

.footer-section ul li a {
  color: #ddd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #fff;
}

/* Mobile Preview Section */
.mobile-preview {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mobile-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="mobile-bg-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(0,91,150,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(40,167,69,0.03)"/><rect x="45" y="45" width="8" height="8" fill="none" stroke="rgba(0,91,150,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23mobile-bg-pattern)"/></svg>');
  pointer-events: none;
  opacity: 0.4;
  z-index: 1;
}

.mobile-preview h2 {
  color: #005b96;
  font-size: 2.5em;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.mobile-subtitle {
  font-size: 1.2em;
  color: #6c757d;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.mobile-devices {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-bottom: 60px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.device-container {
  position: relative;
  transition: transform 0.3s ease;
}

.device-container:hover {
  transform: translateY(-10px) scale(1.02);
}

.device-frame {
  position: relative;
  border-radius: 30px;
  box-shadow:
    0 25px 80px rgba(0,0,0,0.25),
    0 15px 40px rgba(0,0,0,0.15),
    0 8px 20px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.device-frame:hover {
  box-shadow:
    0 35px 100px rgba(0,0,0,0.3),
    0 20px 50px rgba(0,0,0,0.2),
    0 12px 30px rgba(0,0,0,0.15),
    inset 0 1px 0 rgba(255,255,255,0.15);
}

.iphone-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
  padding: 15px;
  position: relative;
}

.iphone-frame::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 25px;
  background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
  border-radius: 15px;
  z-index: 3;
}

.iphone-frame::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 2px;
  z-index: 3;
}

.iphone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.iphone-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 35px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  z-index: 4;
  border-radius: 20px 20px 0 0;
}

.android-frame {
  width: 280px;
  height: 580px;
  background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 50%, #2d2d2d 100%);
  padding: 8px;
  border-radius: 25px;
  position: relative;
}

.android-frame::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 2px;
  z-index: 3;
}

.android-frame::after {
  content: '';
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 2px;
  z-index: 3;
}

.android-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}

.device-label {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 10px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #005b96;
}

.device-label i {
  font-size: 1.2em;
}

/* Mobile Content Styles */
.mobile-header {
  background: linear-gradient(135deg, #005b96 0%, #003d66 100%);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 5;
}

.mobile-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  pointer-events: none;
  opacity: 0.3;
}

.mobile-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1em;
  position: relative;
  z-index: 6;
}

.mobile-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.3);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.mobile-menu-btn {
  font-size: 1.2em;
  cursor: pointer;
  position: relative;
  z-index: 6;
  transition: transform 0.2s ease;
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

.mobile-content {
  padding: 20px;
  height: calc(100% - 60px);
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 4;
}

.mobile-welcome {
  text-align: center;
  margin-bottom: 25px;
  animation: slideInUp 0.6s ease-out;
}

.mobile-welcome h3 {
  color: #005b96;
  margin-bottom: 5px;
  font-size: 1.3em;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.mobile-welcome p {
  color: #6c757d;
  font-size: 0.9em;
  font-weight: 500;
}

.mobile-courses {
  flex: 1;
  margin-bottom: 20px;
  animation: slideInUp 0.8s ease-out 0.2s both;
}

.mobile-course-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 15px;
  padding: 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid rgba(0,91,150,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #005b96, #28a745);
  border-radius: 15px 15px 0 0;
}

.mobile-course-card:hover {
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12), 0 3px 12px rgba(0,91,150,0.1);
}

.course-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #005b96 0%, #003d66 50%, #28a745 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2em;
  box-shadow: 0 3px 10px rgba(0,91,150,0.3);
  position: relative;
  z-index: 2;
}

.course-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  border-radius: 12px;
  z-index: -1;
}

.course-info h4 {
  margin: 0 0 3px 0;
  color: #005b96;
  font-size: 1em;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.course-info p {
  margin: 0;
  color: #6c757d;
  font-size: 0.8em;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.course-progress {
  margin-left: auto;
  position: relative;
  z-index: 2;
}

.progress-bar {
  width: 60px;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #28a745 0%, #20c997 50%, #17a2b8 100%);
  border-radius: 3px;
  transition: width 0.8s ease;
  position: relative;
}

.progress-fill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
  border-radius: 3px;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: slideInUp 1s ease-out 0.4s both;
}

.mobile-btn {
  padding: 14px 24px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 0.95em;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.mobile-btn::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 ease;
}

.mobile-btn:hover::before {
  left: 100%;
}

.mobile-btn.primary {
  background: linear-gradient(135deg, #005b96 0%, #003d66 50%, #28a745 100%);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.mobile-btn.primary:hover {
  background: linear-gradient(135deg, #003d66 0%, #005b96 50%, #20c997 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,91,150,0.4);
}

.mobile-btn.secondary {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  color: #005b96;
  border: 2px solid #005b96;
  box-shadow: 0 4px 15px rgba(0,91,150,0.2);
}

.mobile-btn.secondary:hover {
  background: linear-gradient(135deg, #005b96 0%, #003d66 100%);
  color: white;
  border-color: #003d66;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,91,150,0.4);
}

/* Android specific styles */
.android-header {
  padding-top: 35px;
  position: relative;
}

.android-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 25px;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  font-size: 0.7em;
  color: white;
  z-index: 6;
  border-radius: 18px 18px 0 0;
}

.status-icons {
  display: flex;
  gap: 5px;
}

.status-icons i {
  opacity: 0.8;
}

.mobile-dashboard {
  flex: 1;
  animation: slideInUp 0.8s ease-out 0.1s both;
}

.dashboard-stats {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
  padding: 15px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  margin: 0 15px 20px 15px;
}

.stat-item {
  text-align: center;
  padding: 10px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,91,150,0.1);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-2px);
}

.stat-number {
  font-size: 1.5em;
  font-weight: 700;
  color: #005b96;
  margin-bottom: 2px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.stat-label {
  font-size: 0.8em;
  color: #6c757d;
  font-weight: 600;
}

.mobile-notifications {
  margin-bottom: 20px;
  animation: slideInUp 0.8s ease-out 0.3s both;
}

.notification-item {
  display: flex;
  gap: 12px;
  padding: 15px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,91,150,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.notification-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #005b96, #28a745);
  border-radius: 12px 0 0 12px;
}

.notification-item:hover {
  transform: translateX(3px);
  box-shadow: 0 4px 15px rgba(0,91,150,0.15);
}

.notification-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #005b96 0%, #003d66 50%, #28a745 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0,91,150,0.3);
  position: relative;
  z-index: 2;
}

.notification-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  border-radius: 50%;
  z-index: -1;
}

.notification-content h5 {
  margin: 0 0 3px 0;
  color: #005b96;
  font-size: 0.9em;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.notification-content p {
  margin: 0 0 3px 0;
  color: #495057;
  font-size: 0.8em;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.notification-content small {
  color: #6c757d;
  font-size: 0.7em;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.mobile-navigation {
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-top: 1px solid #e9ecef;
  position: relative;
  animation: slideInUp 1s ease-out 0.5s both;
}

.mobile-navigation::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,91,150,0.2), transparent);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
}

.nav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,91,150,0.1), rgba(40,167,69,0.1));
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-item:hover::before {
  opacity: 1;
}

.nav-item.active {
  background: linear-gradient(135deg, #005b96 0%, #003d66 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0,91,150,0.3);
  transform: translateY(-2px);
}

.nav-item.active::before {
  opacity: 0;
}

.nav-item:not(.active) {
  color: #6c757d;
}

.nav-item:not(.active):hover {
  color: #005b96;
  transform: translateY(-1px);
}

.nav-item span {
  font-size: 0.7em;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Mobile Features */
.mobile-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
}

.feature-item {
  text-align: center;
  padding: 35px 25px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 4px 15px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,91,150,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: slideInUp 0.8s ease-out both;
}

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

.feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #005b96, #28a745);
  border-radius: 20px 20px 0 0;
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15), 0 8px 25px rgba(0,91,150,0.2);
  border-color: rgba(0,91,150,0.2);
}

.feature-item i {
  font-size: 2.8em;
  color: #005b96;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.feature-item:hover i {
  transform: scale(1.1);
}

.feature-item h4 {
  color: #005b96;
  margin-bottom: 12px;
  font-size: 1.25em;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.feature-item p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 1em;
  position: relative;
  z-index: 2;
}

/* Mobile CTA */
.mobile-cta {
  background: linear-gradient(135deg, #005b96 0%, #003d66 50%, #28a745 100%);
  color: white;
  padding: 60px 30px;
  border-radius: 25px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2), 0 8px 20px rgba(0,91,150,0.3);
  border: 2px solid rgba(255,255,255,0.1);
}

.mobile-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/></svg>');
  pointer-events: none;
  opacity: 0.3;
}

.mobile-cta h3 {
  font-size: 2.2em;
  margin-bottom: 15px;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}

.mobile-cta p {
  font-size: 1.15em;
  margin-bottom: 35px;
  opacity: 0.95;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.cta-buttons .btn {
  padding: 18px 35px;
  border-radius: 35px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1em;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  border: 2px solid rgba(255,255,255,0.2);
}

.cta-buttons .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.cta-buttons .btn:hover::before {
  left: 100%;
}

.cta-buttons .btn-primary {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  border-color: rgba(255,255,255,0.3);
}

.cta-buttons .btn-primary:hover {
  background: linear-gradient(135deg, #218838 0%, #1aa085 100%);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(40,167,69,0.4);
}

.cta-buttons .btn-secondary {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  color: white;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}

.cta-buttons .btn-secondary:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 30px rgba(255,255,255,0.3);
  border-color: rgba(255,255,255,0.6);
}

/* Responsive Design for Mobile Previews */
@media (max-width: 768px) {
  .mobile-devices {
    gap: 30px;
  }

  .device-frame {
    width: 240px;
    height: 500px;
  }

  .mobile-preview h2 {
    font-size: 2em;
  }

  .mobile-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 250px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Enhanced small screen responsiveness */
  .header-content {
    padding: 20px 15px;
  }

  .logo {
    width: 100px;
    height: 100px;
  }

  .logo img {
    width: 80px;
    height: 80px;
  }

  .title h1 {
    font-size: 1.5em;
    line-height: 1.1;
  }

  .tagline {
    font-size: 1em;
  }

  .mission {
    font-size: 0.9em;
  }

  .navbar {
    height: 55px;
  }

  .nav-container {
    padding: 0 0.5rem;
  }

  .nav-link {
    font-size: 0.8rem;
    margin: 0 4px;
    padding: 0.3rem 0.6rem;
  }

  .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .intro-content h2 {
    font-size: 1.8em;
  }

  .intro-subtitle {
    font-size: 1.1em;
  }

  .intro-content p {
    font-size: 0.95em;
  }

  .intro-highlights {
    flex-direction: column;
    gap: 15px;
  }

  .highlight {
    padding: 8px 12px;
  }

  .intro-graphics {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }

  .graphic-element {
    flex: 0 0 auto;
    padding: 12px;
  }

  .graphic-label {
    font-size: 0.8em;
  }

  .stats {
    padding: 30px 15px;
  }

  .stats h2 {
    font-size: 1.8em;
  }

  .stat-card {
    padding: 15px 10px;
  }

  .stat-number {
    font-size: 2em;
  }

  .stat-label {
    font-size: 0.9em;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-card p {
    font-size: 0.95em;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-item {
    max-width: 280px;
    margin: 0 auto;
  }

  .offerings-intro p {
    font-size: 1em;
  }

  .offerings-grid {
    gap: 20px;
  }

  .offering-card {
    padding: 20px;
  }

  .offering-card h3 {
    font-size: 1.2em;
  }

  .offering-card p {
    font-size: 0.95em;
  }

  .instructor-grid {
    gap: 20px;
  }

  .instructor-card {
    padding: 20px;
  }

  .instructor-card h3 {
    font-size: 1.2em;
  }

  .instructor-card p {
    font-size: 0.95em;
  }

  .contact-header h2 {
    font-size: 1.8em;
  }

  .contact-subtitle {
    font-size: 1.1em;
  }

  .contact-graphics {
    flex-direction: column;
    gap: 1rem;
  }

  .graphic-item {
    padding: 0.75rem;
    width: 100%;
    max-width: 200px;
  }

  .contact-icon {
    font-size: 2em;
  }

  .contact-content {
    gap: 2rem;
  }

  .contact-card {
    padding: 1rem;
  }

  .card-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2em;
  }

  .card-content h4 {
    font-size: 1.1em;
  }

  .canada-map-background {
    height: 200px;
  }

  .location-pin {
    cursor: default; /* Disable hover on touch devices */
  }

  .pin-marker {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .pin-label {
    font-size: 10px;
    padding: 2px 4px;
  }

  .map-legend {
    padding: 1rem;
    font-size: 0.85rem;
  }

  .legend-item {
    gap: 0.5rem;
    padding: 0.4rem;
  }

  .legend-marker {
    width: 14px;
    height: 14px;
  }

  .footer-content {
    padding: 20px 15px;
  }

  .footer-section h3 {
    font-size: 1.1em;
  }

  .footer-section p {
    font-size: 0.9em;
  }

  /* Prevent zoom on input focus */
  input, select, textarea {
    font-size: 16px;
  }

  /* Improve touch targets */
  button, a, .btn, .nav-link {
    min-height: 44px;
    min-width: 44px;
  }

  /* Better spacing for small screens */
  section {
    padding: 20px 15px;
    margin: 10px auto;
  }

  section h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  /* Ensure content doesn't overflow */
  * {
    box-sizing: border-box;
  }

  body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 20px 0;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
}

.footer-bottom p {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mission {
  font-size: 1.1em;
  color: #fff;
  font-style: italic;
  margin-top: 5px;
  opacity: 0.9;
  max-width: 500px;
}

.mission-vision {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  border-left: 5px solid #005b96;
}

.mission-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  align-items: start;
}

.mission-card, .vision-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border-top: 4px solid #005b96;
}

.mission-card h2, .vision-card h2 {
  color: #005b96;
  margin-bottom: 15px;
  font-size: 1.6em;
}

.vision-card {
  border-top-color: #28a745;
}

.vision-card h2 {
  color: #28a745;
}

.stats {
  background: linear-gradient(135deg, #005b96 0%, #003d66 100%);
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  padding: 30px 20px;
  border-radius: 10px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.stat-number {
  font-size: 3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #fff;
}

.stat-label {
  font-size: 1.1em;
  opacity: 0.9;
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-meta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 2px solid rgba(0,91,150,0.1);
  position: relative;
  z-index: 2;
}

.testimonial-role {
  display: inline-block;
  font-size: 0.85em;
  color: #28a745;
  font-weight: 600;
  background: rgba(40, 167, 69, 0.1);
  padding: 4px 8px;
  border-radius: 12px;
  margin-top: 8px;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.offering-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #005b96;
}

.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.offering-icon {
  font-size: 3em;
  color: #005b96;
  margin-bottom: 20px;
}

.offering-card h3 {
  color: #005b96;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.offering-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.offering-details {
  list-style: none;
  padding: 0;
  text-align: left;
}

.offering-details li {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  color: #555;
}

.offering-details li:before {
  content: "✓ ";
  color: #28a745;
  font-weight: bold;
}

.instructors {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.instructor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.instructor-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
  border-top: 4px solid #005b96;
}

.instructor-avatar {
  font-size: 4em;
  color: #005b96;
  margin-bottom: 20px;
}

.instructor-card h3 {
  color: #005b96;
  margin-bottom: 15px;
  font-size: 1.4em;
}

.instructor-card p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.instructor-credentials {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.instructor-credentials span {
  color: #555;
  font-size: 0.95em;
}

.instructor-credentials span:before {
  content: "• ";
  color: #28a745;
  font-weight: bold;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info h3 {
  color: #005b96;
  margin-bottom: 20px;
  font-size: 1.4em;
}

.contact-info p {
  margin: 15px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.contact-map {
  display: flex;
  justify-content: center;
  align-items: center;
}

.map-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 400px;
}

.location-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.location-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.location-header i {
  color: #005b96;
  font-size: 1.5em;
}

.location-header h4 {
  margin: 0;
  color: #005b96;
  font-size: 1.2em;
  font-weight: 600;
}

.location-details p {
  margin: 8px 0;
  color: #666;
  font-size: 0.95em;
}

.location-details strong {
  color: #333;
}

.map-placeholder {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px dashed #dee2e6;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  color: #6c757d;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.map-placeholder i {
  font-size: 2.5em;
  margin-bottom: 10px;
  display: block;
  color: #005b96;
}

.map-placeholder p {
  margin: 0 0 8px 0;
  font-weight: bold;
  color: #005b96;
  font-size: 1.1em;
}

.map-placeholder small {
  color: #6c757d;
  font-style: italic;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .navbar {
    height: 60px;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-link {
    font-size: 0.85rem;
    margin: 0 6px;
    padding: 0.4rem 0.8rem;
  }

  .btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .mission-content {
    grid-template-columns: 1fr;
  }

  .offerings-grid {
    grid-template-columns: 1fr;
  }

  .instructor-grid {
    grid-template-columns: 1fr;
  }

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

  section {
    padding: 25px 20px;
    margin: 15px auto;
  }

  section h2 {
    font-size: 1.8em;
  }

  /* Enhanced mobile responsiveness */
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .logo {
    width: 120px;
    height: 120px;
  }

  .logo img {
    width: 100px;
    height: 100px;
  }

  .title h1 {
    font-size: 1.8em;
  }

  .title {
    text-align: center;
  }

  .intro {
    flex-direction: column;
    text-align: center;
  }

  .intro-content {
    order: 2;
  }

  .intro-graphics {
    order: 1;
    margin-bottom: 30px;
  }

  .intro-highlights {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .stat-card {
    padding: 20px 15px;
  }

  .stat-number {
    font-size: 2.5em;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .offerings-grid {
    grid-template-columns: 1fr;
  }

  .instructor-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section {
    text-align: center;
  }

  /* Touch-friendly interactions */
  .btn, .nav-link, .gallery-item, .offering-card, .instructor-card, .contact-card {
    min-height: 44px;
    min-width: 44px;
  }

  /* Prevent horizontal scroll */
  body, html {
    overflow-x: hidden;
    max-width: 100vw;
  }

  section {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Improve readability on small screens */
  section h2 {
    font-size: 1.6em;
    line-height: 1.2;
  }

  .intro-content h2 {
    font-size: 2em;
  }

  .intro-subtitle {
    font-size: 1.2em;
  }

  .intro-content p {
    font-size: 1em;
    line-height: 1.5;
  }
}
/* Top Banner Styles */
.top-banner {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  text-align: center;
  padding: 30px 20px;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.top-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  pointer-events: none;
}

.banner-content {
  position: relative;
  z-index: 2;
}

.top-banner h2 {
  margin: 0 0 10px 0;
  font-size: 1.8em;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.top-banner p {
  margin: 10px 0 20px 0;
  opacity: 0.9;
  font-size: 1.1em;
}

.banner-graphics {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.banner-icon {
  font-size: 2em;
  color: rgba(255,255,255,0.8);
  animation: bounce 2s ease-in-out infinite;
}

.banner-icon:nth-child(2) { animation-delay: 0.2s; }
.banner-icon:nth-child(3) { animation-delay: 0.4s; }
.banner-icon:nth-child(4) { animation-delay: 0.6s; }

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

@media (max-width: 768px) {
  .top-banner h2 {
    font-size: 1.4em;
  }

  .banner-graphics {
    gap: 15px;
  }

  .banner-icon {
    font-size: 1.5em;
  }
}

/* Enhanced Intro Graphics */
.graphic-element {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

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

.graphic-label {
  font-size: 0.9em;
  font-weight: 500;
  color: #005b96;
  text-align: center;
}

/* Gallery Section */
.gallery {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f1f3f4 100%);
  position: relative;
  overflow: hidden;
}

.gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="learning-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><rect x="10" y="10" width="20" height="20" fill="none" stroke="rgba(0,91,150,0.05)" stroke-width="1"/><circle cx="50" cy="50" r="15" fill="none" stroke="rgba(40,167,69,0.05)" stroke-width="1"/><polygon points="80,20 90,35 70,35" fill="rgba(0,91,150,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23learning-pattern)"/></svg>');
  pointer-events: none;
  opacity: 0.6;
}

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

.gallery-item {
  background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08), 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  position: relative;
  border: 1px solid rgba(0,91,150,0.1);
}

.gallery-item:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12), 0 5px 15px rgba(0,91,150,0.1);
  border-color: rgba(0,91,150,0.3);
}

.gallery-image {
  height: 140px;
  background: linear-gradient(135deg, #005b96 0%, #28a745 50%, #20c997 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5em;
  color: white;
  position: relative;
  overflow: hidden;
}

.gallery-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  pointer-events: none;
}

.gallery-item h4 {
  color: #005b96;
  margin: 20px 0 12px 0;
  font-size: 1.3em;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.gallery-item p {
  color: #666;
  padding: 0 20px 20px;
  font-size: 1em;
  line-height: 1.5;
  position: relative;
  z-index: 2;
}

/* Enhanced Offerings */
.offerings-intro {
  text-align: center;
  margin-bottom: 40px;
}

.offerings-intro p {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 20px;
}

.offerings-graphics {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.offering-star {
  color: #ffd700;
  font-size: 1.5em;
  animation: twinkle 2s ease-in-out infinite;
}

.offering-star:nth-child(2) { animation-delay: 0.2s; }
.offering-star:nth-child(3) { animation-delay: 0.4s; }
.offering-star:nth-child(4) { animation-delay: 0.6s; }
.offering-star:nth-child(5) { animation-delay: 0.8s; }

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.1); }
}

.icon-bg {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: radial-gradient(circle, rgba(0,91,150,0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}

/* Professional Contact Section */
.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 {
  color: #005b96;
  font-size: 2.2em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.contact-intro {
  margin-bottom: 2rem;
}

.contact-subtitle {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 2rem;
  font-weight: 500;
  line-height: 1.6;
}

.contact-graphics {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.graphic-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(0, 91, 150, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 91, 150, 0.1);
}

.graphic-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 91, 150, 0.15);
  background: rgba(0, 91, 150, 0.08);
}

.contact-icon {
  font-size: 2.5em;
  color: #005b96;
  animation: pulse 2s ease-in-out infinite;
}

.contact-icon:nth-child(2) { animation-delay: 0.3s; }
.contact-icon:nth-child(3) { animation-delay: 0.6s; }

.graphic-item span {
  font-size: 0.9em;
  font-weight: 600;
  color: #005b96;
  text-align: center;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-section h3 {
  color: #005b96;
  font-size: 1.6em;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 91, 150, 0.2);
}

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

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 91, 150, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #005b96, #28a745);
  border-radius: 12px 12px 0 0;
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 91, 150, 0.15);
}

.card-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #005b96, #003d66);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5em;
  box-shadow: 0 4px 12px rgba(0, 91, 150, 0.3);
}

.card-content h4 {
  color: #005b96;
  margin: 0 0 1rem 0;
  font-size: 1.2em;
  font-weight: 700;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0;
}

.detail-label {
  font-weight: 600;
  color: #666;
  font-size: 0.9em;
}

.detail-value {
  color: #333;
  font-weight: 500;
  text-align: right;
}

.status-coming-soon {
  color: #ffc107 !important;
  font-style: italic;
}

.contact-map-section h3 {
  color: #005b96;
  font-size: 1.6em;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(0, 91, 150, 0.2);
}

.map-container {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Physical Canada Map Styles */
.canada-map-container {
  margin-bottom: 2rem;
  position: relative;
}

.canada-map-background {
  position: relative;
  width: 100%;
  height: 300px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(0, 91, 150, 0.1);
}

.canada-map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  filter: grayscale(20%) contrast(1.1);
}

.location-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.location-pin:hover {
  transform: scale(1.1);
}

.pin-marker {
  width: 40px;
  height: 40px;
  background: #dc3545;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
  border: 3px solid white;
  transition: all 0.3s ease;
}

.pin-marker i {
  color: white;
  font-size: 16px;
  transform: rotate(45deg);
}

.pin-label {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 2px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-5px);
  transition: all 0.3s ease;
}

.location-pin:hover .pin-label {
  opacity: 1;
  transform: translateY(0);
}

/* Position pins on the world map (Edmonton, Canada) */
.main-campus-pin {
  top: 40.5%;
  left: 31.5%;
}

.downtown-branch-pin {
  top: 42%;
  left: 32%;
}

/* Interactive Map Section */
.interactive-map-section {
  margin-bottom: 1.5rem;
}

.interactive-map-section h4 {
  color: #005b96;
  font-size: 1.2em;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.interactive-map-section h4 i {
  color: #28a745;
}

/* Professional Map Legend */
.map-legend {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 91, 150, 0.1);
  backdrop-filter: blur(10px);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.legend-item:last-child {
  margin-bottom: 0;
}

.legend-item:hover {
  background: rgba(0, 91, 150, 0.05);
  transform: translateX(3px);
}

.legend-marker {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 8px rgba(0,0,0,0.4);
  flex-shrink: 0;
  position: relative;
}

.legend-marker::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  border-radius: 50%;
  background: currentColor;
}

.legend-item span {
  color: #333;
  line-height: 1.4;
  font-weight: 500;
}

.legend-item strong {
  color: #005b96;
  font-weight: 700;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .offerings-graphics,
  .contact-graphics {
    gap: 15px;
  }

  .offering-star,
  .contact-icon {
    font-size: 1.2em;
  }

  .banner-graphics {
    flex-wrap: wrap;
  }

  /* Professional Contact Mobile */
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-header h2 {
    font-size: 1.8em;
  }

  .contact-graphics {
    gap: 1rem;
  }

  .graphic-item {
    padding: 0.75rem;
  }

  .contact-icon {
    font-size: 2em;
  }

  .contact-card {
    padding: 1.25rem;
  }

  .card-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3em;
  }

  .contact-map-section h3 {
    font-size: 1.4em;
  }

  /* Professional Map Legend Mobile */
  .map-legend {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .legend-item {
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem;
  }

  .legend-marker {
    width: 16px;
    height: 16px;
  }

  /* Physical Map Mobile */
  .canada-map-container {
    margin-bottom: 1.5rem;
  }

  .canada-map-background {
    height: 250px;
  }

  .location-pin {
    cursor: pointer;
  }

  .pin-marker {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .pin-label {
    font-size: 11px;
    padding: 3px 6px;
  }

  .interactive-map-section h4 {
    font-size: 1.1rem;
  }
}