* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Crimson Text", "Georgia", serif;
  background: #0a0e1f;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.8;
}

a {
  color: inherit;
  text-decoration: none;
}

.divine-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: radial-gradient(ellipse at center, #1a1f3a 0%, #0a0e1f 100%);
}

.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #d4af37;
  border-radius: 50%;
  box-shadow: 0 0 8px #d4af37;
  animation: float 8s infinite ease-in-out;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: translateY(-40px) translateX(30px);
    opacity: 0.8;
  }
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 25px 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 14, 31, 0.9);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 2px solid #d4af37;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 22px;
  color: #d4af37;
  font-weight: 600;
  text-shadow: 0 0 20px #d4af37;
}

.cross {
  font-size: 28px;
  color: #d4af37;
  text-shadow: 0 0 20px #d4af37, 0 0 40px #d4af37;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    text-shadow: 0 0 20px #d4af37, 0 0 40px #d4af37;
  }
  50% {
    text-shadow: 0 0 30px #d4af37, 0 0 60px #d4af37, 0 0 80px #d4af37;
  }
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: #d4af37;
  text-decoration: none;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  transition: all 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #d4af37;
  box-shadow: 0 0 10px #d4af37;
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 40px 80px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
}

.hero-content h1 {
  font-size: 72px;
  margin-bottom: 30px;
  color: #d4af37;
  font-weight: 400;
  letter-spacing: 3px;
  text-shadow: 0 0 20px #d4af37, 0 0 40px #d4af37;
  animation: glowPulse 3s ease-in-out infinite;
  animation: fadeInUp 1s ease 0.4s backwards;
}

@keyframes glowPulse {
  0%,
  100% {
    text-shadow: 0 0 20px #d4af37, 0 0 40px #d4af37;
  }
  50% {
    text-shadow: 0 0 30px #d4af37, 0 0 60px #d4af37, 0 0 80px #d4af37;
  }
}

.verse {
  font-size: 20px;
  font-style: italic;
  color: #e8d4a0;
  margin-bottom: 15px;
  line-height: 1.9;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.verse-reference {
  font-size: 15px;
  color: #c9a961;
  margin-bottom: 40px;
  letter-spacing: 1px;
  animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 50px;
  color: #b8a478;
  line-height: 1.8;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.cta-button {
  display: inline-block;
  padding: 18px 48px;
  background: transparent;
  color: #d4af37;
  text-decoration: none;
  font-size: 15px;
  border: 3px solid #d4af37;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  animation: fadeInUp 1s ease 0.6s backwards;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #d4af37;
  transition: left 0.2s;
  z-index: -1;
}

.cta-button:hover {
  color: #0a0e1f;
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.8);
}

.cta-button:hover::before {
  left: 0;
}

section {
  padding: 100px 80px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

@keyframes iconGlow {
  0%,
  100% {
    text-shadow: 0 0 20px #d4af37;
  }
  50% {
    text-shadow: 0 0 40px #d4af37, 0 0 60px #d4af37;
  }
}

h2 {
  font-size: 52px;
  margin-bottom: 25px;
  text-align: center;
  color: #d4af37;
  font-weight: 400;
  letter-spacing: 2px;
  text-shadow: 0 0 20px #d4af37;
  text-transform: uppercase;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #b8a478;
  font-size: 18px;
  line-height: 1.9;
}

.experience-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.experience-timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #d4af37, rgba(212, 175, 55, 0.3));
  box-shadow: 0 0 10px #d4af37;
}

.experience-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 40px;
  margin-bottom: 50px;
  padding-left: 30px;
  position: relative;
}

.experience-item::before {
  content: "†";
  position: absolute;
  left: -9px;
  top: 5px;
  width: 20px;
  height: 20px;
  color: #d4af37;
  font-size: 16px;
  text-shadow: 0 0 15px #d4af37;
  z-index: 1;
}

.experience-year {
  font-size: 16px;
  color: #d4af37;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.experience-content {
  background: rgba(212, 175, 55, 0.05);
  padding: 30px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  transition: all 0.4s;
}

.experience-content:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
  transform: translateX(5px);
}

.experience-content h3 {
  font-size: 24px;
  color: #d4af37;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 1px;
}

.experience-company {
  font-size: 16px;
  color: #c9a961;
  margin-bottom: 15px;
  font-style: italic;
}

.experience-responsibilities {
  list-style-type: disc;
  margin-left: 20px;
  color: #b8a478;
  line-height: 1.8;
  font-size: 15px;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-auto-rows: 1fr;
  gap: 40px;
  margin-top: 60px;
}

.project-card {
  background: rgba(212, 175, 55, 0.05);
  padding: 45px 40px;
  border: 2px solid #d4af37;
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card::before {
  content: "†";
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 32px;
  color: #d4af37;
  opacity: 0.2;
  text-shadow: 0 0 20px #d4af37;
  transition: all 0.4s;
}

.project-card::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #d4af37, #c9a961, #d4af37);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s;
}

.project-card:hover::before {
  opacity: 1;
  transform: scale(1.2);
  text-shadow: 0 0 30px #d4af37, 0 0 50px #d4af37;
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 60px rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.1);
}

.project-number {
  font-size: 18px;
  color: #d4af37;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #d4af37;
  font-weight: 500;
  letter-spacing: 1px;
}

.project-card p {
  color: #b8a478;
  line-height: 1.9;
  font-size: 16px;
}

.project-cta {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 32px;
  background: transparent;
  color: #d4af37;
  text-decoration: none;
  font-size: 14px;
  border: 2px solid #d4af37;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: all 0.2s;
}

.project-cta:hover {
  cursor: pointer;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
}

.values-section {
  background: rgba(212, 175, 55, 0.05);
  padding: 80px;
  border-top: 2px solid #d4af37;
  border-bottom: 2px solid #d4af37;
  margin: 80px 0;
  position: relative;
  overflow: hidden;
}

.values-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.1),
    transparent
  );
  animation: holyScanner 4s infinite;
}

@keyframes holyScanner {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.value-card {
  text-align: center;
  padding: 35px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.4s;
}

.value-card:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #d4af37;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
  transform: translateY(-5px);
}

.value-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: #d4af37;
  text-shadow: 0 0 20px #d4af37;
}

.value-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #d4af37;
  font-weight: 500;
  letter-spacing: 1px;
}

.value-card p {
  color: #b8a478;
  line-height: 1.8;
  font-size: 15px;
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.skill-tag {
  padding: 22px;
  background: rgba(212, 175, 55, 0.05);
  border: 2px solid #d4af37;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d4af37;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.skill-tag::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.skill-tag:hover::before {
  width: 300px;
  height: 300px;
}

.skill-tag:hover {
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
  transform: scale(1.05);
}

.contact {
  text-align: center;
  padding: 80px;
  background: rgba(212, 175, 55, 0.05);
  border-top: 2px solid #d4af37;
  border-bottom: 2px solid #d4af37;
  margin: 80px auto;
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 175, 55, 0.2),
    transparent
  );
  animation: holyScanner 3s infinite;
}

.contact h2 {
  margin-bottom: 25px;
}

.contact p {
  font-size: 19px;
  margin-bottom: 40px;
  color: #b8a478;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 40px;
}

.social-links a {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #d4af37;
  color: #d4af37;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #d4af37;
  transition: left 0.3s;
  z-index: -1;
}

.social-links a:hover::before {
  left: 0;
}

.social-links a:hover {
  color: #0a0e1f;
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.8);
}

footer {
  text-align: center;
  padding: 50px 40px;
  color: #8b7355;
  font-size: 15px;
  border-top: 2px solid #d4af37;
  background: rgba(212, 175, 55, 0.03);
}

footer p:last-child {
  margin-top: 15px;
  font-style: italic;
  color: #b8a478;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Tablet and below */
@media (min-width: 770px) and (max-width: 1024px) {
  nav {
    padding: 20px 50px;
    position: relative;
    justify-content: center;
  }

  .cross {
    font-size: 20px;
  }

  .name {
    font-size: 18px;
  }

  .logo {
    margin-right: 4rem;
  }

  .nav-links {
    gap: 30px;
  }

  .hero-content h1 {
    font-size: 56px;
  }

  .projects-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .cta-button {
    width: 50%;
  }

  .h2-text {
    font-size: 52px;
  }

  section {
    padding: 80px 50px;
  }

  .values-section {
    padding: 60px 50px;
  }
}

/* Mobile landscape and below */
@media (max-width: 768px) {
  nav {
    padding: 20px 30px;
    flex-direction: column;
    gap: 20px;
    position: relative;
  }

  .logo {
    font-size: 20px;
  }

  .cross {
    font-size: 20px;
  }

  .name {
    font-size: 20px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .experience-timeline::before {
    left: 10px;
  }

  .experience-item {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-left: 50px;
  }

  .experience-item::before {
    left: 1px;
  }

  .experience-year {
    font-size: 14px;
  }

  .experience-content {
    padding: 25px;
  }

  .experience-content h3 {
    font-size: 20px;
  }

  .experience-company {
    font-size: 14px;
  }

  .experience-content p:last-child {
    font-size: 14px;
  }

  .hero {
    padding: 140px 30px 60px;
  }

  .hero-content h1 {
    font-size: 56px;
    letter-spacing: 2px;
  }

  .verse {
    font-size: 17px;
  }

  .verse-reference {
    font-size: 14px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .cta-button {
    padding: 15px 38px;
    font-size: 14px;
  }

  section {
    padding: 60px 30px;
  }

  h2 {
    font-size: 36px;
    letter-spacing: 1px;
  }

  .section-intro {
    font-size: 16px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .project-card {
    padding: 35px 30px;
  }

  .project-card::before {
    font-size: 28px;
  }

  .project-card h3 {
    font-size: 24px;
  }

  .values-section {
    padding: 50px 30px;
    margin: 60px 0;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .skills {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
  }

  .skill-tag {
    padding: 18px;
    font-size: 14px;
  }

  .contact {
    padding: 60px 30px;
    margin: 40px 20px;
  }

  .contact p {
    font-size: 17px;
  }

  .social-links {
    gap: 18px;
  }

  .social-links a {
    width: 52px;
    height: 52px;
    font-size: 15px;
  }
}

/* Small mobile */
@media (max-width: 440px) and (min-width: 320px) {
  .hero-content h1 {
    font-size: 56px;
  }

  .name {
    font-size: 18px;
  }

  .verse {
    font-size: 15px;
  }

  .projects-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .project-card {
    padding: 30px 25px;
  }

  .value-card {
    padding: 30px 25px;
  }

  .contact {
    padding: 30px 25px;
    margin: 30px 10px;
    width: 95%;
  }

  .h2-text {
    font-size: 46px;
    padding-left: -10px;
  }

  .values-section {
    padding: 60px 25px;
  }
}

/* Large desktop */
@media (max-width: 1440px) {
  nav {
    padding: 30px 120px;
    position: relative;
  }

  section {
    max-width: 1400px;
  }

  h2 {
    font-size: 60px;
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
