/* =====================
   Physics A‑Level Tutoring Page
   ===================== */

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

body {
  font-family: 'Inter', sans-serif;
  background: #fefefe;
  color: #1a2c3e;
  line-height: 1.5;
}

.edu-page {
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: #1e3a5f;
  color: white;
  box-shadow: 0 4px 12px rgba(30,58,95,0.2);
}
.btn-primary:hover {
  background: #0f2c48;
  transform: translateY(-2px);
}
.btn-secondary {
  background: #eef2f8;
  color: #1e3a5f;
  border: 1px solid #cddfed;
}
.btn-secondary:hover {
  background: #e2e8f0;
  border-color: #1e3a5f;
}
.btn-link {
  color: #1e3a5f;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #ffb74d;
}
.btn-link:hover {
  color: #ff8c42;
}

/* ===== Hero ===== */
.hero {
  padding: 80px 0 60px;
  background: linear-gradient(135deg, #f5f9ff 0%, #eef2fa 100%);
}
.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}
.hero-content {
  flex: 1.2;
}
.badge {
  background: #ffb74d20;
  color: #c97e00;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero h1 span {
  color: #1e3a5f;
  background: linear-gradient(120deg, #ffb74d, #ff8c42);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.2rem;
  color: #2c4b6e;
  margin-bottom: 32px;
  max-width: 500px;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 32px;
}
.stat {
  font-size: 1rem;
  color: #2c4b6e;
}
.stat span {
  font-weight: 800;
  font-size: 1.4rem;
  color: #1e3a5f;
  display: block;
}
.hero-image {
  flex: 0.8;
}
.img-placeholder {
  background: #eef2fa;
  border-radius: 32px;
  padding: 60px 20px;
  text-align: center;
  border: 2px dashed #cbdde9;
  color: #1e3a5f;
}
.img-placeholder i {
  font-size: 4rem;
  margin-bottom: 12px;
  display: block;
}
.img-placeholder span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== Principles strip ===== */
.principles {
  padding: 60px 0;
  background: white;
}
.principles .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.principle-card {
  background: #f8fafd;
  padding: 28px 20px;
  border-radius: 28px;
  flex: 1;
  min-width: 180px;
  text-align: center;
  transition: all 0.2s;
  border: 1px solid #eef2f6;
}
.principle-card i {
  font-size: 2.2rem;
  color: #1e3a5f;
  margin-bottom: 16px;
}
.principle-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.principle-card p {
  color: #3a5a78;
  font-size: 0.9rem;
}

/* ===== Approach section ===== */
.approach {
  padding: 80px 0;
  background: #fefefe;
}
.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 48px;
}
.section-title span {
  color: #1e3a5f;
  border-bottom: 4px solid #ffb74d;
  display: inline-block;
  padding-bottom: 6px;
}
.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.approach-item {
  background: white;
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.02);
  border: 1px solid #eef2f6;
  transition: all 0.25s;
}
.approach-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.08);
}
.approach-item .icon {
  font-size: 2.5rem;
  color: #1e3a5f;
  margin-bottom: 20px;
}
.approach-item h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.approach-item p {
  color: #43627f;
  margin-bottom: 24px;
}
.demo-placeholder {
  background: #f0f4fa;
  border-radius: 20px;
  padding: 12px 16px;
  font-size: 0.85rem;
  color: #1e3a5f;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* ===== AI + Feedback ===== */
.ai-feedback {
  padding: 60px 0;
  background: #eef2fa;
}
.ai-card {
  background: white;
  border-radius: 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  padding: 48px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
}
.ai-text {
  flex: 1;
}
.ai-text .badge {
  background: #1e3a5f10;
  color: #1e3a5f;
}
.ai-text h2 {
  font-size: 2rem;
  margin: 20px 0 16px;
}
.feature-list {
  list-style: none;
  margin: 24px 0;
}
.feature-list li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.feature-list i {
  color: #ffb74d;
  width: 24px;
}
.ai-image {
  flex: 0.8;
}
.ai-image .img-placeholder {
  background: #eef2fa;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== Vacancies & Contact ===== */
.vacancies {
  padding: 80px 0;
}
.vacancies-card {
  background: linear-gradient(135deg, #1e3a5f 0%, #0b2b44 100%);
  border-radius: 48px;
  padding: 48px;
  text-align: center;
  color: white;
}
.vacancies-icon i {
  font-size: 3.5rem;
  background: #ffb74d;
  padding: 20px;
  border-radius: 60px;
  color: #1e3a5f;
  margin-bottom: 24px;
}
.vacancies-card h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
.vacancies-card p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}
.contact-form {
  max-width: 500px;
  margin: 0 auto;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  margin-bottom: 16px;
  border-radius: 40px;
  border: none;
  background: rgba(255,255,255,0.15);
  color: white;
  font-family: inherit;
  font-size: 1rem;
}
.contact-form input::placeholder, .contact-form textarea::placeholder {
  color: #cbdde9;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  background: rgba(255,255,255,0.25);
}
.contact-form button {
  width: 100%;
  margin-top: 8px;
}
.contact-note {
  margin-top: 20px;
  font-size: 0.9rem;
}
.contact-note a {
  color: #ffb74d;
  text-decoration: none;
}

/* ===== Footer ===== */
.edu-footer {
  background: #0a1927;
  color: #bbccdd;
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #bbccdd;
  text-decoration: none;
}
.footer-col ul li a:hover {
  color: #ffb74d;
}
.social-icons a {
  color: white;
  margin-right: 16px;
  font-size: 1.4rem;
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #1c3a2f;
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero .container { flex-direction: column; text-align: center; }
  .hero-stats { justify-content: center; }
  .hero h1 { font-size: 2.4rem; }
  .approach-grid { grid-template-columns: 1fr; }
  .ai-card { padding: 28px; }
  .vacancies-card { padding: 32px; }
}