/* Fonts: Poppins (headlines), Inter (body) */
:root {
  /* Brand colors */
  --black: #000000;
  --white: #FFFFFF;
  --red: #C62828;            /* Rajwadi Red */
  --green: #2E7D32;          /* Artisan Green */
  --charcoal: #1F2937;
  --slate: #334155;
  --light-gray: #E5E7EB;
  --midnight-blue: #1B2A4D;
  --violet: #6C63FF;         /* Electric Violet */
  --steel-blue: #3B82F6;     /* Optional accent */

  /* Layout */
  --container: 1120px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -999px; top: -999px;
}
.skip-link:focus {
  left: 16px; top: 16px; background: var(--white); color: var(--black);
  padding: 8px 12px; border: 1px solid var(--slate);
}

/* Header */
.site-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  background: rgba(20, 20, 30, 0.55);
  backdrop-filter: blur(12px);
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 100;
  transition: width 0.3s ease, border-radius 0.3s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white);
}
.brand-emblem {
  width: 28px; height: 28px; border-radius: 6px;
  background:
    linear-gradient(#0000,#0000),
    linear-gradient(#0000,#0000);
  position: relative;
}
.brand-emblem::before,
.brand-emblem::after {
  content: ""; position: absolute; inset: 0;
}
.brand-emblem::before {
  width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent;
  border-bottom: 24px solid var(--red); top: 2px; left: 0;
}
.brand-emblem::after {
  width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent;
  border-top: 24px solid var(--red); bottom: 2px; left: 0; opacity: 0.85;
}
.brand-text {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}
.nav { margin-left: auto; }
.nav-toggle {
  display: none;
  font-size: 1.6rem;
  color: #FFFFFF;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger { width: 24px; height: 2px; background: var(--white); position: relative; }
.hamburger::before, .hamburger::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--white);
}
.hamburger::before { top: -6px; } .hamburger::after { top: 6px; }

.nav-list {
  display: flex; gap: 20px; list-style: none; margin: 0; padding: 0;
}
.nav-list a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
}
.nav-list a:hover {
  color: #FFFFFF;
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 12px rgba(108,99,255,0.6);
}
.nav-list a:active {
  background: rgba(108,99,255,0.25);
  color: #FFFFFF;
  box-shadow: 0 0 16px rgba(108,99,255,0.8) inset;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background: #6C63FF;
  transition: width 0.3s ease, left 0.3s ease;
}
.nav-list a:hover::after {
  width: 60%;
  left: 20%;
}

.header-cta .btn { margin-left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 12px 18px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 600; border: 1px solid transparent;
  transition: 160ms ease;
}
.btn-primary {
  background: var(--black); color: var(--white);
}
.btn-primary:hover { border-color: var(--red); }
.btn-secondary {
  background: transparent; color: var(--white); border-color: var(--slate);
}
.btn-secondary:hover { background: var(--slate); }

.btn-cta {
  background: var(--violet); color: var(--white); border-color: transparent;
}
.btn-cta:hover { background: #5a4cf4; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #1B2A4D, #6C63FF);
  color: #fff;
  padding: 140px 0 100px;
  text-align: center;
}
.hero-title {
  font-family: Poppins, sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 16px;
}
.hero-sub {
  max-width: 700px;
  margin: 0 auto 32px;
  color: rgba(255,255,255,0.85);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-actions .btn {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.hero-actions .btn:hover {
  background: rgba(255,255,255,0.25);
  border-color: #6C63FF;
  box-shadow: 0 0 12px #6C63FF;
}
.hero-accent {
  width: 160px; height: 2px; background: var(--red); margin-top: 24px;
}

/* Sections */
.section { padding: 64px 0; }
.section-title {
  font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.75rem; margin: 0 0 8px; color: var(--charcoal);
}
.section-sub { color: var(--slate); margin: 0 0 24px; }

/* Services cards */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  /* color: #fff; */
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.card-icon { font-size: 28px; }
.card-icon-green { color: var(--green); }
.card-icon-red { color: var(--red); }
.card-icon-slate { color: var(--slate); }
.card-icon-violet { color: var(--violet); }
.card-title {
  font-family: Poppins, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.card-body {
  color: var(--slate);
}

/* Work / case studies */
.work { background: var(--light-gray); }
.case-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.case-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  color: #fff;
}
.case-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  color: #6b6b6b;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}
.tag:hover {
  background: rgba(255,255,255,0.2);
  border-color: #6C63FF;
  box-shadow: 0 0 10px rgba(108,99,255,0.6);
  color: #1a1a1a;
}
.tag-red {
  background: rgba(198,40,40,0.85);
  color: #FFFFFF;
  border: 1px solid rgba(198,40,40,1);
}
.tag-green {
  background: rgba(46,125,50,0.85);
  color: #FFFFFF;
  border: 1px solid rgba(46,125,50,1);
}
.tag-blue {
  background: rgba(59,130,246,0.85);
  color: #FFFFFF;
  border: 1px solid rgba(59,130,246,1);
}
.tag-violet {
  background: rgba(108,99,255,0.85);
  color: #FFFFFF;
  border: 1px solid rgba(108,99,255,1);
}
.case-title { font-family: Poppins, sans-serif; font-weight: 700; color: var(--charcoal); margin: 8px 0 0; }
.case-desc { color: var(--slate); margin: 0; }
.case-link { color: var(--steel-blue); font-weight: 600; text-decoration: none; }
.case-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* CTA section */
.cta {
  background: linear-gradient(120deg, var(--midnight-blue), var(--charcoal));
  color: var(--white);
}
.cta-inner { text-align: center; }
.cta-title {
  font-family: Poppins, sans-serif; font-weight: 700; font-size: 1.75rem; margin: 0 0 8px;
}
.cta-sub { color: #e6e9ef; margin-bottom: 20px; }

/* About */
.about-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.about-title {
  font-family: Poppins, sans-serif; font-weight: 700; color: var(--charcoal); margin: 0 0 8px;
}

/* Contact */
.contact-form {
  background: var(--white); border: 1px solid var(--light-gray); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px;
}
.form-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
label { font-weight: 600; color: var(--charcoal); }
input, textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--slate); background: var(--white); color: var(--charcoal);
  outline: none; transition: 140ms ease;
}
input:focus, textarea:focus {
  border-color: var(--violet); box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.25);
}
.form-actions { display: flex; gap: 12px; }

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 50%, #334155 100%);
  color: #FFFFFF;
  padding: 64px 0 32px;
  margin-top: 80px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.3), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-section {
  display: flex;
  flex-direction: column;
}

.footer-brand-section {
  align-items: flex-start;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.footer-brand:hover {
  transform: scale(1.05);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: rgba(108, 99, 255, 0.2);
  border-color: rgba(108, 99, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.3);
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #6C63FF, #A855F7);
  border-radius: 1px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #6C63FF;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-links a:hover::before {
  width: 100%;
}

.contact-info p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.footer-cta {
  display: inline-block;
  background: linear-gradient(135deg, #6C63FF, #A855F7);
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.footer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}

.contact-detail {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #6C63FF;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand-section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 48px 0 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }

  .social-links {
    gap: 12px;
  }

  .social-link {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .header-inner { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none; background: var(--charcoal); position: absolute; right: 24px; top: 56px; padding: 12px; border-radius: var(--radius);
  }
  .nav-list.is-open { display: flex; flex-direction: column; }
  .cards { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

button {
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

.header-cta .btn-primary {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  transition: all 0.3s ease;
}
.header-cta .btn-primary:hover {
  background: rgba(108,99,255,0.25);
  border-color: #6C63FF;
  box-shadow: 0 0 12px #6C63FF;
  color: #FFFFFF;
}
.header-cta .btn-primary:active {
  background: rgba(108,99,255,0.35);
  box-shadow: 0 0 16px #6C63FF inset;
}

.header-cta .btn-secondary {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  transition: all 0.3s ease;
}
.header-cta .btn-secondary:hover {
  background: rgba(255,255,255,0.15);
  border-color: #6C63FF;
  color: #6C63FF;
  box-shadow: 0 0 10px #6C63FF;
}

@media (min-width: 768px) {
  .nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }
  .btn-primary {
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 8px 16px;
    font-weight: 600;
  }
}

@media (max-width: 767px) {
  .nav-list {
    display: none;
    flex-direction: column;
    background: rgba(31, 31, 39,0.97);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px;
    position: absolute;
    top: 100%;
    right: 16px;
    width: 80%;
  }
  .nav-list li{
    padding: 8px 0;
  }
  .nav-list.is-open { display: flex;}
  .btn-primary {
    margin-top: 12px;
    text-align: center;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
  }
}

.contact-form button {
  background: #f5f5f5;
  border: 1px solid #ddd;
  color: #222;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}
.contact-form button:hover {
  background: #ffffff;
  border-color: #ccc;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.contact-form button:active {
  background: #e0e0e0;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
}

.btn-primary {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.btn-secondary {
  background: grey;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}

/* Tablet */
@media (max-width: 1024px) {
  .site-header {
    width: 95%;
    border-radius: 30px;
  }
  .nav-list {
    gap: 12px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .site-header {
    width: 95%;
    border-radius: 20px;
    top: 8px;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-toggle { display: inline-flex; }
  .nav-list {
    display: none;
    flex-direction: column;
    background: rgb(20,20,30);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px;
    position: absolute;
    top: 100%;
    right: 16px;
  }
  .nav-list.is-open { display: flex; }
}

.btn .btn-primary{
  display: inline-block;
  background: linear-gradient(135deg, #6C63FF, #A855F7);
  color: #FFFFFF;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(108, 99, 255, 0.4);
}