:root {
  --bg-dark: #0a192f;
  --bg-darker: #020c1b;
  --bg-light: #112240;
  --bg-lighter: #233554;
  --accent-cyan: #64ffda;
  --accent-blue: #00b4d8;
  --text-main: #e6f1ff;
  --text-muted: #8892b0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-cyan);
}

.section {
  padding: 100px 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Glassmorphism Utilities */
.glass {
  background: rgba(17, 34, 64, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(100, 255, 218, 0.1);
  border-radius: 12px;
}

/* Typography Utilities */
.text-cyan { color: var(--accent-cyan); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  font-size: 0.9rem;
}

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

.btn-primary:hover {
  background-color: rgba(100, 255, 218, 0.1);
  box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
}

.btn-solid {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
  color: var(--bg-darker);
  border: none;
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 180, 216, 0.2);
  color: var(--bg-darker);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(2, 12, 27, 0.9);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar-brand span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links li a {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-cyan);
  transition: var(--transition);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
  width: 100%;
}

/* Hero Section Refined */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../img/hero_bg.png');
  background-size: cover;
  background-position: center;
  z-index: -3;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, rgba(10,25,47,0.5) 0%, rgba(2,12,27,0.95) 100%);
  z-index: -2;
}

.hero-glow-orb {
  position: absolute;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(100,255,218,0.2) 0%, rgba(0,0,0,0) 60%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 5rem;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 40px rgba(100,255,218,0.3);
}

.hero p {
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-muted);
  max-width: 750px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 80px;
}

/* Features/Services Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Why Choose Us */
.why-us {
  background-color: var(--bg-darker);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(100, 255, 218, 0.1);
}

.feature-list {
  list-style: none;
  margin-top: 30px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.feature-list i {
  color: var(--accent-cyan);
  margin-top: 5px;
  margin-right: 15px;
  font-size: 1.2rem;
}

.feature-list h4 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.feature-list p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */
footer {
  background-color: var(--bg-darker);
  padding: 80px 0 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Inner Page Header */
.page-header {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  text-align: center;
  border-bottom: 1px solid rgba(100, 255, 218, 0.1);
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(100, 255, 218, 0.1);
  border-radius: 4px;
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  background: rgba(255,255,255,0.05);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .why-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; /* simple mobile menu fallback in js if needed */ }
}

/* Advanced Service Blocks */
.service-showcase {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-block {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.7), rgba(10, 25, 47, 0.8));
    border: 1px solid rgba(100, 255, 218, 0.15);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-block:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.4);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.service-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 6px; height: 100%;
    background: var(--accent-cyan);
    box-shadow: 0 0 15px transparent;
    transition: var(--transition);
}

.service-block:hover::before {
    box-shadow: 0 0 20px var(--accent-cyan);
}

.service-block.alt-color::before {
    background: var(--accent-blue);
}
.service-block.alt-color:hover::before {
    box-shadow: 0 0 20px var(--accent-blue);
}
.service-block.alt-color:hover {
    border-color: rgba(0, 180, 216, 0.4);
}

.service-block-left {
    flex: 1 1 350px;
    padding: 60px 40px;
    background: rgba(2, 12, 27, 0.6);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.service-block-left i.hero-icon {
    font-size: 3.5rem;
    color: var(--accent-cyan);
    margin-bottom: 25px;
    text-shadow: 0 0 20px rgba(100,255,218,0.2);
}

.service-block.alt-color .service-block-left i.hero-icon {
    color: var(--accent-blue);
    text-shadow: 0 0 20px rgba(0, 180, 216, 0.2);
}

.service-block-right {
    flex: 2 1 450px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-meta-title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: block;
}

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

.outcome-item {
    background: rgba(255,255,255,0.03);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: var(--transition);
}

.outcome-item:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(100, 255, 218, 0.3);
    transform: translateY(-3px);
}

.outcome-item i {
    color: var(--accent-cyan);
    font-size: 1.4rem;
    margin-top: 2px;
}

.service-block.alt-color .outcome-item:hover {
    border-color: rgba(0, 180, 216, 0.3);
}
.service-block.alt-color .outcome-item i {
    color: var(--accent-blue);
}

.service-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(100,255,218,0.1);
    color: var(--accent-cyan);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.service-block.alt-color .service-tag {
    background: rgba(0,180,216,0.1);
    color: var(--accent-blue);
}

/* Homepage specific */
.hero-stats-wrapper {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.hero-stat-box {
    position: relative;
}

.hero-stat-box h3 {
    font-size: 3.8rem;
    color: #fff;
    margin-bottom: -10px;
    font-family: var(--font-heading);
    letter-spacing: -2px;
}

.hero-stat-box h3 span {
    color: var(--accent-cyan);
    font-size: 3rem;
}

.hero-stat-box p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Steps Layout */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
    margin-top: 60px;
}

.step-card {
    background: linear-gradient(180deg, rgba(17, 34, 64, 0.4) 0%, rgba(10, 25, 47, 0.6) 100%);
    border-top: 4px solid var(--accent-cyan);
    border-left: 1px solid rgba(100, 255, 218, 0.1);
    border-right: 1px solid rgba(100, 255, 218, 0.1);
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    border-radius: 12px;
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
    background: linear-gradient(180deg, rgba(17, 34, 64, 0.8) 0%, rgba(10, 25, 47, 0.9) 100%);
    border-color: rgba(100, 255, 218, 0.4);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 7rem;
    color: rgba(255,255,255,0.02);
    line-height: 1;
    transition: var(--transition);
    user-select: none;
}

.step-card:hover .step-number {
    color: rgba(100,255,218,0.05);
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 1.5rem;
    margin: 20px 0 15px;
    position: relative;
    z-index: 2;
}

.step-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 2;
    margin-bottom: 20px;
}

.step-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(100,255,218,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.step-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--accent-cyan);
}

/* Diagonal section */
.diagonal-section {
    position: relative;
    padding: 150px 0;
    background: var(--bg-darker);
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    margin: 50px 0;
}

.feature-list-large {
    list-style: none;
}

.feature-list-large li {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.feature-list-large .icon-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-cyan));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
}

.feature-list-large .icon-box i {
    color: var(--bg-darker);
    font-size: 1.5rem;
}

.feature-list-large h4 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #fff;
}

/* Magical Resources Page */
.resources-master-container {
    position: relative;
    padding: 50px 0 100px;
}

.resources-bg-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100,255,218,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(50px);
    pointer-events: none;
}
.orb-1 { top: -100px; left: -200px; }
.orb-2 { bottom: 10%; right: -200px; background: radial-gradient(circle, rgba(0,180,216,0.1) 0%, rgba(0,0,0,0) 70%); }

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    position: relative;
}

.magic-card {
    background: linear-gradient(145deg, rgba(17, 34, 64, 0.4), rgba(10, 25, 47, 0.7));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid transparent;
    border-radius: 20px;
    padding: 40px 35px 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.magic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(100,255,218,0.6), rgba(0,180,216,0.1), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.1;
    transition: opacity 0.5s ease;
}

.magic-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 40px rgba(100,255,218,0.1);
}

.magic-card:hover::before {
    opacity: 1;
}

.magic-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(100,255,218,0.1), rgba(0,180,216,0.05));
    border: 1px solid rgba(100,255,218,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    transition: transform 0.5s ease;
}

.magic-card:hover .magic-card-icon {
    transform: scale(1.1) rotate(5deg);
    border-color: rgba(100,255,218,0.5);
}

.magic-card-icon i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    filter: drop-shadow(0 0 15px rgba(100,255,218,0.4));
}

.magic-card-label {
    display: inline-block;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border-radius: 6px;
    margin-bottom: 15px;
}

.magic-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.3;
}

.magic-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.magic-action {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    text-align: center;
    background: linear-gradient(0deg, rgba(100,255,218,0.15) 0%, transparent 100%);
    padding: 25px 0 15px;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-cyan);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.magic-card:hover .magic-action {
    bottom: 0;
    opacity: 1;
}

/* Custom Guide Lists */
.guide-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.guide-item {
    display: flex;
    align-items: center;
    padding: 25px;
    background: linear-gradient(90deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.guide-item::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0; width: 6px;
    background: linear-gradient(180deg, var(--accent-cyan), var(--accent-blue));
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: center;
}

.guide-item:hover {
    background: linear-gradient(90deg, rgba(100,255,218,0.05) 0%, rgba(255,255,255,0.02) 100%);
    border-color: rgba(100,255,218,0.2);
    transform: translateX(15px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.guide-item:hover::before {
    transform: scaleY(1);
}

.guide-item i.guide-icon {
    font-size: 1.8rem;
    color: var(--text-muted);
    margin-right: 25px;
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.guide-item:hover i.guide-icon {
    color: var(--accent-cyan);
    background: rgba(100,255,218,0.1);
    transform: rotate(5deg) scale(1.1);
}

.guide-item-content h4 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.guide-item:hover .guide-item-content h4 {
    color: var(--accent-cyan);
}

.guide-item-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.mt-60 { margin-top: 60px; }
.mb-40 { margin-bottom: 40px; }
.p-40 { padding: 40px; }

