/* ===== 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: 24px;
  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(-2px);
}

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

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

.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;
}

/* ===== 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);
}

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

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

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

/* ===== 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);
}

/* ===== 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;
}

.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;
}

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

/* ===== 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;
}

/* ===== Experience Timeline Dot ===== */
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ===== 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);
}

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

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