@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ========================
   CSS Variables & Reset
   ======================== */
:root {
  /* Colors */
  --background: hsl(220, 30%, 6%);
  --foreground: hsl(210, 20%, 98%);
  --card: hsl(220, 25%, 10%);
  --card-foreground: hsl(210, 20%, 98%);
  --primary: hsl(220, 50%, 15%);
  --primary-foreground: hsl(210, 20%, 98%);
  --accent: hsl(42, 50%, 60%);
  --accent-foreground: hsl(220, 30%, 6%);
  --secondary: hsl(220, 25%, 18%);
  --secondary-foreground: hsl(210, 20%, 90%);
  --muted: hsl(220, 20%, 20%);
  --muted-foreground: hsl(210, 15%, 65%);
  --border: hsl(220, 20%, 20%);
  
  /* Custom Colors */
  --gold: hsl(42, 50%, 60%);
  --gold-light: hsl(42, 45%, 70%);
  --gold-dark: hsl(42, 55%, 45%);
  --navy-deep: hsl(220, 30%, 6%);
  --navy-medium: hsl(220, 25%, 12%);
  --navy-light: hsl(220, 20%, 18%);
  
  /* Gradients */
  --gradient-gold: linear-gradient(135deg, hsl(42, 50%, 60%), hsl(42, 55%, 45%));
  --gradient-navy: linear-gradient(180deg, hsl(220, 30%, 6%), hsl(220, 25%, 12%));
  
  /* Shadows */
  --shadow-glow: 0 0 40px hsla(42, 50%, 60%, 0.15);
  --shadow-card: 0 8px 32px hsla(220, 30%, 6%, 0.4);
  
  /* Radius */
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* ========================
   Utility Classes
   ======================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: hsla(220, 25%, 10%, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsla(220, 20%, 20%, 0.5);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* ========================
   Buttons
   ======================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-hero {
  background: var(--gradient-gold);
  color: var(--accent-foreground);
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px hsla(42, 50%, 60%, 0.3);
}

.btn-hero-outline {
  background: transparent;
  color: var(--foreground);
  border: 2px solid hsla(210, 20%, 98%, 0.3);
  padding: 0.875rem 1.875rem;
}

.btn-hero-outline:hover {
  background: hsla(210, 20%, 98%, 0.1);
  border-color: hsla(210, 20%, 98%, 0.5);
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--accent-foreground);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px hsla(42, 50%, 60%, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--secondary);
  border-color: var(--accent);
}

.btn-nav {
  background: var(--gradient-gold);
  color: var(--accent-foreground);
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* ========================
   Navigation
   ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: hsla(220, 25%, 10%, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid hsla(220, 20%, 20%, 0.5);
  padding: 0.75rem 0;
}

nav {
    display: flex;
    width: 100%;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 2.5rem;
  width: auto;
  transition: transform 0.3s ease;
}

.navbar-logo:hover img {
  transform: scale(1.05);
}

.navbar-links {
  display: none;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .navbar-links {
    display: flex;
  }
}

.navbar-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: hsla(210, 20%, 98%, 0.8);
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--accent);
}

.navbar-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 2px;
}

.navbar-cta {
  display: none;
}

@media (min-width: 1024px) {
  .navbar-cta {
    display: block;
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1.5rem 0;
  border-top: 1px solid hsla(220, 20%, 20%, 0.3);
  margin-top: 1rem;
  background: hsla(220, 25%, 8%, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border: 1px solid hsla(220, 20%, 20%, 0.4);
  border-top: none;
  padding: 1.5rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin-top: 0;
  transform-origin: top;
  animation: none;
  text-align: center;
}

.mobile-menu.open {
  display: block;
  animation: menuSlideDown 0.25s ease forwards;
}

@keyframes menuSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: hsla(210, 20%, 98%, 0.8);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--accent);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 1rem;
}

/* ========================
   Hero Section
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, 
    hsla(220, 30%, 6%, 0.95), 
    hsla(220, 30%, 6%, 0.85), 
    hsla(220, 30%, 6%, 0.6)
  );
}

.hero-overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--navy-deep), transparent, transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  max-width: 48rem;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: hsla(42, 50%, 60%, 0.2);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}

@media (min-width: 1280px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: hsla(210, 20%, 98%, 0.8);
  max-width: 42rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator-inner {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid hsla(42, 50%, 60%, 0.5);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}

.scroll-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--accent);
  border-radius: 50%;
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* ========================
   Page Hero (Inner Pages)
   ======================== */
.page-hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(to bottom, var(--navy-deep), var(--navy-medium));
  position: relative;
  text-align: center;
}

.page-hero-blur {
  position: absolute;
  top: 25%;
  right: 0;
  width: 24rem;
  height: 24rem;
  background: hsla(42, 50%, 60%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.page-hero .container {
  position: relative;
  z-index: 10;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .page-hero h1 {
    font-size: 3.75rem;
  }
}

.page-hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

/* ========================
   Section Styles
   ======================== */
.section {
  padding: 6rem 0;
}

.section-navy {
  background: var(--navy-medium);
}

.section-bg {
  background: var(--background);
}

.section-accent {
  background: linear-gradient(to right, var(--accent), var(--gold-dark));
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-subtitle {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 1rem auto 0;
}

/* ========================
   Cards
   ======================== */
.card {
  background: hsla(220, 25%, 10%, 0.8);
  backdrop-filter: blur(24px);
  border: 1px solid hsla(220, 20%, 20%, 0.5);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: hsla(42, 50%, 60%, 0.4);
}

.card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: hsla(42, 50%, 60%, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease;
}

.card:hover .card-icon {
  background: hsla(42, 50%, 60%, 0.3);
}

.card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--accent);
}

.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--muted-foreground);
}

/* ========================
   Grid Layouts
   ======================== */
.grid-2 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-4 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ========================
   Four Pillars Section
   ======================== */
.pillars-section {
  position: relative;
  background: var(--navy-medium);
}

.pillars-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--navy-deep), transparent);
  opacity: 0.5;
}

.pillars-section .container {
  position: relative;
  z-index: 10;
}

/* ========================
   Stats Section
   ======================== */
.stats-section {
  padding: 5rem 0;
  background: linear-gradient(to right, var(--accent), var(--gold-dark));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-foreground);
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 3rem;
  }
}

.stat-label {
  color: hsla(220, 30%, 6%, 0.8);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ========================
   About Preview
   ======================== */
.about-preview {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-preview {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

.about-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(220, 30%, 6%, 0.5), transparent);
  border-radius: var(--radius-xl);
}

.about-floating-card {
  position: absolute;
  bottom: -1.5rem;
  left: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius);
}

.about-floating-card svg {
  width: 2rem;
  height: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.about-floating-card strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
}

.about-floating-card span {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.about-content {
  space-y: 1.5rem;
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-content h2 {
    font-size: 2.5rem;
  }
}

.about-content > p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-list {
  margin-bottom: 2rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.about-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.about-list span {
  color: hsla(210, 20%, 98%, 0.9);
}

/* ========================
   Services Cards
   ======================== */

.services-hero {
  position: relative;
  background-image: url('./assets/my-story.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.55);
  z-index: 0;
}

.services-hero .container,
.services-hero .page-hero-blur {
  position: relative;
  z-index: 1;
}

.services-fixed-bg-wrap {
  position: relative;
  overflow: hidden;
}

.services-fixed-bg-wrap::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url('./assets/services.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
  pointer-events: none;
}

.services-fixed-bg-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.78);
  z-index: -1;
  pointer-events: none;
}

.services-layer {
  position: relative;
  z-index: 1;
}

.services-fixed-bg-wrap .section-bg {
  background: transparent !important;
}

.services-card {
  position: relative;
  overflow: hidden;
}

.services-card-circle {
  position: absolute;
  top: 0;
  right: 0;
  width: 10rem;
  height: 10rem;
  background: hsla(42, 50%, 60%, 0.05);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.services-card svg.icon {
  width: 3rem;
  height: 3rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.services-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.services-card p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.services-card ul {
  margin-bottom: 2rem;
}

.services-card li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsla(210, 20%, 98%, 0.8);
  margin-bottom: 0.5rem;
}

.services-card li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background: var(--accent);
  border-radius: 50%;
}

/* ========================
   Testimonials
   ======================== */
.testimonial-card {
  padding: 2.5rem;
}

.testimonial-quote {
  width: 3rem;
  height: 3rem;
  color: var(--accent);
  opacity: 0.5;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.125rem;
  color: var(--foreground);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}

.testimonial-role {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ========================
   CTA Section
   ======================== */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-blur {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 37.5rem;
  height: 37.5rem;
  background: hsla(42, 50%, 60%, 0.05);
  border-radius: 50%;
  filter: blur(48px);
}

.cta-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
  margin: 0 auto;
  padding: 3rem;
  text-align: center;
  border-radius: var(--radius-xl);
}

@media (min-width: 768px) {
  .cta-content {
    padding: 4rem;
  }
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 2.5rem;
  }
}

.cta-content p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ========================
   Footer
   ======================== */
.footer {
  background: var(--navy-deep);
  border-top: 1px solid hsla(220, 20%, 20%, 0.3);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 1.5rem 0;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--accent-foreground);
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-contact svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-contact span,
.footer-contact a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid hsla(220, 20%, 20%, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ========================
   Forms
   ======================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: hsla(220, 25%, 18%, 0.5);
  border: 1px solid hsla(220, 20%, 20%, 0.5);
  border-radius: var(--radius);
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted-foreground);
}

.form-textarea {
  resize: none;
  min-height: 150px;
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================
   Contact Page
   ======================== */
.contact-grid {
  display: grid;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
  }
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  background: hsla(42, 50%, 60%, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.contact-info-label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.contact-info-value {
  font-weight: 500;
}

.contact-info-value a:hover {
  color: var(--accent);
}

.contact-form-wrapper {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 2.5rem;
  }
}

/* ========================
   Blog Page
   ======================== */
.search-wrapper {
  position: relative;
  max-width: 28rem;
  margin: 0 auto;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
}

.search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  background: hsla(220, 25%, 18%, 0.5);
  border: 1px solid hsla(220, 20%, 20%, 0.5);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
}

.categories-bar {
  padding: 2rem 0;
  background: var(--navy-medium);
  border-bottom: 1px solid hsla(220, 20%, 20%, 0.3);
}

.categories-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.category-btn {
  padding: 0.5rem 1rem;
  background: hsla(220, 25%, 18%, 0.5);
  border: none;
  border-radius: 9999px;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: var(--secondary);
  color: var(--foreground);
}

.category-btn.active {
  background: var(--accent);
  color: var(--accent-foreground);
}

.blog-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.blog-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  border-color: hsla(42, 50%, 60%, 0.4);
}

.blog-card-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, hsla(42, 50%, 60%, 0.2), hsla(42, 55%, 45%, 0.2));
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.blog-category {
  padding: 0.25rem 0.5rem;
  background: hsla(42, 50%, 60%, 0.2);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 4px;
}

.blog-date,
.blog-read-time {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.blog-date svg,
.blog-read-time svg {
  width: 0.75rem;
  height: 0.75rem;
}

.blog-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.blog-card:hover h3 {
  color: var(--accent);
}

.blog-card p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 1rem;
}

.blog-read-more svg {
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-read-more svg {
  transform: translateX(4px);
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
}

.sidebar-widget h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.sidebar-widget h3 svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
}

.sidebar-categories button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sidebar-categories button:hover {
  background: var(--secondary);
  color: var(--foreground);
}

.sidebar-categories button.active {
  background: hsla(42, 50%, 60%, 0.2);
  color: var(--accent);
}

.newsletter-widget p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.newsletter-widget .form-input {
  margin-bottom: 0.75rem;
}

.cta-widget {
  background: linear-gradient(135deg, var(--accent), var(--gold-dark));
  color: var(--accent-foreground);
}

.cta-widget h3 {
  color: var(--accent-foreground);
}

.cta-widget p {
  color: hsla(220, 30%, 6%, 0.8);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.cta-widget .btn {
  width: 100%;
  background: transparent;
  border: 1px solid hsla(220, 30%, 6%, 0.3);
  color: var(--accent-foreground);
}

.cta-widget .btn:hover {
  background: hsla(220, 30%, 6%, 0.1);
}

/* ========================
   Process Steps
   ======================== */
.process-grid {
  display: grid;
  gap: 2rem;
}

/* ===== About Mosaic Grid ===== */
.about-mosaic-label {
  display: inline-block;
  margin-bottom: 10px;
}

.about-mosaic {
  position: relative;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 90px;
  border-radius: 18px;
  overflow: hidden;
}

.mosaic-item {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.mosaic-item:hover img {
  transform: scale(1.04);
}

.mobile-break {
  display: inline;
}

/* Mosaic layout (asymmetric) */
.m1 { grid-column: 1 / span 3; grid-row: 1 / span 2; }
.m2 { grid-column: 4 / span 3; grid-row: 1 / span 1; }
.m3 { grid-column: 4 / span 3; grid-row: 2 / span 2; }
.m4 { grid-column: 1 / span 2; grid-row: 3 / span 2; }
.m5 { grid-column: 3 / span 1; grid-row: 3 / span 1; }
.m6 { grid-column: 3 / span 1; grid-row: 4 / span 1; }

/* Mobile: simplify */
@media (max-width: 768px) {
  .about-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 120px;
    gap: 10px;
    border-radius: 16px;
  }

  .about-floating-card{
    left:-1rem;
    right:auto;
    bottom:-1rem;
  }
  
  .hero,
  .page-hero{
    background-position: 65% center;
  }

  .mobile-break{
    display:block;
  }

  .m1, .m2, .m3, .m4, .m5, .m6 {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  position: relative;
  text-align: center;
}

.process-connector {
  display: none;
}

@media (min-width: 768px) {
  .process-connector {
    display: block;
    position: absolute;
    top: 2rem;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, hsla(42, 50%, 60%, 0.5), transparent);
  }
}

.process-number {
  width: 4rem;
  height: 4rem;
  background: var(--accent);
  color: var(--accent-foreground);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  z-index: 10;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* ========================
   Timeline
   ======================== */
.timeline {
  position: relative;
  padding-left: 2rem;
}

@media (min-width: 768px) {
  .timeline {
    padding-left: 0;
  }
}

.timeline-line {
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: hsla(42, 50%, 60%, 0.3);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
    transform: translateX(-50%);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .timeline-item {
    display: flex;
  }
  
  .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
  }
}

.timeline-spacer {
  display: none;
}

@media (min-width: 768px) {
  .timeline-spacer {
    display: block;
    width: 50%;
  }
}

.timeline-content {
  padding-left: 2rem;
}

@media (min-width: 768px) {
  .timeline-content {
    width: 50%;
    padding: 0 3rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
  }
}

.timeline-card {
  display: inline-block;
  text-align: left;
  padding: 1.5rem;
  border-radius: var(--radius);
}

.timeline-year {
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
}

.timeline-title {
  font-size: 1.125rem;
  margin-top: 0.5rem;
}

.timeline-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.timeline-dot {
  position: absolute;
  left: 1rem;
  top: 0;
  width: 1rem;
  height: 1rem;
  background: var(--accent);
  border: 4px solid var(--navy-medium);
  border-radius: 50%;
  transform: translateX(-50%);
}

@media (min-width: 768px) {
  .timeline-dot {
    left: 50%;
  }
}

/* ========================
   Credentials Bar
   ======================== */
.credentials-bar {
  padding: 5rem 0;
  background: var(--accent);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .credentials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.credential-item {
  text-align: center;
}

.credential-item svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--accent-foreground);
  margin: 0 auto 0.75rem;
}

.credential-item span {
  color: var(--accent-foreground);
  font-weight: 500;
}

/* ========================
   Values Grid
   ======================== */
.values-card {
  text-align: center;
}

.values-card .card-icon {
  margin: 0 auto 1.5rem;
}

/* ========================
   Philosophy Section
   ======================== */
.philosophy-card {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: var(--radius-xl);
}

.philosophy-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.philosophy-column h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.philosophy-column h3 svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.philosophy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.philosophy-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--accent);
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.philosophy-list span {
  color: hsla(210, 20%, 98%, 0.9);
}

/* ========================
   Map Section
   ======================== */
.map-section {
  height: 24rem;
  background: var(--navy-medium);
  position: relative;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--background), transparent);
  z-index: 10;
  pointer-events: none;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.map-placeholder svg {
  width: 3rem;
  height: 3rem;
  color: var(--accent);
}

.map-placeholder p {
  color: var(--muted-foreground);
}

/* ========================
   Services Detail Cards
   ======================== */
.service-detail-card {
  padding: 2rem;
}

.service-detail-card .card-icon {
  transition: background 0.3s ease;
}

.service-detail-card:hover .card-icon {
  background: hsla(42, 50%, 60%, 0.3);
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: hsla(210, 20%, 98%, 0.8);
}

.service-features svg {
  width: 1rem;
  height: 1rem;
  color: var(--accent);
  flex-shrink: 0;
}

/* ========================
   Animations
   ======================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.5s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animations — single source of truth */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* stat-item base state for count-up animation */
.stat-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stat-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   Divider
   ======================== */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, hsla(42, 50%, 60%, 0.3), transparent);
}

/* ========================
   Featured Blog Grid
   ======================== */
.featured-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================
   Article List Card
   ======================== */
.article-list-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.5rem;
}

@media (min-width: 768px) {
  .article-list-card {
    flex-direction: row;
  }
}

.article-list-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, hsla(42, 50%, 60%, 0.2), hsla(42, 55%, 45%, 0.2));
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .article-list-image {
    width: 12rem;
    aspect-ratio: 1;
    flex-shrink: 0;
  }
}

.article-list-content {
  flex: 1;
}

/* Quick Schedule Card */
.quick-schedule {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  margin-top: 2rem;
}

.quick-schedule-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.quick-schedule-header svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--accent);
}

.quick-schedule p {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* ========================
   Loading Spinner
   ======================== */
.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid hsla(220, 30%, 6%, 0.3);
  border-top-color: var(--accent-foreground);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ========================
   Empty State
   ======================== */
.empty-state {
  text-align: center;
  padding: 4rem 0;
}

.empty-state p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}