/* Color variables */
:root {
  --bg: #0f1724;
  --muted: #94a3b8;
  --accent: #06b6d4;
  --accent-2: #0ea5b5;
  --card: #0b1220;
  --glass: rgba(255, 255, 255, 0.03);
  --radius: 14px;
  --maxw: 1100px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Main body styles and background gradient */
body {
  margin: 0;
  font-family: var(--sans);
  background: linear-gradient(180deg, #071021 0%, #071827 60%);
  color: #e6eef6;
  line-height: 1.5;
  min-height: 100vh;
}

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

/* Header and Navigation */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 36, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo,
.brand-logo-box {
  width: 100px;
  height: auto;
  border-radius: 10px;
  background: var(--glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name,
.logo {
  font-size: 1rem;
}

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

nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

nav a,
.main-nav .nav-link {
  color: var(--muted);
  text-decoration: none;
  margin-left: 0;
  font-weight: 600;
}

nav a.cta,
.main-nav .nav-link.cta,
.btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  padding: 10px 14px;
  border-radius: 10px;
  color: #02121a;
  border: none;
}

nav a:hover,
.main-nav .nav-link:hover,
.btn:hover {
  opacity: 0.95;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: center;
  padding: 48px 0;
}

.eyebrow {
  display: inline-block;
  background: rgba(255, 255, 255, 0.04);
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 18px;
}

h1 {
  font-size: 40px;
  margin: 0 0 14px;
  color: #ffffff;
}

p.lead {
  color: var(--muted);
  margin: 0 0 22px;
}

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

.btn {
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  color: #fff;
}

.btn.ghost,
button.ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
}

/* Cards and Stats */
.card,
.lms-card,
.service,
.project,
.site-footer,
footer {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border-radius: 18px;
}

.card,
.lms-card,
.service,
.project {
  padding: 20px;
}

.lms-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e6eef6;
}

.stats {
  display: flex;
  gap: 12px;
  align-items: center;
}

.stat {
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.stat h3 {
  margin: 0;
  color: #fff;
}

.stat p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

/* Services Section */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 36px 0;
}

.service {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.00));
  padding: 18px;
  border-radius: 12px;
}

.service h4 {
  margin: 0 0 8px;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* Portfolio Section */
.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 24px 0;
}

.project {
  border-radius: 12px;
  overflow: hidden;
  background: #06111a;
}

.project img {
  width: 100%;
  display: block;
}

.project .meta {
  padding: 12px;
}

/* Forms and inputs */
label {
  display: block;
  color: #f8fafc;
  margin-bottom: 8px;
  font-weight: 600;
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #e6eef6;
  outline: none;
  transition: border-color 200ms ease, background-color 200ms ease;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

button,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

/* Footer */
footer,
.site-footer {
  padding: 28px 0;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  margin-top: 28px;
}

.site-footer .footer-flex,
footer .footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

footer .muted,
.site-footer .muted {
  color: var(--muted);
}

/* Responsive Design */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer .footer-flex,
  footer .footer-flex {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .brand .name {
    display: none;
  }
  nav {
    flex-direction: column;
    align-items: flex-start;
  }
  .services,
  .portfolio {
    grid-template-columns: 1fr;
  }
  h1 {
    font-size: 28px;
  }
  .hero {
    padding: 28px 0;
  }
}

/* small utilities */
.muted {
  color: var(--muted);
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 999px;
}

.center {
  text-align: center;
}

/* Recognition Logos Slider */

.logo-slider{
    overflow: hidden;
    width: 100%;
    position: relative;
}

.logo-track{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: nowrap;
}

.logo-track img{
    height: 80px;      /* Same size for all logos */
    width: auto;
    max-width: 180px;
    object-fit: contain;
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.logo-track img:hover{
    transform: scale(1.05);
}

@keyframes scrollLogos{
    from{
        transform: translateX(0);
    }
    to{
        transform: translateX(-50%);
    }
}

/* Site-wide motion improvements */
:root {
  --motion-speed: 320ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Smooth transitions for common interactive elements */
.btn, .card, .service, .project, .project img, a, nav a, .chip, .stat, .portfolio img {
  transition: transform var(--motion-speed) var(--motion-ease),
              box-shadow var(--motion-speed) var(--motion-ease),
              opacity var(--motion-speed) var(--motion-ease),
              background-color var(--motion-speed) var(--motion-ease),
              border-color var(--motion-speed) var(--motion-ease);
  will-change: transform;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .service, .project, .project img, a, nav a, .chip, .stat, .portfolio img {
    transition: none !important;
    animation: none !important;
  }
}
