﻿:root {
  --ink: #2d2017;
  --ink-soft: #4a3b33;
  --accent: #9d4f2a;
  --accent-soft: #f3e2d6;
  --jade: #385c4e;
  --paper: #fffaf3;
  --cream: #f7f1e7;
  --shadow: 0 18px 40px rgba(33, 24, 17, 0.18);
  --shadow-soft: 0 10px 24px rgba(33, 24, 17, 0.12);
  --radius-lg: 26px;
  --radius-md: 18px;
}

body {
  font-family: "Noto Serif SC", "Source Han Serif SC", "STSong", "Songti SC", "SimSun", serif !important;
  color: var(--ink) !important;
  background: linear-gradient(180deg, #fffaf3 0%, #f7f1e7 45%, #eef2f0 100%);
  letter-spacing: 0.2px;
}

p {
  color: var(--ink-soft);
}

a {
  transition: color 0.2s ease;
}

.container {
  max-width: 1140px;
}

.ftco-navbar-light {
  background: rgba(247, 241, 231, 0.96) !important;
  border-bottom: 1px solid rgba(45, 32, 23, 0.08);
  box-shadow: 0 8px 22px rgba(33, 24, 17, 0.08);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--ink) !important;
  font-size: 15px;
  letter-spacing: 0.6px;
  padding: 0.6rem 1rem !important;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-item.active .nav-link {
  color: var(--accent) !important;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(45, 32, 23, 0.2) !important;
  color: var(--ink) !important;
}

.hero-wrap {
  padding-top: 18px;
}

.hero-wrap .slider-item,
.hero-wrap.hero-wrap-2 {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-wrap .slider-item {
  min-height: 68vh !important;
  margin: 18px auto;
  background-position: center center !important;
}

.hero-wrap .overlay {
  background: linear-gradient(120deg, rgba(33, 24, 17, 0.65), rgba(56, 92, 78, 0.35)) !important;
}

.hero-wrap .text h1,
.hero-wrap .text h2,
.hero-wrap .text h3 {
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  font-weight: 600 !important;
}

.ftco-section {
  padding: 70px 0 !important;
}

.heading-section .subheading {
  color: var(--accent) !important;
  font-weight: 600;
  letter-spacing: 2px;
}

.heading-section h2 {
  font-weight: 600;
  color: var(--ink) !important;
}

.services,
.services-2 {
  background: var(--paper);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
  margin-bottom: 20px;
}

.services-2 {
  align-items: flex-start;
}

.services .icon,
.services-2 .icon {
  color: var(--accent) !important;
}

.img-video {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.tabulation-2 .nav-pills .nav-link {
  border-radius: 999px !important;
  background: rgba(157, 79, 42, 0.08);
  color: var(--ink) !important;
}

.tabulation-2 .nav-pills .nav-link.active {
  background: var(--accent) !important;
  color: #fff !important;
}

.ftco-counter {
  background: linear-gradient(120deg, #f8efe2, #f1f3ef) !important;
}

.block-18 {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px 22px;
  box-shadow: var(--shadow-soft);
}

.work {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.testimony-section {
  background: linear-gradient(120deg, var(--jade), #1f3b33) !important;
}

.testimony-section .heading-section-white h2,
.testimony-section .heading-section-white span {
  color: #f5f1e8 !important;
}

.blog-entry {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding-bottom: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-entry:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.blog-entry .block-20 {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.blog-entry .text {
  padding: 0 16px 10px;
}

.blog-entry .meta a {
  font-size: 12px;
  color: var(--ink-soft) !important;
}

.blog-entry .text h3 {
  font-size: 18px;
  color: var(--ink) !important;
  line-height: 1.4;
}

.block-20 {
  border-radius: var(--radius-md) var(--radius-md) 0 0 !important;
}

.footer {
  background: #231c14 !important;
  color: #f6f1e7 !important;
}

.footer .footer-heading,
.footer p,
.footer a {
  color: #f6f1e7 !important;
}

.footer a:hover {
  color: #ffd7b5 !important;
}

@media (max-width: 768px) {
  .hero-wrap .slider-item,
  .hero-wrap.hero-wrap-2 {
    margin: 12px;
    border-radius: 18px;
  }

  .navbar {
    padding: 12px 0 !important;
  }
}

/* New homepage layout */
.hero-new {
  padding: 90px 0 70px;
  background: radial-gradient(circle at 10% 20%, #fff3e3 0%, #f7f1e7 45%, #eef2f0 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-kicker {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.hero-lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-tags span {
  background: var(--accent-soft);
  color: var(--accent);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: #fff;
}

.btn-ghost {
  border-color: rgba(45, 32, 23, 0.2);
  color: var(--ink);
  background: #fff;
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-media-grid figure {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin: 0;
}

.hero-media-grid figure:nth-child(1) {
  grid-column: span 2;
}

.hero-media-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.hero-media-grid figcaption {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink-soft);
}

.section {
  padding: 70px 0;
}

.section.alt {
  background: #faf4ec;
}

.section-title {
  text-align: center;
  margin-bottom: 36px;
}

.section-title h2 {
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 10px;
}

.announcement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 18px 24px;
  border: 1px solid rgba(45, 32, 23, 0.08);
}

.announcement span {
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 1px;
}

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

.feature-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
}

.icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 12px;
}

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

.support-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(45, 32, 23, 0.08);
  box-shadow: var(--shadow-soft);
}

.support-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #f4e5d7;
  color: var(--accent);
  font-size: 20px;
}

.split {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.split-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.goal-list {
  display: grid;
  gap: 18px;
}

.goal-list h4 {
  margin-bottom: 6px;
  color: var(--accent);
}

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

.stat {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(45, 32, 23, 0.08);
  box-shadow: var(--shadow-soft);
}

.stat strong {
  display: block;
  font-size: 30px;
  margin-bottom: 6px;
}

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

.gallery-grid figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-soft);
}

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

.quote-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
}

.quote-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

.quote-meta {
  margin-top: 12px;
  font-size: 13px;
  color: var(--ink-soft);
  display: grid;
  gap: 4px;
}

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

.blog-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card div {
  padding: 14px 16px 18px;
}

.blog-meta {
  font-size: 12px;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.cta-row {
  margin-top: 24px;
  text-align: center;
}

.team-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
  display: grid;
  gap: 10px;
}

.team-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

.team-card h3 {
  font-size: 18px;
  margin: 6px 0 0;
}

.team-role {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}

.team-quote {
  font-style: italic;
  color: var(--ink-soft);
  margin: 0;
}

.team-avatar {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--ink-soft);
}

.team-avatar img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-media-grid figure:nth-child(1) {
    grid-column: span 1;
  }
}

@media (max-width: 600px) {
  .announcement {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* Global polish for legacy sections */
.ftco-animate {
  opacity: 1 !important;
  visibility: visible !important;
}

.hero-wrap.hero-wrap-2 {
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
}

.hero-wrap.hero-wrap-2 .slider-text {
  padding-top: 160px;
}

.breadcrumbs {
  font-size: 14px;
  color: #f1e8dd !important;
}

.breadcrumbs a {
  color: #f7eadb !important;
}

.ftco-section > .container,
.ftco-section > .container-fluid {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}

.ftco-degree-bg > .container {
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.ftco-section > .container-fluid.px-md-5 {
  max-width: 1200px;
  margin: 0 auto;
}

/* Team cards */
.block-2 {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
  background: #fff;
}

.block-2 .flipper {
  transform: none !important;
  height: auto !important;
}

.block-2 .front,
.block-2 .back {
  position: static !important;
  transform: none !important;
  height: auto !important;
  width: 100% !important;
}

.block-2 .front {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: flex-end;
}

.block-2 .front::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.55));
  z-index: 0;
}

.block-2 .front .box {
  position: relative;
  z-index: 1;
  padding: 18px;
  color: #fff;
}

.block-2 .back {
  padding: 18px;
  background: #fff;
}

.block-2 blockquote {
  margin: 0 0 12px;
  font-style: italic;
  color: var(--ink-soft);
}

.block-2 .author {
  align-items: center;
  gap: 10px;
}

.block-2 .author .image img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Blog article layout */
.ftco-degree-bg .col-lg-8 {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
}

.ftco-degree-bg .sidebar {
  margin-top: 24px;
}

.blog-article {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
  max-width: 860px;
  margin: 0 auto;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.post-meta span {
  background: rgba(157, 79, 42, 0.08);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 999px;
}

.post-body h1,
.post-body h2,
.post-body h3,
.post-body h4 {
  color: var(--ink);
  margin-top: 18px;
  margin-bottom: 10px;
  line-height: 1.4;
}

.post-body p {
  margin-bottom: 1.05rem;
}

.post-body img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  margin: 10px 0 16px;
}

.post-body blockquote {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  margin: 18px 0;
  padding: 12px 16px;
  border-radius: 12px;
}

.post-body ul {
  padding-left: 20px;
  margin-bottom: 1rem;
}

.sidebar-box {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
}

.comment-form-wrap,
.comment-list {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
}

/* Download / pricing styles */
.download-btn,
.btn,
.plan-price {
  color: #fff !important;
}

.download-btn,
.btn {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  border-radius: 999px !important;
  box-shadow: var(--shadow-soft);
}

.pricing-table {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
}

.pricing-plan {
  background: #fff !important;
  border-radius: var(--radius-md);
  padding: 20px !important;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
}

.plan-price {
  color: var(--accent) !important;
  font-weight: 700;
}

.features .feature-item {
  position: relative;
  padding-left: 14px;
}

.features .feature-item::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Forms */
.contact-form .form-control {
  border-radius: 12px;
  border: 1px solid rgba(45, 32, 23, 0.12);
}

.contact-form .submit {
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 999px;
}


/* Subpage hero typography */
.hero-wrap.hero-wrap-2 .bread {
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff !important;
}

.hero-wrap.hero-wrap-2 .breadcrumbs {
  font-size: 13px;
  letter-spacing: 1px;
}

.hero-wrap.hero-wrap-2 .breadcrumbs a {
  opacity: 0.9;
}

.hero-wrap.hero-wrap-2 .slider-text {
  padding-bottom: 48px;
}

/* App page layout */
.app-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.app-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(45, 32, 23, 0.08);
}

.app-card h3 {
  margin-bottom: 12px;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  margin-bottom: 10px;
}

.app-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.app-list li {
  padding-left: 14px;
  position: relative;
  color: var(--ink-soft);
}

.app-list li::before {
  content: "?";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.app-note {
  font-size: 13px;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .app-grid {
    grid-template-columns: 1fr;
  }
}
