:root {
  --sora: 'Sora', sans-serif;
  --primary-1: #2A3DFF; /* Main Lamstech Blue */
  --primary-2: #6C63FF; /* Accent Violet */
  --accent: #00BFFF;    /* Hover Accent */
  --dark-bg: #0A0E27;
  --text-dark: #222B45;
  --gradient: linear-gradient(90deg, var(--primary-1), var(--primary-2));
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.25);
}

/* === NAVBAR === */
.site-navbar, .site-navbar * {
  font-family: var(--sora) !important;
}

.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1040;
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  padding: .55rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Brand */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.brand-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  background: var(--gradient);
  box-shadow: 0 4px 15px rgba(42, 61, 255, 0.3);
}

.brand-name {
  font-weight: 700;
  font-size: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navigation Links */
.site-nav .nav-link {
  color: var(--text-dark);
  font-weight: 600;
  padding: .45rem .6rem;
  transition: color .18s ease, transform .12s ease;
}
.site-nav .nav-link:hover {
  color: var(--primary-1);
  transform: translateY(-1px);
}

/* Contact Button */
.btn-contact {
  background: var(--gradient);
  border: none;
  color: #fff;
  border-radius: 8px;
  padding: .45rem 1rem;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(42, 61, 255, 0.25);
  transition: all 0.3s ease;
}
.btn-contact:hover {
  background: linear-gradient(90deg, var(--primary-2), var(--accent));
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.35);
}

/* Mobile / Offcanvas */
.offcanvas.offcanvas-end {
  background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.85));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-left: 1px solid rgba(0,0,0,0.04);
}

.mobile-nav .nav-link {
  font-size: 1.05rem;
  padding: .6rem 0;
  color: var(--text-dark);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .offcanvas.offcanvas-end { width: 78%; max-width: 380px; }
}

.navbar-toggler { z-index: 1060; }

@media (min-width: 992px) {
  .offcanvas { display: none !important; }
}

@media (max-width: 991.98px) {
  .offcanvas { display: block !important; }
}

/* === BODY & BACK TO TOP === */
body {
  padding-top: 72px;
  background-color: #F5F7FF;
  color: var(--text-dark);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-1);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: var(--accent);
  transform: translateY(-3px);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ===== Lamstech Footer Styles ===== */
.lamstech-footer {
  background: linear-gradient(135deg, #0A0E2A, #2E43FF);
  color: #F4F6FB;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Logo */
.footer-logo {
  max-width: 180px;
}

/* Footer Headings */
.footer-heading {
  color: #00E5FF;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Footer Text */
.footer-text {
  color: #d6d9e4;
  margin-bottom: 0;
}

/* Quick Links */
.footer-links a {
  color: #F4F6FB;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #00E5FF;
}

/* Contact Info */
.footer-contact li {
  margin-bottom: 0.5rem;
  color: #d6d9e4;
}

/* Social Icons */
.footer-social a {
  color: #F4F6FB;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.footer-social a:hover {
  color: #7F00FF;
}

/* Copyright Area */
.lamstech-footer small {
  color: #bfc4d1;
}

/* Responsive: Center alignment for mobile */
@media (max-width: 767.98px) {
  .lamstech-footer {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

/* =========================
   Back to Top Button Styles
   ========================= */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #2E43FF, #7F00FF); /* Lamstech gradient */
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(46, 67, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

/* Hover Effect */
.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(127, 0, 255, 0.35);
}

/* Show Button When Scrolled */
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }
}
