/* ========== RESET & BASE ========== */
:root {
  --dark: #0f172a;
  --dark-mid: #1e293b;
  --teal: #14b8a6;
  --teal-light: #5eead4;
  --white: #f8fafc;
  --gray-400: #94a3b8;
  --gray-700: #334155;
  --font-heading: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --max-width: 1200px;
  --transition: 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--dark);
}

/* ========== CONTAINER ========== */
.dp-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER / NAV ========== */
.dp-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  transition: var(--transition);
}

.dp-header.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.dp-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dp-logo {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.dp-logo span {
  color: var(--teal);
}

.dp-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}

.dp-nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: var(--transition);
}

.dp-nav-links a:hover,
.dp-nav-links a.active {
  color: var(--teal);
}

.dp-nav-cta {
  background: var(--teal);
  color: var(--dark) !important;
  padding: 10px 24px;
  border-radius: 4px;
  font-weight: 600 !important;
}

.dp-nav-cta:hover {
  background: var(--teal-light) !important;
  color: var(--dark) !important;
}

.dp-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.dp-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* ========== SHARED: SECTION ELEMENTS ========== */
.dp-section-label {
  display: inline-block;
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.dp-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.dp-section-header {
  margin-bottom: 48px;
}

/* ========== SHARED: BUTTONS ========== */
.dp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.dp-btn-primary {
  background: var(--teal);
  color: var(--dark);
}

.dp-btn-primary:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(20, 184, 166, 0.4);
}

.dp-btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.dp-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}

/* ========== HERO ========== */
.dp-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-mid) 100%);
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.dp-hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: rgba(255, 255, 255, 0.03);
  transform: rotate(-15deg);
  pointer-events: none;
}

.dp-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.dp-hero-content {
  color: var(--white);
}

.dp-hero-badge {
  display: inline-block;
  background: rgba(20, 184, 166, 0.15);
  border: 1px solid var(--teal);
  color: var(--teal);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.dp-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.dp-hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.dp-hero-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.dp-hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.dp-hero-image {
  position: relative;
}

.dp-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.dp-hero-stat {
  position: absolute;
  background: var(--white);
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.dp-hero-stat-1 {
  bottom: 30px;
  left: -30px;
}

.dp-hero-stat-2 {
  top: 30px;
  right: -20px;
}

.dp-hero-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--dark);
  font-family: var(--font-heading);
}

.dp-hero-stat span {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========== CREDENTIALS BAR ========== */
.dp-credentials {
  background: var(--dark-mid);
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-700);
}

.dp-credentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.dp-credential-item {
  padding: 20px;
}

.dp-credential-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.dp-credential-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 4px;
}

.dp-credential-item p {
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ========== ABOUT ========== */
.dp-about {
  padding: 100px 0;
  background: var(--dark);
}

.dp-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.dp-about-content {
  /* container for about text and list */
}

.dp-about-text {
  color: var(--gray-400);
  margin-bottom: 16px;
  line-height: 1.8;
}

.dp-about-list {
  list-style: none;
  margin-top: 24px;
}

.dp-about-list li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--gray-400);
}

.dp-about-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ========== EXPERIENCE ========== */
.dp-experience {
  padding: 100px 0;
  background: var(--dark-mid);
}

.dp-timeline {
  position: relative;
  padding-left: 40px;
  max-width: 800px;
}

.dp-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--teal);
}

.dp-timeline-item {
  position: relative;
  padding-bottom: 40px;
  display: flex;
  gap: 20px;
}

.dp-timeline-item:last-child {
  padding-bottom: 0;
}

.dp-timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  border: 3px solid var(--dark-mid);
  box-shadow: 0 0 0 2px var(--teal);
  flex-shrink: 0;
}

.dp-timeline-content {
  flex: 1;
}

.dp-timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.dp-timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 4px;
}

.dp-timeline-content h4 {
  font-size: 0.95rem;
  color: var(--gray-400);
  font-weight: 400;
  margin-bottom: 12px;
}

.dp-timeline-content ul {
  list-style: none;
  margin-top: 8px;
}

.dp-timeline-content ul li {
  padding: 4px 0 4px 20px;
  position: relative;
  font-size: 0.9rem;
  color: var(--gray-400);
}

.dp-timeline-content ul li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ========== SKILLS ========== */
.dp-skills {
  padding: 100px 0;
  background: var(--dark);
}

.dp-skills-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.dp-skills-subtitle {
  color: var(--gray-400);
  margin-top: 12px;
}

.dp-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.dp-skill-card {
  padding: 36px 28px;
  background: var(--dark-mid);
  border-radius: 12px;
  border: 1px solid var(--gray-700);
  transition: var(--transition);
}

.dp-skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  border-color: var(--teal);
}

.dp-skill-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.dp-skill-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 10px;
}

.dp-skill-card p {
  font-size: 0.9rem;
  color: var(--gray-400);
  line-height: 1.6;
}

/* ========== CONTACT ========== */
.dp-contact {
  padding: 80px 0;
  background: var(--dark-mid);
  text-align: center;
}

.dp-contact h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  margin-bottom: 16px;
}

.dp-contact p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.dp-contact-details {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.dp-contact-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
}

a.dp-contact-detail:hover {
  color: var(--teal);
}

.dp-contact-detail-icon {
  font-size: 1.1rem;
}

.dp-linkedin {
  color: #0a66c2;
  font-weight: 600;
}

.dp-linkedin:hover {
  color: var(--white) !important;
}

.dp-linkedin svg {
  flex-shrink: 0;
}

/* ========== FOOTER ========== */
.dp-footer {
  background: var(--dark);
  padding: 48px 0 24px;
  color: rgba(255, 255, 255, 0.6);
}

.dp-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.dp-footer-logo {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

.dp-footer-logo span {
  color: var(--teal);
}

.dp-footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.dp-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.dp-footer-links a:hover {
  color: var(--teal);
}

.dp-footer-bottom {
  text-align: center;
  font-size: 0.8rem;
}

/* ========== RESPONSIVE: TABLET (max-width: 968px) ========== */
@media (max-width: 968px) {
  .dp-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .dp-hero-content {
    order: 2;
  }

  .dp-hero-image {
    order: 1;
    max-width: 400px;
    margin: 0 auto;
  }

  .dp-hero-buttons {
    justify-content: center;
  }

  .dp-hero-text {
    margin: 0 auto 36px;
  }

  .dp-hero-stat {
    display: none;
  }

  .dp-credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dp-about-grid {
    grid-template-columns: 1fr;
  }

  .dp-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dp-contact-details {
    flex-direction: column;
    align-items: center;
  }
}

/* ========== RESPONSIVE: MOBILE (max-width: 640px) ========== */
@media (max-width: 640px) {
  .dp-nav-links {
    display: none;
  }

  .dp-menu-toggle {
    display: block;
  }

  .dp-nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark);
    padding: 24px;
    gap: 16px;
  }

  .dp-credentials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dp-skills-grid {
    grid-template-columns: 1fr;
  }

  .dp-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .dp-footer-inner {
    flex-direction: column;
    gap: 16px;
  }
}
