/* ========== Reset & Variables ========== */
@import url('inter-font.css');

:root {
  --primary: #0052D9;
  --primary-hover: #0041B0;
  --primary-light: #E8F0FE;
  --primary-dark: #003DAE;
  --accent: #FF6B35;
  --accent-light: #FFF0E8;
  --text: #1A1A1A;
  --text-secondary: #666666;
  --text-light: #999999;
  --bg: #FFFFFF;
  --bg-alt: #F5F6FA;
  --bg-dark: #181818;
  --border: #E5E5E5;
  --border-light: #F0F0F0;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 4px 6px rgba(0,0,0,0.03), 0 2px 16px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.06), 0 2px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.08), 0 4px 20px rgba(0,0,0,0.04);
  --max-width: 1200px;
  --header-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 14px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Typography ========== */
h1, h2, h3, h4 { line-height: 1.3; color: var(--text); font-weight: 600; }
h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }

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

.section-title h2 {
  margin-bottom: 12px;
  font-weight: 600;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
}

.section-title .accent-line {
  width: 40px;
  height: 3px;
  background: var(--primary);
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 28px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  line-height: 1.5;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--border);
}

.btn-white:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-lg {
  padding: 12px 36px;
  font-size: 1rem;
}

/* ========== Header ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  color: var(--text);
  font-weight: 400;
  font-size: 0.9rem;
  transition: color 0.2s;
  position: relative;
  padding: 4px 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.nav a:hover::after,
.nav a.active::after {
  transform: scaleX(1);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 1px;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ========== Hero ========== */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, rgba(0,55,150,0.85) 0%, rgba(0,82,217,0.78) 100%),
              url('../images/hero-bg.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  animation: fadeInUp 0.7s ease;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #FFB85C 0%, #FF8C42 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

.hero-content p {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 500px;
  line-height: 1.7;
  text-shadow: 0 1px 6px rgba(0,0,0,0.2);
  animation: fadeInUp 0.7s ease 0.1s both;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-buttons .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}

.hero-buttons .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.15);
  color: #fff;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp 0.7s ease 0.35s both;
}

.hero-stat {
  position: relative;
}

.hero-stat + .hero-stat::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.25);
}

.hero-stat h3 {
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

.hero-stat p {
  color: rgba(255,255,255,0.78);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Hero right side cards */
.hero-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: fadeInRight 0.7s ease 0.2s both;
}

.hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: all 0.25s;
  max-width: 360px;
}

.hero-card:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.45);
  transform: translateX(6px);
}

.hero-card .hc-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero-card .hc-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.hero-card .hc-sub {
  color: rgba(255,255,255,0.82);
  font-size: 0.8rem;
}

.hero-card.card-1 { align-self: flex-start; }
.hero-card.card-2 { align-self: center; margin-left: 16px; }
.hero-card.card-3 { align-self: flex-end; margin-left: 32px; }

/* ========== Animations ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ========== Sections ========== */
section {
  padding: 80px 0;
}

section.bg-alt {
  background: var(--bg-alt);
}

/* ========== Services Grid ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all 0.25s;
  cursor: default;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: all 0.25s;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: #fff;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ========== Process Timeline ========== */
.process-list {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.process-list::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.process-step {
  display: flex;
  gap: 24px;
  margin-bottom: 36px;
  position: relative;
}

.process-step:last-child { margin-bottom: 0; }

.process-step .step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,82,217,0.25);
}

.process-step .step-content {
  padding-top: 6px;
}

.process-step .step-content h3 {
  margin-bottom: 4px;
  font-size: 1.1rem;
}

.process-step .step-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========== Advantages ========== */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.25s;
}

.advantage-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.advantage-card .adv-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.advantage-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.advantage-card p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ========== CTA Banner ========== */
.cta-banner {
  background: linear-gradient(135deg, #0052D9 0%, #2979FF 100%);
  text-align: center;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
  position: relative;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 28px;
  position: relative;
}

/* ========== News Cards ========== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: all 0.25s;
}

.news-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-card .news-image {
  height: 180px;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
}

.news-card .news-body {
  padding: 20px;
}

.news-card .news-date {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 6px;
}

.news-card .news-body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .news-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .read-more {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.news-card .read-more:hover {
  gap: 8px;
}

/* ========== Contact Page ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 12px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail .contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.contact-detail h4 {
  margin-bottom: 2px;
  font-size: 0.95rem;
}

.contact-detail p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,82,217,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* ========== Page Header (inner pages) ========== */
.page-header {
  padding: 120px 0 56px;
  background: linear-gradient(180deg, #F0F4FF 0%, #FFFFFF 100%);
  text-align: center;
}

.page-header h1 {
  color: var(--text);
  margin-bottom: 8px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ========== About Page ========== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-story .story-image {
  aspect-ratio: 4/3;
  background-color: var(--bg-alt);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
}

.about-story h2 { margin-bottom: 16px; }
.about-story p {
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.7;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.value-card {
  text-align: center;
  padding: 28px 16px;
}

.value-card .value-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.value-card h3 { font-size: 1rem; margin-bottom: 4px; }

/* ========== About Page Layouts ========== */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.mission-card {
  background: #fff;
  padding: 40px 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mission-grid { grid-template-columns: 1fr; gap: 24px; }
  .team-grid { grid-template-columns: 1fr; }
}

/* ========== Pricing Table ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.25s;
  position: relative;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: #fff;
  padding: 5px 18px;
  border-radius: 20px;
  font-weight: 500;
  font-size: 0.8rem;
}

.pricing-card h3 { margin-bottom: 6px; }
.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.pricing-card .price-sub {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.pricing-card ul {
  text-align: left;
  margin-bottom: 24px;
}

.pricing-card ul li {
  padding: 7px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.pricing-card ul li i {
  color: var(--primary);
  margin-right: 8px;
}

/* ========== Comparison Table ========== */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.compare-table thead th {
  background: var(--bg-alt);
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}

.compare-table thead th:not(:first-child) {
  text-align: center;
}

.compare-table tbody td {
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.compare-table tbody td:not(:first-child) {
  text-align: center;
}

.compare-table .check {
  color: #00A870;
  font-weight: 600;
}

/* ========== Australia Map ========== */
.map-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 36px;
  align-items: start;
}

#ausMap {
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.leaflet-popup-content {
  font-family: inherit;
  font-size: 0.85rem;
  margin: 8px 12px;
  line-height: 1.5;
}

.leaflet-popup-content strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

.leaflet-popup-content span {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.leaflet-popup-content .uni-rank {
  color: var(--primary);
  font-weight: 600;
}

.custom-marker {
  background: var(--primary);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  box-shadow: 0 2px 8px rgba(0,82,217,0.4);
  transition: all 0.2s;
}

.map-sidebar h3 {
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.map-uni-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 550px;
  overflow-y: auto;
}

.map-uni-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  transition: all 0.2s;
  cursor: pointer;
}

.map-uni-item:hover,
.map-uni-item.highlight {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  border-left: 3px solid var(--primary);
}

.map-uni-item .uni-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 5px;
}

.map-uni-item .uni-info h4 {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.map-uni-item .uni-info p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ========== Pagination ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 500;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}

.page-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-dark);
  color: #B0B0B0;
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 44px;
  padding-bottom: 44px;
}

.footer h4 {
  color: #fff;
  margin-bottom: 18px;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer-about p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 0;
}

.footer-links li { margin-bottom: 10px; }

.footer-links a {
  font-size: 0.85rem;
  color: #B0B0B0;
  transition: color 0.2s;
}

.footer-links a:hover { color: #fff; }

.footer-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #B0B0B0;
}

.footer-contact li i {
  color: #808080;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 18px 0;
  text-align: center;
  font-size: 0.8rem;
  color: #808080;
}

.footer-bottom a {
  color: #B0B0B0;
  margin: 0 12px;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: #fff; }

/* ========== Mobile Nav ========== */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 500;
}

.mobile-nav .close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ========== SweetAlert2 Overrides ========== */
.swal-popup {
  border-radius: 12px !important;
  padding: 40px 32px !important;
}

.swal-title {
  font-family: 'Inter', sans-serif !important;
  font-weight: 700 !important;
  color: var(--primary) !important;
}

/* ========== Toast ========== */
.toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #00A870;
  color: #fff;
  padding: 14px 24px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 2000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ========== Scroll Reveal ========== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up { transform: translateY(32px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-scale { transform: scale(0.94); }

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible,
.reveal-scale.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Auto-stagger child cards */
.services-grid .service-card:nth-child(1),
.advantages-grid .advantage-card:nth-child(1),
.news-grid .news-card:nth-child(1),
.process-list .process-step:nth-child(1),
.pricing-grid .pricing-card:nth-child(1),
.values-grid .value-card:nth-child(1) { transition-delay: 0.05s; }

.services-grid .service-card:nth-child(2),
.advantages-grid .advantage-card:nth-child(2),
.news-grid .news-card:nth-child(2),
.process-list .process-step:nth-child(2),
.pricing-grid .pricing-card:nth-child(2),
.values-grid .value-card:nth-child(2) { transition-delay: 0.15s; }

.services-grid .service-card:nth-child(3),
.advantages-grid .advantage-card:nth-child(3),
.news-grid .news-card:nth-child(3),
.process-list .process-step:nth-child(3),
.pricing-grid .pricing-card:nth-child(3),
.values-grid .value-card:nth-child(3) { transition-delay: 0.25s; }

.services-grid .service-card:nth-child(4),
.advantages-grid .advantage-card:nth-child(4),
.news-grid .news-card:nth-child(4),
.process-list .process-step:nth-child(4),
.values-grid .value-card:nth-child(4) { transition-delay: 0.35s; }

.services-grid .service-card:nth-child(5),
.advantages-grid .advantage-card:nth-child(5),
.news-grid .news-card:nth-child(5),
.process-list .process-step:nth-child(5) { transition-delay: 0.45s; }

.services-grid .service-card:nth-child(6),
.advantages-grid .advantage-card:nth-child(6),
.news-grid .news-card:nth-child(6),
.process-list .process-step:nth-child(6) { transition-delay: 0.55s; }

.services-grid .service-card:nth-child(7),
.advantages-grid .advantage-card:nth-child(7),
.process-list .process-step:nth-child(7) { transition-delay: 0.65s; }

.advantages-grid .advantage-card:nth-child(8) { transition-delay: 0.7s; }
.advantages-grid .advantage-card:nth-child(9) { transition-delay: 0.75s; }

/* ========== Counter Animation ========== */
.counter {
  display: inline-block;
}

/* ========== Back to Top ========== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(0,82,217,0.35);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,82,217,0.45);
}

/* ========== Glow Accents ========== */
.glow-section {
  position: relative;
}

.glow-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.glow-blue::before {
  background: rgba(0,82,217,0.08);
  top: -100px;
  right: -150px;
}

.glow-blue-left::before {
  background: rgba(0,82,217,0.06);
  top: 50%;
  left: -200px;
  transform: translateY(-50%);
}

/* ========== Section Dividers ========== */
.section-divider {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 0%);
  z-index: 1;
}

.section-divider-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 40px;
  background: #fff;
  clip-path: ellipse(55% 100% at 50% 100%);
  z-index: 1;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-cards { display: none; }
  .about-story { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .map-container { grid-template-columns: 1fr; }
  .map-sidebar { order: -1; }
  #ausMap { height: 400px; }
}

@media (max-width: 768px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  .hero-content h1 { font-size: 2rem; }

  .nav { display: none; }
  .hamburger { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-stat + .hero-stat::before { display: none; }
  .contact-form { padding: 24px; }
  .logo-img { height: 28px; }

  section { padding: 52px 0; }

  .process-list::before { left: 24px; }
  .process-step .step-number { width: 48px; height: 48px; font-size: 1.1rem; }

  .map-container { grid-template-columns: 1fr; }
  .map-sidebar { order: -1; }
  #ausMap { height: 300px; }
}
