/* ===== Custom Properties ===== */
:root {
  --primary: #FF4500;
  --primary-dark: #E03E00;
  --dark: #1A1A1A;
  --gray: #6B7280;
  --light-gray: #F5F5F5;
  --white: #FFFFFF;
}

/* ===== Base ===== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  overflow-x: hidden;
}

.font-script {
  font-family: 'Dancing Script', cursive;
}

/* ===== Marquee Ticker ===== */
.marquee-wrapper {
  overflow: hidden;
  white-space: nowrap;
  background: var(--dark);
  padding: 14px 0;
}

.marquee-content {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.marquee-content span .dot {
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== Section Subtitle Tag ===== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.5px;
}

.section-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ===== Skill/Stat Bar ===== */
.skill-bar-fill {
  height: 6px;
  border-radius: 3px;
  background: var(--primary);
  transition: width 1s ease;
}

.skill-bar-track {
  height: 6px;
  border-radius: 3px;
  background: #E5E7EB;
  width: 100%;
}

/* ===== Service Card ===== */
.service-card {
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
  background: var(--white);
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(255, 69, 0, 0.08);
  transform: translateY(-4px);
}

.service-card .icon-box {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #FFF0EB;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

/* ===== Project Card ===== */
.project-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
  position: relative;
}

.project-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.project-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .overlay {
  opacity: 1;
}

/* ===== Testimonial Card ===== */
.testimonial-card {
  background: var(--white);
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(255, 69, 0, 0.06);
}

/* ===== Category Tag ===== */
.cat-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #FFF0EB;
  color: var(--primary);
}

/* ===== Tech Tag ===== */
.tech-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  background: #F3F4F6;
  color: var(--gray);
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--dark);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.08;
  top: -100px;
  right: -100px;
}

/* ===== Social Icon ===== */
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ===== Button Styles ===== */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
}

.btn-outline {
  border: 2px solid var(--dark);
  color: var(--dark);
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
}

.btn-outline-white {
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  padding: 10px 26px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* ===== Stats ===== */
.stat-item {
  text-align: center;
}

.stat-item .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1;
}

.stat-item .label {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 4px;
}

/* ===== Footer ===== */
footer a:hover {
  color: var(--primary) !important;
}

/* ===== Scroll Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Mobile Nav ===== */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* ===== WhatsApp Floating Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
}

.whatsapp-float .wa-btn {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #25D366;
  font-size: 2rem;
  box-shadow: 0 4px 18px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid #f0f0f0;
}

.whatsapp-float .wa-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
}

.whatsapp-float .wa-btn .wa-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #FF4500;
  border-radius: 50%;
  border: 2px solid #fff;
}

/* ===== Contact Form Modal ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  border-radius: 20px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

/* ===== Form Styles ===== */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.form-group label span.req {
  color: var(--primary);
  margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 0.88rem;
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  background: #FAFAFA;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #B0B0B0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.08);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* ===== Page Header Banner ===== */
.page-header {
  background: var(--dark);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.05;
  top: -250px;
  right: -100px;
}

.page-header h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
}

.page-header .breadcrumb {
  color: #9CA3AF;
  font-size: 0.9rem;
  margin-top: 8px;
}

.page-header .breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .stat-item .number {
    font-size: 1.75rem;
  }

  .marquee-content span {
    font-size: 0.8rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .whatsapp-float .wa-popup {
    width: 280px;
  }

  .modal-content {
    padding: 24px;
  }
}
