/* General page styling */
body { 
    margin: 0; 
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; 
    background: #f6f8fb; 
    color: #1f2933; 
    line-height: 1.6;
}

header { 
    background: linear-gradient(135deg, #1e3a8a, #2563eb); 
    color: white; 
    padding: 80px 20px; 
    text-align: center; 
}

header h1 { 
    font-size: 2.8rem; 
    margin-bottom: 10px; 
}

header p { 
    font-size: 1.2rem; 
    max-width: 700px; 
    margin: 0 auto; 
}

section { 
    padding: 60px 20px; 
    max-width: 1000px; 
    margin: auto; 
}

h2 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    color: #1e3a8a; 
}

.services { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr)); 
    gap: 20px; 
}

.card { 
    background: white; 
    padding: 25px; 
    border-radius: 12px; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.06); 
    text-align: center; 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.12);
}

.card h3 a { 
    text-decoration: none; 
    color: #2563eb; 
}

.card h3 a:hover { 
    text-decoration: underline; 
}

.cta { 
    background: #2563eb; 
    color: white; 
    text-align: center; 
    padding: 60px 20px; 
}

.cta h2 { 
    color: white; 
}

.email-button { 
    display: inline-block; 
    margin-top: 20px; 
    background: white; 
    color: #2563eb; 
    padding: 15px 30px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: bold; 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
}

.email-button:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(0,0,0,0.15); 
}

footer { 
    text-align: center; 
    padding: 30px 20px; 
    font-size: 0.9rem; 
    color: white; 
    background: #1e3a8a; 
}

/* Other Subjects horizontal oval bubble */
.other-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background: #2563eb;
    color: white;
    border-radius: 30px;
    font-size: 1.5rem;
    cursor: pointer;
    margin: 20px auto 0 auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    gap: 10px;
    min-width: 180px;
    text-align: center;
}

.other-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.other-bubble span.dots {
    font-size: 1.5rem;
}

/* Reviews Section */
.reviews-wrapper {
  overflow: hidden;
  margin: 40px 0;
  position: relative;
  background: #f0f4f8;
  padding: 20px 0;
  border-radius: 12px;
}

.review-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scrollReviews 60s linear infinite;
}

.review-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  min-width: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  text-align: center;
  flex-shrink: 0;
}

.review-card .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #2563eb;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 10px auto;
}

@keyframes scrollReviews {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
