:root {
  --bg: #0a0a0a;
  --card: #141414;
  --muted: #a0a0a0;
  --white: #fefefe;
  --accent: #ffb700;
  --soft-bg: #101010;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --header-bg-highlight: rgba(20, 20, 20, 0.98);
  --header-border-highlight: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Manrope', 'Inter', sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  scroll-behavior: smooth;
  padding-top: 30px;
  cursor: default;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: var(--header-bg-highlight);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--header-border-highlight);
  transition: 0.4s ease, border-bottom 0.2s ease-out;
}

.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.site-header.scrolled-header {
  border-bottom: 2px solid var(--accent);
}

.header-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 0 0;
}

.header-logo-link {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.header-logo {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.1);
}

.nav-links {
  display: flex;
  gap: 45px;
}

.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  padding: 2px 0;
  position: relative;
}

.nav-link:hover {
  color: var(--white);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.chat-contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent);
  color: var(--bg);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(255, 183, 0, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-contact-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(255, 183, 0, 0.6);
  background: var(--white);
}

.chat-contact-btn::before {
  content: '💬';
  font-size: 18px;
}

.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.hero-section .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  padding: 0 40px 0 10px;
}

.hero-content {
  display: block;
  width: 100%;
  max-width: 600px;
  margin-left: 0;
  margin-right: 10px;
  flex: none;
  text-align: left;
}

.hero-profile-img {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease, transform 0.4s ease;
  flex-shrink: 0;
  order: -1;
}

.hero-profile-img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.greeting-text {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

.hero-title-main {
  font-size: clamp(55px, 9vw, 100px) !important;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 50px;
  letter-spacing: -1px;
}

.hero-title .line {
  display: block;
}

.hero-title .accent-phrase {
  color: var(--accent);
}

.hero-title-main .ampersand-line {
  text-align: left;
  margin: 0 auto;
  display: block;
  padding: 15px 0;
  font-size: 0.9em;
  color: var(--accent);
}

.no-break {
  white-space: nowrap;
}

.primary-cta-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent);
  transition: 0.3s;
}

.primary-cta-btn:hover {
  color: var(--white);
  letter-spacing: 1px;
}

.section-block {
  padding: 100px 0;
  text-align: left;
}

.section-block.alt {
  background: var(--soft-bg);
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.section-title:hover {
  color: var(--accent);
}

.section-block h2.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-top: 12px;
  margin-left: 0;
}

.section-text {
  font-size: 20px;
  max-width: 900px;
  color: var(--white);
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.section-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.section-link:hover {
  color: var(--white);
}

.work-block {
  padding-bottom: 120px;
}

.projects-grid,
.skills-grid,
.testimonials-grid {
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  display: grid;
  padding: 20px 30px;
}

.projects-grid {
  grid-template-columns: 1fr;
  gap: 30px;
}

.work-card {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  background: var(--card);
  padding: 20px 25px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.work-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(255, 183, 0, 0.2);
}

.work-img-container {
  height: 100px;
  width: 120px;
  background-color: transparent;
  border-radius: 8px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: none;
  flex-shrink: 0;
}

.work-details {
  text-align: left;
  padding-right: 20px;
  flex: 1;
}

.work-img-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0.8);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.work-card:hover .work-img-logo {
  filter: brightness(1);
  transform: scale(1.05);
}

.work-desc {
  color: var(--accent);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 5px;
}

.work-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 0;
}

.skills-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 800px;
  margin: 0 auto;
}

.skill-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  background: var(--card);
  padding: 20px 25px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: default;
}

.skill-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent) !important;
  box-shadow: 0 8px 20px rgba(255, 183, 0, 0.15);
}

.skill-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skill-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.skill-item:hover .skill-icon {
  transform: scale(1.2) rotate(5deg);
}

.testimonials-grid {
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.testimonial-card {
  background: var(--card);
  padding: 30px;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  font-style: italic;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.testimonial-card .quote {
  font-size: 18px;
  margin-bottom: 15px;
  line-height: 1.5;
  color: var(--white);
}

.testimonial-card cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
  font-size: 15px;
}

.contact-block {
  text-align: center;
  padding: 80px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-block h2.section-title::after {
  margin-left: auto !important;
  margin-right: auto !important;
}

.large-email-text {
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 10px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 10px auto;
}

.large-email-text a {
  color: var(--accent);
  text-decoration: none;
  transition: 0.3s;
  margin-left: 0;
}

.large-email-text a:hover {
  color: var(--white);
  opacity: 0.9;
}

.section-text-sub {
  color: var(--muted);
  font-size: 18px;
  text-align: center;
  margin: 0 auto;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 35px;
  margin-top: 40px;
  margin-bottom: 10px;
  width: 100%;
}

.social-icon-link {
  color: var(--white) !important;
  font-size: 24px;
  transition: all 0.3s ease;
  padding: 0;
  border: 1px solid var(--white);
  background: transparent;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 60px;
  width: 60px;
  text-decoration: none;
  margin: 0;
}

.social-icon-link i {
  color: var(--white) !important;
  font-size: 24px !important;
  display: inline-block !important;
  line-height: 1 !important;
  margin: 0 !important;
  vertical-align: middle;
}

.social-icon-link:hover {
  color: var(--accent) !important;
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 183, 0, 0.2);
}

.social-icon-link:hover i {
  color: var(--accent) !important;
}

.site-footer {
  padding: 15px 0 10px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 100px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  transition: 0.5s ease;
  z-index: 99;
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero-section .container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-profile-img {
    width: 200px;
    height: 200px;
    order: -1;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .projects-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
  }

  .hero-title {
    font-size: clamp(32px, 10vw, 60px);
  }

  .section-block {
    text-align: center;
  }

  .section-block h2.section-title::after {
    margin-left: auto;
    margin-right: auto;
  }

  .section-text {
    margin: 0 auto 20px auto;
  }

  .nav-links {
    display: none;
  }

  .header-inner {
    justify-content: center;
  }

  .chat-contact-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 700px) {
  .header-logo {
    height: 35px;
  }

  .site-header {
    padding: 15px 20px;
  }

  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  .header-logo-link {
    width: auto;
  }
}

.nav-link,
.chat-contact-btn,
.primary-cta-btn,
.back-to-top,
.filter-btn {
  cursor: pointer;
}

.work-card,
.social-icon-link,
.section-link {
  cursor: pointer;
}

.hero-title-main .ampersand-line,
.hover-text-accent {
  cursor: pointer !important;
  transition: color 0.3s ease;
}

.hover-text-accent:hover {
  color: var(--accent);
}

.download-links-group {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.resume-download-card,
.certificate-download-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  width: 250px;
  background: var(--card);
  padding: 20px 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.resume-download-card:hover,
.certificate-download-card:hover {
  transform: translateY(-5px);
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(255, 183, 0, 0.2);
}

.resume-download-card span,
.certificate-download-card span {
  color: var(--white);
  transition: color 0.3s ease;
}

.resume-download-card:hover span,
.certificate-download-card:hover span {
  color: var(--accent);
}

.resume-download-card i,
.certificate-download-card i {
  color: var(--muted);
  font-size: 18px;
  transition: color 0.3s ease;
}

.resume-download-card:hover i,
.certificate-download-card:hover i {
  color: var(--accent);
}
