/* Base Styles */
body {
  font-family: 'Inter', sans-serif;
  background: #fff;
  color: #000;
}

/* CTA Buttons (Global) */
.cta-button,
.hero-btn,
.pay-btn,
.btn-float {
  display: inline-block;
  padding: 12px 28px;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.cta-button:hover,
.hero-btn:hover,
.pay-btn:hover,
.btn-float:hover {
  background-color: #333;
  transform: translateY(-2px);
}
.btn-float:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Terminal Section */
.hero-terminal {
  padding: 100px 0 60px;
  background: #fff;
  position: relative;
  overflow: hidden;
  color: #000;
}
.terminal-line {
  font-family: monospace;
  font-size: 0.9rem;
  color: #555;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0.5rem 0;
}
.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: #444;
  min-height: 1.8rem;
}
.hero-code {
  background: #f9f9f9;
  padding: 1rem;
  font-size: 0.85rem;
  font-family: 'Courier New', Courier, monospace;
  color: #333;
  border-radius: 8px;
  margin-top: 2rem;
  white-space: pre-wrap;
}
.cursor {
  display: inline-block;
  animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* About Section */
.about-section {
  background: #fff;
  padding: 80px 0;
}
.about-wrapper {
  max-width: 800px;
  padding: 3rem 2rem;
  background: #fdfdfd;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
  border-left: 4px solid #000;
  margin: auto;
}
.about-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(90deg, #000, #555);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}
.about-lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 1rem;
}
.about-wrapper p {
  font-size: 1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
}
.about-quote {
  font-style: italic;
  font-size: 1.1rem;
  border-left: 4px solid #000;
  padding-left: 1rem;
  margin: 2rem 0;
  color: #333;
}
.about-stats {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1rem;
}
.about-stats strong {
  font-size: 2rem;
  font-weight: 800;
  display: block;
  color: #000;
}
.about-stats span {
  font-size: 0.9rem;
  color: #666;
}
.about-cta {
  font-size: 1rem;
  font-weight: 500;
}

/* Tags */
.tag {
  display: inline-block;
  background: #f0f0f0;
  color: #222;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0 0.3rem 0.3rem 0;
  transition: background 0.2s ease, transform 0.2s ease;
  cursor: default;
}
.tag:hover {
  background: #e0e0e0;
  transform: scale(1.05);
}

/* Icons */
.icon {
  width: 28px;
  height: 28px;
  stroke: #000;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

/* Projects */
.project-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.project-card:hover {
  transform: translateY(-3px);
}
.project-image:hover {
  transform: scale(1.03);
}
.project-tags .tag {
  background: #f0f0f0;
  color: #333;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  margin-right: 6px;
  transition: all 0.2s ease;
}
.project-tags .tag:hover {
  background: #e0e0e0;
}

/* Services */
.service-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}
.service-icon svg {
  stroke: #000;
  transition: stroke 0.3s ease;
}
.service-card:hover .service-icon svg {
  stroke: #333;
}

/* Inputs with Icons and Labels */
.input-icon {
  position: relative;
}
.input-icon input {
  padding-left: 36px;
}
.input-icon label {
  position: absolute;
  top: 50%;
  left: 36px;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: #777;
  transition: all 0.2s ease;
  pointer-events: none;
}
.input-icon input:focus + label,
.input-icon input:not(:placeholder-shown) + label {
  top: -0.6rem;
  left: 36px;
  font-size: 0.7rem;
  color: #000;
  background: #fff;
  padding: 0 0.3rem;
}
.input-icon .icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 1rem;
}

/* Character Counter */
#char-count {
  display: block;
  text-align: right;
  margin-top: 4px;
  font-size: 0.75rem;
  color: #666;
}

/* Modal Fixes */
.modal {
  z-index: 1055 !important;
}
.modal-backdrop {
  z-index: 1050 !important;
}
body.modal-open {
  overflow: hidden !important;
}
.modal-content {
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

/* Footer */
footer {
  padding: 50px 0;
  font-size: 0.9rem;
}

/* Forms */
form .form-control,
form .form-select {
  font-size: 0.95rem;
  border: 1px solid #ccc;
  background-color: #fafafa;
  transition: border-color 0.2s ease-in-out;
}
form .form-control:focus,
form .form-select:focus {
  border-color: #000;
  background-color: #fff;
  box-shadow: none;
}
form label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.4px;
}

/* Section Navigation */
#side-nav {
  z-index: 1050;
}
#side-nav .nav-link {
  font-weight: 500;
  color: #555;
  text-decoration: none;
  transition: color 0.2s ease;
}
#side-nav .nav-link:hover,
#side-nav .nav-link.active {
  color: #000;
}
section[data-active="true"] {
  transform: scale(1.02);
  transition: transform 0.4s ease-in-out;
  z-index: 1;
}

/* Finalize Section */
.pay-section {
  background-color: #f9f9f9;
  padding: 80px 0;
}
.pay-heading {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.pay-subtext {
  font-size: 1rem;
  color: #555;
}
.pay-box {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease;
}
.pay-box:hover {
  transform: translateY(-4px);
}
.pay-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.pay-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
}
