/* ═══════════════════════════════════════
   INNER PAGES — Light Theme v2
═══════════════════════════════════════ */

/* ─── CONTACT ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 14px; }
.contact-info-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 22px;
  background: #fff;
  border: 1px solid #e4e6ef;
  border-radius: 12px;
  box-shadow: none;
  transition: box-shadow 0.22s;
}
.contact-info-item:hover { box-shadow: 0 4px 20px rgba(20,25,40,0.09); }
.contact-icon {
  width: 42px; height: 42px;
  background: #1e2d5a;
  border-radius: 8px;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 60px;
  font-size: 17px; flex-shrink: 0; color: #fff;
}
.contact-info-item h4 { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 700; color: #141928; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: #545d75; line-height: 1.6; }

.contact-form-wrap {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.contact-form-wrap h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px; font-weight: 700;
  color: #141928;
  margin-bottom: 28px;
}

/* ─── BLOGS LIST ─── */
.blogs-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}
.blogs-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn {
  padding: 8px 18px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid var(--gray-200);
  border-radius: 100px;
  color: var(--gray-600);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue); border-color: var(--blue); color: var(--white);
}
.pagination { display: flex; align-items: center; gap: 8px; justify-content: center; }
.page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--gray-200); border-radius: var(--radius);
  font-size: 14px; font-weight: 700; color: var(--gray-600);
  background: var(--white); cursor: pointer; transition: var(--transition);
}
.page-btn.active, .page-btn:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ─── BLOG CARD (reused from home but works in pages context) ─── */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.blog-card-img { position: relative; height: 210px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-cat {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
}
.blog-card-body { padding: 24px; }
.blog-date { font-size: 12px; font-weight: 600; color: var(--red); margin-bottom: 8px; }
.blog-card-body h4 { font-size: 16px; font-weight: 700; color: var(--gray-900); line-height: 1.35; margin-bottom: 10px; }
.blog-card-body p { font-size: 13px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.blog-card-body a { font-size: 13px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 4px; }
.blog-card-body a:hover { gap: 8px; }

/* ─── BLOG VIEW ─── */
.blog-view-layout { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.blog-view-hero { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius-xl); margin-bottom: 36px; }
.blog-view-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.blog-view-cat {
  background: var(--red); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 100px;
}
.blog-view-date, .blog-view-read { font-size: 13px; color: var(--gray-400); }
.blog-view-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800; color: var(--gray-900);
  line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 28px;
}
.blog-view-body h2 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800; color: var(--gray-900);
  margin: 36px 0 14px;
}
.blog-view-body p { font-size: 16px; color: var(--gray-600); line-height: 1.8; margin-bottom: 18px; }
.blog-view-body blockquote {
  border-left: 4px solid var(--red);
  padding: 14px 20px;
  background: var(--red-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 28px 0;
  font-size: 17px; font-style: italic; color: var(--gray-800);
}

.blog-sidebar { position: sticky; top: calc(var(--nav-height) + 20px); }
.sidebar-widget {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px; margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.sidebar-widget h4 {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.sidebar-post {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--gray-100); cursor: pointer;
}
.sidebar-post:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-post-img { width: 58px; height: 48px; border-radius: var(--radius); overflow: hidden; flex-shrink: 0; }
.sidebar-post-img img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-title { font-size: 13px; font-weight: 600; color: var(--gray-800); line-height: 1.4; }
.sidebar-post-date { font-size: 11px; color: var(--gray-400); margin-top: 3px; }
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag {
  padding: 5px 12px; border: 1.5px solid var(--gray-200); border-radius: 100px;
  font-size: 12px; color: var(--gray-600); cursor: pointer; transition: var(--transition);
}
.sidebar-tag:hover { border-color: var(--blue); color: var(--blue); }

/* ─── STATIC PAGES ─── */
.static-content { max-width: 780px; margin: 0 auto; }
.static-last-updated { font-size: 13px; color: var(--gray-400); margin-bottom: 40px; }
.static-content h2 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800; color: var(--gray-900);
  margin: 44px 0 14px; letter-spacing: -0.01em;
}
.static-content h3 {
  font-size: 17px; font-weight: 700; color: var(--blue);
  margin: 28px 0 10px;
}
.static-content p { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 14px; }
.static-content ul { padding-left: 20px; margin-bottom: 14px; }
.static-content li { font-size: 15px; color: var(--gray-600); line-height: 1.8; margin-bottom: 6px; list-style: disc; }
.static-content a { color: var(--blue); font-weight: 600; }

/* ─── ABOUT STATIC ─── */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.team-card {
  text-align: center; padding: 28px 16px;
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl); transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-4px); }
.team-avatar {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: flex-start; justify-content: center; padding-top: 60px;
  font-size: 20px; font-weight: 800; color: var(--white);
}
.team-name { font-size: 15px; font-weight: 700; color: var(--gray-900); margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--gray-400); }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.value-card {
  padding: 28px 24px;
  background: var(--white); border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-xl);
  border-top: 4px solid var(--blue);
  transition: var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-lg); border-color: var(--blue); border-top-color: var(--red); }
.value-icon { font-size: 28px; margin-bottom: 14px; }
.value-card h4 { font-size: 17px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--gray-600); line-height: 1.65; }

/* ─── AUTH PAGES ─── */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-left { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; height: 100vh; position: sticky; top: 0; }
.auth-left-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-left-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27,63,139,0.92) 0%, rgba(27,63,139,0.5) 60%, rgba(27,63,139,0.2) 100%);
}
.auth-left-content { position: relative; z-index: 2; }
.auth-left-content h2 {
  font-family: var(--font-display);
  font-size: 48px; font-weight: 800; color: var(--white);
  line-height: 1.0; letter-spacing: -0.02em; margin-bottom: 14px;
}
.auth-left-content p { font-size: 16px; color: rgba(255,255,255,0.7); max-width: 340px; }
.auth-trust-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.auth-pill {
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px); border-radius: 100px;
  padding: 6px 14px; font-size: 13px; color: rgba(255,255,255,0.8); font-weight: 500;
}

.auth-right {
  background: var(--off-white);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 80px 48px 56px;
}
.auth-box { width: 100%; max-width: 420px; }
.auth-logo { margin-bottom: 36px; }
.auth-box h1 {
  font-family: var(--font-display);
  font-size: 36px; font-weight: 800; color: var(--gray-900);
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.auth-box > p { font-size: 15px; color: var(--gray-600); margin-bottom: 32px; }

.auth-toggle {
  display: flex; background: var(--gray-100);
  border-radius: 100px; padding: 4px; margin-bottom: 28px;
}
.auth-toggle-btn {
  flex: 1; padding: 10px;
  font-size: 13px; font-weight: 700; text-align: center;
  border-radius: 100px; color: var(--gray-600); cursor: pointer; transition: var(--transition);
}
.auth-toggle-btn.active { background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); }

.auth-divider { display: flex; align-items: center; gap: 14px; margin: 20px 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }
.auth-divider span { font-size: 12px; color: var(--gray-400); font-weight: 600; }

.auth-footer-link { text-align: center; margin-top: 20px; font-size: 14px; color: var(--gray-600); }
.auth-footer-link a { color: var(--blue); font-weight: 700; }

.password-input-wrap { position: relative; }
.password-toggle {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: var(--gray-400); cursor: pointer;
  background: none; border: none;
}

/* ─── RESPONSIVE INNER ─── */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; }
  .blogs-list-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-view-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-cta { display: none !important; }
  .nav-logo-img { height: 26px !important; }
  .pagination { flex-wrap: wrap; gap: 6px; }
  .page-btn { width: 36px; height: 36px; font-size: 13px; }
  .auth-page { grid-template-columns: 1fr; }
  .auth-left { display: none; }
  .auth-right { padding: 80px 24px 40px; min-height: auto; flex-direction: column; align-items: flex-start; }
  .blogs-list-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 28px 20px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
}