/* Core Variables & Resets */
:root {
  --bg-dark: #0f1115;
  --bg-card: #181a20;
  --bg-lighter: #1e222a;
  --accent-orange: #f97316;
  --accent-hover: #ea580c;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border-color: #2e3440;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.dark-bg {
  background-color: var(--bg-card);
}

.section-tag {
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  display: block;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 15px;
  color: #ffffff;
}

.section-desc {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--accent-orange);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-outline {
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.btn-outline:hover {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(15, 17, 21, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffffff;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('Images/cj4.jpeg') center/cover no-repeat;
  text-align: center;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 17, 21, 0.85);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.badge {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-orange);
  border: 1px solid rgba(249, 115, 22, 0.3);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 20px 0;
  font-weight: 700;
}

.highlight {
  color: var(--accent-orange);
}

.subtitle {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
}

.stat-card h2 {
  color: var(--accent-orange);
  font-size: 2rem;
}

.stat-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.about-image-wrapper {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 16px;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  left: 20px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 15px 25px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.exp-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-orange);
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.about-list {
  list-style: none;
  margin: 20px 0;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.about-list i {
  color: var(--accent-orange);
}

.mini-stats {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: border-color 0.3s;
}

.skill-card:hover {
  border-color: var(--accent-orange);
}

.skill-card i {
  color: var(--accent-orange);
  font-size: 1.2rem;
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 40px auto 0 auto;
  border-left: 2px solid var(--border-color);
  padding-left: 30px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.timeline-header h3 {
  font-size: 1.2rem;
}

.company {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.date {
  display: inline-block;
  color: var(--accent-orange);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.timeline-details {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Gallery Filter */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  padding: 10px;
  text-align: center;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.service-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 30px;
  border-radius: 12px;
}

.service-card h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.service-card ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.center-btn {
  text-align: center;
  margin-top: 40px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-item i {
  color: var(--accent-orange);
  font-size: 1.2rem;
}

.info-item label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
}

.btn-full {
  width: 100%;
}

/* Footer */
.footer {
  background: #090a0d;
  padding: 60px 0 20px 0;
  border-top: 1px solid var(--border-color);
}

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

.footer-left h3 {
  color: #ffffff;
}

.footer-left .sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 10px;
}

.footer-links h4, .footer-contact h4 {
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.footer-links a, .footer-contact p {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .contact-grid, .footer-content { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
