/* ============================================================
   logic.ist — Professional Minimalist Stylesheet
   Colors: #2F80ED (Blue) | #F2994A (Orange) | #F2C94C (Yellow)
           #0B1F3A (Background) | #E0E0E0 (Text)
   ============================================================ */

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue:      #2F80ED;
  --orange:    #F2994A;
  --yellow:    #F2C94C;
  --bg:        #0B1F3A;
  --bg-subtle: #0F2847;
  --text:      #E0E0E0;
  --text-dim:  #A0AEC0;
  --border:    rgba(255, 255, 255, 0.08);
  --radius:    8px;
  --transition: 0.2s ease-out;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Utility ──────────────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-dim);
  font-size: 1.125rem;
  max-width: 600px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: #2563eb;
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-dim);
}

/* ── Navigation ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo-img {
  height: 40px; /* Increased for better presence */
  width: auto;
  display: block;
  object-fit: contain;
}

#navbar.scrolled .logo-img {
  height: 34px; /* Subtle shrink on scroll for a refined feel */
}

.footer .logo-img {
  height: 36px; /* Slightly smaller in footer */
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dim);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  color: var(--blue) !important;
  font-weight: 600 !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
  transform-origin: center;
}

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

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

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* ── Services ─────────────────────────────────────────────── */
.services {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--blue);
}

.service-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.service-list {
  margin-bottom: 2rem;
}

.service-list li {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--blue);
  border-radius: 50%;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}

/* ── About ────────────────────────────────────────────────── */
.about {
  padding: 8rem 0;
  background: var(--bg-subtle);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

/* ── Work ─────────────────────────────────────────────────── */
.work {
  padding: 8rem 0;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.work-card {
  padding: 2.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.work-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.work-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.work-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

/* ── Process ──────────────────────────────────────────────── */
.process {
  padding: 8rem 0;
  border-top: 1px solid var(--border);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  padding: 1.5rem;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
}

.step-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.step-content p {
  color: var(--text-dim);
  font-size: 0.9rem;
}

/* ── Tech ─────────────────────────────────────────────────── */
.tech {
  padding: 4rem 0;
  background: var(--bg-subtle);
}

.tech-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.tech-tag {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-dim);
  white-space: nowrap;
}

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials {
  padding: 8rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  border-left: 1px solid var(--border);
}

.testimonial-card p {
  font-style: italic;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Contact ──────────────────────────────────────────────── */
.contact {
  padding: 8rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  outline: none;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ── Animations ───────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease-out;
}

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

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-grid, .work-grid, .testimonials-grid, .process-steps, .about-grid, .contact-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hero { padding-top: 8rem; text-align: center; }
  .hero-content { margin: 0 auto; }
  .hero-sub { margin: 0 auto 2.5rem; }
  .hero-actions { justify-content: center; }
  
  .section-header { text-align: center; margin-bottom: 3rem; }
  .section-header p { margin: 0 auto; }
  
  .about-visual { order: -1; }
  
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.5rem; }
  .services, .about, .process, .contact, .work { padding: 5rem 0; }
  .hero-title { font-size: 3rem; }
}

@media (max-width: 600px) {
  .hamburger { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-links a {
    font-size: 1.25rem;
  }
}


