/* ===== GLOBAL ===== */
:root {
  --primary: #e87722;
  --primary-dark: #c9631a;
  --dark: #1a1a2e;
  --dark2: #16213e;
  --gray: #6c757d;
  --light-bg: #f8f9fa;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: #444;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 3px;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}
.btn-outline-light {
  border-width: 2px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 3px;
  transition: all 0.3s;
}
.btn-outline-primary {
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 3px;
  transition: all 0.3s;
}
.btn-outline-primary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.section-title {
  position: relative;
  margin-bottom: 50px;
}
.section-title .subtitle {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-title p { color: var(--gray); max-width: 560px; }
.section-title.text-center p { margin: 0 auto; }
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin-top: 18px;
}
.section-title.text-center::after { margin: 18px auto 0; }

section { padding: 90px 0; }

/* ===== TOP BAR ===== */
#top-bar {
  background-color: var(--dark2);
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
}
#top-bar a { color: #ccc; transition: color 0.2s; }
#top-bar a:hover { color: var(--primary); }
#top-bar .top-info span { margin-right: 20px; }
#top-bar .top-info i { color: var(--primary); margin-right: 5px; }
#top-bar .social-links a { margin-left: 12px; font-size: 14px; }

/* ===== NAVBAR ===== */
#main-nav {
  background: var(--dark) !important;
  padding: 0;
  transition: all 0.3s;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
#main-nav.scrolled {
  padding: 0;
  box-shadow: 0 4px 25px rgba(0,0,0,0.4);
}
.navbar-brand img { height: 45px; }
.navbar-brand span {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}
.navbar-brand span em {
  font-style: normal;
  color: var(--primary);
}
.nav-link {
  color: #e0e0e0 !important;
  font-weight: 500;
  font-size: 14px;
  padding: 22px 16px !important;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
.nav-link:hover, .nav-link.active { color: var(--primary) !important; }
.navbar-nav .dropdown-menu {
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  box-shadow: 0 5px 25px rgba(0,0,0,0.15);
  min-width: 200px;
  margin-top: 0;
}
.dropdown-item {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  color: #333;
  transition: all 0.2s;
}
.dropdown-item:hover {
  background-color: var(--primary);
  color: #fff;
  padding-left: 26px;
}
.nav-cta {
  background: var(--primary);
  color: #fff !important;
  padding: 10px 24px !important;
  margin: 12px 0 12px 12px;
  border-radius: 3px;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--primary-dark); color: #fff !important; }
.navbar-toggler { border-color: rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  z-index: 0;
}
.hero-slide.active { opacity: 1; }
.hero-slide-1 {
  background-image: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(22,33,62,0.7) 100%),
    url('https://images.unsplash.com/photo-1621905251918-48416bd8575a?w=1920&q=80');
}
.hero-slide-2 {
  background-image: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(22,33,62,0.7) 100%),
    url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?w=1920&q=80');
}
.hero-slide-3 {
  background-image: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(22,33,62,0.7) 100%),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1920&q=80');
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(22,33,62,0.5);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}
.hero-content .badge-tag {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.hero-content h1 {
  font-size: 58px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero-content h1 span { color: var(--primary); }
.hero-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.hero-badges { display: flex; gap: 30px; margin-top: 48px; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.hero-badge i {
  font-size: 28px;
  color: var(--primary);
}
.hero-badge span { font-size: 13px; color: rgba(255,255,255,0.8); }
.hero-badge strong { display: block; font-size: 14px; font-weight: 600; }

/* Hero dots */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}
.hero-dot.active { background: var(--primary); }

/* Quick contact bar */
#quick-contact {
  background: var(--primary);
  padding: 20px 0;
  z-index: 10;
  position: relative;
}
.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #fff;
}
.quick-contact-item i { font-size: 28px; opacity: 0.9; }
.quick-contact-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; }
.quick-contact-item .value { font-size: 17px; font-weight: 700; }
.quick-divider { width: 1px; background: rgba(255,255,255,0.3); height: 50px; }

/* ===== SERVICES ===== */
#services { background: var(--light-bg); }
.service-card {
  background: #fff;
  border-radius: 4px;
  padding: 36px 30px;
  text-align: center;
  transition: all 0.35s;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  height: 100%;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform 0.35s;
}
.service-card:hover { box-shadow: 0 8px 40px rgba(232,119,34,0.18); transform: translateY(-5px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(232,119,34,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  transition: all 0.35s;
}
.service-icon i { font-size: 32px; color: var(--primary); }
.service-card:hover .service-icon {
  background: var(--primary);
}
.service-card:hover .service-icon i { color: #fff; }
.service-card h4 { font-size: 18px; margin-bottom: 12px; }
.service-card p { color: var(--gray); font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.service-card a.learn-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.service-card a.learn-more i { transition: transform 0.2s; }
.service-card a.learn-more:hover i { transform: translateX(4px); }

/* ===== ABOUT ===== */
#about { background: #fff; }
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: 4px; box-shadow: 0 10px 40px rgba(0,0,0,0.12); width: 100%; }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: #fff;
  width: 130px; height: 130px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 5px 20px rgba(232,119,34,0.4);
}
.about-badge .years { font-size: 42px; font-weight: 800; line-height: 1; }
.about-badge .years-text { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.about-features { margin-top: 24px; }
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}
.about-feature i {
  font-size: 20px;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.about-feature h6 { font-size: 15px; margin-bottom: 4px; }
.about-feature p { font-size: 13px; color: var(--gray); margin: 0; }

/* Progress bars */
.progress-item { margin-bottom: 22px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.progress { height: 8px; background: #e9ecef; border-radius: 4px; }
.progress-bar {
  background: var(--primary);
  border-radius: 4px;
  width: 0;
  transition: width 1.5s ease;
}

/* ===== STATS ===== */
#stats {
  background: var(--dark2);
  padding: 70px 0;
}
.stat-item { text-align: center; color: #fff; }
.stat-item .stat-number {
  font-size: 52px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: block;
}
.stat-item .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  display: block;
}
.stat-divider { width: 1px; background: rgba(255,255,255,0.1); }

/* ===== WHY CHOOSE US ===== */
#why-us { background: var(--light-bg); }
.why-card {
  background: #fff;
  border-radius: 4px;
  padding: 30px 25px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06);
  height: 100%;
  transition: all 0.3s;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.why-card:hover { box-shadow: 0 6px 30px rgba(232,119,34,0.15); transform: translateY(-3px); }
.why-icon { flex-shrink: 0; }
.why-icon i { font-size: 36px; color: var(--primary); }
.why-card h5 { font-size: 16px; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--gray); margin: 0; line-height: 1.8; }

/* ===== PROCESS ===== */
#process { background: #fff; }
.process-step {
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.process-step::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--primary), transparent);
  z-index: 0;
}
.process-step:last-child::after { display: none; }
.step-number {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 20px rgba(232,119,34,0.3);
}
.process-step h5 { font-size: 16px; margin-bottom: 10px; }
.process-step p { font-size: 13px; color: var(--gray); line-height: 1.8; }

/* ===== PORTFOLIO ===== */
#portfolio { background: var(--light-bg); }
.portfolio-filter { margin-bottom: 36px; }
.portfolio-filter button {
  background: transparent;
  border: 2px solid #e0e0e0;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 30px;
  margin: 0 4px;
  cursor: pointer;
  transition: all 0.3s;
}
.portfolio-filter button.active,
.portfolio-filter button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}
.portfolio-item img { width: 100%; display: block; transition: transform 0.5s; }
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22,33,62,0.92) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h5 { color: #fff; margin: 0 0 4px; font-size: 16px; }
.portfolio-overlay span { color: var(--primary); font-size: 13px; font-weight: 600; }

/* ===== TESTIMONIALS ===== */
#testimonials {
  background: var(--dark2);
  color: #fff;
}
#testimonials .section-title .subtitle { color: var(--primary); }
#testimonials .section-title h2 { color: #fff; }
.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 32px 28px;
  height: 100%;
  position: relative;
  transition: all 0.3s;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(232,119,34,0.3);
}
.testimonial-card .quote-icon {
  font-size: 48px;
  color: var(--primary);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}
.testimonial-card p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.9; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}
.testimonial-author h6 { color: #fff; margin: 0 0 2px; font-size: 14px; }
.testimonial-author span { color: var(--primary); font-size: 12px; }
.stars { color: #ffc107; font-size: 12px; margin-bottom: 2px; }

/* ===== CTA BANNER ===== */
#cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 70px 0;
}
#cta-banner h2 { color: #fff; font-size: 36px; margin-bottom: 12px; }
#cta-banner p { color: rgba(255,255,255,0.88); font-size: 16px; }

/* ===== BLOG ===== */
#blog { background: #fff; }
.blog-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 3px 20px rgba(0,0,0,0.07);
  height: 100%;
  transition: all 0.3s;
}
.blog-card:hover { box-shadow: 0 8px 35px rgba(0,0,0,0.13); transform: translateY(-4px); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; display: block; transition: transform 0.4s; }
.blog-card:hover img { transform: scale(1.05); }
.blog-card-body { padding: 24px; background: #fff; }
.blog-meta { font-size: 12px; color: var(--gray); margin-bottom: 10px; }
.blog-meta span { margin-right: 12px; }
.blog-meta i { color: var(--primary); margin-right: 4px; }
.blog-card h5 { font-size: 16px; margin-bottom: 10px; line-height: 1.5; }
.blog-card h5 a { color: var(--dark); transition: color 0.2s; }
.blog-card h5 a:hover { color: var(--primary); }
.blog-card p { font-size: 13px; color: var(--gray); margin-bottom: 18px; line-height: 1.8; }

/* ===== FOOTER ===== */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
  padding: 70px 0 0;
}
.footer-brand { margin-bottom: 20px; }
.footer-brand span {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.footer-brand span em { font-style: normal; color: var(--primary); }
.footer-desc { font-size: 13px; line-height: 1.9; margin-bottom: 22px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-right: 8px;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255,255,255,0.08);
  position: relative;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--primary);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 11px;
  color: var(--primary);
}
.footer-links a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  font-size: 13px;
}
.footer-contact-item i { color: var(--primary); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  background: rgba(0,0,0,0.25);
  margin-top: 50px;
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: var(--primary); }

/* Back to top */
#back-to-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(232,119,34,0.4);
  transition: all 0.3s;
}
#back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }
#back-to-top.show { display: flex; }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
  .hero-content h1 { font-size: 38px; }
  section { padding: 70px 0; }
  .about-badge { right: 10px; bottom: -10px; width: 100px; height: 100px; }
  .about-badge .years { font-size: 32px; }
  .process-step::after { display: none; }
  .nav-link { padding: 12px 16px !important; }
}
@media (max-width: 767px) {
  .hero-content h1 { font-size: 30px; }
  .hero-badges { flex-wrap: wrap; gap: 16px; }
  #top-bar .top-info { display: none; }
  section { padding: 60px 0; }
  .section-title h2 { font-size: 26px; }
  .quick-divider { display: none; }
}
